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

#include "components/commerce/core/proto/price_tracking.pb.h"

#include <algorithm>
#include <type_traits>
#include "google/protobuf/io/coded_stream.h"
#include "google/protobuf/generated_message_tctable_impl.h"
#include "google/protobuf/internal_visibility.h"
#include "google/protobuf/extension_set.h"
#include "google/protobuf/generated_message_util.h"
#include "google/protobuf/wire_format_lite.h"
#include "google/protobuf/io/zero_copy_stream_impl_lite.h"
// @@protoc_insertion_point(includes)

// Must be included last.
#include "google/protobuf/port_def.inc"
PROTOBUF_PRAGMA_INIT_SEG
namespace _pb = ::google::protobuf;
namespace _pbi = ::google::protobuf::internal;
namespace _fl = ::google::protobuf::internal::field_layout;
namespace commerce {
class ProductReviews::_Internal {
 public:
  using HasBits = decltype(::std::declval<ProductReviews>()._impl_._has_bits_);
  static constexpr ::int32_t kHasBitsOffset =
      8 * PROTOBUF_FIELD_OFFSET(ProductReviews, _impl_._has_bits_);
};

constexpr ProductReviews::ParseTableT_ ProductReviews::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(ProductReviews, _impl_._has_bits_),
      0, // no _extensions_
      2, 8,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967292,  // skipmap
      offsetof(ParseTableT_, field_entries),
      2,  // num_field_entries
      0,  // num_aux_entries
      offsetof(ParseTableT_, field_names),  // no aux_entries
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::commerce::ProductReviews>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // optional float average_rating = 2;
      {::_pbi::TcParser::FastF32S1,
       {21, 1, 0,
        PROTOBUF_FIELD_OFFSET(ProductReviews, _impl_.average_rating_)}},
      // optional int32 review_count = 1;
      {::_pbi::TcParser::FastV32S1,
       {8, 0, 0,
        PROTOBUF_FIELD_OFFSET(ProductReviews, _impl_.review_count_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional int32 review_count = 1;
      {PROTOBUF_FIELD_OFFSET(ProductReviews, _impl_.review_count_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
      // optional float average_rating = 2;
      {PROTOBUF_FIELD_OFFSET(ProductReviews, _impl_.average_rating_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kFloat)},
    }},
    // no aux_entries
    {{
    }},
  };
}


inline constexpr ProductReviews::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        review_count_{0},
        average_rating_{0} {}

template <typename>
constexpr ProductReviews::ProductReviews(::_pbi::ConstantInitialized,
                       const ::_pbi::ClassData* PROTOBUF_NONNULL class_data)
    : ::google::protobuf::MessageLite(
#if defined(PROTOBUF_CUSTOM_VTABLE)
          class_data
#endif  // PROTOBUF_CUSTOM_VTABLE
          ),
      _impl_(internal_visibility(), ::_pbi::ConstantInitialized()) {
}
inline void* PROTOBUF_NONNULL ProductReviews::PlacementNew_(
    const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
  return ::new (mem) ProductReviews(arena);
}
constexpr auto ProductReviews::InternalNewImpl_() {
  return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ProductReviews), alignof(ProductReviews));
}
constexpr auto ProductReviews::InternalGenerateClassData_(
    const MessageLite& prototype,
    const ::google::protobuf::internal::TcParseTableBase* tc_table) {
  return ::google::protobuf::internal::ClassDataLite{
      {
          &prototype,
#ifndef PROTOBUF_MESSAGE_GLOBALS
          &_table_.header,
#else
          tc_table,
#endif
          nullptr,  // IsInitialized
          &ProductReviews::MergeImpl,
          ::google::protobuf::MessageLite::GetNewImpl<ProductReviews>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
          &ProductReviews::SharedDtor,
          ::google::protobuf::MessageLite::GetClearImpl<ProductReviews>(), &ProductReviews::ByteSizeLong,
              &ProductReviews::_InternalSerialize,
#endif  // PROTOBUF_CUSTOM_VTABLE
          PROTOBUF_FIELD_OFFSET(ProductReviews, _impl_._cached_size_),
          true,
      },
      "commerce.ProductReviews",
  };
}
struct ProductReviewsGlobalsTypeInternal : ::_pbi::MessageGlobalsBase {
  constexpr ProductReviewsGlobalsTypeInternal()
      :
#ifndef PROTOBUF_MESSAGE_GLOBALS
        _default(::_pbi::ConstantInitialized{},
                 ProductReviews_class_data_.base())
#else   // !PROTOBUF_MESSAGE_GLOBALS
        MessageGlobalsBase(ProductReviews::InternalGenerateClassData_(
            _default, &ProductReviews_globals_._table.header)),
        _default(::_pbi::ConstantInitialized{}, GetClassData()),
        _table(::_pbi::PrivateAccess::GenerateParseTable<ProductReviews>(
            GetClassData()))
#endif  // PROTOBUF_MESSAGE_GLOBALS
  {
  }
  ~ProductReviewsGlobalsTypeInternal() {}
  union {
    alignas(::_pbi::kMaxMessageAlignment) ProductReviews _default;
  };
#ifdef PROTOBUF_MESSAGE_GLOBALS
  decltype(::_pbi::PrivateAccess::GenerateParseTable<ProductReviews>(
      ::std::declval<const ::_pbi::ClassData*>())) _table;
#endif
};
#ifdef PROTOBUF_MESSAGE_GLOBALS
static_assert(PROTOBUF_FIELD_OFFSET(ProductReviewsGlobalsTypeInternal, _default) ==
              ::_pbi::MessageGlobalsBase::OffsetToDefault());
#endif  // PROTOBUF_MESSAGE_GLOBALS

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST ProductReviewsGlobalsTypeInternal ProductReviews_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* ProductReviews_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return ProductReviews_globals_.GetClassData();
#else
  return ProductReviews_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
class ProductPrice::_Internal {
 public:
  using HasBits = decltype(::std::declval<ProductPrice>()._impl_._has_bits_);
  static constexpr ::int32_t kHasBitsOffset =
      8 * PROTOBUF_FIELD_OFFSET(ProductPrice, _impl_._has_bits_);
};

constexpr ProductPrice::ParseTableT_ ProductPrice::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(ProductPrice, _impl_._has_bits_),
      0, // no _extensions_
      2, 8,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967292,  // skipmap
      offsetof(ParseTableT_, field_entries),
      2,  // num_field_entries
      0,  // num_aux_entries
      offsetof(ParseTableT_, field_names),  // no aux_entries
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::commerce::ProductPrice>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // optional int64 amount_micros = 2;
      {::_pbi::TcParser::FastV64S1,
       {16, 1, 0,
        PROTOBUF_FIELD_OFFSET(ProductPrice, _impl_.amount_micros_)}},
      // optional string currency_code = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(ProductPrice, _impl_.currency_code_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional string currency_code = 1;
      {PROTOBUF_FIELD_OFFSET(ProductPrice, _impl_.currency_code_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional int64 amount_micros = 2;
      {PROTOBUF_FIELD_OFFSET(ProductPrice, _impl_.amount_micros_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
    }},
    // no aux_entries
    {{
    }},
  };
}


inline constexpr ProductPrice::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        currency_code_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        amount_micros_{::int64_t{0}} {}

template <typename>
constexpr ProductPrice::ProductPrice(::_pbi::ConstantInitialized,
                       const ::_pbi::ClassData* PROTOBUF_NONNULL class_data)
    : ::google::protobuf::MessageLite(
#if defined(PROTOBUF_CUSTOM_VTABLE)
          class_data
#endif  // PROTOBUF_CUSTOM_VTABLE
          ),
      _impl_(internal_visibility(), ::_pbi::ConstantInitialized()) {
}
inline void* PROTOBUF_NONNULL ProductPrice::PlacementNew_(
    const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
  return ::new (mem) ProductPrice(arena);
}
constexpr auto ProductPrice::InternalNewImpl_() {
  return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(ProductPrice), alignof(ProductPrice));
}
constexpr auto ProductPrice::InternalGenerateClassData_(
    const MessageLite& prototype,
    const ::google::protobuf::internal::TcParseTableBase* tc_table) {
  return ::google::protobuf::internal::ClassDataLite{
      {
          &prototype,
#ifndef PROTOBUF_MESSAGE_GLOBALS
          &_table_.header,
#else
          tc_table,
#endif
          nullptr,  // IsInitialized
          &ProductPrice::MergeImpl,
          ::google::protobuf::MessageLite::GetNewImpl<ProductPrice>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
          &ProductPrice::SharedDtor,
          ::google::protobuf::MessageLite::GetClearImpl<ProductPrice>(), &ProductPrice::ByteSizeLong,
              &ProductPrice::_InternalSerialize,
#endif  // PROTOBUF_CUSTOM_VTABLE
          PROTOBUF_FIELD_OFFSET(ProductPrice, _impl_._cached_size_),
          true,
      },
      "commerce.ProductPrice",
  };
}
struct ProductPriceGlobalsTypeInternal : ::_pbi::MessageGlobalsBase {
  constexpr ProductPriceGlobalsTypeInternal()
      :
#ifndef PROTOBUF_MESSAGE_GLOBALS
        _default(::_pbi::ConstantInitialized{},
                 ProductPrice_class_data_.base())
#else   // !PROTOBUF_MESSAGE_GLOBALS
        MessageGlobalsBase(ProductPrice::InternalGenerateClassData_(
            _default, &ProductPrice_globals_._table.header)),
        _default(::_pbi::ConstantInitialized{}, GetClassData()),
        _table(::_pbi::PrivateAccess::GenerateParseTable<ProductPrice>(
            GetClassData()))
#endif  // PROTOBUF_MESSAGE_GLOBALS
  {
  }
  ~ProductPriceGlobalsTypeInternal() {}
  union {
    alignas(::_pbi::kMaxMessageAlignment) ProductPrice _default;
  };
#ifdef PROTOBUF_MESSAGE_GLOBALS
  decltype(::_pbi::PrivateAccess::GenerateParseTable<ProductPrice>(
      ::std::declval<const ::_pbi::ClassData*>())) _table;
#endif
};
#ifdef PROTOBUF_MESSAGE_GLOBALS
static_assert(PROTOBUF_FIELD_OFFSET(ProductPriceGlobalsTypeInternal, _default) ==
              ::_pbi::MessageGlobalsBase::OffsetToDefault());
#endif  // PROTOBUF_MESSAGE_GLOBALS

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST ProductPriceGlobalsTypeInternal ProductPrice_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* ProductPrice_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return ProductPrice_globals_.GetClassData();
#else
  return ProductPrice_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
class ProductPriceUpdate::_Internal {
 public:
  using HasBits = decltype(::std::declval<ProductPriceUpdate>()._impl_._has_bits_);
  static constexpr ::int32_t kHasBitsOffset =
      8 * PROTOBUF_FIELD_OFFSET(ProductPriceUpdate, _impl_._has_bits_);
};

constexpr ProductPriceUpdate::ParseTableT_ ProductPriceUpdate::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(ProductPriceUpdate, _impl_._has_bits_),
      0, // no _extensions_
      3, 24,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967288,  // skipmap
      offsetof(ParseTableT_, field_entries),
      3,  // num_field_entries
      2,  // num_aux_entries
      offsetof(ParseTableT_, aux_entries),
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::commerce::ProductPriceUpdate>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // optional fixed64 offer_id = 1;
      {::_pbi::TcParser::FastF64S1,
       {9, 2, 0,
        PROTOBUF_FIELD_OFFSET(ProductPriceUpdate, _impl_.offer_id_)}},
      // optional .commerce.ProductPrice old_price = 2;
      {::_pbi::TcParser::FastMtS1,
       {18, 0, 0,
        PROTOBUF_FIELD_OFFSET(ProductPriceUpdate, _impl_.old_price_)}},
      // optional .commerce.ProductPrice new_price = 3;
      {::_pbi::TcParser::FastMtS1,
       {26, 1, 1,
        PROTOBUF_FIELD_OFFSET(ProductPriceUpdate, _impl_.new_price_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional fixed64 offer_id = 1;
      {PROTOBUF_FIELD_OFFSET(ProductPriceUpdate, _impl_.offer_id_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kFixed64)},
      // optional .commerce.ProductPrice old_price = 2;
      {PROTOBUF_FIELD_OFFSET(ProductPriceUpdate, _impl_.old_price_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // optional .commerce.ProductPrice new_price = 3;
      {PROTOBUF_FIELD_OFFSET(ProductPriceUpdate, _impl_.new_price_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::commerce::ProductPrice>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::commerce::ProductPrice_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::commerce::ProductPrice>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::commerce::ProductPrice_globals_},
        #endif
    }},
    {{
    }},
  };
}


inline constexpr ProductPriceUpdate::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        old_price_{nullptr},
        new_price_{nullptr},
        offer_id_{::uint64_t{0u}} {}

template <typename>
constexpr ProductPriceUpdate::ProductPriceUpdate(::_pbi::ConstantInitialized,
                       const ::_pbi::ClassData* PROTOBUF_NONNULL class_data)
    : ::google::protobuf::MessageLite(
#if defined(PROTOBUF_CUSTOM_VTABLE)
          class_data
#endif  // PROTOBUF_CUSTOM_VTABLE
          ),
      _impl_(internal_visibility(), ::_pbi::ConstantInitialized()) {
}
inline void* PROTOBUF_NONNULL ProductPriceUpdate::PlacementNew_(
    const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
  return ::new (mem) ProductPriceUpdate(arena);
}
constexpr auto ProductPriceUpdate::InternalNewImpl_() {
  return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ProductPriceUpdate), alignof(ProductPriceUpdate));
}
constexpr auto ProductPriceUpdate::InternalGenerateClassData_(
    const MessageLite& prototype,
    const ::google::protobuf::internal::TcParseTableBase* tc_table) {
  return ::google::protobuf::internal::ClassDataLite{
      {
          &prototype,
#ifndef PROTOBUF_MESSAGE_GLOBALS
          &_table_.header,
#else
          tc_table,
#endif
          nullptr,  // IsInitialized
          &ProductPriceUpdate::MergeImpl,
          ::google::protobuf::MessageLite::GetNewImpl<ProductPriceUpdate>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
          &ProductPriceUpdate::SharedDtor,
          ::google::protobuf::MessageLite::GetClearImpl<ProductPriceUpdate>(), &ProductPriceUpdate::ByteSizeLong,
              &ProductPriceUpdate::_InternalSerialize,
#endif  // PROTOBUF_CUSTOM_VTABLE
          PROTOBUF_FIELD_OFFSET(ProductPriceUpdate, _impl_._cached_size_),
          true,
      },
      "commerce.ProductPriceUpdate",
  };
}
struct ProductPriceUpdateGlobalsTypeInternal : ::_pbi::MessageGlobalsBase {
  constexpr ProductPriceUpdateGlobalsTypeInternal()
      :
#ifndef PROTOBUF_MESSAGE_GLOBALS
        _default(::_pbi::ConstantInitialized{},
                 ProductPriceUpdate_class_data_.base())
#else   // !PROTOBUF_MESSAGE_GLOBALS
        MessageGlobalsBase(ProductPriceUpdate::InternalGenerateClassData_(
            _default, &ProductPriceUpdate_globals_._table.header)),
        _default(::_pbi::ConstantInitialized{}, GetClassData()),
        _table(::_pbi::PrivateAccess::GenerateParseTable<ProductPriceUpdate>(
            GetClassData()))
#endif  // PROTOBUF_MESSAGE_GLOBALS
  {
  }
  ~ProductPriceUpdateGlobalsTypeInternal() {}
  union {
    alignas(::_pbi::kMaxMessageAlignment) ProductPriceUpdate _default;
  };
#ifdef PROTOBUF_MESSAGE_GLOBALS
  decltype(::_pbi::PrivateAccess::GenerateParseTable<ProductPriceUpdate>(
      ::std::declval<const ::_pbi::ClassData*>())) _table;
#endif
};
#ifdef PROTOBUF_MESSAGE_GLOBALS
static_assert(PROTOBUF_FIELD_OFFSET(ProductPriceUpdateGlobalsTypeInternal, _default) ==
              ::_pbi::MessageGlobalsBase::OffsetToDefault());
#endif  // PROTOBUF_MESSAGE_GLOBALS

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST ProductPriceUpdateGlobalsTypeInternal ProductPriceUpdate_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* ProductPriceUpdate_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return ProductPriceUpdate_globals_.GetClassData();
#else
  return ProductPriceUpdate_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
class PriceSummary::_Internal {
 public:
  using HasBits = decltype(::std::declval<PriceSummary>()._impl_._has_bits_);
  static constexpr ::int32_t kHasBitsOffset =
      8 * PROTOBUF_FIELD_OFFSET(PriceSummary, _impl_._has_bits_);
};

constexpr PriceSummary::ParseTableT_ PriceSummary::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(PriceSummary, _impl_._has_bits_),
      0, // no _extensions_
      4, 24,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967280,  // skipmap
      offsetof(ParseTableT_, field_entries),
      4,  // num_field_entries
      3,  // num_aux_entries
      offsetof(ParseTableT_, aux_entries),
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::commerce::PriceSummary>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // optional bool is_preferred = 4;
      {::_pbi::TcParser::FastV8S1,
       {32, 3, 0,
        PROTOBUF_FIELD_OFFSET(PriceSummary, _impl_.is_preferred_)}},
      // optional .commerce.PriceSummary.ProductOfferCondition condition = 1;
      {::_pbi::TcParser::FastEr0S1,
       {8, 2, 2,
        PROTOBUF_FIELD_OFFSET(PriceSummary, _impl_.condition_)}},
      // optional .commerce.ProductPrice lowest_price = 2;
      {::_pbi::TcParser::FastMtS1,
       {18, 0, 0,
        PROTOBUF_FIELD_OFFSET(PriceSummary, _impl_.lowest_price_)}},
      // optional .commerce.ProductPrice highest_price = 3;
      {::_pbi::TcParser::FastMtS1,
       {26, 1, 1,
        PROTOBUF_FIELD_OFFSET(PriceSummary, _impl_.highest_price_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional .commerce.PriceSummary.ProductOfferCondition condition = 1;
      {PROTOBUF_FIELD_OFFSET(PriceSummary, _impl_.condition_), _Internal::kHasBitsOffset + 2, 2, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
      // optional .commerce.ProductPrice lowest_price = 2;
      {PROTOBUF_FIELD_OFFSET(PriceSummary, _impl_.lowest_price_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // optional .commerce.ProductPrice highest_price = 3;
      {PROTOBUF_FIELD_OFFSET(PriceSummary, _impl_.highest_price_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // optional bool is_preferred = 4;
      {PROTOBUF_FIELD_OFFSET(PriceSummary, _impl_.is_preferred_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::commerce::ProductPrice>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::commerce::ProductPrice_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::commerce::ProductPrice>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::commerce::ProductPrice_globals_},
        #endif
        {0, 2},
    }},
    {{
    }},
  };
}


inline constexpr PriceSummary::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        lowest_price_{nullptr},
        highest_price_{nullptr},
        condition_{static_cast< ::commerce::PriceSummary_ProductOfferCondition >(0)},
        is_preferred_{false} {}

template <typename>
constexpr PriceSummary::PriceSummary(::_pbi::ConstantInitialized,
                       const ::_pbi::ClassData* PROTOBUF_NONNULL class_data)
    : ::google::protobuf::MessageLite(
#if defined(PROTOBUF_CUSTOM_VTABLE)
          class_data
#endif  // PROTOBUF_CUSTOM_VTABLE
          ),
      _impl_(internal_visibility(), ::_pbi::ConstantInitialized()) {
}
inline void* PROTOBUF_NONNULL PriceSummary::PlacementNew_(
    const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
  return ::new (mem) PriceSummary(arena);
}
constexpr auto PriceSummary::InternalNewImpl_() {
  return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(PriceSummary), alignof(PriceSummary));
}
constexpr auto PriceSummary::InternalGenerateClassData_(
    const MessageLite& prototype,
    const ::google::protobuf::internal::TcParseTableBase* tc_table) {
  return ::google::protobuf::internal::ClassDataLite{
      {
          &prototype,
#ifndef PROTOBUF_MESSAGE_GLOBALS
          &_table_.header,
#else
          tc_table,
#endif
          nullptr,  // IsInitialized
          &PriceSummary::MergeImpl,
          ::google::protobuf::MessageLite::GetNewImpl<PriceSummary>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
          &PriceSummary::SharedDtor,
          ::google::protobuf::MessageLite::GetClearImpl<PriceSummary>(), &PriceSummary::ByteSizeLong,
              &PriceSummary::_InternalSerialize,
#endif  // PROTOBUF_CUSTOM_VTABLE
          PROTOBUF_FIELD_OFFSET(PriceSummary, _impl_._cached_size_),
          true,
      },
      "commerce.PriceSummary",
  };
}
struct PriceSummaryGlobalsTypeInternal : ::_pbi::MessageGlobalsBase {
  constexpr PriceSummaryGlobalsTypeInternal()
      :
#ifndef PROTOBUF_MESSAGE_GLOBALS
        _default(::_pbi::ConstantInitialized{},
                 PriceSummary_class_data_.base())
#else   // !PROTOBUF_MESSAGE_GLOBALS
        MessageGlobalsBase(PriceSummary::InternalGenerateClassData_(
            _default, &PriceSummary_globals_._table.header)),
        _default(::_pbi::ConstantInitialized{}, GetClassData()),
        _table(::_pbi::PrivateAccess::GenerateParseTable<PriceSummary>(
            GetClassData()))
#endif  // PROTOBUF_MESSAGE_GLOBALS
  {
  }
  ~PriceSummaryGlobalsTypeInternal() {}
  union {
    alignas(::_pbi::kMaxMessageAlignment) PriceSummary _default;
  };
#ifdef PROTOBUF_MESSAGE_GLOBALS
  decltype(::_pbi::PrivateAccess::GenerateParseTable<PriceSummary>(
      ::std::declval<const ::_pbi::ClassData*>())) _table;
#endif
};
#ifdef PROTOBUF_MESSAGE_GLOBALS
static_assert(PROTOBUF_FIELD_OFFSET(PriceSummaryGlobalsTypeInternal, _default) ==
              ::_pbi::MessageGlobalsBase::OffsetToDefault());
#endif  // PROTOBUF_MESSAGE_GLOBALS

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST PriceSummaryGlobalsTypeInternal PriceSummary_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* PriceSummary_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return PriceSummary_globals_.GetClassData();
#else
  return PriceSummary_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
class PriceDropNotificationPayload::_Internal {
 public:
  using HasBits = decltype(::std::declval<PriceDropNotificationPayload>()._impl_._has_bits_);
  static constexpr ::int32_t kHasBitsOffset =
      8 * PROTOBUF_FIELD_OFFSET(PriceDropNotificationPayload, _impl_._has_bits_);
};

constexpr PriceDropNotificationPayload::ParseTableT_ PriceDropNotificationPayload::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(PriceDropNotificationPayload, _impl_._has_bits_),
      0, // no _extensions_
      6, 56,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967232,  // skipmap
      offsetof(ParseTableT_, field_entries),
      6,  // num_field_entries
      2,  // num_aux_entries
      offsetof(ParseTableT_, aux_entries),
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::commerce::PriceDropNotificationPayload>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // optional string product_name = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(PriceDropNotificationPayload, _impl_.product_name_)}},
      // optional uint64 offer_id = 2;
      {::_pbi::TcParser::FastV64S1,
       {16, 4, 0,
        PROTOBUF_FIELD_OFFSET(PriceDropNotificationPayload, _impl_.offer_id_)}},
      // optional string destination_url = 3;
      {::_pbi::TcParser::FastBS1,
       {26, 1, 0,
        PROTOBUF_FIELD_OFFSET(PriceDropNotificationPayload, _impl_.destination_url_)}},
      // optional .commerce.ProductPrice current_price = 4;
      {::_pbi::TcParser::FastMtS1,
       {34, 2, 0,
        PROTOBUF_FIELD_OFFSET(PriceDropNotificationPayload, _impl_.current_price_)}},
      // optional .commerce.ProductPrice previous_price = 5;
      {::_pbi::TcParser::FastMtS1,
       {42, 3, 1,
        PROTOBUF_FIELD_OFFSET(PriceDropNotificationPayload, _impl_.previous_price_)}},
      // optional uint64 product_cluster_id = 6;
      {::_pbi::TcParser::FastV64S1,
       {48, 5, 0,
        PROTOBUF_FIELD_OFFSET(PriceDropNotificationPayload, _impl_.product_cluster_id_)}},
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // optional string product_name = 1;
      {PROTOBUF_FIELD_OFFSET(PriceDropNotificationPayload, _impl_.product_name_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional uint64 offer_id = 2;
      {PROTOBUF_FIELD_OFFSET(PriceDropNotificationPayload, _impl_.offer_id_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)},
      // optional string destination_url = 3;
      {PROTOBUF_FIELD_OFFSET(PriceDropNotificationPayload, _impl_.destination_url_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional .commerce.ProductPrice current_price = 4;
      {PROTOBUF_FIELD_OFFSET(PriceDropNotificationPayload, _impl_.current_price_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // optional .commerce.ProductPrice previous_price = 5;
      {PROTOBUF_FIELD_OFFSET(PriceDropNotificationPayload, _impl_.previous_price_), _Internal::kHasBitsOffset + 3, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // optional uint64 product_cluster_id = 6;
      {PROTOBUF_FIELD_OFFSET(PriceDropNotificationPayload, _impl_.product_cluster_id_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::commerce::ProductPrice>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::commerce::ProductPrice_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::commerce::ProductPrice>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::commerce::ProductPrice_globals_},
        #endif
    }},
    {{
    }},
  };
}


inline constexpr PriceDropNotificationPayload::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        product_name_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        destination_url_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        current_price_{nullptr},
        previous_price_{nullptr},
        offer_id_{::uint64_t{0u}},
        product_cluster_id_{::uint64_t{0u}} {}

template <typename>
constexpr PriceDropNotificationPayload::PriceDropNotificationPayload(::_pbi::ConstantInitialized,
                       const ::_pbi::ClassData* PROTOBUF_NONNULL class_data)
    : ::google::protobuf::MessageLite(
#if defined(PROTOBUF_CUSTOM_VTABLE)
          class_data
#endif  // PROTOBUF_CUSTOM_VTABLE
          ),
      _impl_(internal_visibility(), ::_pbi::ConstantInitialized()) {
}
inline void* PROTOBUF_NONNULL PriceDropNotificationPayload::PlacementNew_(
    const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
  return ::new (mem) PriceDropNotificationPayload(arena);
}
constexpr auto PriceDropNotificationPayload::InternalNewImpl_() {
  return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(PriceDropNotificationPayload), alignof(PriceDropNotificationPayload));
}
constexpr auto PriceDropNotificationPayload::InternalGenerateClassData_(
    const MessageLite& prototype,
    const ::google::protobuf::internal::TcParseTableBase* tc_table) {
  return ::google::protobuf::internal::ClassDataLite{
      {
          &prototype,
#ifndef PROTOBUF_MESSAGE_GLOBALS
          &_table_.header,
#else
          tc_table,
#endif
          nullptr,  // IsInitialized
          &PriceDropNotificationPayload::MergeImpl,
          ::google::protobuf::MessageLite::GetNewImpl<PriceDropNotificationPayload>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
          &PriceDropNotificationPayload::SharedDtor,
          ::google::protobuf::MessageLite::GetClearImpl<PriceDropNotificationPayload>(), &PriceDropNotificationPayload::ByteSizeLong,
              &PriceDropNotificationPayload::_InternalSerialize,
#endif  // PROTOBUF_CUSTOM_VTABLE
          PROTOBUF_FIELD_OFFSET(PriceDropNotificationPayload, _impl_._cached_size_),
          true,
      },
      "commerce.PriceDropNotificationPayload",
  };
}
struct PriceDropNotificationPayloadGlobalsTypeInternal : ::_pbi::MessageGlobalsBase {
  constexpr PriceDropNotificationPayloadGlobalsTypeInternal()
      :
#ifndef PROTOBUF_MESSAGE_GLOBALS
        _default(::_pbi::ConstantInitialized{},
                 PriceDropNotificationPayload_class_data_.base())
#else   // !PROTOBUF_MESSAGE_GLOBALS
        MessageGlobalsBase(PriceDropNotificationPayload::InternalGenerateClassData_(
            _default, &PriceDropNotificationPayload_globals_._table.header)),
        _default(::_pbi::ConstantInitialized{}, GetClassData()),
        _table(::_pbi::PrivateAccess::GenerateParseTable<PriceDropNotificationPayload>(
            GetClassData()))
#endif  // PROTOBUF_MESSAGE_GLOBALS
  {
  }
  ~PriceDropNotificationPayloadGlobalsTypeInternal() {}
  union {
    alignas(::_pbi::kMaxMessageAlignment) PriceDropNotificationPayload _default;
  };
#ifdef PROTOBUF_MESSAGE_GLOBALS
  decltype(::_pbi::PrivateAccess::GenerateParseTable<PriceDropNotificationPayload>(
      ::std::declval<const ::_pbi::ClassData*>())) _table;
#endif
};
#ifdef PROTOBUF_MESSAGE_GLOBALS
static_assert(PROTOBUF_FIELD_OFFSET(PriceDropNotificationPayloadGlobalsTypeInternal, _default) ==
              ::_pbi::MessageGlobalsBase::OffsetToDefault());
#endif  // PROTOBUF_MESSAGE_GLOBALS

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST PriceDropNotificationPayloadGlobalsTypeInternal PriceDropNotificationPayload_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* PriceDropNotificationPayload_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return PriceDropNotificationPayload_globals_.GetClassData();
#else
  return PriceDropNotificationPayload_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
class BuyableProduct::_Internal {
 public:
  using HasBits = decltype(::std::declval<BuyableProduct>()._impl_._has_bits_);
  static constexpr ::int32_t kHasBitsOffset =
      8 * PROTOBUF_FIELD_OFFSET(BuyableProduct, _impl_._has_bits_);
};

constexpr BuyableProduct::ParseTableT_ BuyableProduct::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(BuyableProduct, _impl_._has_bits_),
      0, // no _extensions_
      12, 120,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294963200,  // skipmap
      offsetof(ParseTableT_, field_entries),
      12,  // num_field_entries
      6,  // num_aux_entries
      offsetof(ParseTableT_, aux_entries),
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::commerce::BuyableProduct>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // optional string title = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 1, 0,
        PROTOBUF_FIELD_OFFSET(BuyableProduct, _impl_.title_)}},
      // optional string image_url = 2;
      {::_pbi::TcParser::FastBS1,
       {18, 2, 0,
        PROTOBUF_FIELD_OFFSET(BuyableProduct, _impl_.image_url_)}},
      // optional .commerce.ProductPrice current_price = 3;
      {::_pbi::TcParser::FastMtS1,
       {26, 5, 0,
        PROTOBUF_FIELD_OFFSET(BuyableProduct, _impl_.current_price_)}},
      // optional .commerce.BuyableProduct.ProductReferenceType reference_type = 4;
      {::_pbi::TcParser::FastEr0S1,
       {32, 10, 1,
        PROTOBUF_FIELD_OFFSET(BuyableProduct, _impl_.reference_type_)}},
      // optional fixed64 offer_id = 5;
      {::_pbi::TcParser::FastF64S1,
       {41, 8, 0,
        PROTOBUF_FIELD_OFFSET(BuyableProduct, _impl_.offer_id_)}},
      // optional uint64 product_cluster_id = 6;
      {::_pbi::TcParser::FastV64S1,
       {48, 9, 0,
        PROTOBUF_FIELD_OFFSET(BuyableProduct, _impl_.product_cluster_id_)}},
      // optional string country_code = 7;
      {::_pbi::TcParser::FastBS1,
       {58, 3, 0,
        PROTOBUF_FIELD_OFFSET(BuyableProduct, _impl_.country_code_)}},
      // optional string gpc_title = 8;
      {::_pbi::TcParser::FastBS1,
       {66, 4, 0,
        PROTOBUF_FIELD_OFFSET(BuyableProduct, _impl_.gpc_title_)}},
      // optional .commerce.CategoryData category_data = 9;
      {::_pbi::TcParser::FastMtS1,
       {74, 6, 1,
        PROTOBUF_FIELD_OFFSET(BuyableProduct, _impl_.category_data_)}},
      // repeated .commerce.PriceSummary price_summary = 10;
      {::_pbi::TcParser::FastMtR1,
       {82, 0, 2,
        PROTOBUF_FIELD_OFFSET(BuyableProduct, _impl_.price_summary_)}},
      // optional .commerce.BuyableProduct.PriceDisplayRecommendation price_display_recommendation = 11;
      {::_pbi::TcParser::FastEr0S1,
       {88, 11, 5,
        PROTOBUF_FIELD_OFFSET(BuyableProduct, _impl_.price_display_recommendation_)}},
      // optional .commerce.ProductReviews product_reviews = 12;
      {::_pbi::TcParser::FastMtS1,
       {98, 7, 3,
        PROTOBUF_FIELD_OFFSET(BuyableProduct, _impl_.product_reviews_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // optional string title = 1;
      {PROTOBUF_FIELD_OFFSET(BuyableProduct, _impl_.title_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string image_url = 2;
      {PROTOBUF_FIELD_OFFSET(BuyableProduct, _impl_.image_url_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional .commerce.ProductPrice current_price = 3;
      {PROTOBUF_FIELD_OFFSET(BuyableProduct, _impl_.current_price_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // optional .commerce.BuyableProduct.ProductReferenceType reference_type = 4;
      {PROTOBUF_FIELD_OFFSET(BuyableProduct, _impl_.reference_type_), _Internal::kHasBitsOffset + 10, 4, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
      // optional fixed64 offer_id = 5;
      {PROTOBUF_FIELD_OFFSET(BuyableProduct, _impl_.offer_id_), _Internal::kHasBitsOffset + 8, 0, (0 | ::_fl::kFcOptional | ::_fl::kFixed64)},
      // optional uint64 product_cluster_id = 6;
      {PROTOBUF_FIELD_OFFSET(BuyableProduct, _impl_.product_cluster_id_), _Internal::kHasBitsOffset + 9, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)},
      // optional string country_code = 7;
      {PROTOBUF_FIELD_OFFSET(BuyableProduct, _impl_.country_code_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string gpc_title = 8;
      {PROTOBUF_FIELD_OFFSET(BuyableProduct, _impl_.gpc_title_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional .commerce.CategoryData category_data = 9;
      {PROTOBUF_FIELD_OFFSET(BuyableProduct, _impl_.category_data_), _Internal::kHasBitsOffset + 6, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // repeated .commerce.PriceSummary price_summary = 10;
      {PROTOBUF_FIELD_OFFSET(BuyableProduct, _impl_.price_summary_), _Internal::kHasBitsOffset + 0, 2, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
      // optional .commerce.BuyableProduct.PriceDisplayRecommendation price_display_recommendation = 11;
      {PROTOBUF_FIELD_OFFSET(BuyableProduct, _impl_.price_display_recommendation_), _Internal::kHasBitsOffset + 11, 5, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
      // optional .commerce.ProductReviews product_reviews = 12;
      {PROTOBUF_FIELD_OFFSET(BuyableProduct, _impl_.product_reviews_), _Internal::kHasBitsOffset + 7, 3, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::commerce::ProductPrice>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::commerce::ProductPrice_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::commerce::CategoryData>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::commerce::CategoryData_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::commerce::PriceSummary>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::commerce::PriceSummary_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::commerce::ProductReviews>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::commerce::ProductReviews_globals_},
        #endif
        {0, 1},
        {0, 5},
    }},
    {{
    }},
  };
}


inline constexpr BuyableProduct::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        price_summary_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::commerce::BuyableProduct,
            PROTOBUF_FIELD_OFFSET(::commerce::BuyableProduct, _impl_.price_summary_)>()
         }
        ,
        title_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        image_url_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        country_code_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        gpc_title_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        current_price_{nullptr},
        category_data_{nullptr},
        product_reviews_{nullptr},
        offer_id_{::uint64_t{0u}},
        product_cluster_id_{::uint64_t{0u}},
        reference_type_{static_cast< ::commerce::BuyableProduct_ProductReferenceType >(0)},
        price_display_recommendation_{static_cast< ::commerce::BuyableProduct_PriceDisplayRecommendation >(0)} {}

template <typename>
constexpr BuyableProduct::BuyableProduct(::_pbi::ConstantInitialized,
                       const ::_pbi::ClassData* PROTOBUF_NONNULL class_data)
    : ::google::protobuf::MessageLite(
#if defined(PROTOBUF_CUSTOM_VTABLE)
          class_data
#endif  // PROTOBUF_CUSTOM_VTABLE
          ),
      _impl_(internal_visibility(), ::_pbi::ConstantInitialized()) {
}
inline void* PROTOBUF_NONNULL BuyableProduct::PlacementNew_(
    const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
  return ::new (mem) BuyableProduct(arena);
}
constexpr auto BuyableProduct::InternalNewImpl_() {
  return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(BuyableProduct), alignof(BuyableProduct));
}
constexpr auto BuyableProduct::InternalGenerateClassData_(
    const MessageLite& prototype,
    const ::google::protobuf::internal::TcParseTableBase* tc_table) {
  return ::google::protobuf::internal::ClassDataLite{
      {
          &prototype,
#ifndef PROTOBUF_MESSAGE_GLOBALS
          &_table_.header,
#else
          tc_table,
#endif
          nullptr,  // IsInitialized
          &BuyableProduct::MergeImpl,
          ::google::protobuf::MessageLite::GetNewImpl<BuyableProduct>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
          &BuyableProduct::SharedDtor,
          ::google::protobuf::MessageLite::GetClearImpl<BuyableProduct>(), &BuyableProduct::ByteSizeLong,
              &BuyableProduct::_InternalSerialize,
#endif  // PROTOBUF_CUSTOM_VTABLE
          PROTOBUF_FIELD_OFFSET(BuyableProduct, _impl_._cached_size_),
          true,
      },
      "commerce.BuyableProduct",
  };
}
struct BuyableProductGlobalsTypeInternal : ::_pbi::MessageGlobalsBase {
  constexpr BuyableProductGlobalsTypeInternal()
      :
#ifndef PROTOBUF_MESSAGE_GLOBALS
        _default(::_pbi::ConstantInitialized{},
                 BuyableProduct_class_data_.base())
#else   // !PROTOBUF_MESSAGE_GLOBALS
        MessageGlobalsBase(BuyableProduct::InternalGenerateClassData_(
            _default, &BuyableProduct_globals_._table.header)),
        _default(::_pbi::ConstantInitialized{}, GetClassData()),
        _table(::_pbi::PrivateAccess::GenerateParseTable<BuyableProduct>(
            GetClassData()))
#endif  // PROTOBUF_MESSAGE_GLOBALS
  {
  }
  ~BuyableProductGlobalsTypeInternal() {}
  union {
    alignas(::_pbi::kMaxMessageAlignment) BuyableProduct _default;
  };
#ifdef PROTOBUF_MESSAGE_GLOBALS
  decltype(::_pbi::PrivateAccess::GenerateParseTable<BuyableProduct>(
      ::std::declval<const ::_pbi::ClassData*>())) _table;
#endif
};
#ifdef PROTOBUF_MESSAGE_GLOBALS
static_assert(PROTOBUF_FIELD_OFFSET(BuyableProductGlobalsTypeInternal, _default) ==
              ::_pbi::MessageGlobalsBase::OffsetToDefault());
#endif  // PROTOBUF_MESSAGE_GLOBALS

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST BuyableProductGlobalsTypeInternal BuyableProduct_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* BuyableProduct_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return BuyableProduct_globals_.GetClassData();
#else
  return BuyableProduct_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
class PriceTrackingData::_Internal {
 public:
  using HasBits = decltype(::std::declval<PriceTrackingData>()._impl_._has_bits_);
  static constexpr ::int32_t kHasBitsOffset =
      8 * PROTOBUF_FIELD_OFFSET(PriceTrackingData, _impl_._has_bits_);
};

constexpr PriceTrackingData::ParseTableT_ PriceTrackingData::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(PriceTrackingData, _impl_._has_bits_),
      0, // no _extensions_
      2, 8,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967292,  // skipmap
      offsetof(ParseTableT_, field_entries),
      2,  // num_field_entries
      2,  // num_aux_entries
      offsetof(ParseTableT_, aux_entries),
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::commerce::PriceTrackingData>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // optional .commerce.ProductPriceUpdate product_update = 2;
      {::_pbi::TcParser::FastMtS1,
       {18, 1, 1,
        PROTOBUF_FIELD_OFFSET(PriceTrackingData, _impl_.product_update_)}},
      // optional .commerce.BuyableProduct buyable_product = 1;
      {::_pbi::TcParser::FastMtS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(PriceTrackingData, _impl_.buyable_product_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional .commerce.BuyableProduct buyable_product = 1;
      {PROTOBUF_FIELD_OFFSET(PriceTrackingData, _impl_.buyable_product_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // optional .commerce.ProductPriceUpdate product_update = 2;
      {PROTOBUF_FIELD_OFFSET(PriceTrackingData, _impl_.product_update_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::commerce::BuyableProduct>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::commerce::BuyableProduct_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::commerce::ProductPriceUpdate>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::commerce::ProductPriceUpdate_globals_},
        #endif
    }},
    {{
    }},
  };
}


inline constexpr PriceTrackingData::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        buyable_product_{nullptr},
        product_update_{nullptr} {}

template <typename>
constexpr PriceTrackingData::PriceTrackingData(::_pbi::ConstantInitialized,
                       const ::_pbi::ClassData* PROTOBUF_NONNULL class_data)
    : ::google::protobuf::MessageLite(
#if defined(PROTOBUF_CUSTOM_VTABLE)
          class_data
#endif  // PROTOBUF_CUSTOM_VTABLE
          ),
      _impl_(internal_visibility(), ::_pbi::ConstantInitialized()) {
}
inline void* PROTOBUF_NONNULL PriceTrackingData::PlacementNew_(
    const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
  return ::new (mem) PriceTrackingData(arena);
}
constexpr auto PriceTrackingData::InternalNewImpl_() {
  return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(PriceTrackingData), alignof(PriceTrackingData));
}
constexpr auto PriceTrackingData::InternalGenerateClassData_(
    const MessageLite& prototype,
    const ::google::protobuf::internal::TcParseTableBase* tc_table) {
  return ::google::protobuf::internal::ClassDataLite{
      {
          &prototype,
#ifndef PROTOBUF_MESSAGE_GLOBALS
          &_table_.header,
#else
          tc_table,
#endif
          nullptr,  // IsInitialized
          &PriceTrackingData::MergeImpl,
          ::google::protobuf::MessageLite::GetNewImpl<PriceTrackingData>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
          &PriceTrackingData::SharedDtor,
          ::google::protobuf::MessageLite::GetClearImpl<PriceTrackingData>(), &PriceTrackingData::ByteSizeLong,
              &PriceTrackingData::_InternalSerialize,
#endif  // PROTOBUF_CUSTOM_VTABLE
          PROTOBUF_FIELD_OFFSET(PriceTrackingData, _impl_._cached_size_),
          true,
      },
      "commerce.PriceTrackingData",
  };
}
struct PriceTrackingDataGlobalsTypeInternal : ::_pbi::MessageGlobalsBase {
  constexpr PriceTrackingDataGlobalsTypeInternal()
      :
#ifndef PROTOBUF_MESSAGE_GLOBALS
        _default(::_pbi::ConstantInitialized{},
                 PriceTrackingData_class_data_.base())
#else   // !PROTOBUF_MESSAGE_GLOBALS
        MessageGlobalsBase(PriceTrackingData::InternalGenerateClassData_(
            _default, &PriceTrackingData_globals_._table.header)),
        _default(::_pbi::ConstantInitialized{}, GetClassData()),
        _table(::_pbi::PrivateAccess::GenerateParseTable<PriceTrackingData>(
            GetClassData()))
#endif  // PROTOBUF_MESSAGE_GLOBALS
  {
  }
  ~PriceTrackingDataGlobalsTypeInternal() {}
  union {
    alignas(::_pbi::kMaxMessageAlignment) PriceTrackingData _default;
  };
#ifdef PROTOBUF_MESSAGE_GLOBALS
  decltype(::_pbi::PrivateAccess::GenerateParseTable<PriceTrackingData>(
      ::std::declval<const ::_pbi::ClassData*>())) _table;
#endif
};
#ifdef PROTOBUF_MESSAGE_GLOBALS
static_assert(PROTOBUF_FIELD_OFFSET(PriceTrackingDataGlobalsTypeInternal, _default) ==
              ::_pbi::MessageGlobalsBase::OffsetToDefault());
#endif  // PROTOBUF_MESSAGE_GLOBALS

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST PriceTrackingDataGlobalsTypeInternal PriceTrackingData_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* PriceTrackingData_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return PriceTrackingData_globals_.GetClassData();
#else
  return PriceTrackingData_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
}  // namespace commerce
namespace commerce {
PROTOBUF_CONSTINIT const uint32_t BuyableProduct_ProductReferenceType_internal_data_[] = {
    131072u, 0u, };
static const char BuyableProduct_ProductReferenceType_names[] = {
    "MAIN_PRODUCT"
    "UNKNOWN"
};

static const ::google::protobuf::internal::EnumEntry BuyableProduct_ProductReferenceType_entries[] = {
    {{&BuyableProduct_ProductReferenceType_names[0], 12}, 1},
    {{&BuyableProduct_ProductReferenceType_names[12], 7}, 0},
};

static const int BuyableProduct_ProductReferenceType_entries_by_number[] = {
    1,  // 0 -> UNKNOWN
    0,  // 1 -> MAIN_PRODUCT
};

bool BuyableProduct_ProductReferenceType_Parse(::absl::string_view name,
                                  BuyableProduct_ProductReferenceType* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      BuyableProduct_ProductReferenceType_entries, 2, name, &int_value);
  if (success) {
    *value = static_cast<BuyableProduct_ProductReferenceType>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    BuyableProduct_ProductReferenceType_strings[2] = {};

const ::std::string& BuyableProduct_ProductReferenceType_Name(BuyableProduct_ProductReferenceType value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      BuyableProduct_ProductReferenceType_entries, BuyableProduct_ProductReferenceType_entries_by_number, 2,
      BuyableProduct_ProductReferenceType_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(BuyableProduct_ProductReferenceType_entries,
                                  BuyableProduct_ProductReferenceType_entries_by_number,
                                  2, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : BuyableProduct_ProductReferenceType_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t BuyableProduct_PriceDisplayRecommendation_internal_data_[] = {
    393216u, 0u, };
static const char BuyableProduct_PriceDisplayRecommendation_names[] = {
    "RECOMMENDATION_SHOW_PRICE_UNDETERMINED"
    "RECOMMENDATION_SHOW_RANGE"
    "RECOMMENDATION_SHOW_RANGE_LOWER_BOUND"
    "RECOMMENDATION_SHOW_RANGE_UPPER_BOUND"
    "RECOMMENDATION_SHOW_SINGLE_PRICE"
    "RECOMMENDATION_UNSPECIFIED"
};

static const ::google::protobuf::internal::EnumEntry BuyableProduct_PriceDisplayRecommendation_entries[] = {
    {{&BuyableProduct_PriceDisplayRecommendation_names[0], 38}, 4},
    {{&BuyableProduct_PriceDisplayRecommendation_names[38], 25}, 1},
    {{&BuyableProduct_PriceDisplayRecommendation_names[63], 37}, 2},
    {{&BuyableProduct_PriceDisplayRecommendation_names[100], 37}, 3},
    {{&BuyableProduct_PriceDisplayRecommendation_names[137], 32}, 5},
    {{&BuyableProduct_PriceDisplayRecommendation_names[169], 26}, 0},
};

static const int BuyableProduct_PriceDisplayRecommendation_entries_by_number[] = {
    5,  // 0 -> RECOMMENDATION_UNSPECIFIED
    1,  // 1 -> RECOMMENDATION_SHOW_RANGE
    2,  // 2 -> RECOMMENDATION_SHOW_RANGE_LOWER_BOUND
    3,  // 3 -> RECOMMENDATION_SHOW_RANGE_UPPER_BOUND
    0,  // 4 -> RECOMMENDATION_SHOW_PRICE_UNDETERMINED
    4,  // 5 -> RECOMMENDATION_SHOW_SINGLE_PRICE
};

bool BuyableProduct_PriceDisplayRecommendation_Parse(::absl::string_view name,
                                  BuyableProduct_PriceDisplayRecommendation* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      BuyableProduct_PriceDisplayRecommendation_entries, 6, name, &int_value);
  if (success) {
    *value = static_cast<BuyableProduct_PriceDisplayRecommendation>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    BuyableProduct_PriceDisplayRecommendation_strings[6] = {};

const ::std::string& BuyableProduct_PriceDisplayRecommendation_Name(BuyableProduct_PriceDisplayRecommendation value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      BuyableProduct_PriceDisplayRecommendation_entries, BuyableProduct_PriceDisplayRecommendation_entries_by_number, 6,
      BuyableProduct_PriceDisplayRecommendation_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(BuyableProduct_PriceDisplayRecommendation_entries,
                                  BuyableProduct_PriceDisplayRecommendation_entries_by_number,
                                  6, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : BuyableProduct_PriceDisplayRecommendation_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t PriceSummary_ProductOfferCondition_internal_data_[] = {
    196608u, 0u, };
static const char PriceSummary_ProductOfferCondition_names[] = {
    "CONDITION_ANY"
    "CONDITION_NEW"
    "CONDITION_UNKNOWN"
};

static const ::google::protobuf::internal::EnumEntry PriceSummary_ProductOfferCondition_entries[] = {
    {{&PriceSummary_ProductOfferCondition_names[0], 13}, 1},
    {{&PriceSummary_ProductOfferCondition_names[13], 13}, 2},
    {{&PriceSummary_ProductOfferCondition_names[26], 17}, 0},
};

static const int PriceSummary_ProductOfferCondition_entries_by_number[] = {
    2,  // 0 -> CONDITION_UNKNOWN
    0,  // 1 -> CONDITION_ANY
    1,  // 2 -> CONDITION_NEW
};

bool PriceSummary_ProductOfferCondition_Parse(::absl::string_view name,
                                  PriceSummary_ProductOfferCondition* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      PriceSummary_ProductOfferCondition_entries, 3, name, &int_value);
  if (success) {
    *value = static_cast<PriceSummary_ProductOfferCondition>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    PriceSummary_ProductOfferCondition_strings[3] = {};

const ::std::string& PriceSummary_ProductOfferCondition_Name(PriceSummary_ProductOfferCondition value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      PriceSummary_ProductOfferCondition_entries, PriceSummary_ProductOfferCondition_entries_by_number, 3,
      PriceSummary_ProductOfferCondition_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(PriceSummary_ProductOfferCondition_entries,
                                  PriceSummary_ProductOfferCondition_entries_by_number,
                                  3, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : PriceSummary_ProductOfferCondition_strings[idx].get();
}
// ===================================================================

PriceTrackingData::PriceTrackingData(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, PriceTrackingData_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:commerce.PriceTrackingData)
}
PROTOBUF_NDEBUG_INLINE PriceTrackingData::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::commerce::PriceTrackingData& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0} {}

PriceTrackingData::PriceTrackingData(
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
    const PriceTrackingData& from)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, PriceTrackingData_get_class_data()) {

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  PriceTrackingData* const _this = this;
  (void)_this;
  _internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
  ::uint32_t cached_has_bits = _impl_._has_bits_[0];
  _impl_.buyable_product_ = (CheckHasBit(cached_has_bits, 0x00000001U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.buyable_product_)
                : nullptr;
  _impl_.product_update_ = (CheckHasBit(cached_has_bits, 0x00000002U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.product_update_)
                : nullptr;

  // @@protoc_insertion_point(copy_constructor:commerce.PriceTrackingData)
}
PROTOBUF_NDEBUG_INLINE PriceTrackingData::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0} {}

inline void PriceTrackingData::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
  ::memset(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, buyable_product_),
           0,
           offsetof(Impl_, product_update_) -
               offsetof(Impl_, buyable_product_) +
               sizeof(Impl_::product_update_));
}
PriceTrackingData::~PriceTrackingData() {
  // @@protoc_insertion_point(destructor:commerce.PriceTrackingData)
  SharedDtor(*this);
}
inline void PriceTrackingData::SharedDtor(MessageLite& self) {
  PriceTrackingData& this_ = static_cast<PriceTrackingData&>(self);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  this_._internal_metadata_.Delete<::std::string>();
  ABSL_DCHECK(this_.GetArena() == nullptr);
  delete this_._impl_.buyable_product_;
  delete this_._impl_.product_update_;
  this_._impl_.~Impl_();
}

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite PriceTrackingData_class_data_ =
    PriceTrackingData::InternalGenerateClassData_(PriceTrackingData_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
PriceTrackingData::GetClassData() const {
  return PriceTrackingData_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
PriceTrackingData::GetClassData() const {
  return PriceTrackingData_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const PriceTrackingData::ParseTableT_
    PriceTrackingData::_table_ =
        PriceTrackingData::InternalGenerateParseTable_(PriceTrackingData_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void PriceTrackingData::Clear() {
// @@protoc_insertion_point(message_clear_start:commerce.PriceTrackingData)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  cached_has_bits = _impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      ABSL_DCHECK(_impl_.buyable_product_ != nullptr);
      _impl_.buyable_product_->Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      ABSL_DCHECK(_impl_.product_update_ != nullptr);
      _impl_.product_update_->Clear();
    }
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* PROTOBUF_NONNULL PriceTrackingData::_InternalSerialize(
    const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
    ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
  const PriceTrackingData& this_ = static_cast<const PriceTrackingData&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::uint8_t* PROTOBUF_NONNULL PriceTrackingData::_InternalSerialize(
    ::uint8_t* PROTOBUF_NONNULL target,
    ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
  const PriceTrackingData& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(serialize_to_array_start:commerce.PriceTrackingData)
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = this_._impl_._has_bits_[0];
  // optional .commerce.BuyableProduct buyable_product = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        1, *this_._impl_.buyable_product_, this_._impl_.buyable_product_->GetCachedSize(), target,
        stream);
  }

  // optional .commerce.ProductPriceUpdate product_update = 2;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        2, *this_._impl_.product_update_, this_._impl_.product_update_->GetCachedSize(), target,
        stream);
  }

  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    target = stream->WriteRaw(
        this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
        static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
  }
  // @@protoc_insertion_point(serialize_to_array_end:commerce.PriceTrackingData)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t PriceTrackingData::ByteSizeLong(const MessageLite& base) {
  const PriceTrackingData& this_ = static_cast<const PriceTrackingData&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t PriceTrackingData::ByteSizeLong() const {
  const PriceTrackingData& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:commerce.PriceTrackingData)
  ::size_t total_size = 0;

  ::uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void)cached_has_bits;

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
  cached_has_bits = this_._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
    // optional .commerce.BuyableProduct buyable_product = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.buyable_product_);
    }
    // optional .commerce.ProductPriceUpdate product_update = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.product_update_);
    }
  }
  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
  }
  this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
  return total_size;
}

void PriceTrackingData::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<PriceTrackingData*>(&to_msg);
  auto& from = static_cast<const PriceTrackingData&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:commerce.PriceTrackingData)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = from._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      ABSL_DCHECK(from._impl_.buyable_product_ != nullptr);
      if (_this->_impl_.buyable_product_ == nullptr) {
        _this->_impl_.buyable_product_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.buyable_product_);
      } else {
        _this->_impl_.buyable_product_->MergeFrom(*from._impl_.buyable_product_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      ABSL_DCHECK(from._impl_.product_update_ != nullptr);
      if (_this->_impl_.product_update_ == nullptr) {
        _this->_impl_.product_update_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.product_update_);
      } else {
        _this->_impl_.product_update_->MergeFrom(*from._impl_.product_update_);
      }
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

void PriceTrackingData::CopyFrom(const PriceTrackingData& from) {
  // @@protoc_insertion_point(class_specific_copy_from_start:commerce.PriceTrackingData)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}


void PriceTrackingData::InternalSwap(PriceTrackingData* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
  using ::std::swap;
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(PriceTrackingData, _impl_.product_update_)
      + sizeof(PriceTrackingData::_impl_.product_update_)
      - PROTOBUF_FIELD_OFFSET(PriceTrackingData, _impl_.buyable_product_)>(
          reinterpret_cast<char*>(&_impl_.buyable_product_),
          reinterpret_cast<char*>(&other->_impl_.buyable_product_));
}

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

void BuyableProduct::clear_category_data() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.category_data_ != nullptr) _impl_.category_data_->Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
}
BuyableProduct::BuyableProduct(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, BuyableProduct_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:commerce.BuyableProduct)
}
PROTOBUF_NDEBUG_INLINE BuyableProduct::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::commerce::BuyableProduct& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        price_summary_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::commerce::BuyableProduct,
              PROTOBUF_FIELD_OFFSET(::commerce::BuyableProduct, _impl_.price_summary_)>()
          , from.price_summary_
        }
        ,
        title_(arena, from.title_),
        image_url_(arena, from.image_url_),
        country_code_(arena, from.country_code_),
        gpc_title_(arena, from.gpc_title_) {}

BuyableProduct::BuyableProduct(
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
    const BuyableProduct& from)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, BuyableProduct_get_class_data()) {

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  BuyableProduct* const _this = this;
  (void)_this;
  _internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
  ::uint32_t cached_has_bits = _impl_._has_bits_[0];
  _impl_.current_price_ = (CheckHasBit(cached_has_bits, 0x00000020U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.current_price_)
                : nullptr;
  _impl_.category_data_ = (CheckHasBit(cached_has_bits, 0x00000040U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.category_data_)
                : nullptr;
  _impl_.product_reviews_ = (CheckHasBit(cached_has_bits, 0x00000080U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.product_reviews_)
                : nullptr;
  ::memcpy(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, offer_id_),
           reinterpret_cast<const char*>(&from._impl_) +
               offsetof(Impl_, offer_id_),
           offsetof(Impl_, price_display_recommendation_) -
               offsetof(Impl_, offer_id_) +
               sizeof(Impl_::price_display_recommendation_));

  // @@protoc_insertion_point(copy_constructor:commerce.BuyableProduct)
}
PROTOBUF_NDEBUG_INLINE BuyableProduct::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        price_summary_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::commerce::BuyableProduct,
            PROTOBUF_FIELD_OFFSET(::commerce::BuyableProduct, _impl_.price_summary_)>()
         }
        ,
        title_(arena),
        image_url_(arena),
        country_code_(arena),
        gpc_title_(arena) {}

inline void BuyableProduct::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
  ::memset(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, current_price_),
           0,
           offsetof(Impl_, price_display_recommendation_) -
               offsetof(Impl_, current_price_) +
               sizeof(Impl_::price_display_recommendation_));
}
BuyableProduct::~BuyableProduct() {
  // @@protoc_insertion_point(destructor:commerce.BuyableProduct)
  SharedDtor(*this);
}
inline void BuyableProduct::SharedDtor(MessageLite& self) {
  BuyableProduct& this_ = static_cast<BuyableProduct&>(self);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  this_._internal_metadata_.Delete<::std::string>();
  ABSL_DCHECK(this_.GetArena() == nullptr);
  this_._impl_.title_.Destroy();
  this_._impl_.image_url_.Destroy();
  this_._impl_.country_code_.Destroy();
  this_._impl_.gpc_title_.Destroy();
  delete this_._impl_.current_price_;
  delete this_._impl_.category_data_;
  delete this_._impl_.product_reviews_;
  this_._impl_.~Impl_();
}

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite BuyableProduct_class_data_ =
    BuyableProduct::InternalGenerateClassData_(BuyableProduct_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
BuyableProduct::GetClassData() const {
  return BuyableProduct_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
BuyableProduct::GetClassData() const {
  return BuyableProduct_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const BuyableProduct::ParseTableT_
    BuyableProduct::_table_ =
        BuyableProduct::InternalGenerateParseTable_(BuyableProduct_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void BuyableProduct::Clear() {
// @@protoc_insertion_point(message_clear_start:commerce.BuyableProduct)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  cached_has_bits = _impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.price_summary_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.title_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.image_url_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _impl_.country_code_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _impl_.gpc_title_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      ABSL_DCHECK(_impl_.current_price_ != nullptr);
      _impl_.current_price_->Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      ABSL_DCHECK(_impl_.category_data_ != nullptr);
      _impl_.category_data_->Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      ABSL_DCHECK(_impl_.product_reviews_ != nullptr);
      _impl_.product_reviews_->Clear();
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000f00U)) {
    ::memset(&_impl_.offer_id_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.price_display_recommendation_) -
        reinterpret_cast<char*>(&_impl_.offer_id_)) + sizeof(_impl_.price_display_recommendation_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* PROTOBUF_NONNULL BuyableProduct::_InternalSerialize(
    const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
    ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
  const BuyableProduct& this_ = static_cast<const BuyableProduct&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::uint8_t* PROTOBUF_NONNULL BuyableProduct::_InternalSerialize(
    ::uint8_t* PROTOBUF_NONNULL target,
    ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
  const BuyableProduct& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(serialize_to_array_start:commerce.BuyableProduct)
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = this_._impl_._has_bits_[0];
  // optional string title = 1;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    const ::std::string& _s = this_._internal_title();
    target = stream->WriteStringMaybeAliased(1, _s, target);
  }

  // optional string image_url = 2;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    const ::std::string& _s = this_._internal_image_url();
    target = stream->WriteStringMaybeAliased(2, _s, target);
  }

  // optional .commerce.ProductPrice current_price = 3;
  if (CheckHasBit(cached_has_bits, 0x00000020U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        3, *this_._impl_.current_price_, this_._impl_.current_price_->GetCachedSize(), target,
        stream);
  }

  // optional .commerce.BuyableProduct.ProductReferenceType reference_type = 4;
  if (CheckHasBit(cached_has_bits, 0x00000400U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        4, this_._internal_reference_type(), target);
  }

  // optional fixed64 offer_id = 5;
  if (CheckHasBit(cached_has_bits, 0x00000100U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteFixed64ToArray(
        5, this_._internal_offer_id(), target);
  }

  // optional uint64 product_cluster_id = 6;
  if (CheckHasBit(cached_has_bits, 0x00000200U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
        6, this_._internal_product_cluster_id(), target);
  }

  // optional string country_code = 7;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    const ::std::string& _s = this_._internal_country_code();
    target = stream->WriteStringMaybeAliased(7, _s, target);
  }

  // optional string gpc_title = 8;
  if (CheckHasBit(cached_has_bits, 0x00000010U)) {
    const ::std::string& _s = this_._internal_gpc_title();
    target = stream->WriteStringMaybeAliased(8, _s, target);
  }

  // optional .commerce.CategoryData category_data = 9;
  if (CheckHasBit(cached_has_bits, 0x00000040U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        9, *this_._impl_.category_data_, this_._impl_.category_data_->GetCachedSize(), target,
        stream);
  }

  // repeated .commerce.PriceSummary price_summary = 10;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    for (unsigned i = 0, n = static_cast<unsigned>(
                             this_._internal_price_summary_size());
         i < n; i++) {
      const auto& repfield = this_._internal_price_summary().Get(i);
      target =
          ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
              10, repfield, repfield.GetCachedSize(),
              target, stream);
    }
  }

  // optional .commerce.BuyableProduct.PriceDisplayRecommendation price_display_recommendation = 11;
  if (CheckHasBit(cached_has_bits, 0x00000800U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        11, this_._internal_price_display_recommendation(), target);
  }

  // optional .commerce.ProductReviews product_reviews = 12;
  if (CheckHasBit(cached_has_bits, 0x00000080U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        12, *this_._impl_.product_reviews_, this_._impl_.product_reviews_->GetCachedSize(), target,
        stream);
  }

  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    target = stream->WriteRaw(
        this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
        static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
  }
  // @@protoc_insertion_point(serialize_to_array_end:commerce.BuyableProduct)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t BuyableProduct::ByteSizeLong(const MessageLite& base) {
  const BuyableProduct& this_ = static_cast<const BuyableProduct&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t BuyableProduct::ByteSizeLong() const {
  const BuyableProduct& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:commerce.BuyableProduct)
  ::size_t total_size = 0;

  ::uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void)cached_has_bits;

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
  cached_has_bits = this_._impl_._has_bits_[0];
  total_size += static_cast<bool>(0x00000100U & cached_has_bits) * 9;
  if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
    // repeated .commerce.PriceSummary price_summary = 10;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1UL * this_._internal_price_summary_size();
      for (const auto& msg : this_._internal_price_summary()) {
        total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
      }
    }
    // optional string title = 1;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_title());
    }
    // optional string image_url = 2;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_image_url());
    }
    // optional string country_code = 7;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_country_code());
    }
    // optional string gpc_title = 8;
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_gpc_title());
    }
    // optional .commerce.ProductPrice current_price = 3;
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.current_price_);
    }
    // optional .commerce.CategoryData category_data = 9;
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.category_data_);
    }
    // optional .commerce.ProductReviews product_reviews = 12;
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.product_reviews_);
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000e00U)) {
    // optional uint64 product_cluster_id = 6;
    if (CheckHasBit(cached_has_bits, 0x00000200U)) {
      total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
          this_._internal_product_cluster_id());
    }
    // optional .commerce.BuyableProduct.ProductReferenceType reference_type = 4;
    if (CheckHasBit(cached_has_bits, 0x00000400U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_reference_type());
    }
    // optional .commerce.BuyableProduct.PriceDisplayRecommendation price_display_recommendation = 11;
    if (CheckHasBit(cached_has_bits, 0x00000800U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_price_display_recommendation());
    }
  }
  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
  }
  this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
  return total_size;
}

void BuyableProduct::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<BuyableProduct*>(&to_msg);
  auto& from = static_cast<const BuyableProduct&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:commerce.BuyableProduct)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = from._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_mutable_price_summary()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_price_summary());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_title(from._internal_title());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_internal_set_image_url(from._internal_image_url());
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_internal_set_country_code(from._internal_country_code());
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _this->_internal_set_gpc_title(from._internal_gpc_title());
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      ABSL_DCHECK(from._impl_.current_price_ != nullptr);
      if (_this->_impl_.current_price_ == nullptr) {
        _this->_impl_.current_price_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.current_price_);
      } else {
        _this->_impl_.current_price_->MergeFrom(*from._impl_.current_price_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      ABSL_DCHECK(from._impl_.category_data_ != nullptr);
      if (_this->_impl_.category_data_ == nullptr) {
        _this->_impl_.category_data_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.category_data_);
      } else {
        _this->_impl_.category_data_->MergeFrom(*from._impl_.category_data_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      ABSL_DCHECK(from._impl_.product_reviews_ != nullptr);
      if (_this->_impl_.product_reviews_ == nullptr) {
        _this->_impl_.product_reviews_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.product_reviews_);
      } else {
        _this->_impl_.product_reviews_->MergeFrom(*from._impl_.product_reviews_);
      }
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000f00U)) {
    if (CheckHasBit(cached_has_bits, 0x00000100U)) {
      _this->_impl_.offer_id_ = from._impl_.offer_id_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000200U)) {
      _this->_impl_.product_cluster_id_ = from._impl_.product_cluster_id_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000400U)) {
      _this->_impl_.reference_type_ = from._impl_.reference_type_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000800U)) {
      _this->_impl_.price_display_recommendation_ = from._impl_.price_display_recommendation_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

void BuyableProduct::CopyFrom(const BuyableProduct& from) {
  // @@protoc_insertion_point(class_specific_copy_from_start:commerce.BuyableProduct)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}


void BuyableProduct::InternalSwap(BuyableProduct* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
  using ::std::swap;
  auto* arena = GetArena();
  ABSL_DCHECK_EQ(arena, other->GetArena());
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  _impl_.price_summary_.InternalSwap(&other->_impl_.price_summary_);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.title_, &other->_impl_.title_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.image_url_, &other->_impl_.image_url_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.country_code_, &other->_impl_.country_code_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.gpc_title_, &other->_impl_.gpc_title_, arena);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(BuyableProduct, _impl_.price_display_recommendation_)
      + sizeof(BuyableProduct::_impl_.price_display_recommendation_)
      - PROTOBUF_FIELD_OFFSET(BuyableProduct, _impl_.current_price_)>(
          reinterpret_cast<char*>(&_impl_.current_price_),
          reinterpret_cast<char*>(&other->_impl_.current_price_));
}

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

PriceSummary::PriceSummary(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, PriceSummary_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:commerce.PriceSummary)
}
PROTOBUF_NDEBUG_INLINE PriceSummary::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::commerce::PriceSummary& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0} {}

PriceSummary::PriceSummary(
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
    const PriceSummary& from)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, PriceSummary_get_class_data()) {

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  PriceSummary* const _this = this;
  (void)_this;
  _internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
  ::uint32_t cached_has_bits = _impl_._has_bits_[0];
  _impl_.lowest_price_ = (CheckHasBit(cached_has_bits, 0x00000001U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.lowest_price_)
                : nullptr;
  _impl_.highest_price_ = (CheckHasBit(cached_has_bits, 0x00000002U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.highest_price_)
                : nullptr;
  ::memcpy(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, condition_),
           reinterpret_cast<const char*>(&from._impl_) +
               offsetof(Impl_, condition_),
           offsetof(Impl_, is_preferred_) -
               offsetof(Impl_, condition_) +
               sizeof(Impl_::is_preferred_));

  // @@protoc_insertion_point(copy_constructor:commerce.PriceSummary)
}
PROTOBUF_NDEBUG_INLINE PriceSummary::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0} {}

inline void PriceSummary::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
  ::memset(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, lowest_price_),
           0,
           offsetof(Impl_, is_preferred_) -
               offsetof(Impl_, lowest_price_) +
               sizeof(Impl_::is_preferred_));
}
PriceSummary::~PriceSummary() {
  // @@protoc_insertion_point(destructor:commerce.PriceSummary)
  SharedDtor(*this);
}
inline void PriceSummary::SharedDtor(MessageLite& self) {
  PriceSummary& this_ = static_cast<PriceSummary&>(self);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  this_._internal_metadata_.Delete<::std::string>();
  ABSL_DCHECK(this_.GetArena() == nullptr);
  delete this_._impl_.lowest_price_;
  delete this_._impl_.highest_price_;
  this_._impl_.~Impl_();
}

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite PriceSummary_class_data_ =
    PriceSummary::InternalGenerateClassData_(PriceSummary_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
PriceSummary::GetClassData() const {
  return PriceSummary_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
PriceSummary::GetClassData() const {
  return PriceSummary_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const PriceSummary::ParseTableT_
    PriceSummary::_table_ =
        PriceSummary::InternalGenerateParseTable_(PriceSummary_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void PriceSummary::Clear() {
// @@protoc_insertion_point(message_clear_start:commerce.PriceSummary)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  cached_has_bits = _impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      ABSL_DCHECK(_impl_.lowest_price_ != nullptr);
      _impl_.lowest_price_->Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      ABSL_DCHECK(_impl_.highest_price_ != nullptr);
      _impl_.highest_price_->Clear();
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x0000000cU)) {
    ::memset(&_impl_.condition_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.is_preferred_) -
        reinterpret_cast<char*>(&_impl_.condition_)) + sizeof(_impl_.is_preferred_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* PROTOBUF_NONNULL PriceSummary::_InternalSerialize(
    const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
    ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
  const PriceSummary& this_ = static_cast<const PriceSummary&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::uint8_t* PROTOBUF_NONNULL PriceSummary::_InternalSerialize(
    ::uint8_t* PROTOBUF_NONNULL target,
    ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
  const PriceSummary& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(serialize_to_array_start:commerce.PriceSummary)
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = this_._impl_._has_bits_[0];
  // optional .commerce.PriceSummary.ProductOfferCondition condition = 1;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        1, this_._internal_condition(), target);
  }

  // optional .commerce.ProductPrice lowest_price = 2;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        2, *this_._impl_.lowest_price_, this_._impl_.lowest_price_->GetCachedSize(), target,
        stream);
  }

  // optional .commerce.ProductPrice highest_price = 3;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        3, *this_._impl_.highest_price_, this_._impl_.highest_price_->GetCachedSize(), target,
        stream);
  }

  // optional bool is_preferred = 4;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        4, this_._internal_is_preferred(), target);
  }

  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    target = stream->WriteRaw(
        this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
        static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
  }
  // @@protoc_insertion_point(serialize_to_array_end:commerce.PriceSummary)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t PriceSummary::ByteSizeLong(const MessageLite& base) {
  const PriceSummary& this_ = static_cast<const PriceSummary&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t PriceSummary::ByteSizeLong() const {
  const PriceSummary& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:commerce.PriceSummary)
  ::size_t total_size = 0;

  ::uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void)cached_has_bits;

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
  cached_has_bits = this_._impl_._has_bits_[0];
  total_size += static_cast<bool>(0x00000008U & cached_has_bits) * 2;
  if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
    // optional .commerce.ProductPrice lowest_price = 2;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.lowest_price_);
    }
    // optional .commerce.ProductPrice highest_price = 3;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.highest_price_);
    }
    // optional .commerce.PriceSummary.ProductOfferCondition condition = 1;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_condition());
    }
  }
  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
  }
  this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
  return total_size;
}

void PriceSummary::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<PriceSummary*>(&to_msg);
  auto& from = static_cast<const PriceSummary&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:commerce.PriceSummary)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = from._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      ABSL_DCHECK(from._impl_.lowest_price_ != nullptr);
      if (_this->_impl_.lowest_price_ == nullptr) {
        _this->_impl_.lowest_price_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.lowest_price_);
      } else {
        _this->_impl_.lowest_price_->MergeFrom(*from._impl_.lowest_price_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      ABSL_DCHECK(from._impl_.highest_price_ != nullptr);
      if (_this->_impl_.highest_price_ == nullptr) {
        _this->_impl_.highest_price_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.highest_price_);
      } else {
        _this->_impl_.highest_price_->MergeFrom(*from._impl_.highest_price_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_impl_.condition_ = from._impl_.condition_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_impl_.is_preferred_ = from._impl_.is_preferred_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

void PriceSummary::CopyFrom(const PriceSummary& from) {
  // @@protoc_insertion_point(class_specific_copy_from_start:commerce.PriceSummary)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}


void PriceSummary::InternalSwap(PriceSummary* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
  using ::std::swap;
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(PriceSummary, _impl_.is_preferred_)
      + sizeof(PriceSummary::_impl_.is_preferred_)
      - PROTOBUF_FIELD_OFFSET(PriceSummary, _impl_.lowest_price_)>(
          reinterpret_cast<char*>(&_impl_.lowest_price_),
          reinterpret_cast<char*>(&other->_impl_.lowest_price_));
}

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

ProductPriceUpdate::ProductPriceUpdate(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, ProductPriceUpdate_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:commerce.ProductPriceUpdate)
}
PROTOBUF_NDEBUG_INLINE ProductPriceUpdate::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::commerce::ProductPriceUpdate& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0} {}

ProductPriceUpdate::ProductPriceUpdate(
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
    const ProductPriceUpdate& from)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, ProductPriceUpdate_get_class_data()) {

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  ProductPriceUpdate* const _this = this;
  (void)_this;
  _internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
  ::uint32_t cached_has_bits = _impl_._has_bits_[0];
  _impl_.old_price_ = (CheckHasBit(cached_has_bits, 0x00000001U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.old_price_)
                : nullptr;
  _impl_.new_price_ = (CheckHasBit(cached_has_bits, 0x00000002U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.new_price_)
                : nullptr;
  _impl_.offer_id_ = from._impl_.offer_id_;

  // @@protoc_insertion_point(copy_constructor:commerce.ProductPriceUpdate)
}
PROTOBUF_NDEBUG_INLINE ProductPriceUpdate::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0} {}

inline void ProductPriceUpdate::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
  ::memset(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, old_price_),
           0,
           offsetof(Impl_, offer_id_) -
               offsetof(Impl_, old_price_) +
               sizeof(Impl_::offer_id_));
}
ProductPriceUpdate::~ProductPriceUpdate() {
  // @@protoc_insertion_point(destructor:commerce.ProductPriceUpdate)
  SharedDtor(*this);
}
inline void ProductPriceUpdate::SharedDtor(MessageLite& self) {
  ProductPriceUpdate& this_ = static_cast<ProductPriceUpdate&>(self);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  this_._internal_metadata_.Delete<::std::string>();
  ABSL_DCHECK(this_.GetArena() == nullptr);
  delete this_._impl_.old_price_;
  delete this_._impl_.new_price_;
  this_._impl_.~Impl_();
}

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite ProductPriceUpdate_class_data_ =
    ProductPriceUpdate::InternalGenerateClassData_(ProductPriceUpdate_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
ProductPriceUpdate::GetClassData() const {
  return ProductPriceUpdate_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
ProductPriceUpdate::GetClassData() const {
  return ProductPriceUpdate_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ProductPriceUpdate::ParseTableT_
    ProductPriceUpdate::_table_ =
        ProductPriceUpdate::InternalGenerateParseTable_(ProductPriceUpdate_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void ProductPriceUpdate::Clear() {
// @@protoc_insertion_point(message_clear_start:commerce.ProductPriceUpdate)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  cached_has_bits = _impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      ABSL_DCHECK(_impl_.old_price_ != nullptr);
      _impl_.old_price_->Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      ABSL_DCHECK(_impl_.new_price_ != nullptr);
      _impl_.new_price_->Clear();
    }
  }
  _impl_.offer_id_ = ::uint64_t{0u};
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* PROTOBUF_NONNULL ProductPriceUpdate::_InternalSerialize(
    const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
    ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
  const ProductPriceUpdate& this_ = static_cast<const ProductPriceUpdate&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::uint8_t* PROTOBUF_NONNULL ProductPriceUpdate::_InternalSerialize(
    ::uint8_t* PROTOBUF_NONNULL target,
    ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
  const ProductPriceUpdate& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(serialize_to_array_start:commerce.ProductPriceUpdate)
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = this_._impl_._has_bits_[0];
  // optional fixed64 offer_id = 1;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteFixed64ToArray(
        1, this_._internal_offer_id(), target);
  }

  // optional .commerce.ProductPrice old_price = 2;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        2, *this_._impl_.old_price_, this_._impl_.old_price_->GetCachedSize(), target,
        stream);
  }

  // optional .commerce.ProductPrice new_price = 3;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        3, *this_._impl_.new_price_, this_._impl_.new_price_->GetCachedSize(), target,
        stream);
  }

  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    target = stream->WriteRaw(
        this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
        static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
  }
  // @@protoc_insertion_point(serialize_to_array_end:commerce.ProductPriceUpdate)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t ProductPriceUpdate::ByteSizeLong(const MessageLite& base) {
  const ProductPriceUpdate& this_ = static_cast<const ProductPriceUpdate&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t ProductPriceUpdate::ByteSizeLong() const {
  const ProductPriceUpdate& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:commerce.ProductPriceUpdate)
  ::size_t total_size = 0;

  ::uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void)cached_has_bits;

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
  cached_has_bits = this_._impl_._has_bits_[0];
  total_size += static_cast<bool>(0x00000004U & cached_has_bits) * 9;
  if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
    // optional .commerce.ProductPrice old_price = 2;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.old_price_);
    }
    // optional .commerce.ProductPrice new_price = 3;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.new_price_);
    }
  }
  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
  }
  this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
  return total_size;
}

void ProductPriceUpdate::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<ProductPriceUpdate*>(&to_msg);
  auto& from = static_cast<const ProductPriceUpdate&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:commerce.ProductPriceUpdate)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = from._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      ABSL_DCHECK(from._impl_.old_price_ != nullptr);
      if (_this->_impl_.old_price_ == nullptr) {
        _this->_impl_.old_price_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.old_price_);
      } else {
        _this->_impl_.old_price_->MergeFrom(*from._impl_.old_price_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      ABSL_DCHECK(from._impl_.new_price_ != nullptr);
      if (_this->_impl_.new_price_ == nullptr) {
        _this->_impl_.new_price_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.new_price_);
      } else {
        _this->_impl_.new_price_->MergeFrom(*from._impl_.new_price_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_impl_.offer_id_ = from._impl_.offer_id_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

void ProductPriceUpdate::CopyFrom(const ProductPriceUpdate& from) {
  // @@protoc_insertion_point(class_specific_copy_from_start:commerce.ProductPriceUpdate)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}


void ProductPriceUpdate::InternalSwap(ProductPriceUpdate* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
  using ::std::swap;
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(ProductPriceUpdate, _impl_.offer_id_)
      + sizeof(ProductPriceUpdate::_impl_.offer_id_)
      - PROTOBUF_FIELD_OFFSET(ProductPriceUpdate, _impl_.old_price_)>(
          reinterpret_cast<char*>(&_impl_.old_price_),
          reinterpret_cast<char*>(&other->_impl_.old_price_));
}

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

ProductPrice::ProductPrice(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, ProductPrice_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:commerce.ProductPrice)
}
PROTOBUF_NDEBUG_INLINE ProductPrice::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::commerce::ProductPrice& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        currency_code_(arena, from.currency_code_) {}

ProductPrice::ProductPrice(
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
    const ProductPrice& from)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, ProductPrice_get_class_data()) {

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  ProductPrice* const _this = this;
  (void)_this;
  _internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
  _impl_.amount_micros_ = from._impl_.amount_micros_;

  // @@protoc_insertion_point(copy_constructor:commerce.ProductPrice)
}
PROTOBUF_NDEBUG_INLINE ProductPrice::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        currency_code_(arena) {}

inline void ProductPrice::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
  _impl_.amount_micros_ = {};
}
ProductPrice::~ProductPrice() {
  // @@protoc_insertion_point(destructor:commerce.ProductPrice)
  SharedDtor(*this);
}
inline void ProductPrice::SharedDtor(MessageLite& self) {
  ProductPrice& this_ = static_cast<ProductPrice&>(self);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  this_._internal_metadata_.Delete<::std::string>();
  ABSL_DCHECK(this_.GetArena() == nullptr);
  this_._impl_.currency_code_.Destroy();
  this_._impl_.~Impl_();
}

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite ProductPrice_class_data_ =
    ProductPrice::InternalGenerateClassData_(ProductPrice_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
ProductPrice::GetClassData() const {
  return ProductPrice_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
ProductPrice::GetClassData() const {
  return ProductPrice_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ProductPrice::ParseTableT_
    ProductPrice::_table_ =
        ProductPrice::InternalGenerateParseTable_(ProductPrice_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void ProductPrice::Clear() {
// @@protoc_insertion_point(message_clear_start:commerce.ProductPrice)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  cached_has_bits = _impl_._has_bits_[0];
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    _impl_.currency_code_.ClearNonDefaultToEmpty();
  }
  _impl_.amount_micros_ = ::int64_t{0};
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* PROTOBUF_NONNULL ProductPrice::_InternalSerialize(
    const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
    ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
  const ProductPrice& this_ = static_cast<const ProductPrice&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::uint8_t* PROTOBUF_NONNULL ProductPrice::_InternalSerialize(
    ::uint8_t* PROTOBUF_NONNULL target,
    ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
  const ProductPrice& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(serialize_to_array_start:commerce.ProductPrice)
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = this_._impl_._has_bits_[0];
  // optional string currency_code = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    const ::std::string& _s = this_._internal_currency_code();
    target = stream->WriteStringMaybeAliased(1, _s, target);
  }

  // optional int64 amount_micros = 2;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<2>(
            stream, this_._internal_amount_micros(), target);
  }

  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    target = stream->WriteRaw(
        this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
        static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
  }
  // @@protoc_insertion_point(serialize_to_array_end:commerce.ProductPrice)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t ProductPrice::ByteSizeLong(const MessageLite& base) {
  const ProductPrice& this_ = static_cast<const ProductPrice&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t ProductPrice::ByteSizeLong() const {
  const ProductPrice& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:commerce.ProductPrice)
  ::size_t total_size = 0;

  ::uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void)cached_has_bits;

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
  cached_has_bits = this_._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
    // optional string currency_code = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_currency_code());
    }
    // optional int64 amount_micros = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_amount_micros());
    }
  }
  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
  }
  this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
  return total_size;
}

void ProductPrice::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<ProductPrice*>(&to_msg);
  auto& from = static_cast<const ProductPrice&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:commerce.ProductPrice)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = from._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_set_currency_code(from._internal_currency_code());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_impl_.amount_micros_ = from._impl_.amount_micros_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

void ProductPrice::CopyFrom(const ProductPrice& from) {
  // @@protoc_insertion_point(class_specific_copy_from_start:commerce.ProductPrice)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}


void ProductPrice::InternalSwap(ProductPrice* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
  using ::std::swap;
  auto* arena = GetArena();
  ABSL_DCHECK_EQ(arena, other->GetArena());
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.currency_code_, &other->_impl_.currency_code_, arena);
  swap(_impl_.amount_micros_, other->_impl_.amount_micros_);
}

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

ProductReviews::ProductReviews(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, ProductReviews_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:commerce.ProductReviews)
}
ProductReviews::ProductReviews(
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ProductReviews& from)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, ProductReviews_get_class_data()),
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena),
#endif  // PROTOBUF_CUSTOM_VTABLE
      _impl_(from._impl_) {
  _internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}
PROTOBUF_NDEBUG_INLINE ProductReviews::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0} {}

inline void ProductReviews::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
  ::memset(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, review_count_),
           0,
           offsetof(Impl_, average_rating_) -
               offsetof(Impl_, review_count_) +
               sizeof(Impl_::average_rating_));
}
ProductReviews::~ProductReviews() {
  // @@protoc_insertion_point(destructor:commerce.ProductReviews)
  SharedDtor(*this);
}
inline void ProductReviews::SharedDtor(MessageLite& self) {
  ProductReviews& this_ = static_cast<ProductReviews&>(self);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  this_._internal_metadata_.Delete<::std::string>();
  ABSL_DCHECK(this_.GetArena() == nullptr);
  this_._impl_.~Impl_();
}

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite ProductReviews_class_data_ =
    ProductReviews::InternalGenerateClassData_(ProductReviews_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
ProductReviews::GetClassData() const {
  return ProductReviews_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
ProductReviews::GetClassData() const {
  return ProductReviews_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ProductReviews::ParseTableT_
    ProductReviews::_table_ =
        ProductReviews::InternalGenerateParseTable_(ProductReviews_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void ProductReviews::Clear() {
// @@protoc_insertion_point(message_clear_start:commerce.ProductReviews)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  cached_has_bits = _impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
    ::memset(&_impl_.review_count_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.average_rating_) -
        reinterpret_cast<char*>(&_impl_.review_count_)) + sizeof(_impl_.average_rating_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* PROTOBUF_NONNULL ProductReviews::_InternalSerialize(
    const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
    ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
  const ProductReviews& this_ = static_cast<const ProductReviews&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::uint8_t* PROTOBUF_NONNULL ProductReviews::_InternalSerialize(
    ::uint8_t* PROTOBUF_NONNULL target,
    ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
  const ProductReviews& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(serialize_to_array_start:commerce.ProductReviews)
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = this_._impl_._has_bits_[0];
  // optional int32 review_count = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<1>(
            stream, this_._internal_review_count(), target);
  }

  // optional float average_rating = 2;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteFloatToArray(
        2, this_._internal_average_rating(), target);
  }

  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    target = stream->WriteRaw(
        this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
        static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
  }
  // @@protoc_insertion_point(serialize_to_array_end:commerce.ProductReviews)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t ProductReviews::ByteSizeLong(const MessageLite& base) {
  const ProductReviews& this_ = static_cast<const ProductReviews&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t ProductReviews::ByteSizeLong() const {
  const ProductReviews& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:commerce.ProductReviews)
  ::size_t total_size = 0;

  ::uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void)cached_has_bits;

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
  cached_has_bits = this_._impl_._has_bits_[0];
  total_size += static_cast<bool>(0x00000002U & cached_has_bits) * 5;
   {
    // optional int32 review_count = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
          this_._internal_review_count());
    }
  }
  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
  }
  this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
  return total_size;
}

void ProductReviews::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<ProductReviews*>(&to_msg);
  auto& from = static_cast<const ProductReviews&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:commerce.ProductReviews)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = from._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_impl_.review_count_ = from._impl_.review_count_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_impl_.average_rating_ = from._impl_.average_rating_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

void ProductReviews::CopyFrom(const ProductReviews& from) {
  // @@protoc_insertion_point(class_specific_copy_from_start:commerce.ProductReviews)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}


void ProductReviews::InternalSwap(ProductReviews* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
  using ::std::swap;
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(ProductReviews, _impl_.average_rating_)
      + sizeof(ProductReviews::_impl_.average_rating_)
      - PROTOBUF_FIELD_OFFSET(ProductReviews, _impl_.review_count_)>(
          reinterpret_cast<char*>(&_impl_.review_count_),
          reinterpret_cast<char*>(&other->_impl_.review_count_));
}

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

PriceDropNotificationPayload::PriceDropNotificationPayload(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, PriceDropNotificationPayload_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:commerce.PriceDropNotificationPayload)
}
PROTOBUF_NDEBUG_INLINE PriceDropNotificationPayload::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::commerce::PriceDropNotificationPayload& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        product_name_(arena, from.product_name_),
        destination_url_(arena, from.destination_url_) {}

PriceDropNotificationPayload::PriceDropNotificationPayload(
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
    const PriceDropNotificationPayload& from)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, PriceDropNotificationPayload_get_class_data()) {

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  PriceDropNotificationPayload* const _this = this;
  (void)_this;
  _internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
  ::uint32_t cached_has_bits = _impl_._has_bits_[0];
  _impl_.current_price_ = (CheckHasBit(cached_has_bits, 0x00000004U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.current_price_)
                : nullptr;
  _impl_.previous_price_ = (CheckHasBit(cached_has_bits, 0x00000008U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.previous_price_)
                : nullptr;
  ::memcpy(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, offer_id_),
           reinterpret_cast<const char*>(&from._impl_) +
               offsetof(Impl_, offer_id_),
           offsetof(Impl_, product_cluster_id_) -
               offsetof(Impl_, offer_id_) +
               sizeof(Impl_::product_cluster_id_));

  // @@protoc_insertion_point(copy_constructor:commerce.PriceDropNotificationPayload)
}
PROTOBUF_NDEBUG_INLINE PriceDropNotificationPayload::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        product_name_(arena),
        destination_url_(arena) {}

inline void PriceDropNotificationPayload::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
  ::memset(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, current_price_),
           0,
           offsetof(Impl_, product_cluster_id_) -
               offsetof(Impl_, current_price_) +
               sizeof(Impl_::product_cluster_id_));
}
PriceDropNotificationPayload::~PriceDropNotificationPayload() {
  // @@protoc_insertion_point(destructor:commerce.PriceDropNotificationPayload)
  SharedDtor(*this);
}
inline void PriceDropNotificationPayload::SharedDtor(MessageLite& self) {
  PriceDropNotificationPayload& this_ = static_cast<PriceDropNotificationPayload&>(self);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  this_._internal_metadata_.Delete<::std::string>();
  ABSL_DCHECK(this_.GetArena() == nullptr);
  this_._impl_.product_name_.Destroy();
  this_._impl_.destination_url_.Destroy();
  delete this_._impl_.current_price_;
  delete this_._impl_.previous_price_;
  this_._impl_.~Impl_();
}

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite PriceDropNotificationPayload_class_data_ =
    PriceDropNotificationPayload::InternalGenerateClassData_(PriceDropNotificationPayload_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
PriceDropNotificationPayload::GetClassData() const {
  return PriceDropNotificationPayload_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
PriceDropNotificationPayload::GetClassData() const {
  return PriceDropNotificationPayload_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const PriceDropNotificationPayload::ParseTableT_
    PriceDropNotificationPayload::_table_ =
        PriceDropNotificationPayload::InternalGenerateParseTable_(PriceDropNotificationPayload_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void PriceDropNotificationPayload::Clear() {
// @@protoc_insertion_point(message_clear_start:commerce.PriceDropNotificationPayload)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  cached_has_bits = _impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.product_name_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.destination_url_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      ABSL_DCHECK(_impl_.current_price_ != nullptr);
      _impl_.current_price_->Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      ABSL_DCHECK(_impl_.previous_price_ != nullptr);
      _impl_.previous_price_->Clear();
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000030U)) {
    ::memset(&_impl_.offer_id_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.product_cluster_id_) -
        reinterpret_cast<char*>(&_impl_.offer_id_)) + sizeof(_impl_.product_cluster_id_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* PROTOBUF_NONNULL PriceDropNotificationPayload::_InternalSerialize(
    const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
    ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
  const PriceDropNotificationPayload& this_ = static_cast<const PriceDropNotificationPayload&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::uint8_t* PROTOBUF_NONNULL PriceDropNotificationPayload::_InternalSerialize(
    ::uint8_t* PROTOBUF_NONNULL target,
    ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
  const PriceDropNotificationPayload& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(serialize_to_array_start:commerce.PriceDropNotificationPayload)
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = this_._impl_._has_bits_[0];
  // optional string product_name = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    const ::std::string& _s = this_._internal_product_name();
    target = stream->WriteStringMaybeAliased(1, _s, target);
  }

  // optional uint64 offer_id = 2;
  if (CheckHasBit(cached_has_bits, 0x00000010U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
        2, this_._internal_offer_id(), target);
  }

  // optional string destination_url = 3;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    const ::std::string& _s = this_._internal_destination_url();
    target = stream->WriteStringMaybeAliased(3, _s, target);
  }

  // optional .commerce.ProductPrice current_price = 4;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        4, *this_._impl_.current_price_, this_._impl_.current_price_->GetCachedSize(), target,
        stream);
  }

  // optional .commerce.ProductPrice previous_price = 5;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        5, *this_._impl_.previous_price_, this_._impl_.previous_price_->GetCachedSize(), target,
        stream);
  }

  // optional uint64 product_cluster_id = 6;
  if (CheckHasBit(cached_has_bits, 0x00000020U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
        6, this_._internal_product_cluster_id(), target);
  }

  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    target = stream->WriteRaw(
        this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
        static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
  }
  // @@protoc_insertion_point(serialize_to_array_end:commerce.PriceDropNotificationPayload)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t PriceDropNotificationPayload::ByteSizeLong(const MessageLite& base) {
  const PriceDropNotificationPayload& this_ = static_cast<const PriceDropNotificationPayload&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t PriceDropNotificationPayload::ByteSizeLong() const {
  const PriceDropNotificationPayload& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:commerce.PriceDropNotificationPayload)
  ::size_t total_size = 0;

  ::uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void)cached_has_bits;

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
  cached_has_bits = this_._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x0000003fU)) {
    // optional string product_name = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_product_name());
    }
    // optional string destination_url = 3;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_destination_url());
    }
    // optional .commerce.ProductPrice current_price = 4;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.current_price_);
    }
    // optional .commerce.ProductPrice previous_price = 5;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.previous_price_);
    }
    // optional uint64 offer_id = 2;
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
          this_._internal_offer_id());
    }
    // optional uint64 product_cluster_id = 6;
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
          this_._internal_product_cluster_id());
    }
  }
  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
  }
  this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
  return total_size;
}

void PriceDropNotificationPayload::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<PriceDropNotificationPayload*>(&to_msg);
  auto& from = static_cast<const PriceDropNotificationPayload&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:commerce.PriceDropNotificationPayload)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = from._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x0000003fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_set_product_name(from._internal_product_name());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_destination_url(from._internal_destination_url());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      ABSL_DCHECK(from._impl_.current_price_ != nullptr);
      if (_this->_impl_.current_price_ == nullptr) {
        _this->_impl_.current_price_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.current_price_);
      } else {
        _this->_impl_.current_price_->MergeFrom(*from._impl_.current_price_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      ABSL_DCHECK(from._impl_.previous_price_ != nullptr);
      if (_this->_impl_.previous_price_ == nullptr) {
        _this->_impl_.previous_price_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.previous_price_);
      } else {
        _this->_impl_.previous_price_->MergeFrom(*from._impl_.previous_price_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _this->_impl_.offer_id_ = from._impl_.offer_id_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      _this->_impl_.product_cluster_id_ = from._impl_.product_cluster_id_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

void PriceDropNotificationPayload::CopyFrom(const PriceDropNotificationPayload& from) {
  // @@protoc_insertion_point(class_specific_copy_from_start:commerce.PriceDropNotificationPayload)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}


void PriceDropNotificationPayload::InternalSwap(PriceDropNotificationPayload* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
  using ::std::swap;
  auto* arena = GetArena();
  ABSL_DCHECK_EQ(arena, other->GetArena());
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.product_name_, &other->_impl_.product_name_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.destination_url_, &other->_impl_.destination_url_, arena);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(PriceDropNotificationPayload, _impl_.product_cluster_id_)
      + sizeof(PriceDropNotificationPayload::_impl_.product_cluster_id_)
      - PROTOBUF_FIELD_OFFSET(PriceDropNotificationPayload, _impl_.current_price_)>(
          reinterpret_cast<char*>(&_impl_.current_price_),
          reinterpret_cast<char*>(&other->_impl_.current_price_));
}

// @@protoc_insertion_point(namespace_scope)
}  // namespace commerce
namespace google {
namespace protobuf {
}  // namespace protobuf
}  // namespace google
// @@protoc_insertion_point(global_scope)
#include "google/protobuf/port_undef.inc"
