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

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

constexpr SearchEngineSpecifics::ParseTableT_ SearchEngineSpecifics::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(SearchEngineSpecifics, _impl_._has_bits_),
      0, // no _extensions_
      28, 248,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4026576896,  // skipmap
      offsetof(ParseTableT_, field_entries),
      25,  // 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::SearchEngineSpecifics>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // optional string short_name = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 1, 0,
        PROTOBUF_FIELD_OFFSET(SearchEngineSpecifics, _impl_.short_name_)}},
      // optional string keyword = 2;
      {::_pbi::TcParser::FastBS1,
       {18, 2, 0,
        PROTOBUF_FIELD_OFFSET(SearchEngineSpecifics, _impl_.keyword_)}},
      // optional string favicon_url = 3;
      {::_pbi::TcParser::FastBS1,
       {26, 3, 0,
        PROTOBUF_FIELD_OFFSET(SearchEngineSpecifics, _impl_.favicon_url_)}},
      // optional string url = 4;
      {::_pbi::TcParser::FastBS1,
       {34, 4, 0,
        PROTOBUF_FIELD_OFFSET(SearchEngineSpecifics, _impl_.url_)}},
      // optional bool safe_for_autoreplace = 5;
      {::_pbi::TcParser::FastV8S1,
       {40, 18, 0,
        PROTOBUF_FIELD_OFFSET(SearchEngineSpecifics, _impl_.safe_for_autoreplace_)}},
      // optional string originating_url = 6;
      {::_pbi::TcParser::FastBS1,
       {50, 5, 0,
        PROTOBUF_FIELD_OFFSET(SearchEngineSpecifics, _impl_.originating_url_)}},
      // optional int64 date_created = 7;
      {::_pbi::TcParser::FastV64S1,
       {56, 17, 0,
        PROTOBUF_FIELD_OFFSET(SearchEngineSpecifics, _impl_.date_created_)}},
      // optional string input_encodings = 8;
      {::_pbi::TcParser::FastBS1,
       {66, 6, 0,
        PROTOBUF_FIELD_OFFSET(SearchEngineSpecifics, _impl_.input_encodings_)}},
      // optional bool deprecated_show_in_default_list = 9 [deprecated = true];
      {::_pbi::TcParser::FastV8S1,
       {72, 19, 0,
        PROTOBUF_FIELD_OFFSET(SearchEngineSpecifics, _impl_.deprecated_show_in_default_list_)}},
      // optional string suggestions_url = 10;
      {::_pbi::TcParser::FastBS1,
       {82, 7, 0,
        PROTOBUF_FIELD_OFFSET(SearchEngineSpecifics, _impl_.suggestions_url_)}},
      // optional int32 prepopulate_id = 11;
      {::_pbi::TcParser::FastV32S1,
       {88, 21, 0,
        PROTOBUF_FIELD_OFFSET(SearchEngineSpecifics, _impl_.prepopulate_id_)}},
      // optional bool autogenerate_keyword = 12 [deprecated = true];
      {::_pbi::TcParser::FastV8S1,
       {96, 20, 0,
        PROTOBUF_FIELD_OFFSET(SearchEngineSpecifics, _impl_.autogenerate_keyword_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      // optional string instant_url = 15 [deprecated = true];
      {::_pbi::TcParser::FastBS1,
       {122, 8, 0,
        PROTOBUF_FIELD_OFFSET(SearchEngineSpecifics, _impl_.instant_url_)}},
      {::_pbi::TcParser::MiniParse, {}},
      // optional int64 last_modified = 17;
      {::_pbi::TcParser::FastV64S2,
       {392, 22, 0,
        PROTOBUF_FIELD_OFFSET(SearchEngineSpecifics, _impl_.last_modified_)}},
      // optional string sync_guid = 18;
      {::_pbi::TcParser::FastBS2,
       {402, 9, 0,
        PROTOBUF_FIELD_OFFSET(SearchEngineSpecifics, _impl_.sync_guid_)}},
      // repeated string alternate_urls = 19;
      {::_pbi::TcParser::FastBR2,
       {410, 0, 0,
        PROTOBUF_FIELD_OFFSET(SearchEngineSpecifics, _impl_.alternate_urls_)}},
      // optional string search_terms_replacement_key = 20 [deprecated = true];
      {::_pbi::TcParser::FastBS2,
       {418, 10, 0,
        PROTOBUF_FIELD_OFFSET(SearchEngineSpecifics, _impl_.search_terms_replacement_key_)}},
      // optional string image_url = 21;
      {::_pbi::TcParser::FastBS2,
       {426, 11, 0,
        PROTOBUF_FIELD_OFFSET(SearchEngineSpecifics, _impl_.image_url_)}},
      // optional string search_url_post_params = 22;
      {::_pbi::TcParser::FastBS2,
       {434, 12, 0,
        PROTOBUF_FIELD_OFFSET(SearchEngineSpecifics, _impl_.search_url_post_params_)}},
      // optional string suggestions_url_post_params = 23;
      {::_pbi::TcParser::FastBS2,
       {442, 13, 0,
        PROTOBUF_FIELD_OFFSET(SearchEngineSpecifics, _impl_.suggestions_url_post_params_)}},
      // optional string instant_url_post_params = 24 [deprecated = true];
      {::_pbi::TcParser::FastBS2,
       {450, 14, 0,
        PROTOBUF_FIELD_OFFSET(SearchEngineSpecifics, _impl_.instant_url_post_params_)}},
      // optional string image_url_post_params = 25;
      {::_pbi::TcParser::FastBS2,
       {458, 15, 0,
        PROTOBUF_FIELD_OFFSET(SearchEngineSpecifics, _impl_.image_url_post_params_)}},
      // optional string new_tab_url = 26;
      {::_pbi::TcParser::FastBS2,
       {466, 16, 0,
        PROTOBUF_FIELD_OFFSET(SearchEngineSpecifics, _impl_.new_tab_url_)}},
      // optional .sync_pb.SearchEngineSpecifics.ActiveStatus is_active = 27;
      {::_pbi::TcParser::FastEr0S2,
       {472, 23, 2,
        PROTOBUF_FIELD_OFFSET(SearchEngineSpecifics, _impl_.is_active_)}},
      // optional int32 starter_pack_id = 28;
      {::_pbi::TcParser::FastV32S2,
       {480, 24, 0,
        PROTOBUF_FIELD_OFFSET(SearchEngineSpecifics, _impl_.starter_pack_id_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // optional string short_name = 1;
      {PROTOBUF_FIELD_OFFSET(SearchEngineSpecifics, _impl_.short_name_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string keyword = 2;
      {PROTOBUF_FIELD_OFFSET(SearchEngineSpecifics, _impl_.keyword_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string favicon_url = 3;
      {PROTOBUF_FIELD_OFFSET(SearchEngineSpecifics, _impl_.favicon_url_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string url = 4;
      {PROTOBUF_FIELD_OFFSET(SearchEngineSpecifics, _impl_.url_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional bool safe_for_autoreplace = 5;
      {PROTOBUF_FIELD_OFFSET(SearchEngineSpecifics, _impl_.safe_for_autoreplace_), _Internal::kHasBitsOffset + 18, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // optional string originating_url = 6;
      {PROTOBUF_FIELD_OFFSET(SearchEngineSpecifics, _impl_.originating_url_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional int64 date_created = 7;
      {PROTOBUF_FIELD_OFFSET(SearchEngineSpecifics, _impl_.date_created_), _Internal::kHasBitsOffset + 17, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
      // optional string input_encodings = 8;
      {PROTOBUF_FIELD_OFFSET(SearchEngineSpecifics, _impl_.input_encodings_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional bool deprecated_show_in_default_list = 9 [deprecated = true];
      {PROTOBUF_FIELD_OFFSET(SearchEngineSpecifics, _impl_.deprecated_show_in_default_list_), _Internal::kHasBitsOffset + 19, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // optional string suggestions_url = 10;
      {PROTOBUF_FIELD_OFFSET(SearchEngineSpecifics, _impl_.suggestions_url_), _Internal::kHasBitsOffset + 7, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional int32 prepopulate_id = 11;
      {PROTOBUF_FIELD_OFFSET(SearchEngineSpecifics, _impl_.prepopulate_id_), _Internal::kHasBitsOffset + 21, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
      // optional bool autogenerate_keyword = 12 [deprecated = true];
      {PROTOBUF_FIELD_OFFSET(SearchEngineSpecifics, _impl_.autogenerate_keyword_), _Internal::kHasBitsOffset + 20, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // optional string instant_url = 15 [deprecated = true];
      {PROTOBUF_FIELD_OFFSET(SearchEngineSpecifics, _impl_.instant_url_), _Internal::kHasBitsOffset + 8, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional int64 last_modified = 17;
      {PROTOBUF_FIELD_OFFSET(SearchEngineSpecifics, _impl_.last_modified_), _Internal::kHasBitsOffset + 22, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
      // optional string sync_guid = 18;
      {PROTOBUF_FIELD_OFFSET(SearchEngineSpecifics, _impl_.sync_guid_), _Internal::kHasBitsOffset + 9, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // repeated string alternate_urls = 19;
      {PROTOBUF_FIELD_OFFSET(SearchEngineSpecifics, _impl_.alternate_urls_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kBytes | ::_fl::kRepSString)},
      // optional string search_terms_replacement_key = 20 [deprecated = true];
      {PROTOBUF_FIELD_OFFSET(SearchEngineSpecifics, _impl_.search_terms_replacement_key_), _Internal::kHasBitsOffset + 10, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string image_url = 21;
      {PROTOBUF_FIELD_OFFSET(SearchEngineSpecifics, _impl_.image_url_), _Internal::kHasBitsOffset + 11, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string search_url_post_params = 22;
      {PROTOBUF_FIELD_OFFSET(SearchEngineSpecifics, _impl_.search_url_post_params_), _Internal::kHasBitsOffset + 12, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string suggestions_url_post_params = 23;
      {PROTOBUF_FIELD_OFFSET(SearchEngineSpecifics, _impl_.suggestions_url_post_params_), _Internal::kHasBitsOffset + 13, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string instant_url_post_params = 24 [deprecated = true];
      {PROTOBUF_FIELD_OFFSET(SearchEngineSpecifics, _impl_.instant_url_post_params_), _Internal::kHasBitsOffset + 14, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string image_url_post_params = 25;
      {PROTOBUF_FIELD_OFFSET(SearchEngineSpecifics, _impl_.image_url_post_params_), _Internal::kHasBitsOffset + 15, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string new_tab_url = 26;
      {PROTOBUF_FIELD_OFFSET(SearchEngineSpecifics, _impl_.new_tab_url_), _Internal::kHasBitsOffset + 16, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional .sync_pb.SearchEngineSpecifics.ActiveStatus is_active = 27;
      {PROTOBUF_FIELD_OFFSET(SearchEngineSpecifics, _impl_.is_active_), _Internal::kHasBitsOffset + 23, 0, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
      // optional int32 starter_pack_id = 28;
      {PROTOBUF_FIELD_OFFSET(SearchEngineSpecifics, _impl_.starter_pack_id_), _Internal::kHasBitsOffset + 24, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
    }},
    {{
        {0, 2},
    }},
    {{
    }},
  };
}


inline constexpr SearchEngineSpecifics::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        alternate_urls_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::sync_pb::SearchEngineSpecifics,
            PROTOBUF_FIELD_OFFSET(::sync_pb::SearchEngineSpecifics, _impl_.alternate_urls_)>()
         }
        ,
        short_name_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        keyword_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        favicon_url_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        url_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        originating_url_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        input_encodings_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        suggestions_url_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        instant_url_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        sync_guid_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        search_terms_replacement_key_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        image_url_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        search_url_post_params_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        suggestions_url_post_params_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        instant_url_post_params_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        image_url_post_params_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        new_tab_url_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        date_created_{::int64_t{0}},
        safe_for_autoreplace_{false},
        deprecated_show_in_default_list_{false},
        autogenerate_keyword_{false},
        prepopulate_id_{0},
        last_modified_{::int64_t{0}},
        is_active_{static_cast< ::sync_pb::SearchEngineSpecifics_ActiveStatus >(0)},
        starter_pack_id_{0} {}

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

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST SearchEngineSpecificsGlobalsTypeInternal SearchEngineSpecifics_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* SearchEngineSpecifics_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return SearchEngineSpecifics_globals_.GetClassData();
#else
  return SearchEngineSpecifics_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
}  // namespace sync_pb
namespace sync_pb {
PROTOBUF_CONSTINIT const uint32_t SearchEngineSpecifics_ActiveStatus_internal_data_[] = {
    196608u, 0u, };
static const char SearchEngineSpecifics_ActiveStatus_names[] = {
    "ACTIVE_STATUS_FALSE"
    "ACTIVE_STATUS_TRUE"
    "ACTIVE_STATUS_UNSPECIFIED"
};

static const ::google::protobuf::internal::EnumEntry SearchEngineSpecifics_ActiveStatus_entries[] = {
    {{&SearchEngineSpecifics_ActiveStatus_names[0], 19}, 2},
    {{&SearchEngineSpecifics_ActiveStatus_names[19], 18}, 1},
    {{&SearchEngineSpecifics_ActiveStatus_names[37], 25}, 0},
};

static const int SearchEngineSpecifics_ActiveStatus_entries_by_number[] = {
    2,  // 0 -> ACTIVE_STATUS_UNSPECIFIED
    1,  // 1 -> ACTIVE_STATUS_TRUE
    0,  // 2 -> ACTIVE_STATUS_FALSE
};

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

const ::std::string& SearchEngineSpecifics_ActiveStatus_Name(SearchEngineSpecifics_ActiveStatus value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      SearchEngineSpecifics_ActiveStatus_entries, SearchEngineSpecifics_ActiveStatus_entries_by_number, 3,
      SearchEngineSpecifics_ActiveStatus_strings);
  (void)kDummy;

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

SearchEngineSpecifics::SearchEngineSpecifics(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, SearchEngineSpecifics_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:sync_pb.SearchEngineSpecifics)
}
PROTOBUF_NDEBUG_INLINE SearchEngineSpecifics::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::SearchEngineSpecifics& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        alternate_urls_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::sync_pb::SearchEngineSpecifics,
              PROTOBUF_FIELD_OFFSET(::sync_pb::SearchEngineSpecifics, _impl_.alternate_urls_)>()
          , from.alternate_urls_
        }
        ,
        short_name_(arena, from.short_name_),
        keyword_(arena, from.keyword_),
        favicon_url_(arena, from.favicon_url_),
        url_(arena, from.url_),
        originating_url_(arena, from.originating_url_),
        input_encodings_(arena, from.input_encodings_),
        suggestions_url_(arena, from.suggestions_url_),
        instant_url_(arena, from.instant_url_),
        sync_guid_(arena, from.sync_guid_),
        search_terms_replacement_key_(arena, from.search_terms_replacement_key_),
        image_url_(arena, from.image_url_),
        search_url_post_params_(arena, from.search_url_post_params_),
        suggestions_url_post_params_(arena, from.suggestions_url_post_params_),
        instant_url_post_params_(arena, from.instant_url_post_params_),
        image_url_post_params_(arena, from.image_url_post_params_),
        new_tab_url_(arena, from.new_tab_url_) {}

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SearchEngineSpecifics* 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_, date_created_),
           reinterpret_cast<const char*>(&from._impl_) +
               offsetof(Impl_, date_created_),
           offsetof(Impl_, starter_pack_id_) -
               offsetof(Impl_, date_created_) +
               sizeof(Impl_::starter_pack_id_));

  // @@protoc_insertion_point(copy_constructor:sync_pb.SearchEngineSpecifics)
}
PROTOBUF_NDEBUG_INLINE SearchEngineSpecifics::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        alternate_urls_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::sync_pb::SearchEngineSpecifics,
            PROTOBUF_FIELD_OFFSET(::sync_pb::SearchEngineSpecifics, _impl_.alternate_urls_)>()
         }
        ,
        short_name_(arena),
        keyword_(arena),
        favicon_url_(arena),
        url_(arena),
        originating_url_(arena),
        input_encodings_(arena),
        suggestions_url_(arena),
        instant_url_(arena),
        sync_guid_(arena),
        search_terms_replacement_key_(arena),
        image_url_(arena),
        search_url_post_params_(arena),
        suggestions_url_post_params_(arena),
        instant_url_post_params_(arena),
        image_url_post_params_(arena),
        new_tab_url_(arena) {}

inline void SearchEngineSpecifics::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
  ::memset(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, date_created_),
           0,
           offsetof(Impl_, starter_pack_id_) -
               offsetof(Impl_, date_created_) +
               sizeof(Impl_::starter_pack_id_));
}
SearchEngineSpecifics::~SearchEngineSpecifics() {
  // @@protoc_insertion_point(destructor:sync_pb.SearchEngineSpecifics)
  SharedDtor(*this);
}
inline void SearchEngineSpecifics::SharedDtor(MessageLite& self) {
  SearchEngineSpecifics& this_ = static_cast<SearchEngineSpecifics&>(self);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  this_._internal_metadata_.Delete<::std::string>();
  ABSL_DCHECK(this_.GetArena() == nullptr);
  this_._impl_.short_name_.Destroy();
  this_._impl_.keyword_.Destroy();
  this_._impl_.favicon_url_.Destroy();
  this_._impl_.url_.Destroy();
  this_._impl_.originating_url_.Destroy();
  this_._impl_.input_encodings_.Destroy();
  this_._impl_.suggestions_url_.Destroy();
  this_._impl_.instant_url_.Destroy();
  this_._impl_.sync_guid_.Destroy();
  this_._impl_.search_terms_replacement_key_.Destroy();
  this_._impl_.image_url_.Destroy();
  this_._impl_.search_url_post_params_.Destroy();
  this_._impl_.suggestions_url_post_params_.Destroy();
  this_._impl_.instant_url_post_params_.Destroy();
  this_._impl_.image_url_post_params_.Destroy();
  this_._impl_.new_tab_url_.Destroy();
  this_._impl_.~Impl_();
}

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite SearchEngineSpecifics_class_data_ =
    SearchEngineSpecifics::InternalGenerateClassData_(SearchEngineSpecifics_globals_._default);

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

  cached_has_bits = _impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.alternate_urls_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.short_name_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.keyword_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _impl_.favicon_url_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _impl_.url_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      _impl_.originating_url_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      _impl_.input_encodings_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      _impl_.suggestions_url_.ClearNonDefaultToEmpty();
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x0000ff00U)) {
    if (CheckHasBit(cached_has_bits, 0x00000100U)) {
      _impl_.instant_url_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000200U)) {
      _impl_.sync_guid_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000400U)) {
      _impl_.search_terms_replacement_key_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000800U)) {
      _impl_.image_url_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00001000U)) {
      _impl_.search_url_post_params_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00002000U)) {
      _impl_.suggestions_url_post_params_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00004000U)) {
      _impl_.instant_url_post_params_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00008000U)) {
      _impl_.image_url_post_params_.ClearNonDefaultToEmpty();
    }
  }
  if (CheckHasBit(cached_has_bits, 0x00010000U)) {
    _impl_.new_tab_url_.ClearNonDefaultToEmpty();
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00fe0000U)) {
    ::memset(&_impl_.date_created_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.is_active_) -
        reinterpret_cast<char*>(&_impl_.date_created_)) + sizeof(_impl_.is_active_));
  }
  _impl_.starter_pack_id_ = 0;
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

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

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

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

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

  // optional bool safe_for_autoreplace = 5;
  if (CheckHasBit(cached_has_bits, 0x00040000U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        5, this_._internal_safe_for_autoreplace(), target);
  }

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

  // optional int64 date_created = 7;
  if (CheckHasBit(cached_has_bits, 0x00020000U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<7>(
            stream, this_._internal_date_created(), target);
  }

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

  // optional bool deprecated_show_in_default_list = 9 [deprecated = true];
  if (CheckHasBit(cached_has_bits, 0x00080000U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        9, this_._internal_deprecated_show_in_default_list(), target);
  }

  // optional string suggestions_url = 10;
  if (CheckHasBit(cached_has_bits, 0x00000080U)) {
    const ::std::string& _s = this_._internal_suggestions_url();
    target = stream->WriteStringMaybeAliased(10, _s, target);
  }

  // optional int32 prepopulate_id = 11;
  if (CheckHasBit(cached_has_bits, 0x00200000U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<11>(
            stream, this_._internal_prepopulate_id(), target);
  }

  // optional bool autogenerate_keyword = 12 [deprecated = true];
  if (CheckHasBit(cached_has_bits, 0x00100000U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        12, this_._internal_autogenerate_keyword(), target);
  }

  // optional string instant_url = 15 [deprecated = true];
  if (CheckHasBit(cached_has_bits, 0x00000100U)) {
    const ::std::string& _s = this_._internal_instant_url();
    target = stream->WriteStringMaybeAliased(15, _s, target);
  }

  // optional int64 last_modified = 17;
  if (CheckHasBit(cached_has_bits, 0x00400000U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteInt64ToArray(
        17, this_._internal_last_modified(), target);
  }

  // optional string sync_guid = 18;
  if (CheckHasBit(cached_has_bits, 0x00000200U)) {
    const ::std::string& _s = this_._internal_sync_guid();
    target = stream->WriteStringMaybeAliased(18, _s, target);
  }

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

  // optional string search_terms_replacement_key = 20 [deprecated = true];
  if (CheckHasBit(cached_has_bits, 0x00000400U)) {
    const ::std::string& _s = this_._internal_search_terms_replacement_key();
    target = stream->WriteStringMaybeAliased(20, _s, target);
  }

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

  // optional string search_url_post_params = 22;
  if (CheckHasBit(cached_has_bits, 0x00001000U)) {
    const ::std::string& _s = this_._internal_search_url_post_params();
    target = stream->WriteStringMaybeAliased(22, _s, target);
  }

  // optional string suggestions_url_post_params = 23;
  if (CheckHasBit(cached_has_bits, 0x00002000U)) {
    const ::std::string& _s = this_._internal_suggestions_url_post_params();
    target = stream->WriteStringMaybeAliased(23, _s, target);
  }

  // optional string instant_url_post_params = 24 [deprecated = true];
  if (CheckHasBit(cached_has_bits, 0x00004000U)) {
    const ::std::string& _s = this_._internal_instant_url_post_params();
    target = stream->WriteStringMaybeAliased(24, _s, target);
  }

  // optional string image_url_post_params = 25;
  if (CheckHasBit(cached_has_bits, 0x00008000U)) {
    const ::std::string& _s = this_._internal_image_url_post_params();
    target = stream->WriteStringMaybeAliased(25, _s, target);
  }

  // optional string new_tab_url = 26;
  if (CheckHasBit(cached_has_bits, 0x00010000U)) {
    const ::std::string& _s = this_._internal_new_tab_url();
    target = stream->WriteStringMaybeAliased(26, _s, target);
  }

  // optional .sync_pb.SearchEngineSpecifics.ActiveStatus is_active = 27;
  if (CheckHasBit(cached_has_bits, 0x00800000U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        27, this_._internal_is_active(), target);
  }

  // optional int32 starter_pack_id = 28;
  if (CheckHasBit(cached_has_bits, 0x01000000U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(
        28, this_._internal_starter_pack_id(), target);
  }

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

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

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

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
  cached_has_bits = this_._impl_._has_bits_[0];
  total_size += ::absl::popcount(0x001c0000U & cached_has_bits) * 2;
  if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
    // repeated string alternate_urls = 19;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size +=
          2 * ::google::protobuf::internal::FromIntSize(this_._internal_alternate_urls().size());
      for (int i = 0, n = this_._internal_alternate_urls().size(); i < n; ++i) {
        total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
            this_._internal_alternate_urls().Get(i));
      }
    }
    // optional string short_name = 1;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_short_name());
    }
    // optional string keyword = 2;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_keyword());
    }
    // optional string favicon_url = 3;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_favicon_url());
    }
    // optional string url = 4;
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_url());
    }
    // optional string originating_url = 6;
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_originating_url());
    }
    // optional string input_encodings = 8;
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_input_encodings());
    }
    // optional string suggestions_url = 10;
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_suggestions_url());
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x0000ff00U)) {
    // optional string instant_url = 15 [deprecated = true];
    if (CheckHasBit(cached_has_bits, 0x00000100U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_instant_url());
    }
    // optional string sync_guid = 18;
    if (CheckHasBit(cached_has_bits, 0x00000200U)) {
      total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_sync_guid());
    }
    // optional string search_terms_replacement_key = 20 [deprecated = true];
    if (CheckHasBit(cached_has_bits, 0x00000400U)) {
      total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_search_terms_replacement_key());
    }
    // optional string image_url = 21;
    if (CheckHasBit(cached_has_bits, 0x00000800U)) {
      total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_image_url());
    }
    // optional string search_url_post_params = 22;
    if (CheckHasBit(cached_has_bits, 0x00001000U)) {
      total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_search_url_post_params());
    }
    // optional string suggestions_url_post_params = 23;
    if (CheckHasBit(cached_has_bits, 0x00002000U)) {
      total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_suggestions_url_post_params());
    }
    // optional string instant_url_post_params = 24 [deprecated = true];
    if (CheckHasBit(cached_has_bits, 0x00004000U)) {
      total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_instant_url_post_params());
    }
    // optional string image_url_post_params = 25;
    if (CheckHasBit(cached_has_bits, 0x00008000U)) {
      total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_image_url_post_params());
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00e30000U)) {
    // optional string new_tab_url = 26;
    if (CheckHasBit(cached_has_bits, 0x00010000U)) {
      total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_new_tab_url());
    }
    // optional int64 date_created = 7;
    if (CheckHasBit(cached_has_bits, 0x00020000U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_date_created());
    }
    // optional int32 prepopulate_id = 11;
    if (CheckHasBit(cached_has_bits, 0x00200000U)) {
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
          this_._internal_prepopulate_id());
    }
    // optional int64 last_modified = 17;
    if (CheckHasBit(cached_has_bits, 0x00400000U)) {
      total_size += 2 + ::_pbi::WireFormatLite::Int64Size(
                                      this_._internal_last_modified());
    }
    // optional .sync_pb.SearchEngineSpecifics.ActiveStatus is_active = 27;
    if (CheckHasBit(cached_has_bits, 0x00800000U)) {
      total_size += 2 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_is_active());
    }
  }
   {
    // optional int32 starter_pack_id = 28;
    if (CheckHasBit(cached_has_bits, 0x01000000U)) {
      total_size += 2 + ::_pbi::WireFormatLite::Int32Size(
                                      this_._internal_starter_pack_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 SearchEngineSpecifics::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<SearchEngineSpecifics*>(&to_msg);
  auto& from = static_cast<const SearchEngineSpecifics&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.SearchEngineSpecifics)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = from._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_mutable_alternate_urls()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_alternate_urls());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_short_name(from._internal_short_name());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_internal_set_keyword(from._internal_keyword());
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_internal_set_favicon_url(from._internal_favicon_url());
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _this->_internal_set_url(from._internal_url());
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      _this->_internal_set_originating_url(from._internal_originating_url());
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      _this->_internal_set_input_encodings(from._internal_input_encodings());
    }
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      _this->_internal_set_suggestions_url(from._internal_suggestions_url());
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x0000ff00U)) {
    if (CheckHasBit(cached_has_bits, 0x00000100U)) {
      _this->_internal_set_instant_url(from._internal_instant_url());
    }
    if (CheckHasBit(cached_has_bits, 0x00000200U)) {
      _this->_internal_set_sync_guid(from._internal_sync_guid());
    }
    if (CheckHasBit(cached_has_bits, 0x00000400U)) {
      _this->_internal_set_search_terms_replacement_key(from._internal_search_terms_replacement_key());
    }
    if (CheckHasBit(cached_has_bits, 0x00000800U)) {
      _this->_internal_set_image_url(from._internal_image_url());
    }
    if (CheckHasBit(cached_has_bits, 0x00001000U)) {
      _this->_internal_set_search_url_post_params(from._internal_search_url_post_params());
    }
    if (CheckHasBit(cached_has_bits, 0x00002000U)) {
      _this->_internal_set_suggestions_url_post_params(from._internal_suggestions_url_post_params());
    }
    if (CheckHasBit(cached_has_bits, 0x00004000U)) {
      _this->_internal_set_instant_url_post_params(from._internal_instant_url_post_params());
    }
    if (CheckHasBit(cached_has_bits, 0x00008000U)) {
      _this->_internal_set_image_url_post_params(from._internal_image_url_post_params());
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00ff0000U)) {
    if (CheckHasBit(cached_has_bits, 0x00010000U)) {
      _this->_internal_set_new_tab_url(from._internal_new_tab_url());
    }
    if (CheckHasBit(cached_has_bits, 0x00020000U)) {
      _this->_impl_.date_created_ = from._impl_.date_created_;
    }
    if (CheckHasBit(cached_has_bits, 0x00040000U)) {
      _this->_impl_.safe_for_autoreplace_ = from._impl_.safe_for_autoreplace_;
    }
    if (CheckHasBit(cached_has_bits, 0x00080000U)) {
      _this->_impl_.deprecated_show_in_default_list_ = from._impl_.deprecated_show_in_default_list_;
    }
    if (CheckHasBit(cached_has_bits, 0x00100000U)) {
      _this->_impl_.autogenerate_keyword_ = from._impl_.autogenerate_keyword_;
    }
    if (CheckHasBit(cached_has_bits, 0x00200000U)) {
      _this->_impl_.prepopulate_id_ = from._impl_.prepopulate_id_;
    }
    if (CheckHasBit(cached_has_bits, 0x00400000U)) {
      _this->_impl_.last_modified_ = from._impl_.last_modified_;
    }
    if (CheckHasBit(cached_has_bits, 0x00800000U)) {
      _this->_impl_.is_active_ = from._impl_.is_active_;
    }
  }
  if (CheckHasBit(cached_has_bits, 0x01000000U)) {
    _this->_impl_.starter_pack_id_ = from._impl_.starter_pack_id_;
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void SearchEngineSpecifics::InternalSwap(SearchEngineSpecifics* 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_.alternate_urls_.InternalSwap(&other->_impl_.alternate_urls_);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.short_name_, &other->_impl_.short_name_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.keyword_, &other->_impl_.keyword_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.favicon_url_, &other->_impl_.favicon_url_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.url_, &other->_impl_.url_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.originating_url_, &other->_impl_.originating_url_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.input_encodings_, &other->_impl_.input_encodings_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.suggestions_url_, &other->_impl_.suggestions_url_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.instant_url_, &other->_impl_.instant_url_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.sync_guid_, &other->_impl_.sync_guid_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.search_terms_replacement_key_, &other->_impl_.search_terms_replacement_key_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.image_url_, &other->_impl_.image_url_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.search_url_post_params_, &other->_impl_.search_url_post_params_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.suggestions_url_post_params_, &other->_impl_.suggestions_url_post_params_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.instant_url_post_params_, &other->_impl_.instant_url_post_params_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.image_url_post_params_, &other->_impl_.image_url_post_params_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.new_tab_url_, &other->_impl_.new_tab_url_, arena);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(SearchEngineSpecifics, _impl_.starter_pack_id_)
      + sizeof(SearchEngineSpecifics::_impl_.starter_pack_id_)
      - PROTOBUF_FIELD_OFFSET(SearchEngineSpecifics, _impl_.date_created_)>(
          reinterpret_cast<char*>(&_impl_.date_created_),
          reinterpret_cast<char*>(&other->_impl_.date_created_));
}

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