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

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

constexpr LensOverlayUrlResponse::ParseTableT_ LensOverlayUrlResponse::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(LensOverlayUrlResponse, _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<::lens::proto::LensOverlayUrlResponse>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // optional string page_url = 2;
      {::_pbi::TcParser::FastBS1,
       {18, 1, 0,
        PROTOBUF_FIELD_OFFSET(LensOverlayUrlResponse, _impl_.page_url_)}},
      // optional string url = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(LensOverlayUrlResponse, _impl_.url_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional string url = 1;
      {PROTOBUF_FIELD_OFFSET(LensOverlayUrlResponse, _impl_.url_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string page_url = 2;
      {PROTOBUF_FIELD_OFFSET(LensOverlayUrlResponse, _impl_.page_url_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
    }},
    // no aux_entries
    {{
    }},
  };
}


inline constexpr LensOverlayUrlResponse::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        url_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        page_url_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()) {}

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

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

constexpr LensOverlaySuggestInputs::ParseTableT_ LensOverlaySuggestInputs::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(LensOverlaySuggestInputs, _impl_._has_bits_),
      0, // no _extensions_
      12, 120,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294963200,  // skipmap
      offsetof(ParseTableT_, field_entries),
      12,  // 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<::lens::proto::LensOverlaySuggestInputs>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // optional string encoded_image_signals = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(LensOverlaySuggestInputs, _impl_.encoded_image_signals_)}},
      // optional string encoded_request_id = 2;
      {::_pbi::TcParser::FastBS1,
       {18, 1, 0,
        PROTOBUF_FIELD_OFFSET(LensOverlaySuggestInputs, _impl_.encoded_request_id_)}},
      // optional string search_session_id = 3;
      {::_pbi::TcParser::FastBS1,
       {26, 2, 0,
        PROTOBUF_FIELD_OFFSET(LensOverlaySuggestInputs, _impl_.search_session_id_)}},
      // optional string encoded_visual_search_interaction_log_data = 4;
      {::_pbi::TcParser::FastBS1,
       {34, 3, 0,
        PROTOBUF_FIELD_OFFSET(LensOverlaySuggestInputs, _impl_.encoded_visual_search_interaction_log_data_)}},
      // optional bool send_gsession_vsrid_for_contextual_suggest = 5;
      {::_pbi::TcParser::FastV8S1,
       {40, 8, 0,
        PROTOBUF_FIELD_OFFSET(LensOverlaySuggestInputs, _impl_.send_gsession_vsrid_for_contextual_suggest_)}},
      // optional bool send_gsession_vsrid_vit_for_lens_suggest = 6;
      {::_pbi::TcParser::FastV8S1,
       {48, 9, 0,
        PROTOBUF_FIELD_OFFSET(LensOverlaySuggestInputs, _impl_.send_gsession_vsrid_vit_for_lens_suggest_)}},
      // optional bool send_vsint_for_lens_suggest = 7;
      {::_pbi::TcParser::FastV8S1,
       {56, 10, 0,
        PROTOBUF_FIELD_OFFSET(LensOverlaySuggestInputs, _impl_.send_vsint_for_lens_suggest_)}},
      // optional string contextual_visual_input_type = 8;
      {::_pbi::TcParser::FastBS1,
       {66, 4, 0,
        PROTOBUF_FIELD_OFFSET(LensOverlaySuggestInputs, _impl_.contextual_visual_input_type_)}},
      // optional bool send_page_title_and_url = 9;
      {::_pbi::TcParser::FastV8S1,
       {72, 11, 0,
        PROTOBUF_FIELD_OFFSET(LensOverlaySuggestInputs, _impl_.send_page_title_and_url_)}},
      // optional string page_title = 10;
      {::_pbi::TcParser::FastBS1,
       {82, 5, 0,
        PROTOBUF_FIELD_OFFSET(LensOverlaySuggestInputs, _impl_.page_title_)}},
      // optional string page_url = 11;
      {::_pbi::TcParser::FastBS1,
       {90, 6, 0,
        PROTOBUF_FIELD_OFFSET(LensOverlaySuggestInputs, _impl_.page_url_)}},
      // optional string encoded_contextual_inputs = 12;
      {::_pbi::TcParser::FastBS1,
       {98, 7, 0,
        PROTOBUF_FIELD_OFFSET(LensOverlaySuggestInputs, _impl_.encoded_contextual_inputs_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // optional string encoded_image_signals = 1;
      {PROTOBUF_FIELD_OFFSET(LensOverlaySuggestInputs, _impl_.encoded_image_signals_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string encoded_request_id = 2;
      {PROTOBUF_FIELD_OFFSET(LensOverlaySuggestInputs, _impl_.encoded_request_id_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string search_session_id = 3;
      {PROTOBUF_FIELD_OFFSET(LensOverlaySuggestInputs, _impl_.search_session_id_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string encoded_visual_search_interaction_log_data = 4;
      {PROTOBUF_FIELD_OFFSET(LensOverlaySuggestInputs, _impl_.encoded_visual_search_interaction_log_data_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional bool send_gsession_vsrid_for_contextual_suggest = 5;
      {PROTOBUF_FIELD_OFFSET(LensOverlaySuggestInputs, _impl_.send_gsession_vsrid_for_contextual_suggest_), _Internal::kHasBitsOffset + 8, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // optional bool send_gsession_vsrid_vit_for_lens_suggest = 6;
      {PROTOBUF_FIELD_OFFSET(LensOverlaySuggestInputs, _impl_.send_gsession_vsrid_vit_for_lens_suggest_), _Internal::kHasBitsOffset + 9, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // optional bool send_vsint_for_lens_suggest = 7;
      {PROTOBUF_FIELD_OFFSET(LensOverlaySuggestInputs, _impl_.send_vsint_for_lens_suggest_), _Internal::kHasBitsOffset + 10, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // optional string contextual_visual_input_type = 8;
      {PROTOBUF_FIELD_OFFSET(LensOverlaySuggestInputs, _impl_.contextual_visual_input_type_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional bool send_page_title_and_url = 9;
      {PROTOBUF_FIELD_OFFSET(LensOverlaySuggestInputs, _impl_.send_page_title_and_url_), _Internal::kHasBitsOffset + 11, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // optional string page_title = 10;
      {PROTOBUF_FIELD_OFFSET(LensOverlaySuggestInputs, _impl_.page_title_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string page_url = 11;
      {PROTOBUF_FIELD_OFFSET(LensOverlaySuggestInputs, _impl_.page_url_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string encoded_contextual_inputs = 12;
      {PROTOBUF_FIELD_OFFSET(LensOverlaySuggestInputs, _impl_.encoded_contextual_inputs_), _Internal::kHasBitsOffset + 7, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
    }},
    // no aux_entries
    {{
    }},
  };
}


inline constexpr LensOverlaySuggestInputs::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        encoded_image_signals_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        encoded_request_id_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        search_session_id_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        encoded_visual_search_interaction_log_data_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        contextual_visual_input_type_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        page_title_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        page_url_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        encoded_contextual_inputs_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        send_gsession_vsrid_for_contextual_suggest_{false},
        send_gsession_vsrid_vit_for_lens_suggest_{false},
        send_vsint_for_lens_suggest_{false},
        send_page_title_and_url_{false} {}

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

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST LensOverlaySuggestInputsGlobalsTypeInternal LensOverlaySuggestInputs_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* LensOverlaySuggestInputs_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return LensOverlaySuggestInputs_globals_.GetClassData();
#else
  return LensOverlaySuggestInputs_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
}  // namespace proto
}  // namespace lens
namespace lens {
namespace proto {
// ===================================================================

LensOverlaySuggestInputs::LensOverlaySuggestInputs(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, LensOverlaySuggestInputs_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:lens.proto.LensOverlaySuggestInputs)
}
PROTOBUF_NDEBUG_INLINE LensOverlaySuggestInputs::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::lens::proto::LensOverlaySuggestInputs& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        encoded_image_signals_(arena, from.encoded_image_signals_),
        encoded_request_id_(arena, from.encoded_request_id_),
        search_session_id_(arena, from.search_session_id_),
        encoded_visual_search_interaction_log_data_(arena, from.encoded_visual_search_interaction_log_data_),
        contextual_visual_input_type_(arena, from.contextual_visual_input_type_),
        page_title_(arena, from.page_title_),
        page_url_(arena, from.page_url_),
        encoded_contextual_inputs_(arena, from.encoded_contextual_inputs_) {}

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

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

  // @@protoc_insertion_point(copy_constructor:lens.proto.LensOverlaySuggestInputs)
}
PROTOBUF_NDEBUG_INLINE LensOverlaySuggestInputs::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        encoded_image_signals_(arena),
        encoded_request_id_(arena),
        search_session_id_(arena),
        encoded_visual_search_interaction_log_data_(arena),
        contextual_visual_input_type_(arena),
        page_title_(arena),
        page_url_(arena),
        encoded_contextual_inputs_(arena) {}

inline void LensOverlaySuggestInputs::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
  ::memset(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, send_gsession_vsrid_for_contextual_suggest_),
           0,
           offsetof(Impl_, send_page_title_and_url_) -
               offsetof(Impl_, send_gsession_vsrid_for_contextual_suggest_) +
               sizeof(Impl_::send_page_title_and_url_));
}
LensOverlaySuggestInputs::~LensOverlaySuggestInputs() {
  // @@protoc_insertion_point(destructor:lens.proto.LensOverlaySuggestInputs)
  SharedDtor(*this);
}
inline void LensOverlaySuggestInputs::SharedDtor(MessageLite& self) {
  LensOverlaySuggestInputs& this_ = static_cast<LensOverlaySuggestInputs&>(self);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  this_._internal_metadata_.Delete<::std::string>();
  ABSL_DCHECK(this_.GetArena() == nullptr);
  this_._impl_.encoded_image_signals_.Destroy();
  this_._impl_.encoded_request_id_.Destroy();
  this_._impl_.search_session_id_.Destroy();
  this_._impl_.encoded_visual_search_interaction_log_data_.Destroy();
  this_._impl_.contextual_visual_input_type_.Destroy();
  this_._impl_.page_title_.Destroy();
  this_._impl_.page_url_.Destroy();
  this_._impl_.encoded_contextual_inputs_.Destroy();
  this_._impl_.~Impl_();
}

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite LensOverlaySuggestInputs_class_data_ =
    LensOverlaySuggestInputs::InternalGenerateClassData_(LensOverlaySuggestInputs_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
LensOverlaySuggestInputs::GetClassData() const {
  return LensOverlaySuggestInputs_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
LensOverlaySuggestInputs::GetClassData() const {
  return LensOverlaySuggestInputs_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const LensOverlaySuggestInputs::ParseTableT_
    LensOverlaySuggestInputs::_table_ =
        LensOverlaySuggestInputs::InternalGenerateParseTable_(LensOverlaySuggestInputs_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void LensOverlaySuggestInputs::Clear() {
// @@protoc_insertion_point(message_clear_start:lens.proto.LensOverlaySuggestInputs)
  ::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_.encoded_image_signals_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.encoded_request_id_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.search_session_id_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _impl_.encoded_visual_search_interaction_log_data_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _impl_.contextual_visual_input_type_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      _impl_.page_title_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      _impl_.page_url_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      _impl_.encoded_contextual_inputs_.ClearNonDefaultToEmpty();
    }
  }
  ::memset(&_impl_.send_gsession_vsrid_for_contextual_suggest_, 0, static_cast<::size_t>(
      reinterpret_cast<char*>(&_impl_.send_page_title_and_url_) -
      reinterpret_cast<char*>(&_impl_.send_gsession_vsrid_for_contextual_suggest_)) + sizeof(_impl_.send_page_title_and_url_));
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

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

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

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

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

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

  // optional bool send_gsession_vsrid_vit_for_lens_suggest = 6;
  if (CheckHasBit(cached_has_bits, 0x00000200U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        6, this_._internal_send_gsession_vsrid_vit_for_lens_suggest(), target);
  }

  // optional bool send_vsint_for_lens_suggest = 7;
  if (CheckHasBit(cached_has_bits, 0x00000400U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        7, this_._internal_send_vsint_for_lens_suggest(), target);
  }

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

  // optional bool send_page_title_and_url = 9;
  if (CheckHasBit(cached_has_bits, 0x00000800U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        9, this_._internal_send_page_title_and_url(), target);
  }

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

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

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

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

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t LensOverlaySuggestInputs::ByteSizeLong(const MessageLite& base) {
  const LensOverlaySuggestInputs& this_ = static_cast<const LensOverlaySuggestInputs&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t LensOverlaySuggestInputs::ByteSizeLong() const {
  const LensOverlaySuggestInputs& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:lens.proto.LensOverlaySuggestInputs)
  ::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(0x00000f00U & cached_has_bits) * 2;
  if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
    // optional string encoded_image_signals = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_encoded_image_signals());
    }
    // optional string encoded_request_id = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_encoded_request_id());
    }
    // optional string search_session_id = 3;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_search_session_id());
    }
    // optional string encoded_visual_search_interaction_log_data = 4;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_encoded_visual_search_interaction_log_data());
    }
    // optional string contextual_visual_input_type = 8;
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_contextual_visual_input_type());
    }
    // optional string page_title = 10;
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_page_title());
    }
    // optional string page_url = 11;
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_page_url());
    }
    // optional string encoded_contextual_inputs = 12;
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_encoded_contextual_inputs());
    }
  }
  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 LensOverlaySuggestInputs::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<LensOverlaySuggestInputs*>(&to_msg);
  auto& from = static_cast<const LensOverlaySuggestInputs&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:lens.proto.LensOverlaySuggestInputs)
  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_set_encoded_image_signals(from._internal_encoded_image_signals());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_encoded_request_id(from._internal_encoded_request_id());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_internal_set_search_session_id(from._internal_search_session_id());
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_internal_set_encoded_visual_search_interaction_log_data(from._internal_encoded_visual_search_interaction_log_data());
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _this->_internal_set_contextual_visual_input_type(from._internal_contextual_visual_input_type());
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      _this->_internal_set_page_title(from._internal_page_title());
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      _this->_internal_set_page_url(from._internal_page_url());
    }
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      _this->_internal_set_encoded_contextual_inputs(from._internal_encoded_contextual_inputs());
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000f00U)) {
    if (CheckHasBit(cached_has_bits, 0x00000100U)) {
      _this->_impl_.send_gsession_vsrid_for_contextual_suggest_ = from._impl_.send_gsession_vsrid_for_contextual_suggest_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000200U)) {
      _this->_impl_.send_gsession_vsrid_vit_for_lens_suggest_ = from._impl_.send_gsession_vsrid_vit_for_lens_suggest_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000400U)) {
      _this->_impl_.send_vsint_for_lens_suggest_ = from._impl_.send_vsint_for_lens_suggest_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000800U)) {
      _this->_impl_.send_page_title_and_url_ = from._impl_.send_page_title_and_url_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void LensOverlaySuggestInputs::InternalSwap(LensOverlaySuggestInputs* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
  using ::std::swap;
  auto* arena = GetArena();
  ABSL_DCHECK_EQ(arena, other->GetArena());
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.encoded_image_signals_, &other->_impl_.encoded_image_signals_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.encoded_request_id_, &other->_impl_.encoded_request_id_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.search_session_id_, &other->_impl_.search_session_id_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.encoded_visual_search_interaction_log_data_, &other->_impl_.encoded_visual_search_interaction_log_data_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.contextual_visual_input_type_, &other->_impl_.contextual_visual_input_type_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.page_title_, &other->_impl_.page_title_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.page_url_, &other->_impl_.page_url_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.encoded_contextual_inputs_, &other->_impl_.encoded_contextual_inputs_, arena);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(LensOverlaySuggestInputs, _impl_.send_page_title_and_url_)
      + sizeof(LensOverlaySuggestInputs::_impl_.send_page_title_and_url_)
      - PROTOBUF_FIELD_OFFSET(LensOverlaySuggestInputs, _impl_.send_gsession_vsrid_for_contextual_suggest_)>(
          reinterpret_cast<char*>(&_impl_.send_gsession_vsrid_for_contextual_suggest_),
          reinterpret_cast<char*>(&other->_impl_.send_gsession_vsrid_for_contextual_suggest_));
}

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

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

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

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

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

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite LensOverlayUrlResponse_class_data_ =
    LensOverlayUrlResponse::InternalGenerateClassData_(LensOverlayUrlResponse_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
LensOverlayUrlResponse::GetClassData() const {
  return LensOverlayUrlResponse_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
LensOverlayUrlResponse::GetClassData() const {
  return LensOverlayUrlResponse_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const LensOverlayUrlResponse::ParseTableT_
    LensOverlayUrlResponse::_table_ =
        LensOverlayUrlResponse::InternalGenerateParseTable_(LensOverlayUrlResponse_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void LensOverlayUrlResponse::Clear() {
// @@protoc_insertion_point(message_clear_start:lens.proto.LensOverlayUrlResponse)
  ::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)) {
      _impl_.url_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.page_url_.ClearNonDefaultToEmpty();
    }
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

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

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

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

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t LensOverlayUrlResponse::ByteSizeLong(const MessageLite& base) {
  const LensOverlayUrlResponse& this_ = static_cast<const LensOverlayUrlResponse&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t LensOverlayUrlResponse::ByteSizeLong() const {
  const LensOverlayUrlResponse& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:lens.proto.LensOverlayUrlResponse)
  ::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, 0x00000003U)) {
    // optional string url = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_url());
    }
    // optional string page_url = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_page_url());
    }
  }
  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 LensOverlayUrlResponse::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<LensOverlayUrlResponse*>(&to_msg);
  auto& from = static_cast<const LensOverlayUrlResponse&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:lens.proto.LensOverlayUrlResponse)
  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->_internal_set_url(from._internal_url());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_page_url(from._internal_page_url());
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void LensOverlayUrlResponse::InternalSwap(LensOverlayUrlResponse* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
  using ::std::swap;
  auto* arena = GetArena();
  ABSL_DCHECK_EQ(arena, other->GetArena());
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.url_, &other->_impl_.url_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.page_url_, &other->_impl_.page_url_, arena);
}

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