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

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

constexpr EducationInputExtension::ParseTableT_ EducationInputExtension::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(EducationInputExtension, _impl_._has_bits_),
      0, // no _extensions_
      1, 0,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967294,  // skipmap
      offsetof(ParseTableT_, field_entries),
      1,  // num_field_entries
      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<::lens::EducationInputExtension>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // optional .lens.MathSolverQuery math_solver_query = 1;
      {::_pbi::TcParser::FastMtS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(EducationInputExtension, _impl_.math_solver_query_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional .lens.MathSolverQuery math_solver_query = 1;
      {PROTOBUF_FIELD_OFFSET(EducationInputExtension, _impl_.math_solver_query_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::lens::MathSolverQuery>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::lens::MathSolverQuery_globals_},
        #endif
    }},
    {{
    }},
  };
}


inline constexpr EducationInputExtension::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        math_solver_query_{nullptr} {}

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

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

constexpr StickinessSignals::ParseTableT_ StickinessSignals::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(StickinessSignals, _impl_._has_bits_),
      0, // no _extensions_
      121, 8,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4160749566,  // skipmap
      offsetof(ParseTableT_, field_entries),
      3,  // num_field_entries
      3,  // 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<::lens::StickinessSignals>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // optional .lens.MessageSet interpretation = 28;
      {::_pbi::TcParser::FastMtS2,
       {482, 0, 0,
        PROTOBUF_FIELD_OFFSET(StickinessSignals, _impl_.interpretation_)}},
      // optional .lens.StickinessSignals.Namespace id_namespace = 1 [default = UNKNOWN];
      {::_pbi::TcParser::FastEvS1,
       {8, 2, 2,
        PROTOBUF_FIELD_OFFSET(StickinessSignals, _impl_.id_namespace_)}},
    }}, {{
      121, 0, 1,
      65534, 2,
      65535, 65535
    }}, {{
      // optional .lens.StickinessSignals.Namespace id_namespace = 1 [default = UNKNOWN];
      {PROTOBUF_FIELD_OFFSET(StickinessSignals, _impl_.id_namespace_), _Internal::kHasBitsOffset + 2, 2, (0 | ::_fl::kFcOptional | ::_fl::kEnum)},
      // optional .lens.MessageSet interpretation = 28;
      {PROTOBUF_FIELD_OFFSET(StickinessSignals, _impl_.interpretation_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // optional .lens.EducationInputExtension education_input_extension = 121;
      {PROTOBUF_FIELD_OFFSET(StickinessSignals, _impl_.education_input_extension_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::lens::MessageSet>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::lens::MessageSet_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::lens::EducationInputExtension>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::lens::EducationInputExtension_globals_},
        #endif
        {::_pbi::FieldAuxEnumData{}, ::lens::StickinessSignals_Namespace_internal_data_},
    }},
    {{
    }},
  };
}


inline constexpr StickinessSignals::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        interpretation_{nullptr},
        education_input_extension_{nullptr},
        id_namespace_{static_cast< ::lens::StickinessSignals_Namespace >(0)} {}

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

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST StickinessSignalsGlobalsTypeInternal StickinessSignals_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* StickinessSignals_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return StickinessSignals_globals_.GetClassData();
#else
  return StickinessSignals_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
}  // namespace lens
namespace lens {
PROTOBUF_CONSTINIT const uint32_t StickinessSignals_Namespace_internal_data_[] = {
    65536u, 131072u, 79u, 56u, };
static const char StickinessSignals_Namespace_names[] = {
    "EDUCATION_INPUT"
    "TRANSLATE_LITE"
    "UNKNOWN"
};

static const ::google::protobuf::internal::EnumEntry StickinessSignals_Namespace_entries[] = {
    {{&StickinessSignals_Namespace_names[0], 15}, 79},
    {{&StickinessSignals_Namespace_names[15], 14}, 56},
    {{&StickinessSignals_Namespace_names[29], 7}, 0},
};

static const int StickinessSignals_Namespace_entries_by_number[] = {
    2,  // 0 -> UNKNOWN
    1,  // 56 -> TRANSLATE_LITE
    0,  // 79 -> EDUCATION_INPUT
};

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

const ::std::string& StickinessSignals_Namespace_Name(StickinessSignals_Namespace value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      StickinessSignals_Namespace_entries, StickinessSignals_Namespace_entries_by_number, 3,
      StickinessSignals_Namespace_strings);
  (void)kDummy;

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

void StickinessSignals::clear_interpretation() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.interpretation_ != nullptr) _impl_.interpretation_->Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
StickinessSignals::StickinessSignals(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, StickinessSignals_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:lens.StickinessSignals)
}
PROTOBUF_NDEBUG_INLINE StickinessSignals::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::lens::StickinessSignals& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0} {}

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  StickinessSignals* 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_.interpretation_ = (CheckHasBit(cached_has_bits, 0x00000001U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.interpretation_)
                : nullptr;
  _impl_.education_input_extension_ = (CheckHasBit(cached_has_bits, 0x00000002U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.education_input_extension_)
                : nullptr;
  _impl_.id_namespace_ = from._impl_.id_namespace_;

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

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite StickinessSignals_class_data_ =
    StickinessSignals::InternalGenerateClassData_(StickinessSignals_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
StickinessSignals::GetClassData() const {
  return StickinessSignals_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
StickinessSignals::GetClassData() const {
  return StickinessSignals_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const StickinessSignals::ParseTableT_
    StickinessSignals::_table_ =
        StickinessSignals::InternalGenerateParseTable_(StickinessSignals_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void StickinessSignals::Clear() {
// @@protoc_insertion_point(message_clear_start:lens.StickinessSignals)
  ::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)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      ABSL_DCHECK(_impl_.interpretation_ != nullptr);
      _impl_.interpretation_->Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      ABSL_DCHECK(_impl_.education_input_extension_ != nullptr);
      _impl_.education_input_extension_->Clear();
    }
  }
  _impl_.id_namespace_ = 0;
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // optional .lens.StickinessSignals.Namespace id_namespace = 1 [default = UNKNOWN];
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        1, this_._internal_id_namespace(), target);
  }

  // optional .lens.MessageSet interpretation = 28;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        28, *this_._impl_.interpretation_, this_._impl_.interpretation_->GetCachedSize(), target,
        stream);
  }

  // optional .lens.EducationInputExtension education_input_extension = 121;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        121, *this_._impl_.education_input_extension_, this_._impl_.education_input_extension_->GetCachedSize(), target,
        stream);
  }

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

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

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

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
  cached_has_bits = this_._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
    // optional .lens.MessageSet interpretation = 28;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 2 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.interpretation_);
    }
    // optional .lens.EducationInputExtension education_input_extension = 121;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 2 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.education_input_extension_);
    }
    // optional .lens.StickinessSignals.Namespace id_namespace = 1 [default = UNKNOWN];
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_id_namespace());
    }
  }
  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 StickinessSignals::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<StickinessSignals*>(&to_msg);
  auto& from = static_cast<const StickinessSignals&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:lens.StickinessSignals)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = from._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      ABSL_DCHECK(from._impl_.interpretation_ != nullptr);
      if (_this->_impl_.interpretation_ == nullptr) {
        _this->_impl_.interpretation_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.interpretation_);
      } else {
        _this->_impl_.interpretation_->MergeFrom(*from._impl_.interpretation_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      ABSL_DCHECK(from._impl_.education_input_extension_ != nullptr);
      if (_this->_impl_.education_input_extension_ == nullptr) {
        _this->_impl_.education_input_extension_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.education_input_extension_);
      } else {
        _this->_impl_.education_input_extension_->MergeFrom(*from._impl_.education_input_extension_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_impl_.id_namespace_ = from._impl_.id_namespace_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void StickinessSignals::InternalSwap(StickinessSignals* 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(StickinessSignals, _impl_.id_namespace_)
      + sizeof(StickinessSignals::_impl_.id_namespace_)
      - PROTOBUF_FIELD_OFFSET(StickinessSignals, _impl_.interpretation_)>(
          reinterpret_cast<char*>(&_impl_.interpretation_),
          reinterpret_cast<char*>(&other->_impl_.interpretation_));
}

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

void EducationInputExtension::clear_math_solver_query() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.math_solver_query_ != nullptr) _impl_.math_solver_query_->Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
EducationInputExtension::EducationInputExtension(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, EducationInputExtension_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:lens.EducationInputExtension)
}
PROTOBUF_NDEBUG_INLINE EducationInputExtension::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::lens::EducationInputExtension& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0} {}

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  EducationInputExtension* 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_.math_solver_query_ = (CheckHasBit(cached_has_bits, 0x00000001U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.math_solver_query_)
                : nullptr;

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

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite EducationInputExtension_class_data_ =
    EducationInputExtension::InternalGenerateClassData_(EducationInputExtension_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
EducationInputExtension::GetClassData() const {
  return EducationInputExtension_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
EducationInputExtension::GetClassData() const {
  return EducationInputExtension_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const EducationInputExtension::ParseTableT_
    EducationInputExtension::_table_ =
        EducationInputExtension::InternalGenerateParseTable_(EducationInputExtension_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void EducationInputExtension::Clear() {
// @@protoc_insertion_point(message_clear_start:lens.EducationInputExtension)
  ::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_.math_solver_query_ != nullptr);
    _impl_.math_solver_query_->Clear();
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // optional .lens.MathSolverQuery math_solver_query = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        1, *this_._impl_.math_solver_query_, this_._impl_.math_solver_query_->GetCachedSize(), target,
        stream);
  }

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

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

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

   {
    // optional .lens.MathSolverQuery math_solver_query = 1;
    cached_has_bits = this_._impl_._has_bits_[0];
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.math_solver_query_);
    }
  }
  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 EducationInputExtension::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<EducationInputExtension*>(&to_msg);
  auto& from = static_cast<const EducationInputExtension&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:lens.EducationInputExtension)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = from._impl_._has_bits_[0];
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    ABSL_DCHECK(from._impl_.math_solver_query_ != nullptr);
    if (_this->_impl_.math_solver_query_ == nullptr) {
      _this->_impl_.math_solver_query_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.math_solver_query_);
    } else {
      _this->_impl_.math_solver_query_->MergeFrom(*from._impl_.math_solver_query_);
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


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

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