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

#include "android_checkin.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 checkin_proto {
class ChromeBuildProto::_Internal {
 public:
  using HasBits = decltype(::std::declval<ChromeBuildProto>()._impl_._has_bits_);
  static constexpr ::int32_t kHasBitsOffset =
      8 * PROTOBUF_FIELD_OFFSET(ChromeBuildProto, _impl_._has_bits_);
};

constexpr ChromeBuildProto::ParseTableT_ ChromeBuildProto::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(ChromeBuildProto, _impl_._has_bits_),
      0, // no _extensions_
      3, 24,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967288,  // skipmap
      offsetof(ParseTableT_, field_entries),
      3,  // num_field_entries
      2,  // num_aux_entries
      offsetof(ParseTableT_, aux_entries),
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::checkin_proto::ChromeBuildProto>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // optional .checkin_proto.ChromeBuildProto.Platform platform = 1;
      {::_pbi::TcParser::FastEr1S1,
       {8, 1, 6,
        PROTOBUF_FIELD_OFFSET(ChromeBuildProto, _impl_.platform_)}},
      // optional string chrome_version = 2;
      {::_pbi::TcParser::FastBS1,
       {18, 0, 0,
        PROTOBUF_FIELD_OFFSET(ChromeBuildProto, _impl_.chrome_version_)}},
      // optional .checkin_proto.ChromeBuildProto.Channel channel = 3;
      {::_pbi::TcParser::FastEr1S1,
       {24, 2, 5,
        PROTOBUF_FIELD_OFFSET(ChromeBuildProto, _impl_.channel_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional .checkin_proto.ChromeBuildProto.Platform platform = 1;
      {PROTOBUF_FIELD_OFFSET(ChromeBuildProto, _impl_.platform_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
      // optional string chrome_version = 2;
      {PROTOBUF_FIELD_OFFSET(ChromeBuildProto, _impl_.chrome_version_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional .checkin_proto.ChromeBuildProto.Channel channel = 3;
      {PROTOBUF_FIELD_OFFSET(ChromeBuildProto, _impl_.channel_), _Internal::kHasBitsOffset + 2, 1, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
    }},
    {{
        {1, 6},
        {1, 5},
    }},
    {{
    }},
  };
}


inline constexpr ChromeBuildProto::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        chrome_version_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        platform_{static_cast< ::checkin_proto::ChromeBuildProto_Platform >(1)},
        channel_{static_cast< ::checkin_proto::ChromeBuildProto_Channel >(1)} {}

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

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

constexpr AndroidCheckinProto::ParseTableT_ AndroidCheckinProto::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(AndroidCheckinProto, _impl_._has_bits_),
      0, // no _extensions_
      13, 56,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294960669,  // skipmap
      offsetof(ParseTableT_, field_entries),
      7,  // num_field_entries
      2,  // num_aux_entries
      offsetof(ParseTableT_, aux_entries),
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::checkin_proto::AndroidCheckinProto>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // optional string roaming = 8;
      {::_pbi::TcParser::FastBS1,
       {66, 2, 0,
        PROTOBUF_FIELD_OFFSET(AndroidCheckinProto, _impl_.roaming_)}},
      // optional int32 user_number = 9;
      {::_pbi::TcParser::FastV32S1,
       {72, 5, 0,
        PROTOBUF_FIELD_OFFSET(AndroidCheckinProto, _impl_.user_number_)}},
      // optional int64 last_checkin_msec = 2;
      {::_pbi::TcParser::FastV64S1,
       {16, 4, 0,
        PROTOBUF_FIELD_OFFSET(AndroidCheckinProto, _impl_.last_checkin_msec_)}},
      {::_pbi::TcParser::MiniParse, {}},
      // optional .checkin_proto.DeviceType type = 12 [default = DEVICE_ANDROID_OS];
      {::_pbi::TcParser::FastEr1S1,
       {96, 6, 4,
        PROTOBUF_FIELD_OFFSET(AndroidCheckinProto, _impl_.type_)}},
      // optional .checkin_proto.ChromeBuildProto chrome_build = 13;
      {::_pbi::TcParser::FastMtS1,
       {106, 3, 0,
        PROTOBUF_FIELD_OFFSET(AndroidCheckinProto, _impl_.chrome_build_)}},
      // optional string cell_operator = 6;
      {::_pbi::TcParser::FastBS1,
       {50, 0, 0,
        PROTOBUF_FIELD_OFFSET(AndroidCheckinProto, _impl_.cell_operator_)}},
      // optional string sim_operator = 7;
      {::_pbi::TcParser::FastBS1,
       {58, 1, 0,
        PROTOBUF_FIELD_OFFSET(AndroidCheckinProto, _impl_.sim_operator_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional int64 last_checkin_msec = 2;
      {PROTOBUF_FIELD_OFFSET(AndroidCheckinProto, _impl_.last_checkin_msec_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
      // optional string cell_operator = 6;
      {PROTOBUF_FIELD_OFFSET(AndroidCheckinProto, _impl_.cell_operator_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string sim_operator = 7;
      {PROTOBUF_FIELD_OFFSET(AndroidCheckinProto, _impl_.sim_operator_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string roaming = 8;
      {PROTOBUF_FIELD_OFFSET(AndroidCheckinProto, _impl_.roaming_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional int32 user_number = 9;
      {PROTOBUF_FIELD_OFFSET(AndroidCheckinProto, _impl_.user_number_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
      // optional .checkin_proto.DeviceType type = 12 [default = DEVICE_ANDROID_OS];
      {PROTOBUF_FIELD_OFFSET(AndroidCheckinProto, _impl_.type_), _Internal::kHasBitsOffset + 6, 1, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
      // optional .checkin_proto.ChromeBuildProto chrome_build = 13;
      {PROTOBUF_FIELD_OFFSET(AndroidCheckinProto, _impl_.chrome_build_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::checkin_proto::ChromeBuildProto>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::checkin_proto::ChromeBuildProto_globals_},
        #endif
        {1, 4},
    }},
    {{
    }},
  };
}


inline constexpr AndroidCheckinProto::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        cell_operator_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        sim_operator_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        roaming_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        chrome_build_{nullptr},
        last_checkin_msec_{::int64_t{0}},
        user_number_{0},
        type_{static_cast< ::checkin_proto::DeviceType >(1)} {}

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

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GCM_EXPORT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST AndroidCheckinProtoGlobalsTypeInternal AndroidCheckinProto_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* AndroidCheckinProto_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return AndroidCheckinProto_globals_.GetClassData();
#else
  return AndroidCheckinProto_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
}  // namespace checkin_proto
namespace checkin_proto {
PROTOBUF_CONSTINIT const uint32_t ChromeBuildProto_Platform_internal_data_[] = {
    393217u, 0u, };
static const char ChromeBuildProto_Platform_names[] = {
    "PLATFORM_ANDROID"
    "PLATFORM_CROS"
    "PLATFORM_IOS"
    "PLATFORM_LINUX"
    "PLATFORM_MAC"
    "PLATFORM_WIN"
};

static const ::google::protobuf::internal::EnumEntry ChromeBuildProto_Platform_entries[] = {
    {{&ChromeBuildProto_Platform_names[0], 16}, 6},
    {{&ChromeBuildProto_Platform_names[16], 13}, 4},
    {{&ChromeBuildProto_Platform_names[29], 12}, 5},
    {{&ChromeBuildProto_Platform_names[41], 14}, 3},
    {{&ChromeBuildProto_Platform_names[55], 12}, 2},
    {{&ChromeBuildProto_Platform_names[67], 12}, 1},
};

static const int ChromeBuildProto_Platform_entries_by_number[] = {
    5,  // 1 -> PLATFORM_WIN
    4,  // 2 -> PLATFORM_MAC
    3,  // 3 -> PLATFORM_LINUX
    1,  // 4 -> PLATFORM_CROS
    2,  // 5 -> PLATFORM_IOS
    0,  // 6 -> PLATFORM_ANDROID
};

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

const ::std::string& ChromeBuildProto_Platform_Name(ChromeBuildProto_Platform value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      ChromeBuildProto_Platform_entries, ChromeBuildProto_Platform_entries_by_number, 6,
      ChromeBuildProto_Platform_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(ChromeBuildProto_Platform_entries,
                                  ChromeBuildProto_Platform_entries_by_number,
                                  6, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : ChromeBuildProto_Platform_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t ChromeBuildProto_Channel_internal_data_[] = {
    327681u, 0u, };
static const char ChromeBuildProto_Channel_names[] = {
    "CHANNEL_BETA"
    "CHANNEL_CANARY"
    "CHANNEL_DEV"
    "CHANNEL_STABLE"
    "CHANNEL_UNKNOWN"
};

static const ::google::protobuf::internal::EnumEntry ChromeBuildProto_Channel_entries[] = {
    {{&ChromeBuildProto_Channel_names[0], 12}, 2},
    {{&ChromeBuildProto_Channel_names[12], 14}, 4},
    {{&ChromeBuildProto_Channel_names[26], 11}, 3},
    {{&ChromeBuildProto_Channel_names[37], 14}, 1},
    {{&ChromeBuildProto_Channel_names[51], 15}, 5},
};

static const int ChromeBuildProto_Channel_entries_by_number[] = {
    3,  // 1 -> CHANNEL_STABLE
    0,  // 2 -> CHANNEL_BETA
    2,  // 3 -> CHANNEL_DEV
    1,  // 4 -> CHANNEL_CANARY
    4,  // 5 -> CHANNEL_UNKNOWN
};

bool ChromeBuildProto_Channel_Parse(::absl::string_view name,
                                  ChromeBuildProto_Channel* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      ChromeBuildProto_Channel_entries, 5, name, &int_value);
  if (success) {
    *value = static_cast<ChromeBuildProto_Channel>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    ChromeBuildProto_Channel_strings[5] = {};

const ::std::string& ChromeBuildProto_Channel_Name(ChromeBuildProto_Channel value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      ChromeBuildProto_Channel_entries, ChromeBuildProto_Channel_entries_by_number, 5,
      ChromeBuildProto_Channel_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(ChromeBuildProto_Channel_entries,
                                  ChromeBuildProto_Channel_entries_by_number,
                                  5, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : ChromeBuildProto_Channel_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t DeviceType_internal_data_[] = {
    262145u, 0u, };
static const char DeviceType_names[] = {
    "DEVICE_ANDROID_OS"
    "DEVICE_CHROME_BROWSER"
    "DEVICE_CHROME_OS"
    "DEVICE_IOS_OS"
};

static const ::google::protobuf::internal::EnumEntry DeviceType_entries[] = {
    {{&DeviceType_names[0], 17}, 1},
    {{&DeviceType_names[17], 21}, 3},
    {{&DeviceType_names[38], 16}, 4},
    {{&DeviceType_names[54], 13}, 2},
};

static const int DeviceType_entries_by_number[] = {
    0,  // 1 -> DEVICE_ANDROID_OS
    3,  // 2 -> DEVICE_IOS_OS
    1,  // 3 -> DEVICE_CHROME_BROWSER
    2,  // 4 -> DEVICE_CHROME_OS
};

bool DeviceType_Parse(::absl::string_view name,
                                  DeviceType* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      DeviceType_entries, 4, name, &int_value);
  if (success) {
    *value = static_cast<DeviceType>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    DeviceType_strings[4] = {};

const ::std::string& DeviceType_Name(DeviceType value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      DeviceType_entries, DeviceType_entries_by_number, 4,
      DeviceType_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(DeviceType_entries,
                                  DeviceType_entries_by_number,
                                  4, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : DeviceType_strings[idx].get();
}
// ===================================================================

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

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  ChromeBuildProto* const _this = this;
  (void)_this;
  _internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
  ::memcpy(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, platform_),
           reinterpret_cast<const char*>(&from._impl_) +
               offsetof(Impl_, platform_),
           offsetof(Impl_, channel_) -
               offsetof(Impl_, platform_) +
               sizeof(Impl_::channel_));

  // @@protoc_insertion_point(copy_constructor:checkin_proto.ChromeBuildProto)
}
PROTOBUF_NDEBUG_INLINE ChromeBuildProto::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        chrome_version_(arena),
        platform_{static_cast< ::checkin_proto::ChromeBuildProto_Platform >(1)},
        channel_{static_cast< ::checkin_proto::ChromeBuildProto_Channel >(1)} {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite ChromeBuildProto_class_data_ =
    ChromeBuildProto::InternalGenerateClassData_(ChromeBuildProto_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
ChromeBuildProto::GetClassData() const {
  return ChromeBuildProto_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
ChromeBuildProto::GetClassData() const {
  return ChromeBuildProto_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ChromeBuildProto::ParseTableT_
    ChromeBuildProto::_table_ =
        ChromeBuildProto::InternalGenerateParseTable_(ChromeBuildProto_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void ChromeBuildProto::Clear() {
// @@protoc_insertion_point(message_clear_start:checkin_proto.ChromeBuildProto)
  ::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_.chrome_version_.ClearNonDefaultToEmpty();
    }
    _impl_.platform_ = 1;
    _impl_.channel_ = 1;
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // optional .checkin_proto.ChromeBuildProto.Platform platform = 1;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        1, this_._internal_platform(), target);
  }

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

  // optional .checkin_proto.ChromeBuildProto.Channel channel = 3;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        3, this_._internal_channel(), 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:checkin_proto.ChromeBuildProto)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t ChromeBuildProto::ByteSizeLong(const MessageLite& base) {
  const ChromeBuildProto& this_ = static_cast<const ChromeBuildProto&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t ChromeBuildProto::ByteSizeLong() const {
  const ChromeBuildProto& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:checkin_proto.ChromeBuildProto)
  ::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, 0x00000007U)) {
    // optional string chrome_version = 2;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_chrome_version());
    }
    // optional .checkin_proto.ChromeBuildProto.Platform platform = 1;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_platform());
    }
    // optional .checkin_proto.ChromeBuildProto.Channel channel = 3;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_channel());
    }
  }
  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 ChromeBuildProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<ChromeBuildProto*>(&to_msg);
  auto& from = static_cast<const ChromeBuildProto&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:checkin_proto.ChromeBuildProto)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = from._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_set_chrome_version(from._internal_chrome_version());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_impl_.platform_ = from._impl_.platform_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_impl_.channel_ = from._impl_.channel_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void ChromeBuildProto::InternalSwap(ChromeBuildProto* 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_.chrome_version_, &other->_impl_.chrome_version_, arena);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(ChromeBuildProto, _impl_.channel_)
      + sizeof(ChromeBuildProto::_impl_.channel_)
      - PROTOBUF_FIELD_OFFSET(ChromeBuildProto, _impl_.platform_)>(
          reinterpret_cast<char*>(&_impl_.platform_),
          reinterpret_cast<char*>(&other->_impl_.platform_));
}

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

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

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  AndroidCheckinProto* 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_.chrome_build_ = (CheckHasBit(cached_has_bits, 0x00000008U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.chrome_build_)
                : nullptr;
  ::memcpy(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, last_checkin_msec_),
           reinterpret_cast<const char*>(&from._impl_) +
               offsetof(Impl_, last_checkin_msec_),
           offsetof(Impl_, type_) -
               offsetof(Impl_, last_checkin_msec_) +
               sizeof(Impl_::type_));

  // @@protoc_insertion_point(copy_constructor:checkin_proto.AndroidCheckinProto)
}
PROTOBUF_NDEBUG_INLINE AndroidCheckinProto::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        cell_operator_(arena),
        sim_operator_(arena),
        roaming_(arena),
        type_{static_cast< ::checkin_proto::DeviceType >(1)} {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite AndroidCheckinProto_class_data_ =
    AndroidCheckinProto::InternalGenerateClassData_(AndroidCheckinProto_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
AndroidCheckinProto::GetClassData() const {
  return AndroidCheckinProto_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
AndroidCheckinProto::GetClassData() const {
  return AndroidCheckinProto_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const AndroidCheckinProto::ParseTableT_
    AndroidCheckinProto::_table_ =
        AndroidCheckinProto::InternalGenerateParseTable_(AndroidCheckinProto_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void AndroidCheckinProto::Clear() {
// @@protoc_insertion_point(message_clear_start:checkin_proto.AndroidCheckinProto)
  ::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_.cell_operator_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.sim_operator_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.roaming_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      ABSL_DCHECK(_impl_.chrome_build_ != nullptr);
      _impl_.chrome_build_->Clear();
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000070U)) {
    ::memset(&_impl_.last_checkin_msec_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.user_number_) -
        reinterpret_cast<char*>(&_impl_.last_checkin_msec_)) + sizeof(_impl_.user_number_));
    _impl_.type_ = 1;
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

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

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

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

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

  // optional int32 user_number = 9;
  if (CheckHasBit(cached_has_bits, 0x00000020U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<9>(
            stream, this_._internal_user_number(), target);
  }

  // optional .checkin_proto.DeviceType type = 12 [default = DEVICE_ANDROID_OS];
  if (CheckHasBit(cached_has_bits, 0x00000040U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        12, this_._internal_type(), target);
  }

  // optional .checkin_proto.ChromeBuildProto chrome_build = 13;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        13, *this_._impl_.chrome_build_, this_._impl_.chrome_build_->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:checkin_proto.AndroidCheckinProto)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t AndroidCheckinProto::ByteSizeLong(const MessageLite& base) {
  const AndroidCheckinProto& this_ = static_cast<const AndroidCheckinProto&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t AndroidCheckinProto::ByteSizeLong() const {
  const AndroidCheckinProto& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:checkin_proto.AndroidCheckinProto)
  ::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, 0x0000007fU)) {
    // optional string cell_operator = 6;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_cell_operator());
    }
    // optional string sim_operator = 7;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_sim_operator());
    }
    // optional string roaming = 8;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_roaming());
    }
    // optional .checkin_proto.ChromeBuildProto chrome_build = 13;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.chrome_build_);
    }
    // optional int64 last_checkin_msec = 2;
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_last_checkin_msec());
    }
    // optional int32 user_number = 9;
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
          this_._internal_user_number());
    }
    // optional .checkin_proto.DeviceType type = 12 [default = DEVICE_ANDROID_OS];
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_type());
    }
  }
  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 AndroidCheckinProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<AndroidCheckinProto*>(&to_msg);
  auto& from = static_cast<const AndroidCheckinProto&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:checkin_proto.AndroidCheckinProto)
  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, 0x0000007fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_set_cell_operator(from._internal_cell_operator());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_sim_operator(from._internal_sim_operator());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_internal_set_roaming(from._internal_roaming());
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      ABSL_DCHECK(from._impl_.chrome_build_ != nullptr);
      if (_this->_impl_.chrome_build_ == nullptr) {
        _this->_impl_.chrome_build_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.chrome_build_);
      } else {
        _this->_impl_.chrome_build_->MergeFrom(*from._impl_.chrome_build_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _this->_impl_.last_checkin_msec_ = from._impl_.last_checkin_msec_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      _this->_impl_.user_number_ = from._impl_.user_number_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      _this->_impl_.type_ = from._impl_.type_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void AndroidCheckinProto::InternalSwap(AndroidCheckinProto* 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_.cell_operator_, &other->_impl_.cell_operator_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.sim_operator_, &other->_impl_.sim_operator_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.roaming_, &other->_impl_.roaming_, arena);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(AndroidCheckinProto, _impl_.type_)
      + sizeof(AndroidCheckinProto::_impl_.type_)
      - PROTOBUF_FIELD_OFFSET(AndroidCheckinProto, _impl_.chrome_build_)>(
          reinterpret_cast<char*>(&_impl_.chrome_build_),
          reinterpret_cast<char*>(&other->_impl_.chrome_build_));
}

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