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

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

constexpr AutofillWalletUsageSpecifics_VirtualCardUsageData::ParseTableT_ AutofillWalletUsageSpecifics_VirtualCardUsageData::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(AutofillWalletUsageSpecifics_VirtualCardUsageData, _impl_._has_bits_),
      0, // no _extensions_
      4, 24,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967280,  // skipmap
      offsetof(ParseTableT_, field_entries),
      4,  // num_field_entries
      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::AutofillWalletUsageSpecifics_VirtualCardUsageData>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // optional string merchant_app_package = 4;
      {::_pbi::TcParser::FastBS1,
       {34, 2, 0,
        PROTOBUF_FIELD_OFFSET(AutofillWalletUsageSpecifics_VirtualCardUsageData, _impl_.merchant_app_package_)}},
      // optional int64 instrument_id = 1;
      {::_pbi::TcParser::FastV64S1,
       {8, 3, 0,
        PROTOBUF_FIELD_OFFSET(AutofillWalletUsageSpecifics_VirtualCardUsageData, _impl_.instrument_id_)}},
      // optional string virtual_card_last_four = 2;
      {::_pbi::TcParser::FastBS1,
       {18, 0, 0,
        PROTOBUF_FIELD_OFFSET(AutofillWalletUsageSpecifics_VirtualCardUsageData, _impl_.virtual_card_last_four_)}},
      // optional string merchant_url = 3;
      {::_pbi::TcParser::FastBS1,
       {26, 1, 0,
        PROTOBUF_FIELD_OFFSET(AutofillWalletUsageSpecifics_VirtualCardUsageData, _impl_.merchant_url_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional int64 instrument_id = 1;
      {PROTOBUF_FIELD_OFFSET(AutofillWalletUsageSpecifics_VirtualCardUsageData, _impl_.instrument_id_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
      // optional string virtual_card_last_four = 2;
      {PROTOBUF_FIELD_OFFSET(AutofillWalletUsageSpecifics_VirtualCardUsageData, _impl_.virtual_card_last_four_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string merchant_url = 3;
      {PROTOBUF_FIELD_OFFSET(AutofillWalletUsageSpecifics_VirtualCardUsageData, _impl_.merchant_url_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string merchant_app_package = 4;
      {PROTOBUF_FIELD_OFFSET(AutofillWalletUsageSpecifics_VirtualCardUsageData, _impl_.merchant_app_package_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
    }},
    // no aux_entries
    {{
    }},
  };
}


inline constexpr AutofillWalletUsageSpecifics_VirtualCardUsageData::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        virtual_card_last_four_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        merchant_url_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        merchant_app_package_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        instrument_id_{::int64_t{0}} {}

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

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

constexpr AutofillWalletUsageSpecifics::ParseTableT_ AutofillWalletUsageSpecifics::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(AutofillWalletUsageSpecifics, _impl_._has_bits_),
      0, // no _extensions_
      2, 0,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967292,  // skipmap
      offsetof(ParseTableT_, field_entries),
      2,  // num_field_entries
      1,  // 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::AutofillWalletUsageSpecifics>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // optional string guid = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(AutofillWalletUsageSpecifics, _impl_.guid_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional string guid = 1;
      {PROTOBUF_FIELD_OFFSET(AutofillWalletUsageSpecifics, _impl_.guid_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // .sync_pb.AutofillWalletUsageSpecifics.VirtualCardUsageData virtual_card_usage_data = 2;
      {PROTOBUF_FIELD_OFFSET(AutofillWalletUsageSpecifics, _impl_.usage_data_type_.virtual_card_usage_data_), _Internal::kOneofCaseOffset + 0, 0, (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::AutofillWalletUsageSpecifics_VirtualCardUsageData>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::AutofillWalletUsageSpecifics_VirtualCardUsageData_globals_},
        #endif
    }},
    {{
    }},
  };
}


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

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

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

AutofillWalletUsageSpecifics_VirtualCardUsageData::AutofillWalletUsageSpecifics_VirtualCardUsageData(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, AutofillWalletUsageSpecifics_VirtualCardUsageData_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:sync_pb.AutofillWalletUsageSpecifics.VirtualCardUsageData)
}
PROTOBUF_NDEBUG_INLINE AutofillWalletUsageSpecifics_VirtualCardUsageData::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::AutofillWalletUsageSpecifics_VirtualCardUsageData& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        virtual_card_last_four_(arena, from.virtual_card_last_four_),
        merchant_url_(arena, from.merchant_url_),
        merchant_app_package_(arena, from.merchant_app_package_) {}

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

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

  // @@protoc_insertion_point(copy_constructor:sync_pb.AutofillWalletUsageSpecifics.VirtualCardUsageData)
}
PROTOBUF_NDEBUG_INLINE AutofillWalletUsageSpecifics_VirtualCardUsageData::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        virtual_card_last_four_(arena),
        merchant_url_(arena),
        merchant_app_package_(arena) {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite AutofillWalletUsageSpecifics_VirtualCardUsageData_class_data_ =
    AutofillWalletUsageSpecifics_VirtualCardUsageData::InternalGenerateClassData_(AutofillWalletUsageSpecifics_VirtualCardUsageData_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
AutofillWalletUsageSpecifics_VirtualCardUsageData::GetClassData() const {
  return AutofillWalletUsageSpecifics_VirtualCardUsageData_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
AutofillWalletUsageSpecifics_VirtualCardUsageData::GetClassData() const {
  return AutofillWalletUsageSpecifics_VirtualCardUsageData_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const AutofillWalletUsageSpecifics_VirtualCardUsageData::ParseTableT_
    AutofillWalletUsageSpecifics_VirtualCardUsageData::_table_ =
        AutofillWalletUsageSpecifics_VirtualCardUsageData::InternalGenerateParseTable_(AutofillWalletUsageSpecifics_VirtualCardUsageData_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void AutofillWalletUsageSpecifics_VirtualCardUsageData::Clear() {
// @@protoc_insertion_point(message_clear_start:sync_pb.AutofillWalletUsageSpecifics.VirtualCardUsageData)
  ::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, 0x00000007U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.virtual_card_last_four_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.merchant_url_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.merchant_app_package_.ClearNonDefaultToEmpty();
    }
  }
  _impl_.instrument_id_ = ::int64_t{0};
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

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

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

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

  // optional string merchant_app_package = 4;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    const ::std::string& _s = this_._internal_merchant_app_package();
    target = stream->WriteStringMaybeAliased(4, _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.AutofillWalletUsageSpecifics.VirtualCardUsageData)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t AutofillWalletUsageSpecifics_VirtualCardUsageData::ByteSizeLong(const MessageLite& base) {
  const AutofillWalletUsageSpecifics_VirtualCardUsageData& this_ = static_cast<const AutofillWalletUsageSpecifics_VirtualCardUsageData&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t AutofillWalletUsageSpecifics_VirtualCardUsageData::ByteSizeLong() const {
  const AutofillWalletUsageSpecifics_VirtualCardUsageData& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:sync_pb.AutofillWalletUsageSpecifics.VirtualCardUsageData)
  ::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, 0x0000000fU)) {
    // optional string virtual_card_last_four = 2;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_virtual_card_last_four());
    }
    // optional string merchant_url = 3;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_merchant_url());
    }
    // optional string merchant_app_package = 4;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_merchant_app_package());
    }
    // optional int64 instrument_id = 1;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_instrument_id());
    }
  }
  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
  }
  this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
  return total_size;
}

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

  cached_has_bits = from._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_set_virtual_card_last_four(from._internal_virtual_card_last_four());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_merchant_url(from._internal_merchant_url());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_internal_set_merchant_app_package(from._internal_merchant_app_package());
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_impl_.instrument_id_ = from._impl_.instrument_id_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void AutofillWalletUsageSpecifics_VirtualCardUsageData::InternalSwap(AutofillWalletUsageSpecifics_VirtualCardUsageData* 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_.virtual_card_last_four_, &other->_impl_.virtual_card_last_four_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.merchant_url_, &other->_impl_.merchant_url_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.merchant_app_package_, &other->_impl_.merchant_app_package_, arena);
  swap(_impl_.instrument_id_, other->_impl_.instrument_id_);
}

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

void AutofillWalletUsageSpecifics::set_allocated_virtual_card_usage_data(::sync_pb::AutofillWalletUsageSpecifics_VirtualCardUsageData* PROTOBUF_NULLABLE virtual_card_usage_data) {
  ::google::protobuf::Arena* message_arena = GetArena();
  clear_usage_data_type();
  if (virtual_card_usage_data) {
    ::google::protobuf::Arena* submessage_arena = virtual_card_usage_data->GetArena();
    if (message_arena != submessage_arena) {
      virtual_card_usage_data = ::google::protobuf::internal::GetOwnedMessage(message_arena, virtual_card_usage_data, submessage_arena);
    }
    set_has_virtual_card_usage_data();
    _impl_.usage_data_type_.virtual_card_usage_data_ = virtual_card_usage_data;
  }
  // @@protoc_insertion_point(field_set_allocated:sync_pb.AutofillWalletUsageSpecifics.virtual_card_usage_data)
}
AutofillWalletUsageSpecifics::AutofillWalletUsageSpecifics(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, AutofillWalletUsageSpecifics_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:sync_pb.AutofillWalletUsageSpecifics)
}
PROTOBUF_NDEBUG_INLINE AutofillWalletUsageSpecifics::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::AutofillWalletUsageSpecifics& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        guid_(arena, from.guid_),
        usage_data_type_{},
        _oneof_case_{from._oneof_case_[0]} {}

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  AutofillWalletUsageSpecifics* const _this = this;
  (void)_this;
  _internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
  switch (usage_data_type_case()) {
    case USAGE_DATA_TYPE_NOT_SET:
      break;
      case kVirtualCardUsageData:
        _impl_.usage_data_type_.virtual_card_usage_data_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.usage_data_type_.virtual_card_usage_data_);
        break;
  }

  // @@protoc_insertion_point(copy_constructor:sync_pb.AutofillWalletUsageSpecifics)
}
PROTOBUF_NDEBUG_INLINE AutofillWalletUsageSpecifics::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        guid_(arena),
        usage_data_type_{},
        _oneof_case_{} {}

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

void AutofillWalletUsageSpecifics::clear_usage_data_type() {
// @@protoc_insertion_point(one_of_clear_start:sync_pb.AutofillWalletUsageSpecifics)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  switch (usage_data_type_case()) {
    case kVirtualCardUsageData: {
      if (GetArena() == nullptr) {
        delete _impl_.usage_data_type_.virtual_card_usage_data_;
      } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
        if (_impl_.usage_data_type_.virtual_card_usage_data_ != nullptr) {
          _impl_.usage_data_type_.virtual_card_usage_data_->Clear();
        }
      }
      break;
    }
    case USAGE_DATA_TYPE_NOT_SET: {
      break;
    }
  }
  _impl_._oneof_case_[0] = USAGE_DATA_TYPE_NOT_SET;
}


#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite AutofillWalletUsageSpecifics_class_data_ =
    AutofillWalletUsageSpecifics::InternalGenerateClassData_(AutofillWalletUsageSpecifics_globals_._default);

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

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

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

  // .sync_pb.AutofillWalletUsageSpecifics.VirtualCardUsageData virtual_card_usage_data = 2;
  if (this_.usage_data_type_case() == kVirtualCardUsageData) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        2, *this_._impl_.usage_data_type_.virtual_card_usage_data_, this_._impl_.usage_data_type_.virtual_card_usage_data_->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.AutofillWalletUsageSpecifics)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t AutofillWalletUsageSpecifics::ByteSizeLong(const MessageLite& base) {
  const AutofillWalletUsageSpecifics& this_ = static_cast<const AutofillWalletUsageSpecifics&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t AutofillWalletUsageSpecifics::ByteSizeLong() const {
  const AutofillWalletUsageSpecifics& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:sync_pb.AutofillWalletUsageSpecifics)
  ::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 guid = 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_guid());
    }
  }
  switch (this_.usage_data_type_case()) {
    // .sync_pb.AutofillWalletUsageSpecifics.VirtualCardUsageData virtual_card_usage_data = 2;
    case kVirtualCardUsageData: {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.usage_data_type_.virtual_card_usage_data_);
      break;
    }
    case USAGE_DATA_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 AutofillWalletUsageSpecifics::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<AutofillWalletUsageSpecifics*>(&to_msg);
  auto& from = static_cast<const AutofillWalletUsageSpecifics&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.AutofillWalletUsageSpecifics)
  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_guid(from._internal_guid());
  }
  _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_usage_data_type();
      }
      _this->_impl_._oneof_case_[0] = oneof_from_case;
    }

    switch (oneof_from_case) {
      case kVirtualCardUsageData: {
        if (oneof_needs_init) {
          _this->_impl_.usage_data_type_.virtual_card_usage_data_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.usage_data_type_.virtual_card_usage_data_);
        } else {
          _this->_impl_.usage_data_type_.virtual_card_usage_data_->MergeFrom(*from._impl_.usage_data_type_.virtual_card_usage_data_);
        }
        break;
      }
      case USAGE_DATA_TYPE_NOT_SET:
        break;
    }
  }
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void AutofillWalletUsageSpecifics::InternalSwap(AutofillWalletUsageSpecifics* 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_.guid_, &other->_impl_.guid_, arena);
  swap(_impl_.usage_data_type_, other->_impl_.usage_data_type_);
  swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]);
}

// @@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"
