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

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

constexpr LatLng::ParseTableT_ LatLng::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(LatLng, _impl_._has_bits_),
      0, // no _extensions_
      2, 8,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967292,  // skipmap
      offsetof(ParseTableT_, field_entries),
      2,  // num_field_entries
      0,  // num_aux_entries
      offsetof(ParseTableT_, field_names),  // no aux_entries
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::omnibox::LatLng>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // optional sfixed32 longitude_e7 = 2;
      {::_pbi::TcParser::FastF32S1,
       {21, 1, 0,
        PROTOBUF_FIELD_OFFSET(LatLng, _impl_.longitude_e7_)}},
      // optional sfixed32 latitude_e7 = 1;
      {::_pbi::TcParser::FastF32S1,
       {13, 0, 0,
        PROTOBUF_FIELD_OFFSET(LatLng, _impl_.latitude_e7_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional sfixed32 latitude_e7 = 1;
      {PROTOBUF_FIELD_OFFSET(LatLng, _impl_.latitude_e7_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kSFixed32)},
      // optional sfixed32 longitude_e7 = 2;
      {PROTOBUF_FIELD_OFFSET(LatLng, _impl_.longitude_e7_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kSFixed32)},
    }},
    // no aux_entries
    {{
    }},
  };
}


inline constexpr LatLng::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        latitude_e7_{0},
        longitude_e7_{0} {}

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

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

constexpr LocationDescriptor::ParseTableT_ LocationDescriptor::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(LocationDescriptor, _impl_._has_bits_),
      0, // no _extensions_
      25, 56,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4278189736,  // skipmap
      offsetof(ParseTableT_, field_entries),
      7,  // num_field_entries
      5,  // num_aux_entries
      offsetof(ParseTableT_, aux_entries),
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::omnibox::LocationDescriptor>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // optional .omnibox.LocationRole role = 1 [default = UNKNOWN_ROLE];
      {::_pbi::TcParser::FastEr0S1,
       {8, 1, 1,
        PROTOBUF_FIELD_OFFSET(LocationDescriptor, _impl_.role_)}},
      // optional .omnibox.LocationProducer producer = 2 [default = UNKNOWN_PRODUCER];
      {::_pbi::TcParser::FastEvS1,
       {16, 2, 2,
        PROTOBUF_FIELD_OFFSET(LocationDescriptor, _impl_.producer_)}},
      // optional int64 timestamp = 3;
      {::_pbi::TcParser::FastV64S1,
       {24, 3, 0,
        PROTOBUF_FIELD_OFFSET(LocationDescriptor, _impl_.timestamp_)}},
      {::_pbi::TcParser::MiniParse, {}},
      // optional .omnibox.LatLng latlng = 5;
      {::_pbi::TcParser::FastMtS1,
       {42, 0, 0,
        PROTOBUF_FIELD_OFFSET(LocationDescriptor, _impl_.latlng_)}},
      {::_pbi::TcParser::MiniParse, {}},
      // optional float radius = 7;
      {::_pbi::TcParser::FastF32S1,
       {61, 6, 0,
        PROTOBUF_FIELD_OFFSET(LocationDescriptor, _impl_.radius_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional .omnibox.LocationRole role = 1 [default = UNKNOWN_ROLE];
      {PROTOBUF_FIELD_OFFSET(LocationDescriptor, _impl_.role_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
      // optional .omnibox.LocationProducer producer = 2 [default = UNKNOWN_PRODUCER];
      {PROTOBUF_FIELD_OFFSET(LocationDescriptor, _impl_.producer_), _Internal::kHasBitsOffset + 2, 2, (0 | ::_fl::kFcOptional | ::_fl::kEnum)},
      // optional int64 timestamp = 3;
      {PROTOBUF_FIELD_OFFSET(LocationDescriptor, _impl_.timestamp_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
      // optional .omnibox.LatLng latlng = 5;
      {PROTOBUF_FIELD_OFFSET(LocationDescriptor, _impl_.latlng_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // optional float radius = 7;
      {PROTOBUF_FIELD_OFFSET(LocationDescriptor, _impl_.radius_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kFloat)},
      // optional .omnibox.LocationProvenance provenance = 9;
      {PROTOBUF_FIELD_OFFSET(LocationDescriptor, _impl_.provenance_), _Internal::kHasBitsOffset + 4, 3, (0 | ::_fl::kFcOptional | ::_fl::kEnum)},
      // optional .omnibox.PermissionGranularity permission_granularity = 25;
      {PROTOBUF_FIELD_OFFSET(LocationDescriptor, _impl_.permission_granularity_), _Internal::kHasBitsOffset + 5, 4, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::omnibox::LatLng>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::omnibox::LatLng_globals_},
        #endif
        {0, 1},
        {::_pbi::FieldAuxEnumData{}, ::omnibox::LocationProducer_internal_data_},
        {::_pbi::FieldAuxEnumData{}, ::omnibox::LocationProvenance_internal_data_},
        {0, 2},
    }},
    {{
    }},
  };
}


inline constexpr LocationDescriptor::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        latlng_{nullptr},
        role_{static_cast< ::omnibox::LocationRole >(0)},
        producer_{static_cast< ::omnibox::LocationProducer >(0)},
        timestamp_{::int64_t{0}},
        provenance_{static_cast< ::omnibox::LocationProvenance >(0)},
        permission_granularity_{static_cast< ::omnibox::PermissionGranularity >(0)},
        radius_{0} {}

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

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST LocationDescriptorGlobalsTypeInternal LocationDescriptor_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* LocationDescriptor_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return LocationDescriptor_globals_.GetClassData();
#else
  return LocationDescriptor_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
}  // namespace omnibox
namespace omnibox {
PROTOBUF_CONSTINIT const uint32_t LocationRole_internal_data_[] = {
    131072u, 0u, };
static const char LocationRole_names[] = {
    "CURRENT_LOCATION"
    "UNKNOWN_ROLE"
};

static const ::google::protobuf::internal::EnumEntry LocationRole_entries[] = {
    {{&LocationRole_names[0], 16}, 1},
    {{&LocationRole_names[16], 12}, 0},
};

static const int LocationRole_entries_by_number[] = {
    1,  // 0 -> UNKNOWN_ROLE
    0,  // 1 -> CURRENT_LOCATION
};

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

const ::std::string& LocationRole_Name(LocationRole value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      LocationRole_entries, LocationRole_entries_by_number, 2,
      LocationRole_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(LocationRole_entries,
                                  LocationRole_entries_by_number,
                                  2, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : LocationRole_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t LocationProducer_internal_data_[] = {
    65536u, 32u, 2048u, };
static const char LocationProducer_names[] = {
    "DEVICE_LOCATION"
    "UNKNOWN_PRODUCER"
};

static const ::google::protobuf::internal::EnumEntry LocationProducer_entries[] = {
    {{&LocationProducer_names[0], 15}, 12},
    {{&LocationProducer_names[15], 16}, 0},
};

static const int LocationProducer_entries_by_number[] = {
    1,  // 0 -> UNKNOWN_PRODUCER
    0,  // 12 -> DEVICE_LOCATION
};

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

const ::std::string& LocationProducer_Name(LocationProducer value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      LocationProducer_entries, LocationProducer_entries_by_number, 2,
      LocationProducer_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(LocationProducer_entries,
                                  LocationProducer_entries_by_number,
                                  2, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : LocationProducer_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t PermissionGranularity_internal_data_[] = {
    196608u, 0u, };
static const char PermissionGranularity_names[] = {
    "PERMISSION_GRANULARITY_COARSE"
    "PERMISSION_GRANULARITY_FINE"
    "PERMISSION_GRANULARITY_UNKNOWN"
};

static const ::google::protobuf::internal::EnumEntry PermissionGranularity_entries[] = {
    {{&PermissionGranularity_names[0], 29}, 1},
    {{&PermissionGranularity_names[29], 27}, 2},
    {{&PermissionGranularity_names[56], 30}, 0},
};

static const int PermissionGranularity_entries_by_number[] = {
    2,  // 0 -> PERMISSION_GRANULARITY_UNKNOWN
    0,  // 1 -> PERMISSION_GRANULARITY_COARSE
    1,  // 2 -> PERMISSION_GRANULARITY_FINE
};

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

const ::std::string& PermissionGranularity_Name(PermissionGranularity value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      PermissionGranularity_entries, PermissionGranularity_entries_by_number, 3,
      PermissionGranularity_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(PermissionGranularity_entries,
                                  PermissionGranularity_entries_by_number,
                                  3, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : PermissionGranularity_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t LocationProvenance_internal_data_[] = {
    65536u, 32u, 4224u, };
static const char LocationProvenance_names[] = {
    "FORWARDED_FROM_PROXY"
    "UNREMARKABLE"
    "XGEO_HEADER"
};

static const ::google::protobuf::internal::EnumEntry LocationProvenance_entries[] = {
    {{&LocationProvenance_names[0], 20}, 13},
    {{&LocationProvenance_names[20], 12}, 0},
    {{&LocationProvenance_names[32], 11}, 8},
};

static const int LocationProvenance_entries_by_number[] = {
    1,  // 0 -> UNREMARKABLE
    2,  // 8 -> XGEO_HEADER
    0,  // 13 -> FORWARDED_FROM_PROXY
};

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

const ::std::string& LocationProvenance_Name(LocationProvenance value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      LocationProvenance_entries, LocationProvenance_entries_by_number, 3,
      LocationProvenance_strings);
  (void)kDummy;

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

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

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite LatLng_class_data_ =
    LatLng::InternalGenerateClassData_(LatLng_globals_._default);

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

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

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // optional sfixed32 latitude_e7 = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteSFixed32ToArray(
        1, this_._internal_latitude_e7(), target);
  }

  // optional sfixed32 longitude_e7 = 2;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteSFixed32ToArray(
        2, this_._internal_longitude_e7(), 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:omnibox.LatLng)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t LatLng::ByteSizeLong(const MessageLite& base) {
  const LatLng& this_ = static_cast<const LatLng&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t LatLng::ByteSizeLong() const {
  const LatLng& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:omnibox.LatLng)
  ::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(0x00000003U & cached_has_bits) * 5;
  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 LatLng::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<LatLng*>(&to_msg);
  auto& from = static_cast<const LatLng&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:omnibox.LatLng)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

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

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


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

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

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

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

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

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

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite LocationDescriptor_class_data_ =
    LocationDescriptor::InternalGenerateClassData_(LocationDescriptor_globals_._default);

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

  cached_has_bits = _impl_._has_bits_[0];
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    ABSL_DCHECK(_impl_.latlng_ != nullptr);
    _impl_.latlng_->Clear();
  }
  if (BatchCheckHasBit(cached_has_bits, 0x0000007eU)) {
    ::memset(&_impl_.role_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.radius_) -
        reinterpret_cast<char*>(&_impl_.role_)) + sizeof(_impl_.radius_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // optional .omnibox.LocationRole role = 1 [default = UNKNOWN_ROLE];
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        1, this_._internal_role(), target);
  }

  // optional .omnibox.LocationProducer producer = 2 [default = UNKNOWN_PRODUCER];
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        2, this_._internal_producer(), target);
  }

  // optional int64 timestamp = 3;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<3>(
            stream, this_._internal_timestamp(), target);
  }

  // optional .omnibox.LatLng latlng = 5;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        5, *this_._impl_.latlng_, this_._impl_.latlng_->GetCachedSize(), target,
        stream);
  }

  // optional float radius = 7;
  if (CheckHasBit(cached_has_bits, 0x00000040U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteFloatToArray(
        7, this_._internal_radius(), target);
  }

  // optional .omnibox.LocationProvenance provenance = 9;
  if (CheckHasBit(cached_has_bits, 0x00000010U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        9, this_._internal_provenance(), target);
  }

  // optional .omnibox.PermissionGranularity permission_granularity = 25;
  if (CheckHasBit(cached_has_bits, 0x00000020U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        25, this_._internal_permission_granularity(), 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:omnibox.LocationDescriptor)
  return target;
}

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

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

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
  cached_has_bits = this_._impl_._has_bits_[0];
  total_size += static_cast<bool>(0x00000040U & cached_has_bits) * 5;
  if (BatchCheckHasBit(cached_has_bits, 0x0000003fU)) {
    // optional .omnibox.LatLng latlng = 5;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.latlng_);
    }
    // optional .omnibox.LocationRole role = 1 [default = UNKNOWN_ROLE];
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_role());
    }
    // optional .omnibox.LocationProducer producer = 2 [default = UNKNOWN_PRODUCER];
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_producer());
    }
    // optional int64 timestamp = 3;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_timestamp());
    }
    // optional .omnibox.LocationProvenance provenance = 9;
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_provenance());
    }
    // optional .omnibox.PermissionGranularity permission_granularity = 25;
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      total_size += 2 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_permission_granularity());
    }
  }
  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 LocationDescriptor::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<LocationDescriptor*>(&to_msg);
  auto& from = static_cast<const LocationDescriptor&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:omnibox.LocationDescriptor)
  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)) {
      ABSL_DCHECK(from._impl_.latlng_ != nullptr);
      if (_this->_impl_.latlng_ == nullptr) {
        _this->_impl_.latlng_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.latlng_);
      } else {
        _this->_impl_.latlng_->MergeFrom(*from._impl_.latlng_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_impl_.role_ = from._impl_.role_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_impl_.producer_ = from._impl_.producer_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_impl_.timestamp_ = from._impl_.timestamp_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _this->_impl_.provenance_ = from._impl_.provenance_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      _this->_impl_.permission_granularity_ = from._impl_.permission_granularity_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      _this->_impl_.radius_ = from._impl_.radius_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


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

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