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

#include "components/sync/protocol/autofill_offer_specifics.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 sync_pb {
class AutofillOfferSpecifics_PromoCodeOfferData::_Internal {
 public:
  using HasBits = decltype(::std::declval<AutofillOfferSpecifics_PromoCodeOfferData>()._impl_._has_bits_);
  static constexpr ::int32_t kHasBitsOffset =
      8 * PROTOBUF_FIELD_OFFSET(AutofillOfferSpecifics_PromoCodeOfferData, _impl_._has_bits_);
};

constexpr AutofillOfferSpecifics_PromoCodeOfferData::ParseTableT_ AutofillOfferSpecifics_PromoCodeOfferData::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(AutofillOfferSpecifics_PromoCodeOfferData, _impl_._has_bits_),
      0, // no _extensions_
      1, 0,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967294,  // skipmap
      offsetof(ParseTableT_, field_entries),
      1,  // 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<::sync_pb::AutofillOfferSpecifics_PromoCodeOfferData>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // optional string promo_code = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(AutofillOfferSpecifics_PromoCodeOfferData, _impl_.promo_code_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional string promo_code = 1;
      {PROTOBUF_FIELD_OFFSET(AutofillOfferSpecifics_PromoCodeOfferData, _impl_.promo_code_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
    }},
    // no aux_entries
    {{
    }},
  };
}


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

template <typename>
constexpr AutofillOfferSpecifics_PromoCodeOfferData::AutofillOfferSpecifics_PromoCodeOfferData(::_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 AutofillOfferSpecifics_PromoCodeOfferData::PlacementNew_(
    const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
  return ::new (mem) AutofillOfferSpecifics_PromoCodeOfferData(arena);
}
constexpr auto AutofillOfferSpecifics_PromoCodeOfferData::InternalNewImpl_() {
  return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(AutofillOfferSpecifics_PromoCodeOfferData), alignof(AutofillOfferSpecifics_PromoCodeOfferData));
}
constexpr auto AutofillOfferSpecifics_PromoCodeOfferData::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
          &AutofillOfferSpecifics_PromoCodeOfferData::MergeImpl,
          ::google::protobuf::MessageLite::GetNewImpl<AutofillOfferSpecifics_PromoCodeOfferData>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
          &AutofillOfferSpecifics_PromoCodeOfferData::SharedDtor,
          ::google::protobuf::MessageLite::GetClearImpl<AutofillOfferSpecifics_PromoCodeOfferData>(), &AutofillOfferSpecifics_PromoCodeOfferData::ByteSizeLong,
              &AutofillOfferSpecifics_PromoCodeOfferData::_InternalSerialize,
#endif  // PROTOBUF_CUSTOM_VTABLE
          PROTOBUF_FIELD_OFFSET(AutofillOfferSpecifics_PromoCodeOfferData, _impl_._cached_size_),
          true,
      },
      "sync_pb.AutofillOfferSpecifics.PromoCodeOfferData",
  };
}
struct AutofillOfferSpecifics_PromoCodeOfferDataGlobalsTypeInternal : ::_pbi::MessageGlobalsBase {
  constexpr AutofillOfferSpecifics_PromoCodeOfferDataGlobalsTypeInternal()
      :
#ifndef PROTOBUF_MESSAGE_GLOBALS
        _default(::_pbi::ConstantInitialized{},
                 AutofillOfferSpecifics_PromoCodeOfferData_class_data_.base())
#else   // !PROTOBUF_MESSAGE_GLOBALS
        MessageGlobalsBase(AutofillOfferSpecifics_PromoCodeOfferData::InternalGenerateClassData_(
            _default, &AutofillOfferSpecifics_PromoCodeOfferData_globals_._table.header)),
        _default(::_pbi::ConstantInitialized{}, GetClassData()),
        _table(::_pbi::PrivateAccess::GenerateParseTable<AutofillOfferSpecifics_PromoCodeOfferData>(
            GetClassData()))
#endif  // PROTOBUF_MESSAGE_GLOBALS
  {
  }
  ~AutofillOfferSpecifics_PromoCodeOfferDataGlobalsTypeInternal() {}
  union {
    alignas(::_pbi::kMaxMessageAlignment) AutofillOfferSpecifics_PromoCodeOfferData _default;
  };
#ifdef PROTOBUF_MESSAGE_GLOBALS
  decltype(::_pbi::PrivateAccess::GenerateParseTable<AutofillOfferSpecifics_PromoCodeOfferData>(
      ::std::declval<const ::_pbi::ClassData*>())) _table;
#endif
};
#ifdef PROTOBUF_MESSAGE_GLOBALS
static_assert(PROTOBUF_FIELD_OFFSET(AutofillOfferSpecifics_PromoCodeOfferDataGlobalsTypeInternal, _default) ==
              ::_pbi::MessageGlobalsBase::OffsetToDefault());
#endif  // PROTOBUF_MESSAGE_GLOBALS

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

constexpr AutofillOfferSpecifics_PercentageReward::ParseTableT_ AutofillOfferSpecifics_PercentageReward::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(AutofillOfferSpecifics_PercentageReward, _impl_._has_bits_),
      0, // no _extensions_
      1, 0,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967294,  // skipmap
      offsetof(ParseTableT_, field_entries),
      1,  // 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<::sync_pb::AutofillOfferSpecifics_PercentageReward>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // optional string percentage = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(AutofillOfferSpecifics_PercentageReward, _impl_.percentage_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional string percentage = 1;
      {PROTOBUF_FIELD_OFFSET(AutofillOfferSpecifics_PercentageReward, _impl_.percentage_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
    }},
    // no aux_entries
    {{
    }},
  };
}


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

template <typename>
constexpr AutofillOfferSpecifics_PercentageReward::AutofillOfferSpecifics_PercentageReward(::_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 AutofillOfferSpecifics_PercentageReward::PlacementNew_(
    const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
  return ::new (mem) AutofillOfferSpecifics_PercentageReward(arena);
}
constexpr auto AutofillOfferSpecifics_PercentageReward::InternalNewImpl_() {
  return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(AutofillOfferSpecifics_PercentageReward), alignof(AutofillOfferSpecifics_PercentageReward));
}
constexpr auto AutofillOfferSpecifics_PercentageReward::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
          &AutofillOfferSpecifics_PercentageReward::MergeImpl,
          ::google::protobuf::MessageLite::GetNewImpl<AutofillOfferSpecifics_PercentageReward>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
          &AutofillOfferSpecifics_PercentageReward::SharedDtor,
          ::google::protobuf::MessageLite::GetClearImpl<AutofillOfferSpecifics_PercentageReward>(), &AutofillOfferSpecifics_PercentageReward::ByteSizeLong,
              &AutofillOfferSpecifics_PercentageReward::_InternalSerialize,
#endif  // PROTOBUF_CUSTOM_VTABLE
          PROTOBUF_FIELD_OFFSET(AutofillOfferSpecifics_PercentageReward, _impl_._cached_size_),
          true,
      },
      "sync_pb.AutofillOfferSpecifics.PercentageReward",
  };
}
struct AutofillOfferSpecifics_PercentageRewardGlobalsTypeInternal : ::_pbi::MessageGlobalsBase {
  constexpr AutofillOfferSpecifics_PercentageRewardGlobalsTypeInternal()
      :
#ifndef PROTOBUF_MESSAGE_GLOBALS
        _default(::_pbi::ConstantInitialized{},
                 AutofillOfferSpecifics_PercentageReward_class_data_.base())
#else   // !PROTOBUF_MESSAGE_GLOBALS
        MessageGlobalsBase(AutofillOfferSpecifics_PercentageReward::InternalGenerateClassData_(
            _default, &AutofillOfferSpecifics_PercentageReward_globals_._table.header)),
        _default(::_pbi::ConstantInitialized{}, GetClassData()),
        _table(::_pbi::PrivateAccess::GenerateParseTable<AutofillOfferSpecifics_PercentageReward>(
            GetClassData()))
#endif  // PROTOBUF_MESSAGE_GLOBALS
  {
  }
  ~AutofillOfferSpecifics_PercentageRewardGlobalsTypeInternal() {}
  union {
    alignas(::_pbi::kMaxMessageAlignment) AutofillOfferSpecifics_PercentageReward _default;
  };
#ifdef PROTOBUF_MESSAGE_GLOBALS
  decltype(::_pbi::PrivateAccess::GenerateParseTable<AutofillOfferSpecifics_PercentageReward>(
      ::std::declval<const ::_pbi::ClassData*>())) _table;
#endif
};
#ifdef PROTOBUF_MESSAGE_GLOBALS
static_assert(PROTOBUF_FIELD_OFFSET(AutofillOfferSpecifics_PercentageRewardGlobalsTypeInternal, _default) ==
              ::_pbi::MessageGlobalsBase::OffsetToDefault());
#endif  // PROTOBUF_MESSAGE_GLOBALS

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

constexpr AutofillOfferSpecifics_FixedAmountReward::ParseTableT_ AutofillOfferSpecifics_FixedAmountReward::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(AutofillOfferSpecifics_FixedAmountReward, _impl_._has_bits_),
      0, // no _extensions_
      1, 0,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967294,  // skipmap
      offsetof(ParseTableT_, field_entries),
      1,  // 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<::sync_pb::AutofillOfferSpecifics_FixedAmountReward>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // optional string amount = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(AutofillOfferSpecifics_FixedAmountReward, _impl_.amount_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional string amount = 1;
      {PROTOBUF_FIELD_OFFSET(AutofillOfferSpecifics_FixedAmountReward, _impl_.amount_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
    }},
    // no aux_entries
    {{
    }},
  };
}


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

template <typename>
constexpr AutofillOfferSpecifics_FixedAmountReward::AutofillOfferSpecifics_FixedAmountReward(::_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 AutofillOfferSpecifics_FixedAmountReward::PlacementNew_(
    const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
  return ::new (mem) AutofillOfferSpecifics_FixedAmountReward(arena);
}
constexpr auto AutofillOfferSpecifics_FixedAmountReward::InternalNewImpl_() {
  return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(AutofillOfferSpecifics_FixedAmountReward), alignof(AutofillOfferSpecifics_FixedAmountReward));
}
constexpr auto AutofillOfferSpecifics_FixedAmountReward::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
          &AutofillOfferSpecifics_FixedAmountReward::MergeImpl,
          ::google::protobuf::MessageLite::GetNewImpl<AutofillOfferSpecifics_FixedAmountReward>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
          &AutofillOfferSpecifics_FixedAmountReward::SharedDtor,
          ::google::protobuf::MessageLite::GetClearImpl<AutofillOfferSpecifics_FixedAmountReward>(), &AutofillOfferSpecifics_FixedAmountReward::ByteSizeLong,
              &AutofillOfferSpecifics_FixedAmountReward::_InternalSerialize,
#endif  // PROTOBUF_CUSTOM_VTABLE
          PROTOBUF_FIELD_OFFSET(AutofillOfferSpecifics_FixedAmountReward, _impl_._cached_size_),
          true,
      },
      "sync_pb.AutofillOfferSpecifics.FixedAmountReward",
  };
}
struct AutofillOfferSpecifics_FixedAmountRewardGlobalsTypeInternal : ::_pbi::MessageGlobalsBase {
  constexpr AutofillOfferSpecifics_FixedAmountRewardGlobalsTypeInternal()
      :
#ifndef PROTOBUF_MESSAGE_GLOBALS
        _default(::_pbi::ConstantInitialized{},
                 AutofillOfferSpecifics_FixedAmountReward_class_data_.base())
#else   // !PROTOBUF_MESSAGE_GLOBALS
        MessageGlobalsBase(AutofillOfferSpecifics_FixedAmountReward::InternalGenerateClassData_(
            _default, &AutofillOfferSpecifics_FixedAmountReward_globals_._table.header)),
        _default(::_pbi::ConstantInitialized{}, GetClassData()),
        _table(::_pbi::PrivateAccess::GenerateParseTable<AutofillOfferSpecifics_FixedAmountReward>(
            GetClassData()))
#endif  // PROTOBUF_MESSAGE_GLOBALS
  {
  }
  ~AutofillOfferSpecifics_FixedAmountRewardGlobalsTypeInternal() {}
  union {
    alignas(::_pbi::kMaxMessageAlignment) AutofillOfferSpecifics_FixedAmountReward _default;
  };
#ifdef PROTOBUF_MESSAGE_GLOBALS
  decltype(::_pbi::PrivateAccess::GenerateParseTable<AutofillOfferSpecifics_FixedAmountReward>(
      ::std::declval<const ::_pbi::ClassData*>())) _table;
#endif
};
#ifdef PROTOBUF_MESSAGE_GLOBALS
static_assert(PROTOBUF_FIELD_OFFSET(AutofillOfferSpecifics_FixedAmountRewardGlobalsTypeInternal, _default) ==
              ::_pbi::MessageGlobalsBase::OffsetToDefault());
#endif  // PROTOBUF_MESSAGE_GLOBALS

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

constexpr AutofillOfferSpecifics_DisplayStrings::ParseTableT_ AutofillOfferSpecifics_DisplayStrings::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(AutofillOfferSpecifics_DisplayStrings, _impl_._has_bits_),
      0, // no _extensions_
      5, 56,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967264,  // skipmap
      offsetof(ParseTableT_, field_entries),
      5,  // 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<::sync_pb::AutofillOfferSpecifics_DisplayStrings>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // optional string value_prop_text = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(AutofillOfferSpecifics_DisplayStrings, _impl_.value_prop_text_)}},
      // optional string see_details_text_mobile = 2;
      {::_pbi::TcParser::FastBS1,
       {18, 1, 0,
        PROTOBUF_FIELD_OFFSET(AutofillOfferSpecifics_DisplayStrings, _impl_.see_details_text_mobile_)}},
      // optional string see_details_text_desktop = 3;
      {::_pbi::TcParser::FastBS1,
       {26, 2, 0,
        PROTOBUF_FIELD_OFFSET(AutofillOfferSpecifics_DisplayStrings, _impl_.see_details_text_desktop_)}},
      // optional string usage_instructions_text_mobile = 4;
      {::_pbi::TcParser::FastBS1,
       {34, 3, 0,
        PROTOBUF_FIELD_OFFSET(AutofillOfferSpecifics_DisplayStrings, _impl_.usage_instructions_text_mobile_)}},
      // optional string usage_instructions_text_desktop = 5;
      {::_pbi::TcParser::FastBS1,
       {42, 4, 0,
        PROTOBUF_FIELD_OFFSET(AutofillOfferSpecifics_DisplayStrings, _impl_.usage_instructions_text_desktop_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // optional string value_prop_text = 1;
      {PROTOBUF_FIELD_OFFSET(AutofillOfferSpecifics_DisplayStrings, _impl_.value_prop_text_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string see_details_text_mobile = 2;
      {PROTOBUF_FIELD_OFFSET(AutofillOfferSpecifics_DisplayStrings, _impl_.see_details_text_mobile_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string see_details_text_desktop = 3;
      {PROTOBUF_FIELD_OFFSET(AutofillOfferSpecifics_DisplayStrings, _impl_.see_details_text_desktop_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string usage_instructions_text_mobile = 4;
      {PROTOBUF_FIELD_OFFSET(AutofillOfferSpecifics_DisplayStrings, _impl_.usage_instructions_text_mobile_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string usage_instructions_text_desktop = 5;
      {PROTOBUF_FIELD_OFFSET(AutofillOfferSpecifics_DisplayStrings, _impl_.usage_instructions_text_desktop_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
    }},
    // no aux_entries
    {{
    }},
  };
}


inline constexpr AutofillOfferSpecifics_DisplayStrings::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        value_prop_text_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        see_details_text_mobile_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        see_details_text_desktop_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        usage_instructions_text_mobile_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        usage_instructions_text_desktop_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()) {}

template <typename>
constexpr AutofillOfferSpecifics_DisplayStrings::AutofillOfferSpecifics_DisplayStrings(::_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 AutofillOfferSpecifics_DisplayStrings::PlacementNew_(
    const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
  return ::new (mem) AutofillOfferSpecifics_DisplayStrings(arena);
}
constexpr auto AutofillOfferSpecifics_DisplayStrings::InternalNewImpl_() {
  return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(AutofillOfferSpecifics_DisplayStrings), alignof(AutofillOfferSpecifics_DisplayStrings));
}
constexpr auto AutofillOfferSpecifics_DisplayStrings::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
          &AutofillOfferSpecifics_DisplayStrings::MergeImpl,
          ::google::protobuf::MessageLite::GetNewImpl<AutofillOfferSpecifics_DisplayStrings>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
          &AutofillOfferSpecifics_DisplayStrings::SharedDtor,
          ::google::protobuf::MessageLite::GetClearImpl<AutofillOfferSpecifics_DisplayStrings>(), &AutofillOfferSpecifics_DisplayStrings::ByteSizeLong,
              &AutofillOfferSpecifics_DisplayStrings::_InternalSerialize,
#endif  // PROTOBUF_CUSTOM_VTABLE
          PROTOBUF_FIELD_OFFSET(AutofillOfferSpecifics_DisplayStrings, _impl_._cached_size_),
          true,
      },
      "sync_pb.AutofillOfferSpecifics.DisplayStrings",
  };
}
struct AutofillOfferSpecifics_DisplayStringsGlobalsTypeInternal : ::_pbi::MessageGlobalsBase {
  constexpr AutofillOfferSpecifics_DisplayStringsGlobalsTypeInternal()
      :
#ifndef PROTOBUF_MESSAGE_GLOBALS
        _default(::_pbi::ConstantInitialized{},
                 AutofillOfferSpecifics_DisplayStrings_class_data_.base())
#else   // !PROTOBUF_MESSAGE_GLOBALS
        MessageGlobalsBase(AutofillOfferSpecifics_DisplayStrings::InternalGenerateClassData_(
            _default, &AutofillOfferSpecifics_DisplayStrings_globals_._table.header)),
        _default(::_pbi::ConstantInitialized{}, GetClassData()),
        _table(::_pbi::PrivateAccess::GenerateParseTable<AutofillOfferSpecifics_DisplayStrings>(
            GetClassData()))
#endif  // PROTOBUF_MESSAGE_GLOBALS
  {
  }
  ~AutofillOfferSpecifics_DisplayStringsGlobalsTypeInternal() {}
  union {
    alignas(::_pbi::kMaxMessageAlignment) AutofillOfferSpecifics_DisplayStrings _default;
  };
#ifdef PROTOBUF_MESSAGE_GLOBALS
  decltype(::_pbi::PrivateAccess::GenerateParseTable<AutofillOfferSpecifics_DisplayStrings>(
      ::std::declval<const ::_pbi::ClassData*>())) _table;
#endif
};
#ifdef PROTOBUF_MESSAGE_GLOBALS
static_assert(PROTOBUF_FIELD_OFFSET(AutofillOfferSpecifics_DisplayStringsGlobalsTypeInternal, _default) ==
              ::_pbi::MessageGlobalsBase::OffsetToDefault());
#endif  // PROTOBUF_MESSAGE_GLOBALS

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

constexpr AutofillOfferSpecifics_CardLinkedOfferData::ParseTableT_ AutofillOfferSpecifics_CardLinkedOfferData::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(AutofillOfferSpecifics_CardLinkedOfferData, _impl_._has_bits_),
      0, // no _extensions_
      3, 0,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967291,  // skipmap
      offsetof(ParseTableT_, field_entries),
      1,  // 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<::sync_pb::AutofillOfferSpecifics_CardLinkedOfferData>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // repeated int64 instrument_id = 3;
      {::_pbi::TcParser::FastV64R1,
       {24, 0, 0,
        PROTOBUF_FIELD_OFFSET(AutofillOfferSpecifics_CardLinkedOfferData, _impl_.instrument_id_)}},
    }}, {{
      65535, 65535
    }}, {{
      // repeated int64 instrument_id = 3;
      {PROTOBUF_FIELD_OFFSET(AutofillOfferSpecifics_CardLinkedOfferData, _impl_.instrument_id_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kInt64)},
    }},
    // no aux_entries
    {{
    }},
  };
}


inline constexpr AutofillOfferSpecifics_CardLinkedOfferData::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        instrument_id_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::sync_pb::AutofillOfferSpecifics_CardLinkedOfferData,
            PROTOBUF_FIELD_OFFSET(::sync_pb::AutofillOfferSpecifics_CardLinkedOfferData, _impl_.instrument_id_)>()
         }
     {}

template <typename>
constexpr AutofillOfferSpecifics_CardLinkedOfferData::AutofillOfferSpecifics_CardLinkedOfferData(::_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 AutofillOfferSpecifics_CardLinkedOfferData::PlacementNew_(
    const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
  return ::new (mem) AutofillOfferSpecifics_CardLinkedOfferData(arena);
}
constexpr auto AutofillOfferSpecifics_CardLinkedOfferData::InternalNewImpl_() {
  return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(AutofillOfferSpecifics_CardLinkedOfferData), alignof(AutofillOfferSpecifics_CardLinkedOfferData));
}
constexpr auto AutofillOfferSpecifics_CardLinkedOfferData::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
          &AutofillOfferSpecifics_CardLinkedOfferData::MergeImpl,
          ::google::protobuf::MessageLite::GetNewImpl<AutofillOfferSpecifics_CardLinkedOfferData>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
          &AutofillOfferSpecifics_CardLinkedOfferData::SharedDtor,
          ::google::protobuf::MessageLite::GetClearImpl<AutofillOfferSpecifics_CardLinkedOfferData>(), &AutofillOfferSpecifics_CardLinkedOfferData::ByteSizeLong,
              &AutofillOfferSpecifics_CardLinkedOfferData::_InternalSerialize,
#endif  // PROTOBUF_CUSTOM_VTABLE
          PROTOBUF_FIELD_OFFSET(AutofillOfferSpecifics_CardLinkedOfferData, _impl_._cached_size_),
          true,
      },
      "sync_pb.AutofillOfferSpecifics.CardLinkedOfferData",
  };
}
struct AutofillOfferSpecifics_CardLinkedOfferDataGlobalsTypeInternal : ::_pbi::MessageGlobalsBase {
  constexpr AutofillOfferSpecifics_CardLinkedOfferDataGlobalsTypeInternal()
      :
#ifndef PROTOBUF_MESSAGE_GLOBALS
        _default(::_pbi::ConstantInitialized{},
                 AutofillOfferSpecifics_CardLinkedOfferData_class_data_.base())
#else   // !PROTOBUF_MESSAGE_GLOBALS
        MessageGlobalsBase(AutofillOfferSpecifics_CardLinkedOfferData::InternalGenerateClassData_(
            _default, &AutofillOfferSpecifics_CardLinkedOfferData_globals_._table.header)),
        _default(::_pbi::ConstantInitialized{}, GetClassData()),
        _table(::_pbi::PrivateAccess::GenerateParseTable<AutofillOfferSpecifics_CardLinkedOfferData>(
            GetClassData()))
#endif  // PROTOBUF_MESSAGE_GLOBALS
  {
  }
  ~AutofillOfferSpecifics_CardLinkedOfferDataGlobalsTypeInternal() {}
  union {
    alignas(::_pbi::kMaxMessageAlignment) AutofillOfferSpecifics_CardLinkedOfferData _default;
  };
#ifdef PROTOBUF_MESSAGE_GLOBALS
  decltype(::_pbi::PrivateAccess::GenerateParseTable<AutofillOfferSpecifics_CardLinkedOfferData>(
      ::std::declval<const ::_pbi::ClassData*>())) _table;
#endif
};
#ifdef PROTOBUF_MESSAGE_GLOBALS
static_assert(PROTOBUF_FIELD_OFFSET(AutofillOfferSpecifics_CardLinkedOfferDataGlobalsTypeInternal, _default) ==
              ::_pbi::MessageGlobalsBase::OffsetToDefault());
#endif  // PROTOBUF_MESSAGE_GLOBALS

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

constexpr AutofillOfferSpecifics::ParseTableT_ AutofillOfferSpecifics::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(AutofillOfferSpecifics, _impl_._has_bits_),
      0, // no _extensions_
      10, 120,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294966272,  // skipmap
      offsetof(ParseTableT_, field_entries),
      10,  // num_field_entries
      5,  // 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<::sync_pb::AutofillOfferSpecifics>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // optional int64 id = 1;
      {::_pbi::TcParser::FastV64S1,
       {8, 4, 0,
        PROTOBUF_FIELD_OFFSET(AutofillOfferSpecifics, _impl_.id_)}},
      // optional string offer_details_url = 2;
      {::_pbi::TcParser::FastBS1,
       {18, 2, 0,
        PROTOBUF_FIELD_OFFSET(AutofillOfferSpecifics, _impl_.offer_details_url_)}},
      // repeated string merchant_domain = 3;
      {::_pbi::TcParser::FastBR1,
       {26, 0, 0,
        PROTOBUF_FIELD_OFFSET(AutofillOfferSpecifics, _impl_.merchant_domain_)}},
      // repeated string merchant_app_package = 4;
      {::_pbi::TcParser::FastBR1,
       {34, 1, 0,
        PROTOBUF_FIELD_OFFSET(AutofillOfferSpecifics, _impl_.merchant_app_package_)}},
      // optional int64 offer_expiry_date = 5;
      {::_pbi::TcParser::FastV64S1,
       {40, 5, 0,
        PROTOBUF_FIELD_OFFSET(AutofillOfferSpecifics, _impl_.offer_expiry_date_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      // optional .sync_pb.AutofillOfferSpecifics.DisplayStrings display_strings = 10;
      {::_pbi::TcParser::FastMtS1,
       {82, 3, 4,
        PROTOBUF_FIELD_OFFSET(AutofillOfferSpecifics, _impl_.display_strings_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // optional int64 id = 1;
      {PROTOBUF_FIELD_OFFSET(AutofillOfferSpecifics, _impl_.id_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
      // optional string offer_details_url = 2;
      {PROTOBUF_FIELD_OFFSET(AutofillOfferSpecifics, _impl_.offer_details_url_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // repeated string merchant_domain = 3;
      {PROTOBUF_FIELD_OFFSET(AutofillOfferSpecifics, _impl_.merchant_domain_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kBytes | ::_fl::kRepSString)},
      // repeated string merchant_app_package = 4;
      {PROTOBUF_FIELD_OFFSET(AutofillOfferSpecifics, _impl_.merchant_app_package_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcRepeated | ::_fl::kBytes | ::_fl::kRepSString)},
      // optional int64 offer_expiry_date = 5;
      {PROTOBUF_FIELD_OFFSET(AutofillOfferSpecifics, _impl_.offer_expiry_date_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
      // .sync_pb.AutofillOfferSpecifics.CardLinkedOfferData card_linked_offer_data = 6;
      {PROTOBUF_FIELD_OFFSET(AutofillOfferSpecifics, _impl_.type_specific_offer_data_.card_linked_offer_data_), _Internal::kOneofCaseOffset + 0, 0, (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
      // .sync_pb.AutofillOfferSpecifics.PercentageReward percentage_reward = 7;
      {PROTOBUF_FIELD_OFFSET(AutofillOfferSpecifics, _impl_.reward_type_.percentage_reward_), _Internal::kOneofCaseOffset + 4, 1, (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
      // .sync_pb.AutofillOfferSpecifics.FixedAmountReward fixed_amount_reward = 8;
      {PROTOBUF_FIELD_OFFSET(AutofillOfferSpecifics, _impl_.reward_type_.fixed_amount_reward_), _Internal::kOneofCaseOffset + 4, 2, (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
      // .sync_pb.AutofillOfferSpecifics.PromoCodeOfferData promo_code_offer_data = 9;
      {PROTOBUF_FIELD_OFFSET(AutofillOfferSpecifics, _impl_.type_specific_offer_data_.promo_code_offer_data_), _Internal::kOneofCaseOffset + 0, 3, (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
      // optional .sync_pb.AutofillOfferSpecifics.DisplayStrings display_strings = 10;
      {PROTOBUF_FIELD_OFFSET(AutofillOfferSpecifics, _impl_.display_strings_), _Internal::kHasBitsOffset + 3, 4, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::AutofillOfferSpecifics_CardLinkedOfferData>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::AutofillOfferSpecifics_CardLinkedOfferData_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::AutofillOfferSpecifics_PercentageReward>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::AutofillOfferSpecifics_PercentageReward_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::AutofillOfferSpecifics_FixedAmountReward>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::AutofillOfferSpecifics_FixedAmountReward_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::AutofillOfferSpecifics_PromoCodeOfferData>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::AutofillOfferSpecifics_PromoCodeOfferData_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::AutofillOfferSpecifics_DisplayStrings>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::AutofillOfferSpecifics_DisplayStrings_globals_},
        #endif
    }},
    {{
    }},
  };
}


inline constexpr AutofillOfferSpecifics::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        merchant_domain_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::sync_pb::AutofillOfferSpecifics,
            PROTOBUF_FIELD_OFFSET(::sync_pb::AutofillOfferSpecifics, _impl_.merchant_domain_)>()
         }
        ,
        merchant_app_package_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::sync_pb::AutofillOfferSpecifics,
            PROTOBUF_FIELD_OFFSET(::sync_pb::AutofillOfferSpecifics, _impl_.merchant_app_package_)>()
         }
        ,
        offer_details_url_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        display_strings_{nullptr},
        id_{::int64_t{0}},
        offer_expiry_date_{::int64_t{0}},
        type_specific_offer_data_{},
        reward_type_{},
        _oneof_case_{} {}

template <typename>
constexpr AutofillOfferSpecifics::AutofillOfferSpecifics(::_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 AutofillOfferSpecifics::PlacementNew_(
    const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
  return ::new (mem) AutofillOfferSpecifics(arena);
}
constexpr auto AutofillOfferSpecifics::InternalNewImpl_() {
  return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(AutofillOfferSpecifics), alignof(AutofillOfferSpecifics));
}
constexpr auto AutofillOfferSpecifics::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
          &AutofillOfferSpecifics::MergeImpl,
          ::google::protobuf::MessageLite::GetNewImpl<AutofillOfferSpecifics>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
          &AutofillOfferSpecifics::SharedDtor,
          ::google::protobuf::MessageLite::GetClearImpl<AutofillOfferSpecifics>(), &AutofillOfferSpecifics::ByteSizeLong,
              &AutofillOfferSpecifics::_InternalSerialize,
#endif  // PROTOBUF_CUSTOM_VTABLE
          PROTOBUF_FIELD_OFFSET(AutofillOfferSpecifics, _impl_._cached_size_),
          true,
      },
      "sync_pb.AutofillOfferSpecifics",
  };
}
struct AutofillOfferSpecificsGlobalsTypeInternal : ::_pbi::MessageGlobalsBase {
  constexpr AutofillOfferSpecificsGlobalsTypeInternal()
      :
#ifndef PROTOBUF_MESSAGE_GLOBALS
        _default(::_pbi::ConstantInitialized{},
                 AutofillOfferSpecifics_class_data_.base())
#else   // !PROTOBUF_MESSAGE_GLOBALS
        MessageGlobalsBase(AutofillOfferSpecifics::InternalGenerateClassData_(
            _default, &AutofillOfferSpecifics_globals_._table.header)),
        _default(::_pbi::ConstantInitialized{}, GetClassData()),
        _table(::_pbi::PrivateAccess::GenerateParseTable<AutofillOfferSpecifics>(
            GetClassData()))
#endif  // PROTOBUF_MESSAGE_GLOBALS
  {
  }
  ~AutofillOfferSpecificsGlobalsTypeInternal() {}
  union {
    alignas(::_pbi::kMaxMessageAlignment) AutofillOfferSpecifics _default;
  };
#ifdef PROTOBUF_MESSAGE_GLOBALS
  decltype(::_pbi::PrivateAccess::GenerateParseTable<AutofillOfferSpecifics>(
      ::std::declval<const ::_pbi::ClassData*>())) _table;
#endif
};
#ifdef PROTOBUF_MESSAGE_GLOBALS
static_assert(PROTOBUF_FIELD_OFFSET(AutofillOfferSpecificsGlobalsTypeInternal, _default) ==
              ::_pbi::MessageGlobalsBase::OffsetToDefault());
#endif  // PROTOBUF_MESSAGE_GLOBALS

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST AutofillOfferSpecificsGlobalsTypeInternal AutofillOfferSpecifics_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* AutofillOfferSpecifics_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return AutofillOfferSpecifics_globals_.GetClassData();
#else
  return AutofillOfferSpecifics_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
}  // namespace sync_pb
namespace sync_pb {
// ===================================================================

AutofillOfferSpecifics_CardLinkedOfferData::AutofillOfferSpecifics_CardLinkedOfferData(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, AutofillOfferSpecifics_CardLinkedOfferData_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:sync_pb.AutofillOfferSpecifics.CardLinkedOfferData)
}
PROTOBUF_NDEBUG_INLINE AutofillOfferSpecifics_CardLinkedOfferData::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::sync_pb::AutofillOfferSpecifics_CardLinkedOfferData& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        instrument_id_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::sync_pb::AutofillOfferSpecifics_CardLinkedOfferData,
              PROTOBUF_FIELD_OFFSET(::sync_pb::AutofillOfferSpecifics_CardLinkedOfferData, _impl_.instrument_id_)>()
          , from.instrument_id_
        }
     {}

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

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

  // @@protoc_insertion_point(copy_constructor:sync_pb.AutofillOfferSpecifics.CardLinkedOfferData)
}
PROTOBUF_NDEBUG_INLINE AutofillOfferSpecifics_CardLinkedOfferData::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        instrument_id_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::sync_pb::AutofillOfferSpecifics_CardLinkedOfferData,
            PROTOBUF_FIELD_OFFSET(::sync_pb::AutofillOfferSpecifics_CardLinkedOfferData, _impl_.instrument_id_)>()
         }
     {}

inline void AutofillOfferSpecifics_CardLinkedOfferData::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
}
AutofillOfferSpecifics_CardLinkedOfferData::~AutofillOfferSpecifics_CardLinkedOfferData() {
  // @@protoc_insertion_point(destructor:sync_pb.AutofillOfferSpecifics.CardLinkedOfferData)
  SharedDtor(*this);
}
inline void AutofillOfferSpecifics_CardLinkedOfferData::SharedDtor(MessageLite& self) {
  AutofillOfferSpecifics_CardLinkedOfferData& this_ = static_cast<AutofillOfferSpecifics_CardLinkedOfferData&>(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 AutofillOfferSpecifics_CardLinkedOfferData_class_data_ =
    AutofillOfferSpecifics_CardLinkedOfferData::InternalGenerateClassData_(AutofillOfferSpecifics_CardLinkedOfferData_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
AutofillOfferSpecifics_CardLinkedOfferData::GetClassData() const {
  return AutofillOfferSpecifics_CardLinkedOfferData_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
AutofillOfferSpecifics_CardLinkedOfferData::GetClassData() const {
  return AutofillOfferSpecifics_CardLinkedOfferData_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const AutofillOfferSpecifics_CardLinkedOfferData::ParseTableT_
    AutofillOfferSpecifics_CardLinkedOfferData::_table_ =
        AutofillOfferSpecifics_CardLinkedOfferData::InternalGenerateParseTable_(AutofillOfferSpecifics_CardLinkedOfferData_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void AutofillOfferSpecifics_CardLinkedOfferData::Clear() {
// @@protoc_insertion_point(message_clear_start:sync_pb.AutofillOfferSpecifics.CardLinkedOfferData)
  ::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_.instrument_id_.Clear();
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // repeated int64 instrument_id = 3;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    for (int i = 0, n = this_._internal_instrument_id_size(); i < n; ++i) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteInt64ToArray(
          3, this_._internal_instrument_id().Get(i), 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:sync_pb.AutofillOfferSpecifics.CardLinkedOfferData)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t AutofillOfferSpecifics_CardLinkedOfferData::ByteSizeLong(const MessageLite& base) {
  const AutofillOfferSpecifics_CardLinkedOfferData& this_ = static_cast<const AutofillOfferSpecifics_CardLinkedOfferData&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t AutofillOfferSpecifics_CardLinkedOfferData::ByteSizeLong() const {
  const AutofillOfferSpecifics_CardLinkedOfferData& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:sync_pb.AutofillOfferSpecifics.CardLinkedOfferData)
  ::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_);
   {
    // repeated int64 instrument_id = 3;
    cached_has_bits = this_._impl_._has_bits_[0];
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      ::size_t data_size = ::_pbi::WireFormatLite::Int64Size(
          this_._internal_instrument_id());
      ::size_t tag_size = ::size_t{1} *
          ::_pbi::FromIntSize(this_._internal_instrument_id_size());
      total_size += tag_size + data_size;
    }
  }
  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 AutofillOfferSpecifics_CardLinkedOfferData::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<AutofillOfferSpecifics_CardLinkedOfferData*>(&to_msg);
  auto& from = static_cast<const AutofillOfferSpecifics_CardLinkedOfferData&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.AutofillOfferSpecifics.CardLinkedOfferData)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

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

void AutofillOfferSpecifics_CardLinkedOfferData::CopyFrom(const AutofillOfferSpecifics_CardLinkedOfferData& from) {
  // @@protoc_insertion_point(class_specific_copy_from_start:sync_pb.AutofillOfferSpecifics.CardLinkedOfferData)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}


void AutofillOfferSpecifics_CardLinkedOfferData::InternalSwap(AutofillOfferSpecifics_CardLinkedOfferData* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
  using ::std::swap;
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  _impl_.instrument_id_.InternalSwap(&other->_impl_.instrument_id_);
}

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

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

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

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

  // @@protoc_insertion_point(copy_constructor:sync_pb.AutofillOfferSpecifics.PromoCodeOfferData)
}
PROTOBUF_NDEBUG_INLINE AutofillOfferSpecifics_PromoCodeOfferData::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        promo_code_(arena) {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite AutofillOfferSpecifics_PromoCodeOfferData_class_data_ =
    AutofillOfferSpecifics_PromoCodeOfferData::InternalGenerateClassData_(AutofillOfferSpecifics_PromoCodeOfferData_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
AutofillOfferSpecifics_PromoCodeOfferData::GetClassData() const {
  return AutofillOfferSpecifics_PromoCodeOfferData_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
AutofillOfferSpecifics_PromoCodeOfferData::GetClassData() const {
  return AutofillOfferSpecifics_PromoCodeOfferData_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const AutofillOfferSpecifics_PromoCodeOfferData::ParseTableT_
    AutofillOfferSpecifics_PromoCodeOfferData::_table_ =
        AutofillOfferSpecifics_PromoCodeOfferData::InternalGenerateParseTable_(AutofillOfferSpecifics_PromoCodeOfferData_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void AutofillOfferSpecifics_PromoCodeOfferData::Clear() {
// @@protoc_insertion_point(message_clear_start:sync_pb.AutofillOfferSpecifics.PromoCodeOfferData)
  ::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_.promo_code_.ClearNonDefaultToEmpty();
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // optional string promo_code = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    const ::std::string& _s = this_._internal_promo_code();
    target = stream->WriteStringMaybeAliased(1, _s, 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:sync_pb.AutofillOfferSpecifics.PromoCodeOfferData)
  return target;
}

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

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

   {
    // optional string promo_code = 1;
    cached_has_bits = this_._impl_._has_bits_[0];
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_promo_code());
    }
  }
  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 AutofillOfferSpecifics_PromoCodeOfferData::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<AutofillOfferSpecifics_PromoCodeOfferData*>(&to_msg);
  auto& from = static_cast<const AutofillOfferSpecifics_PromoCodeOfferData&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.AutofillOfferSpecifics.PromoCodeOfferData)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

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

void AutofillOfferSpecifics_PromoCodeOfferData::CopyFrom(const AutofillOfferSpecifics_PromoCodeOfferData& from) {
  // @@protoc_insertion_point(class_specific_copy_from_start:sync_pb.AutofillOfferSpecifics.PromoCodeOfferData)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}


void AutofillOfferSpecifics_PromoCodeOfferData::InternalSwap(AutofillOfferSpecifics_PromoCodeOfferData* 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_.promo_code_, &other->_impl_.promo_code_, arena);
}

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

AutofillOfferSpecifics_DisplayStrings::AutofillOfferSpecifics_DisplayStrings(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, AutofillOfferSpecifics_DisplayStrings_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:sync_pb.AutofillOfferSpecifics.DisplayStrings)
}
PROTOBUF_NDEBUG_INLINE AutofillOfferSpecifics_DisplayStrings::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::sync_pb::AutofillOfferSpecifics_DisplayStrings& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        value_prop_text_(arena, from.value_prop_text_),
        see_details_text_mobile_(arena, from.see_details_text_mobile_),
        see_details_text_desktop_(arena, from.see_details_text_desktop_),
        usage_instructions_text_mobile_(arena, from.usage_instructions_text_mobile_),
        usage_instructions_text_desktop_(arena, from.usage_instructions_text_desktop_) {}

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

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

  // @@protoc_insertion_point(copy_constructor:sync_pb.AutofillOfferSpecifics.DisplayStrings)
}
PROTOBUF_NDEBUG_INLINE AutofillOfferSpecifics_DisplayStrings::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        value_prop_text_(arena),
        see_details_text_mobile_(arena),
        see_details_text_desktop_(arena),
        usage_instructions_text_mobile_(arena),
        usage_instructions_text_desktop_(arena) {}

inline void AutofillOfferSpecifics_DisplayStrings::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
}
AutofillOfferSpecifics_DisplayStrings::~AutofillOfferSpecifics_DisplayStrings() {
  // @@protoc_insertion_point(destructor:sync_pb.AutofillOfferSpecifics.DisplayStrings)
  SharedDtor(*this);
}
inline void AutofillOfferSpecifics_DisplayStrings::SharedDtor(MessageLite& self) {
  AutofillOfferSpecifics_DisplayStrings& this_ = static_cast<AutofillOfferSpecifics_DisplayStrings&>(self);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  this_._internal_metadata_.Delete<::std::string>();
  ABSL_DCHECK(this_.GetArena() == nullptr);
  this_._impl_.value_prop_text_.Destroy();
  this_._impl_.see_details_text_mobile_.Destroy();
  this_._impl_.see_details_text_desktop_.Destroy();
  this_._impl_.usage_instructions_text_mobile_.Destroy();
  this_._impl_.usage_instructions_text_desktop_.Destroy();
  this_._impl_.~Impl_();
}

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite AutofillOfferSpecifics_DisplayStrings_class_data_ =
    AutofillOfferSpecifics_DisplayStrings::InternalGenerateClassData_(AutofillOfferSpecifics_DisplayStrings_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
AutofillOfferSpecifics_DisplayStrings::GetClassData() const {
  return AutofillOfferSpecifics_DisplayStrings_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
AutofillOfferSpecifics_DisplayStrings::GetClassData() const {
  return AutofillOfferSpecifics_DisplayStrings_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const AutofillOfferSpecifics_DisplayStrings::ParseTableT_
    AutofillOfferSpecifics_DisplayStrings::_table_ =
        AutofillOfferSpecifics_DisplayStrings::InternalGenerateParseTable_(AutofillOfferSpecifics_DisplayStrings_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void AutofillOfferSpecifics_DisplayStrings::Clear() {
// @@protoc_insertion_point(message_clear_start:sync_pb.AutofillOfferSpecifics.DisplayStrings)
  ::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, 0x0000001fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.value_prop_text_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.see_details_text_mobile_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.see_details_text_desktop_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _impl_.usage_instructions_text_mobile_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _impl_.usage_instructions_text_desktop_.ClearNonDefaultToEmpty();
    }
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

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

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

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

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

  // optional string usage_instructions_text_desktop = 5;
  if (CheckHasBit(cached_has_bits, 0x00000010U)) {
    const ::std::string& _s = this_._internal_usage_instructions_text_desktop();
    target = stream->WriteStringMaybeAliased(5, _s, 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:sync_pb.AutofillOfferSpecifics.DisplayStrings)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t AutofillOfferSpecifics_DisplayStrings::ByteSizeLong(const MessageLite& base) {
  const AutofillOfferSpecifics_DisplayStrings& this_ = static_cast<const AutofillOfferSpecifics_DisplayStrings&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t AutofillOfferSpecifics_DisplayStrings::ByteSizeLong() const {
  const AutofillOfferSpecifics_DisplayStrings& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:sync_pb.AutofillOfferSpecifics.DisplayStrings)
  ::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, 0x0000001fU)) {
    // optional string value_prop_text = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_value_prop_text());
    }
    // optional string see_details_text_mobile = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_see_details_text_mobile());
    }
    // optional string see_details_text_desktop = 3;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_see_details_text_desktop());
    }
    // optional string usage_instructions_text_mobile = 4;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_usage_instructions_text_mobile());
    }
    // optional string usage_instructions_text_desktop = 5;
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_usage_instructions_text_desktop());
    }
  }
  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 AutofillOfferSpecifics_DisplayStrings::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<AutofillOfferSpecifics_DisplayStrings*>(&to_msg);
  auto& from = static_cast<const AutofillOfferSpecifics_DisplayStrings&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.AutofillOfferSpecifics.DisplayStrings)
  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, 0x0000001fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_set_value_prop_text(from._internal_value_prop_text());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_see_details_text_mobile(from._internal_see_details_text_mobile());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_internal_set_see_details_text_desktop(from._internal_see_details_text_desktop());
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_internal_set_usage_instructions_text_mobile(from._internal_usage_instructions_text_mobile());
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _this->_internal_set_usage_instructions_text_desktop(from._internal_usage_instructions_text_desktop());
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

void AutofillOfferSpecifics_DisplayStrings::CopyFrom(const AutofillOfferSpecifics_DisplayStrings& from) {
  // @@protoc_insertion_point(class_specific_copy_from_start:sync_pb.AutofillOfferSpecifics.DisplayStrings)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}


void AutofillOfferSpecifics_DisplayStrings::InternalSwap(AutofillOfferSpecifics_DisplayStrings* 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_.value_prop_text_, &other->_impl_.value_prop_text_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.see_details_text_mobile_, &other->_impl_.see_details_text_mobile_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.see_details_text_desktop_, &other->_impl_.see_details_text_desktop_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.usage_instructions_text_mobile_, &other->_impl_.usage_instructions_text_mobile_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.usage_instructions_text_desktop_, &other->_impl_.usage_instructions_text_desktop_, arena);
}

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

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

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

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

  // @@protoc_insertion_point(copy_constructor:sync_pb.AutofillOfferSpecifics.PercentageReward)
}
PROTOBUF_NDEBUG_INLINE AutofillOfferSpecifics_PercentageReward::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        percentage_(arena) {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite AutofillOfferSpecifics_PercentageReward_class_data_ =
    AutofillOfferSpecifics_PercentageReward::InternalGenerateClassData_(AutofillOfferSpecifics_PercentageReward_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
AutofillOfferSpecifics_PercentageReward::GetClassData() const {
  return AutofillOfferSpecifics_PercentageReward_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
AutofillOfferSpecifics_PercentageReward::GetClassData() const {
  return AutofillOfferSpecifics_PercentageReward_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const AutofillOfferSpecifics_PercentageReward::ParseTableT_
    AutofillOfferSpecifics_PercentageReward::_table_ =
        AutofillOfferSpecifics_PercentageReward::InternalGenerateParseTable_(AutofillOfferSpecifics_PercentageReward_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void AutofillOfferSpecifics_PercentageReward::Clear() {
// @@protoc_insertion_point(message_clear_start:sync_pb.AutofillOfferSpecifics.PercentageReward)
  ::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_.percentage_.ClearNonDefaultToEmpty();
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // optional string percentage = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    const ::std::string& _s = this_._internal_percentage();
    target = stream->WriteStringMaybeAliased(1, _s, 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:sync_pb.AutofillOfferSpecifics.PercentageReward)
  return target;
}

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

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

   {
    // optional string percentage = 1;
    cached_has_bits = this_._impl_._has_bits_[0];
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_percentage());
    }
  }
  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 AutofillOfferSpecifics_PercentageReward::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<AutofillOfferSpecifics_PercentageReward*>(&to_msg);
  auto& from = static_cast<const AutofillOfferSpecifics_PercentageReward&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.AutofillOfferSpecifics.PercentageReward)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

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

void AutofillOfferSpecifics_PercentageReward::CopyFrom(const AutofillOfferSpecifics_PercentageReward& from) {
  // @@protoc_insertion_point(class_specific_copy_from_start:sync_pb.AutofillOfferSpecifics.PercentageReward)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}


void AutofillOfferSpecifics_PercentageReward::InternalSwap(AutofillOfferSpecifics_PercentageReward* 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_.percentage_, &other->_impl_.percentage_, arena);
}

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

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

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

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

  // @@protoc_insertion_point(copy_constructor:sync_pb.AutofillOfferSpecifics.FixedAmountReward)
}
PROTOBUF_NDEBUG_INLINE AutofillOfferSpecifics_FixedAmountReward::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        amount_(arena) {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite AutofillOfferSpecifics_FixedAmountReward_class_data_ =
    AutofillOfferSpecifics_FixedAmountReward::InternalGenerateClassData_(AutofillOfferSpecifics_FixedAmountReward_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
AutofillOfferSpecifics_FixedAmountReward::GetClassData() const {
  return AutofillOfferSpecifics_FixedAmountReward_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
AutofillOfferSpecifics_FixedAmountReward::GetClassData() const {
  return AutofillOfferSpecifics_FixedAmountReward_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const AutofillOfferSpecifics_FixedAmountReward::ParseTableT_
    AutofillOfferSpecifics_FixedAmountReward::_table_ =
        AutofillOfferSpecifics_FixedAmountReward::InternalGenerateParseTable_(AutofillOfferSpecifics_FixedAmountReward_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void AutofillOfferSpecifics_FixedAmountReward::Clear() {
// @@protoc_insertion_point(message_clear_start:sync_pb.AutofillOfferSpecifics.FixedAmountReward)
  ::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_.amount_.ClearNonDefaultToEmpty();
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // optional string amount = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    const ::std::string& _s = this_._internal_amount();
    target = stream->WriteStringMaybeAliased(1, _s, 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:sync_pb.AutofillOfferSpecifics.FixedAmountReward)
  return target;
}

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

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

   {
    // optional string amount = 1;
    cached_has_bits = this_._impl_._has_bits_[0];
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_amount());
    }
  }
  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 AutofillOfferSpecifics_FixedAmountReward::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<AutofillOfferSpecifics_FixedAmountReward*>(&to_msg);
  auto& from = static_cast<const AutofillOfferSpecifics_FixedAmountReward&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.AutofillOfferSpecifics.FixedAmountReward)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

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

void AutofillOfferSpecifics_FixedAmountReward::CopyFrom(const AutofillOfferSpecifics_FixedAmountReward& from) {
  // @@protoc_insertion_point(class_specific_copy_from_start:sync_pb.AutofillOfferSpecifics.FixedAmountReward)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}


void AutofillOfferSpecifics_FixedAmountReward::InternalSwap(AutofillOfferSpecifics_FixedAmountReward* 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_.amount_, &other->_impl_.amount_, arena);
}

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

void AutofillOfferSpecifics::set_allocated_card_linked_offer_data(::sync_pb::AutofillOfferSpecifics_CardLinkedOfferData* PROTOBUF_NULLABLE card_linked_offer_data) {
  ::google::protobuf::Arena* message_arena = GetArena();
  clear_type_specific_offer_data();
  if (card_linked_offer_data) {
    ::google::protobuf::Arena* submessage_arena = card_linked_offer_data->GetArena();
    if (message_arena != submessage_arena) {
      card_linked_offer_data = ::google::protobuf::internal::GetOwnedMessage(message_arena, card_linked_offer_data, submessage_arena);
    }
    set_has_card_linked_offer_data();
    _impl_.type_specific_offer_data_.card_linked_offer_data_ = card_linked_offer_data;
  }
  // @@protoc_insertion_point(field_set_allocated:sync_pb.AutofillOfferSpecifics.card_linked_offer_data)
}
void AutofillOfferSpecifics::set_allocated_promo_code_offer_data(::sync_pb::AutofillOfferSpecifics_PromoCodeOfferData* PROTOBUF_NULLABLE promo_code_offer_data) {
  ::google::protobuf::Arena* message_arena = GetArena();
  clear_type_specific_offer_data();
  if (promo_code_offer_data) {
    ::google::protobuf::Arena* submessage_arena = promo_code_offer_data->GetArena();
    if (message_arena != submessage_arena) {
      promo_code_offer_data = ::google::protobuf::internal::GetOwnedMessage(message_arena, promo_code_offer_data, submessage_arena);
    }
    set_has_promo_code_offer_data();
    _impl_.type_specific_offer_data_.promo_code_offer_data_ = promo_code_offer_data;
  }
  // @@protoc_insertion_point(field_set_allocated:sync_pb.AutofillOfferSpecifics.promo_code_offer_data)
}
void AutofillOfferSpecifics::set_allocated_percentage_reward(::sync_pb::AutofillOfferSpecifics_PercentageReward* PROTOBUF_NULLABLE percentage_reward) {
  ::google::protobuf::Arena* message_arena = GetArena();
  clear_reward_type();
  if (percentage_reward) {
    ::google::protobuf::Arena* submessage_arena = percentage_reward->GetArena();
    if (message_arena != submessage_arena) {
      percentage_reward = ::google::protobuf::internal::GetOwnedMessage(message_arena, percentage_reward, submessage_arena);
    }
    set_has_percentage_reward();
    _impl_.reward_type_.percentage_reward_ = percentage_reward;
  }
  // @@protoc_insertion_point(field_set_allocated:sync_pb.AutofillOfferSpecifics.percentage_reward)
}
void AutofillOfferSpecifics::set_allocated_fixed_amount_reward(::sync_pb::AutofillOfferSpecifics_FixedAmountReward* PROTOBUF_NULLABLE fixed_amount_reward) {
  ::google::protobuf::Arena* message_arena = GetArena();
  clear_reward_type();
  if (fixed_amount_reward) {
    ::google::protobuf::Arena* submessage_arena = fixed_amount_reward->GetArena();
    if (message_arena != submessage_arena) {
      fixed_amount_reward = ::google::protobuf::internal::GetOwnedMessage(message_arena, fixed_amount_reward, submessage_arena);
    }
    set_has_fixed_amount_reward();
    _impl_.reward_type_.fixed_amount_reward_ = fixed_amount_reward;
  }
  // @@protoc_insertion_point(field_set_allocated:sync_pb.AutofillOfferSpecifics.fixed_amount_reward)
}
AutofillOfferSpecifics::AutofillOfferSpecifics(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, AutofillOfferSpecifics_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:sync_pb.AutofillOfferSpecifics)
}
PROTOBUF_NDEBUG_INLINE AutofillOfferSpecifics::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::sync_pb::AutofillOfferSpecifics& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        merchant_domain_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::sync_pb::AutofillOfferSpecifics,
              PROTOBUF_FIELD_OFFSET(::sync_pb::AutofillOfferSpecifics, _impl_.merchant_domain_)>()
          , from.merchant_domain_
        }
        ,
        merchant_app_package_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::sync_pb::AutofillOfferSpecifics,
              PROTOBUF_FIELD_OFFSET(::sync_pb::AutofillOfferSpecifics, _impl_.merchant_app_package_)>()
          , from.merchant_app_package_
        }
        ,
        offer_details_url_(arena, from.offer_details_url_),
        type_specific_offer_data_{},
        reward_type_{},
        _oneof_case_{from._oneof_case_[0], from._oneof_case_[1]} {}

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  AutofillOfferSpecifics* 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_.display_strings_ = (CheckHasBit(cached_has_bits, 0x00000008U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.display_strings_)
                : nullptr;
  ::memcpy(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, id_),
           reinterpret_cast<const char*>(&from._impl_) +
               offsetof(Impl_, id_),
           offsetof(Impl_, offer_expiry_date_) -
               offsetof(Impl_, id_) +
               sizeof(Impl_::offer_expiry_date_));
  switch (type_specific_offer_data_case()) {
    case TYPE_SPECIFIC_OFFER_DATA_NOT_SET:
      break;
      case kCardLinkedOfferData:
        _impl_.type_specific_offer_data_.card_linked_offer_data_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.type_specific_offer_data_.card_linked_offer_data_);
        break;
      case kPromoCodeOfferData:
        _impl_.type_specific_offer_data_.promo_code_offer_data_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.type_specific_offer_data_.promo_code_offer_data_);
        break;
  }
  switch (reward_type_case()) {
    case REWARD_TYPE_NOT_SET:
      break;
      case kPercentageReward:
        _impl_.reward_type_.percentage_reward_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.reward_type_.percentage_reward_);
        break;
      case kFixedAmountReward:
        _impl_.reward_type_.fixed_amount_reward_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.reward_type_.fixed_amount_reward_);
        break;
  }

  // @@protoc_insertion_point(copy_constructor:sync_pb.AutofillOfferSpecifics)
}
PROTOBUF_NDEBUG_INLINE AutofillOfferSpecifics::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        merchant_domain_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::sync_pb::AutofillOfferSpecifics,
            PROTOBUF_FIELD_OFFSET(::sync_pb::AutofillOfferSpecifics, _impl_.merchant_domain_)>()
         }
        ,
        merchant_app_package_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::sync_pb::AutofillOfferSpecifics,
            PROTOBUF_FIELD_OFFSET(::sync_pb::AutofillOfferSpecifics, _impl_.merchant_app_package_)>()
         }
        ,
        offer_details_url_(arena),
        type_specific_offer_data_{},
        reward_type_{},
        _oneof_case_{} {}

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

void AutofillOfferSpecifics::clear_type_specific_offer_data() {
// @@protoc_insertion_point(one_of_clear_start:sync_pb.AutofillOfferSpecifics)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  switch (type_specific_offer_data_case()) {
    case kCardLinkedOfferData: {
      if (GetArena() == nullptr) {
        delete _impl_.type_specific_offer_data_.card_linked_offer_data_;
      } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
        if (_impl_.type_specific_offer_data_.card_linked_offer_data_ != nullptr) {
          _impl_.type_specific_offer_data_.card_linked_offer_data_->Clear();
        }
      }
      break;
    }
    case kPromoCodeOfferData: {
      if (GetArena() == nullptr) {
        delete _impl_.type_specific_offer_data_.promo_code_offer_data_;
      } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
        if (_impl_.type_specific_offer_data_.promo_code_offer_data_ != nullptr) {
          _impl_.type_specific_offer_data_.promo_code_offer_data_->Clear();
        }
      }
      break;
    }
    case TYPE_SPECIFIC_OFFER_DATA_NOT_SET: {
      break;
    }
  }
  _impl_._oneof_case_[0] = TYPE_SPECIFIC_OFFER_DATA_NOT_SET;
}

void AutofillOfferSpecifics::clear_reward_type() {
// @@protoc_insertion_point(one_of_clear_start:sync_pb.AutofillOfferSpecifics)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  switch (reward_type_case()) {
    case kPercentageReward: {
      if (GetArena() == nullptr) {
        delete _impl_.reward_type_.percentage_reward_;
      } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
        if (_impl_.reward_type_.percentage_reward_ != nullptr) {
          _impl_.reward_type_.percentage_reward_->Clear();
        }
      }
      break;
    }
    case kFixedAmountReward: {
      if (GetArena() == nullptr) {
        delete _impl_.reward_type_.fixed_amount_reward_;
      } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
        if (_impl_.reward_type_.fixed_amount_reward_ != nullptr) {
          _impl_.reward_type_.fixed_amount_reward_->Clear();
        }
      }
      break;
    }
    case REWARD_TYPE_NOT_SET: {
      break;
    }
  }
  _impl_._oneof_case_[1] = REWARD_TYPE_NOT_SET;
}


#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite AutofillOfferSpecifics_class_data_ =
    AutofillOfferSpecifics::InternalGenerateClassData_(AutofillOfferSpecifics_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
AutofillOfferSpecifics::GetClassData() const {
  return AutofillOfferSpecifics_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
AutofillOfferSpecifics::GetClassData() const {
  return AutofillOfferSpecifics_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const AutofillOfferSpecifics::ParseTableT_
    AutofillOfferSpecifics::_table_ =
        AutofillOfferSpecifics::InternalGenerateParseTable_(AutofillOfferSpecifics_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void AutofillOfferSpecifics::Clear() {
// @@protoc_insertion_point(message_clear_start:sync_pb.AutofillOfferSpecifics)
  ::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_.merchant_domain_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.merchant_app_package_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.offer_details_url_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      ABSL_DCHECK(_impl_.display_strings_ != nullptr);
      _impl_.display_strings_->Clear();
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000030U)) {
    ::memset(&_impl_.id_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.offer_expiry_date_) -
        reinterpret_cast<char*>(&_impl_.id_)) + sizeof(_impl_.offer_expiry_date_));
  }
  clear_type_specific_offer_data();
  clear_reward_type();
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // optional int64 id = 1;
  if (CheckHasBit(cached_has_bits, 0x00000010U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<1>(
            stream, this_._internal_id(), target);
  }

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

  // repeated string merchant_domain = 3;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    for (int i = 0, n = this_._internal_merchant_domain_size(); i < n; ++i) {
      const auto& s = this_._internal_merchant_domain().Get(i);
      target = stream->WriteString(3, s, target);
    }
  }

  // repeated string merchant_app_package = 4;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    for (int i = 0, n = this_._internal_merchant_app_package_size(); i < n; ++i) {
      const auto& s = this_._internal_merchant_app_package().Get(i);
      target = stream->WriteString(4, s, target);
    }
  }

  // optional int64 offer_expiry_date = 5;
  if (CheckHasBit(cached_has_bits, 0x00000020U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<5>(
            stream, this_._internal_offer_expiry_date(), target);
  }

  // .sync_pb.AutofillOfferSpecifics.CardLinkedOfferData card_linked_offer_data = 6;
  if (this_.type_specific_offer_data_case() == kCardLinkedOfferData) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        6, *this_._impl_.type_specific_offer_data_.card_linked_offer_data_, this_._impl_.type_specific_offer_data_.card_linked_offer_data_->GetCachedSize(), target,
        stream);
  }

  switch (this_.reward_type_case()) {
    case kPercentageReward: {
      target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
          7, *this_._impl_.reward_type_.percentage_reward_, this_._impl_.reward_type_.percentage_reward_->GetCachedSize(), target,
          stream);
      break;
    }
    case kFixedAmountReward: {
      target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
          8, *this_._impl_.reward_type_.fixed_amount_reward_, this_._impl_.reward_type_.fixed_amount_reward_->GetCachedSize(), target,
          stream);
      break;
    }
    default:
      break;
  }
  // .sync_pb.AutofillOfferSpecifics.PromoCodeOfferData promo_code_offer_data = 9;
  if (this_.type_specific_offer_data_case() == kPromoCodeOfferData) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        9, *this_._impl_.type_specific_offer_data_.promo_code_offer_data_, this_._impl_.type_specific_offer_data_.promo_code_offer_data_->GetCachedSize(), target,
        stream);
  }

  // optional .sync_pb.AutofillOfferSpecifics.DisplayStrings display_strings = 10;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        10, *this_._impl_.display_strings_, this_._impl_.display_strings_->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:sync_pb.AutofillOfferSpecifics)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t AutofillOfferSpecifics::ByteSizeLong(const MessageLite& base) {
  const AutofillOfferSpecifics& this_ = static_cast<const AutofillOfferSpecifics&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t AutofillOfferSpecifics::ByteSizeLong() const {
  const AutofillOfferSpecifics& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:sync_pb.AutofillOfferSpecifics)
  ::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)) {
    // repeated string merchant_domain = 3;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size +=
          1 * ::google::protobuf::internal::FromIntSize(this_._internal_merchant_domain().size());
      for (int i = 0, n = this_._internal_merchant_domain().size(); i < n; ++i) {
        total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
            this_._internal_merchant_domain().Get(i));
      }
    }
    // repeated string merchant_app_package = 4;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size +=
          1 * ::google::protobuf::internal::FromIntSize(this_._internal_merchant_app_package().size());
      for (int i = 0, n = this_._internal_merchant_app_package().size(); i < n; ++i) {
        total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
            this_._internal_merchant_app_package().Get(i));
      }
    }
    // optional string offer_details_url = 2;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_offer_details_url());
    }
    // optional .sync_pb.AutofillOfferSpecifics.DisplayStrings display_strings = 10;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.display_strings_);
    }
    // optional int64 id = 1;
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_id());
    }
    // optional int64 offer_expiry_date = 5;
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_offer_expiry_date());
    }
  }
  switch (this_.type_specific_offer_data_case()) {
    // .sync_pb.AutofillOfferSpecifics.CardLinkedOfferData card_linked_offer_data = 6;
    case kCardLinkedOfferData: {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.type_specific_offer_data_.card_linked_offer_data_);
      break;
    }
    // .sync_pb.AutofillOfferSpecifics.PromoCodeOfferData promo_code_offer_data = 9;
    case kPromoCodeOfferData: {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.type_specific_offer_data_.promo_code_offer_data_);
      break;
    }
    case TYPE_SPECIFIC_OFFER_DATA_NOT_SET: {
      break;
    }
  }
  switch (this_.reward_type_case()) {
    // .sync_pb.AutofillOfferSpecifics.PercentageReward percentage_reward = 7;
    case kPercentageReward: {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.reward_type_.percentage_reward_);
      break;
    }
    // .sync_pb.AutofillOfferSpecifics.FixedAmountReward fixed_amount_reward = 8;
    case kFixedAmountReward: {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.reward_type_.fixed_amount_reward_);
      break;
    }
    case REWARD_TYPE_NOT_SET: {
      break;
    }
  }
  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 AutofillOfferSpecifics::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<AutofillOfferSpecifics*>(&to_msg);
  auto& from = static_cast<const AutofillOfferSpecifics&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.AutofillOfferSpecifics)
  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_mutable_merchant_domain()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_merchant_domain());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_mutable_merchant_app_package()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_merchant_app_package());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_internal_set_offer_details_url(from._internal_offer_details_url());
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      ABSL_DCHECK(from._impl_.display_strings_ != nullptr);
      if (_this->_impl_.display_strings_ == nullptr) {
        _this->_impl_.display_strings_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.display_strings_);
      } else {
        _this->_impl_.display_strings_->MergeFrom(*from._impl_.display_strings_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _this->_impl_.id_ = from._impl_.id_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      _this->_impl_.offer_expiry_date_ = from._impl_.offer_expiry_date_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  if (const uint32_t oneof_from_case =
          from._impl_._oneof_case_[0]) {
    const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0];
    const bool oneof_needs_init = oneof_to_case != oneof_from_case;
    if (oneof_needs_init) {
      if (oneof_to_case != 0) {
        _this->clear_type_specific_offer_data();
      }
      _this->_impl_._oneof_case_[0] = oneof_from_case;
    }

    switch (oneof_from_case) {
      case kCardLinkedOfferData: {
        if (oneof_needs_init) {
          _this->_impl_.type_specific_offer_data_.card_linked_offer_data_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.type_specific_offer_data_.card_linked_offer_data_);
        } else {
          _this->_impl_.type_specific_offer_data_.card_linked_offer_data_->MergeFrom(*from._impl_.type_specific_offer_data_.card_linked_offer_data_);
        }
        break;
      }
      case kPromoCodeOfferData: {
        if (oneof_needs_init) {
          _this->_impl_.type_specific_offer_data_.promo_code_offer_data_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.type_specific_offer_data_.promo_code_offer_data_);
        } else {
          _this->_impl_.type_specific_offer_data_.promo_code_offer_data_->MergeFrom(*from._impl_.type_specific_offer_data_.promo_code_offer_data_);
        }
        break;
      }
      case TYPE_SPECIFIC_OFFER_DATA_NOT_SET:
        break;
    }
  }
  if (const uint32_t oneof_from_case =
          from._impl_._oneof_case_[1]) {
    const uint32_t oneof_to_case = _this->_impl_._oneof_case_[1];
    const bool oneof_needs_init = oneof_to_case != oneof_from_case;
    if (oneof_needs_init) {
      if (oneof_to_case != 0) {
        _this->clear_reward_type();
      }
      _this->_impl_._oneof_case_[1] = oneof_from_case;
    }

    switch (oneof_from_case) {
      case kPercentageReward: {
        if (oneof_needs_init) {
          _this->_impl_.reward_type_.percentage_reward_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.reward_type_.percentage_reward_);
        } else {
          _this->_impl_.reward_type_.percentage_reward_->MergeFrom(*from._impl_.reward_type_.percentage_reward_);
        }
        break;
      }
      case kFixedAmountReward: {
        if (oneof_needs_init) {
          _this->_impl_.reward_type_.fixed_amount_reward_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.reward_type_.fixed_amount_reward_);
        } else {
          _this->_impl_.reward_type_.fixed_amount_reward_->MergeFrom(*from._impl_.reward_type_.fixed_amount_reward_);
        }
        break;
      }
      case REWARD_TYPE_NOT_SET:
        break;
    }
  }
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void AutofillOfferSpecifics::InternalSwap(AutofillOfferSpecifics* 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_.merchant_domain_.InternalSwap(&other->_impl_.merchant_domain_);
  _impl_.merchant_app_package_.InternalSwap(&other->_impl_.merchant_app_package_);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.offer_details_url_, &other->_impl_.offer_details_url_, arena);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(AutofillOfferSpecifics, _impl_.offer_expiry_date_)
      + sizeof(AutofillOfferSpecifics::_impl_.offer_expiry_date_)
      - PROTOBUF_FIELD_OFFSET(AutofillOfferSpecifics, _impl_.display_strings_)>(
          reinterpret_cast<char*>(&_impl_.display_strings_),
          reinterpret_cast<char*>(&other->_impl_.display_strings_));
  swap(_impl_.type_specific_offer_data_, other->_impl_.type_specific_offer_data_);
  swap(_impl_.reward_type_, other->_impl_.reward_type_);
  swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]);
  swap(_impl_._oneof_case_[1], other->_impl_._oneof_case_[1]);
}

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