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

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

constexpr ViewportRequestContext::ParseTableT_ ViewportRequestContext::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(ViewportRequestContext, _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
      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::ViewportRequestContext>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // int32 pdf_page_number = 1;
      {::_pbi::TcParser::FastV32S1,
       {8, 0, 0,
        PROTOBUF_FIELD_OFFSET(ViewportRequestContext, _impl_.pdf_page_number_)}},
    }}, {{
      65535, 65535
    }}, {{
      // int32 pdf_page_number = 1;
      {PROTOBUF_FIELD_OFFSET(ViewportRequestContext, _impl_.pdf_page_number_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
    }},
    // no aux_entries
    {{
    }},
  };
}


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

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

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

constexpr StoredChunkOptions::ParseTableT_ StoredChunkOptions::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(StoredChunkOptions, _impl_._has_bits_),
      0, // no _extensions_
      3, 24,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967288,  // skipmap
      offsetof(ParseTableT_, field_entries),
      3,  // num_field_entries
      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::StoredChunkOptions>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // bool read_stored_chunks = 1;
      {::_pbi::TcParser::FastV8S1,
       {8, 1, 0,
        PROTOBUF_FIELD_OFFSET(StoredChunkOptions, _impl_.read_stored_chunks_)}},
      // int64 total_stored_chunks = 2;
      {::_pbi::TcParser::FastV64S1,
       {16, 0, 0,
        PROTOBUF_FIELD_OFFSET(StoredChunkOptions, _impl_.total_stored_chunks_)}},
      // bool is_read_retry = 3;
      {::_pbi::TcParser::FastV8S1,
       {24, 2, 0,
        PROTOBUF_FIELD_OFFSET(StoredChunkOptions, _impl_.is_read_retry_)}},
    }}, {{
      65535, 65535
    }}, {{
      // bool read_stored_chunks = 1;
      {PROTOBUF_FIELD_OFFSET(StoredChunkOptions, _impl_.read_stored_chunks_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // int64 total_stored_chunks = 2;
      {PROTOBUF_FIELD_OFFSET(StoredChunkOptions, _impl_.total_stored_chunks_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
      // bool is_read_retry = 3;
      {PROTOBUF_FIELD_OFFSET(StoredChunkOptions, _impl_.is_read_retry_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
    }},
    // no aux_entries
    {{
    }},
  };
}


inline constexpr StoredChunkOptions::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        total_stored_chunks_{::int64_t{0}},
        read_stored_chunks_{false},
        is_read_retry_{false} {}

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

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

constexpr ChunkDebugOptions::ParseTableT_ ChunkDebugOptions::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(ChunkDebugOptions, _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::ChunkDebugOptions>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // bool query_chunks = 2;
      {::_pbi::TcParser::FastV8S1,
       {16, 1, 0,
        PROTOBUF_FIELD_OFFSET(ChunkDebugOptions, _impl_.query_chunks_)}},
      // int64 total_chunks = 1;
      {::_pbi::TcParser::FastV64S1,
       {8, 0, 0,
        PROTOBUF_FIELD_OFFSET(ChunkDebugOptions, _impl_.total_chunks_)}},
    }}, {{
      65535, 65535
    }}, {{
      // int64 total_chunks = 1;
      {PROTOBUF_FIELD_OFFSET(ChunkDebugOptions, _impl_.total_chunks_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
      // bool query_chunks = 2;
      {PROTOBUF_FIELD_OFFSET(ChunkDebugOptions, _impl_.query_chunks_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
    }},
    // no aux_entries
    {{
    }},
  };
}


inline constexpr ChunkDebugOptions::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        total_chunks_{::int64_t{0}},
        query_chunks_{false} {}

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

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

constexpr ChunkDebugMetadata::ParseTableT_ ChunkDebugMetadata::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(ChunkDebugMetadata, _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
      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::ChunkDebugMetadata>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // repeated int64 remaining_chunks = 1;
      {::_pbi::TcParser::FastV64P1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(ChunkDebugMetadata, _impl_.remaining_chunks_)}},
    }}, {{
      65535, 65535
    }}, {{
      // repeated int64 remaining_chunks = 1;
      {PROTOBUF_FIELD_OFFSET(ChunkDebugMetadata, _impl_.remaining_chunks_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt64)},
    }},
    // no aux_entries
    {{
    }},
  };
}


inline constexpr ChunkDebugMetadata::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        remaining_chunks_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::lens::ChunkDebugMetadata,
            PROTOBUF_FIELD_OFFSET(::lens::ChunkDebugMetadata, _impl_.remaining_chunks_)>()
         }
        ,
        _remaining_chunks_cached_byte_size_{0} {}

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

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

constexpr LensOverlayUploadChunkResponse::ParseTableT_ LensOverlayUploadChunkResponse::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(LensOverlayUploadChunkResponse, _impl_._has_bits_),
      0, // no _extensions_
      2, 0,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967293,  // 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::LensOverlayUploadChunkResponse>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // .lens.ChunkDebugMetadata debug_metadata = 2;
      {::_pbi::TcParser::FastMtS1,
       {18, 0, 0,
        PROTOBUF_FIELD_OFFSET(LensOverlayUploadChunkResponse, _impl_.debug_metadata_)}},
    }}, {{
      65535, 65535
    }}, {{
      // .lens.ChunkDebugMetadata debug_metadata = 2;
      {PROTOBUF_FIELD_OFFSET(LensOverlayUploadChunkResponse, _impl_.debug_metadata_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::lens::ChunkDebugMetadata>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::lens::ChunkDebugMetadata_globals_},
        #endif
    }},
    {{
    }},
  };
}


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

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

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

constexpr ContentData::ParseTableT_ ContentData::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(ContentData, _impl_._has_bits_),
      0, // no _extensions_
      4, 24,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967280,  // skipmap
      offsetof(ParseTableT_, field_entries),
      4,  // 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::ContentData>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // .lens.StoredChunkOptions stored_chunk_options = 4;
      {::_pbi::TcParser::FastMtS1,
       {34, 1, 0,
        PROTOBUF_FIELD_OFFSET(ContentData, _impl_.stored_chunk_options_)}},
      // .lens.ContentData.ContentType content_type = 1;
      {::_pbi::TcParser::FastV32S1,
       {8, 2, 0,
        PROTOBUF_FIELD_OFFSET(ContentData, _impl_.content_type_)}},
      // bytes data = 2;
      {::_pbi::TcParser::FastBS1,
       {18, 0, 0,
        PROTOBUF_FIELD_OFFSET(ContentData, _impl_.data_)}},
      // .lens.CompressionType compression_type = 3;
      {::_pbi::TcParser::FastV32S1,
       {24, 3, 0,
        PROTOBUF_FIELD_OFFSET(ContentData, _impl_.compression_type_)}},
    }}, {{
      65535, 65535
    }}, {{
      // .lens.ContentData.ContentType content_type = 1;
      {PROTOBUF_FIELD_OFFSET(ContentData, _impl_.content_type_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
      // bytes data = 2;
      {PROTOBUF_FIELD_OFFSET(ContentData, _impl_.data_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // .lens.CompressionType compression_type = 3;
      {PROTOBUF_FIELD_OFFSET(ContentData, _impl_.compression_type_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
      // .lens.StoredChunkOptions stored_chunk_options = 4;
      {PROTOBUF_FIELD_OFFSET(ContentData, _impl_.stored_chunk_options_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::lens::StoredChunkOptions>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::lens::StoredChunkOptions_globals_},
        #endif
    }},
    {{
    }},
  };
}


inline constexpr ContentData::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        data_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        stored_chunk_options_{nullptr},
        content_type_{static_cast< ::lens::ContentData_ContentType >(0)},
        compression_type_{static_cast< ::lens::CompressionType >(0)} {}

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

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

constexpr Content::ParseTableT_ Content::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(Content, _impl_._has_bits_),
      0, // no _extensions_
      4, 24,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967280,  // skipmap
      offsetof(ParseTableT_, field_entries),
      4,  // 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::Content>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // string webpage_title = 4;
      {::_pbi::TcParser::FastUS1,
       {34, 2, 0,
        PROTOBUF_FIELD_OFFSET(Content, _impl_.webpage_title_)}},
      // string webpage_url = 1;
      {::_pbi::TcParser::FastUS1,
       {10, 1, 0,
        PROTOBUF_FIELD_OFFSET(Content, _impl_.webpage_url_)}},
      // repeated .lens.ContentData content_data = 2;
      {::_pbi::TcParser::FastMtR1,
       {18, 0, 0,
        PROTOBUF_FIELD_OFFSET(Content, _impl_.content_data_)}},
      // .lens.RequestType request_type = 3;
      {::_pbi::TcParser::FastV32S1,
       {24, 3, 0,
        PROTOBUF_FIELD_OFFSET(Content, _impl_.request_type_)}},
    }}, {{
      65535, 65535
    }}, {{
      // string webpage_url = 1;
      {PROTOBUF_FIELD_OFFSET(Content, _impl_.webpage_url_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
      // repeated .lens.ContentData content_data = 2;
      {PROTOBUF_FIELD_OFFSET(Content, _impl_.content_data_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
      // .lens.RequestType request_type = 3;
      {PROTOBUF_FIELD_OFFSET(Content, _impl_.request_type_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
      // string webpage_title = 4;
      {PROTOBUF_FIELD_OFFSET(Content, _impl_.webpage_title_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::lens::ContentData>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::lens::ContentData_globals_},
        #endif
    }},
    {{
      "\14\13\0\0\15\0\0\0"
      "lens.Content"
      "webpage_url"
      "webpage_title"
    }},
  };
}


inline constexpr Content::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        content_data_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::lens::Content,
            PROTOBUF_FIELD_OFFSET(::lens::Content, _impl_.content_data_)>()
         }
        ,
        webpage_url_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        webpage_title_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        request_type_{static_cast< ::lens::RequestType >(0)} {}

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

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

constexpr Payload::ParseTableT_ Payload::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(Payload, _impl_._has_bits_),
      0, // no _extensions_
      12, 120,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294964225,  // skipmap
      offsetof(ParseTableT_, field_entries),
      10,  // 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<::lens::Payload>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      // .lens.ImageData image_data = 2;
      {::_pbi::TcParser::FastMtS1,
       {18, 3, 0,
        PROTOBUF_FIELD_OFFSET(Payload, _impl_.image_data_)}},
      // bytes content_data = 3;
      {::_pbi::TcParser::FastBS1,
       {26, 0, 0,
        PROTOBUF_FIELD_OFFSET(Payload, _impl_.content_data_)}},
      // string content_type = 4;
      {::_pbi::TcParser::FastUS1,
       {34, 1, 0,
        PROTOBUF_FIELD_OFFSET(Payload, _impl_.content_type_)}},
      // string page_url = 5;
      {::_pbi::TcParser::FastUS1,
       {42, 2, 0,
        PROTOBUF_FIELD_OFFSET(Payload, _impl_.page_url_)}},
      // .lens.RequestType request_type = 6;
      {::_pbi::TcParser::FastV32S1,
       {48, 8, 0,
        PROTOBUF_FIELD_OFFSET(Payload, _impl_.request_type_)}},
      // .lens.LensOverlayDocument partial_pdf_document = 7;
      {::_pbi::TcParser::FastMtS1,
       {58, 4, 1,
        PROTOBUF_FIELD_OFFSET(Payload, _impl_.partial_pdf_document_)}},
      // .lens.CompressionType compression_type = 8;
      {::_pbi::TcParser::FastV32S1,
       {64, 9, 0,
        PROTOBUF_FIELD_OFFSET(Payload, _impl_.compression_type_)}},
      // .lens.StoredChunkOptions stored_chunk_options = 9;
      {::_pbi::TcParser::FastMtS1,
       {74, 5, 2,
        PROTOBUF_FIELD_OFFSET(Payload, _impl_.stored_chunk_options_)}},
      // .lens.Content content = 10;
      {::_pbi::TcParser::FastMtS1,
       {82, 6, 3,
        PROTOBUF_FIELD_OFFSET(Payload, _impl_.content_)}},
      {::_pbi::TcParser::MiniParse, {}},
      // .lens.LensOverlayContentMetadata content_metadata = 12;
      {::_pbi::TcParser::FastMtS1,
       {98, 7, 4,
        PROTOBUF_FIELD_OFFSET(Payload, _impl_.content_metadata_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // .lens.ImageData image_data = 2;
      {PROTOBUF_FIELD_OFFSET(Payload, _impl_.image_data_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // bytes content_data = 3;
      {PROTOBUF_FIELD_OFFSET(Payload, _impl_.content_data_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // string content_type = 4;
      {PROTOBUF_FIELD_OFFSET(Payload, _impl_.content_type_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
      // string page_url = 5;
      {PROTOBUF_FIELD_OFFSET(Payload, _impl_.page_url_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
      // .lens.RequestType request_type = 6;
      {PROTOBUF_FIELD_OFFSET(Payload, _impl_.request_type_), _Internal::kHasBitsOffset + 8, 0, (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
      // .lens.LensOverlayDocument partial_pdf_document = 7;
      {PROTOBUF_FIELD_OFFSET(Payload, _impl_.partial_pdf_document_), _Internal::kHasBitsOffset + 4, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // .lens.CompressionType compression_type = 8;
      {PROTOBUF_FIELD_OFFSET(Payload, _impl_.compression_type_), _Internal::kHasBitsOffset + 9, 0, (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
      // .lens.StoredChunkOptions stored_chunk_options = 9;
      {PROTOBUF_FIELD_OFFSET(Payload, _impl_.stored_chunk_options_), _Internal::kHasBitsOffset + 5, 2, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // .lens.Content content = 10;
      {PROTOBUF_FIELD_OFFSET(Payload, _impl_.content_), _Internal::kHasBitsOffset + 6, 3, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // .lens.LensOverlayContentMetadata content_metadata = 12;
      {PROTOBUF_FIELD_OFFSET(Payload, _impl_.content_metadata_), _Internal::kHasBitsOffset + 7, 4, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::lens::ImageData>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::lens::ImageData_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::lens::LensOverlayDocument>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::lens::LensOverlayDocument_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::lens::StoredChunkOptions>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::lens::StoredChunkOptions_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::lens::Content>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::lens::Content_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::lens::LensOverlayContentMetadata>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::lens::LensOverlayContentMetadata_globals_},
        #endif
    }},
    {{
      "\14\0\0\14\10\0\0\0\0\0\0\0\0\0\0\0"
      "lens.Payload"
      "content_type"
      "page_url"
    }},
  };
}


inline constexpr Payload::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        content_data_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        content_type_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        page_url_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        image_data_{nullptr},
        partial_pdf_document_{nullptr},
        stored_chunk_options_{nullptr},
        content_{nullptr},
        content_metadata_{nullptr},
        request_type_{static_cast< ::lens::RequestType >(0)},
        compression_type_{static_cast< ::lens::CompressionType >(0)} {}

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

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

constexpr LensOverlayRequestContext::ParseTableT_ LensOverlayRequestContext::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(LensOverlayRequestContext, _impl_._has_bits_),
      0, // no _extensions_
      4, 8,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967283,  // skipmap
      offsetof(ParseTableT_, field_entries),
      2,  // num_field_entries
      2,  // num_aux_entries
      offsetof(ParseTableT_, aux_entries),
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::lens::LensOverlayRequestContext>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // .lens.LensOverlayClientContext client_context = 4;
      {::_pbi::TcParser::FastMtS1,
       {34, 1, 1,
        PROTOBUF_FIELD_OFFSET(LensOverlayRequestContext, _impl_.client_context_)}},
      // .lens.LensOverlayRequestId request_id = 3;
      {::_pbi::TcParser::FastMtS1,
       {26, 0, 0,
        PROTOBUF_FIELD_OFFSET(LensOverlayRequestContext, _impl_.request_id_)}},
    }}, {{
      65535, 65535
    }}, {{
      // .lens.LensOverlayRequestId request_id = 3;
      {PROTOBUF_FIELD_OFFSET(LensOverlayRequestContext, _impl_.request_id_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // .lens.LensOverlayClientContext client_context = 4;
      {PROTOBUF_FIELD_OFFSET(LensOverlayRequestContext, _impl_.client_context_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::lens::LensOverlayRequestId>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::lens::LensOverlayRequestId_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::lens::LensOverlayClientContext>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::lens::LensOverlayClientContext_globals_},
        #endif
    }},
    {{
    }},
  };
}


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

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

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

constexpr LensOverlayUploadChunkRequest::ParseTableT_ LensOverlayUploadChunkRequest::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(LensOverlayUploadChunkRequest, _impl_._has_bits_),
      0, // no _extensions_
      6, 24,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967250,  // skipmap
      offsetof(ParseTableT_, field_entries),
      4,  // num_field_entries
      2,  // num_aux_entries
      offsetof(ParseTableT_, aux_entries),
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::lens::LensOverlayUploadChunkRequest>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // bytes chunk_bytes = 4;
      {::_pbi::TcParser::FastBS1,
       {34, 0, 0,
        PROTOBUF_FIELD_OFFSET(LensOverlayUploadChunkRequest, _impl_.chunk_bytes_)}},
      // .lens.LensOverlayRequestContext request_context = 1;
      {::_pbi::TcParser::FastMtS1,
       {10, 1, 0,
        PROTOBUF_FIELD_OFFSET(LensOverlayUploadChunkRequest, _impl_.request_context_)}},
      // .lens.ChunkDebugOptions debug_options = 6;
      {::_pbi::TcParser::FastMtS1,
       {50, 2, 1,
        PROTOBUF_FIELD_OFFSET(LensOverlayUploadChunkRequest, _impl_.debug_options_)}},
      // int64 chunk_id = 3;
      {::_pbi::TcParser::FastV64S1,
       {24, 3, 0,
        PROTOBUF_FIELD_OFFSET(LensOverlayUploadChunkRequest, _impl_.chunk_id_)}},
    }}, {{
      65535, 65535
    }}, {{
      // .lens.LensOverlayRequestContext request_context = 1;
      {PROTOBUF_FIELD_OFFSET(LensOverlayUploadChunkRequest, _impl_.request_context_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // int64 chunk_id = 3;
      {PROTOBUF_FIELD_OFFSET(LensOverlayUploadChunkRequest, _impl_.chunk_id_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
      // bytes chunk_bytes = 4;
      {PROTOBUF_FIELD_OFFSET(LensOverlayUploadChunkRequest, _impl_.chunk_bytes_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // .lens.ChunkDebugOptions debug_options = 6;
      {PROTOBUF_FIELD_OFFSET(LensOverlayUploadChunkRequest, _impl_.debug_options_), _Internal::kHasBitsOffset + 2, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::lens::LensOverlayRequestContext>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::lens::LensOverlayRequestContext_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::lens::ChunkDebugOptions>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::lens::ChunkDebugOptions_globals_},
        #endif
    }},
    {{
    }},
  };
}


inline constexpr LensOverlayUploadChunkRequest::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        chunk_bytes_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        request_context_{nullptr},
        debug_options_{nullptr},
        chunk_id_{::int64_t{0}} {}

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

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

constexpr LensOverlayObjectsRequest::ParseTableT_ LensOverlayObjectsRequest::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(LensOverlayObjectsRequest, _impl_._has_bits_),
      0, // no _extensions_
      5, 56,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967266,  // skipmap
      offsetof(ParseTableT_, field_entries),
      4,  // num_field_entries
      4,  // 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::LensOverlayObjectsRequest>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // .lens.LensOverlayRequestContext request_context = 1;
      {::_pbi::TcParser::FastMtS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(LensOverlayObjectsRequest, _impl_.request_context_)}},
      {::_pbi::TcParser::MiniParse, {}},
      // .lens.ImageData image_data = 3;
      {::_pbi::TcParser::FastMtS1,
       {26, 1, 1,
        PROTOBUF_FIELD_OFFSET(LensOverlayObjectsRequest, _impl_.image_data_)}},
      // .lens.Payload payload = 4;
      {::_pbi::TcParser::FastMtS1,
       {34, 2, 2,
        PROTOBUF_FIELD_OFFSET(LensOverlayObjectsRequest, _impl_.payload_)}},
      // .lens.ViewportRequestContext viewport_request_context = 5;
      {::_pbi::TcParser::FastMtS1,
       {42, 3, 3,
        PROTOBUF_FIELD_OFFSET(LensOverlayObjectsRequest, _impl_.viewport_request_context_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // .lens.LensOverlayRequestContext request_context = 1;
      {PROTOBUF_FIELD_OFFSET(LensOverlayObjectsRequest, _impl_.request_context_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // .lens.ImageData image_data = 3;
      {PROTOBUF_FIELD_OFFSET(LensOverlayObjectsRequest, _impl_.image_data_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // .lens.Payload payload = 4;
      {PROTOBUF_FIELD_OFFSET(LensOverlayObjectsRequest, _impl_.payload_), _Internal::kHasBitsOffset + 2, 2, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // .lens.ViewportRequestContext viewport_request_context = 5;
      {PROTOBUF_FIELD_OFFSET(LensOverlayObjectsRequest, _impl_.viewport_request_context_), _Internal::kHasBitsOffset + 3, 3, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::lens::LensOverlayRequestContext>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::lens::LensOverlayRequestContext_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::lens::ImageData>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::lens::ImageData_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::lens::Payload>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::lens::Payload_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::lens::ViewportRequestContext>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::lens::ViewportRequestContext_globals_},
        #endif
    }},
    {{
    }},
  };
}


inline constexpr LensOverlayObjectsRequest::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        request_context_{nullptr},
        image_data_{nullptr},
        payload_{nullptr},
        viewport_request_context_{nullptr} {}

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

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

constexpr LensOverlayInteractionRequest::ParseTableT_ LensOverlayInteractionRequest::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(LensOverlayInteractionRequest, _impl_._has_bits_),
      0, // no _extensions_
      3, 24,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967288,  // skipmap
      offsetof(ParseTableT_, field_entries),
      3,  // num_field_entries
      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::LensOverlayInteractionRequest>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // .lens.LensOverlayRequestContext request_context = 1;
      {::_pbi::TcParser::FastMtS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(LensOverlayInteractionRequest, _impl_.request_context_)}},
      // .lens.LensOverlayInteractionRequestMetadata interaction_request_metadata = 2;
      {::_pbi::TcParser::FastMtS1,
       {18, 1, 1,
        PROTOBUF_FIELD_OFFSET(LensOverlayInteractionRequest, _impl_.interaction_request_metadata_)}},
      // .lens.ImageCrop image_crop = 3;
      {::_pbi::TcParser::FastMtS1,
       {26, 2, 2,
        PROTOBUF_FIELD_OFFSET(LensOverlayInteractionRequest, _impl_.image_crop_)}},
    }}, {{
      65535, 65535
    }}, {{
      // .lens.LensOverlayRequestContext request_context = 1;
      {PROTOBUF_FIELD_OFFSET(LensOverlayInteractionRequest, _impl_.request_context_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // .lens.LensOverlayInteractionRequestMetadata interaction_request_metadata = 2;
      {PROTOBUF_FIELD_OFFSET(LensOverlayInteractionRequest, _impl_.interaction_request_metadata_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // .lens.ImageCrop image_crop = 3;
      {PROTOBUF_FIELD_OFFSET(LensOverlayInteractionRequest, _impl_.image_crop_), _Internal::kHasBitsOffset + 2, 2, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::lens::LensOverlayRequestContext>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::lens::LensOverlayRequestContext_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::lens::LensOverlayInteractionRequestMetadata>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::lens::LensOverlayInteractionRequestMetadata_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::lens::ImageCrop>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::lens::ImageCrop_globals_},
        #endif
    }},
    {{
    }},
  };
}


inline constexpr LensOverlayInteractionRequest::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        request_context_{nullptr},
        interaction_request_metadata_{nullptr},
        image_crop_{nullptr} {}

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

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

constexpr LensOverlayObjectsResponse::ParseTableT_ LensOverlayObjectsResponse::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(LensOverlayObjectsResponse, _impl_._has_bits_),
      0, // no _extensions_
      7, 56,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967217,  // skipmap
      offsetof(ParseTableT_, field_entries),
      4,  // num_field_entries
      4,  // 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::LensOverlayObjectsResponse>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      // repeated .lens.OverlayObject overlay_objects = 2;
      {::_pbi::TcParser::FastMtR1,
       {18, 0, 0,
        PROTOBUF_FIELD_OFFSET(LensOverlayObjectsResponse, _impl_.overlay_objects_)}},
      // .lens.Text text = 3;
      {::_pbi::TcParser::FastMtS1,
       {26, 2, 1,
        PROTOBUF_FIELD_OFFSET(LensOverlayObjectsResponse, _impl_.text_)}},
      // repeated .lens.DeepGleamData deep_gleams = 4;
      {::_pbi::TcParser::FastMtR1,
       {34, 1, 2,
        PROTOBUF_FIELD_OFFSET(LensOverlayObjectsResponse, _impl_.deep_gleams_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      // .lens.LensOverlayClusterInfo cluster_info = 7;
      {::_pbi::TcParser::FastMtS1,
       {58, 3, 3,
        PROTOBUF_FIELD_OFFSET(LensOverlayObjectsResponse, _impl_.cluster_info_)}},
    }}, {{
      65535, 65535
    }}, {{
      // repeated .lens.OverlayObject overlay_objects = 2;
      {PROTOBUF_FIELD_OFFSET(LensOverlayObjectsResponse, _impl_.overlay_objects_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
      // .lens.Text text = 3;
      {PROTOBUF_FIELD_OFFSET(LensOverlayObjectsResponse, _impl_.text_), _Internal::kHasBitsOffset + 2, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // repeated .lens.DeepGleamData deep_gleams = 4;
      {PROTOBUF_FIELD_OFFSET(LensOverlayObjectsResponse, _impl_.deep_gleams_), _Internal::kHasBitsOffset + 1, 2, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
      // .lens.LensOverlayClusterInfo cluster_info = 7;
      {PROTOBUF_FIELD_OFFSET(LensOverlayObjectsResponse, _impl_.cluster_info_), _Internal::kHasBitsOffset + 3, 3, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::lens::OverlayObject>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::lens::OverlayObject_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::lens::Text>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::lens::Text_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::lens::DeepGleamData>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::lens::DeepGleamData_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::lens::LensOverlayClusterInfo>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::lens::LensOverlayClusterInfo_globals_},
        #endif
    }},
    {{
    }},
  };
}


inline constexpr LensOverlayObjectsResponse::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        overlay_objects_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::lens::LensOverlayObjectsResponse,
            PROTOBUF_FIELD_OFFSET(::lens::LensOverlayObjectsResponse, _impl_.overlay_objects_)>()
         }
        ,
        deep_gleams_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::lens::LensOverlayObjectsResponse,
            PROTOBUF_FIELD_OFFSET(::lens::LensOverlayObjectsResponse, _impl_.deep_gleams_)>()
         }
        ,
        text_{nullptr},
        cluster_info_{nullptr} {}

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

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

constexpr LensOverlayInteractionResponse::ParseTableT_ LensOverlayInteractionResponse::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(LensOverlayInteractionResponse, _impl_._has_bits_),
      0, // no _extensions_
      5, 24,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967275,  // skipmap
      offsetof(ParseTableT_, field_entries),
      2,  // 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::LensOverlayInteractionResponse>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // .lens.Text text = 5;
      {::_pbi::TcParser::FastMtS1,
       {42, 1, 0,
        PROTOBUF_FIELD_OFFSET(LensOverlayInteractionResponse, _impl_.text_)}},
      {::_pbi::TcParser::MiniParse, {}},
      // string encoded_response = 3;
      {::_pbi::TcParser::FastUS1,
       {26, 0, 0,
        PROTOBUF_FIELD_OFFSET(LensOverlayInteractionResponse, _impl_.encoded_response_)}},
    }}, {{
      65535, 65535
    }}, {{
      // string encoded_response = 3;
      {PROTOBUF_FIELD_OFFSET(LensOverlayInteractionResponse, _impl_.encoded_response_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
      // .lens.Text text = 5;
      {PROTOBUF_FIELD_OFFSET(LensOverlayInteractionResponse, _impl_.text_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::lens::Text>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::lens::Text_globals_},
        #endif
    }},
    {{
      "\43\20\0\0\0\0\0\0"
      "lens.LensOverlayInteractionResponse"
      "encoded_response"
    }},
  };
}


inline constexpr LensOverlayInteractionResponse::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        encoded_response_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        text_{nullptr} {}

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

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST LensOverlayInteractionResponseGlobalsTypeInternal LensOverlayInteractionResponse_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* LensOverlayInteractionResponse_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return LensOverlayInteractionResponse_globals_.GetClassData();
#else
  return LensOverlayInteractionResponse_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
}  // namespace lens
namespace lens {
PROTOBUF_CONSTINIT const uint32_t ContentData_ContentType_internal_data_[] = {
    393216u, 0u, };
static const char ContentData_ContentType_names[] = {
    "CONTENT_TYPE_ANNOTATED_PAGE_CONTENT"
    "CONTENT_TYPE_EARLY_PARTIAL_PDF"
    "CONTENT_TYPE_INNER_HTML"
    "CONTENT_TYPE_INNER_TEXT"
    "CONTENT_TYPE_PDF"
    "CONTENT_TYPE_UNSPECIFIED"
};

static const ::google::protobuf::internal::EnumEntry ContentData_ContentType_entries[] = {
    {{&ContentData_ContentType_names[0], 35}, 4},
    {{&ContentData_ContentType_names[35], 30}, 5},
    {{&ContentData_ContentType_names[65], 23}, 3},
    {{&ContentData_ContentType_names[88], 23}, 2},
    {{&ContentData_ContentType_names[111], 16}, 1},
    {{&ContentData_ContentType_names[127], 24}, 0},
};

static const int ContentData_ContentType_entries_by_number[] = {
    5,  // 0 -> CONTENT_TYPE_UNSPECIFIED
    4,  // 1 -> CONTENT_TYPE_PDF
    3,  // 2 -> CONTENT_TYPE_INNER_TEXT
    2,  // 3 -> CONTENT_TYPE_INNER_HTML
    0,  // 4 -> CONTENT_TYPE_ANNOTATED_PAGE_CONTENT
    1,  // 5 -> CONTENT_TYPE_EARLY_PARTIAL_PDF
};

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

const ::std::string& ContentData_ContentType_Name(ContentData_ContentType value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      ContentData_ContentType_entries, ContentData_ContentType_entries_by_number, 6,
      ContentData_ContentType_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(ContentData_ContentType_entries,
                                  ContentData_ContentType_entries_by_number,
                                  6, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : ContentData_ContentType_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t CompressionType_internal_data_[] = {
    131072u, 0u, };
static const char CompressionType_names[] = {
    "UNCOMPRESSED"
    "ZSTD"
};

static const ::google::protobuf::internal::EnumEntry CompressionType_entries[] = {
    {{&CompressionType_names[0], 12}, 0},
    {{&CompressionType_names[12], 4}, 1},
};

static const int CompressionType_entries_by_number[] = {
    0,  // 0 -> UNCOMPRESSED
    1,  // 1 -> ZSTD
};

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

const ::std::string& CompressionType_Name(CompressionType value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      CompressionType_entries, CompressionType_entries_by_number, 2,
      CompressionType_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(CompressionType_entries,
                                  CompressionType_entries_by_number,
                                  2, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : CompressionType_strings[idx].get();
}
// ===================================================================

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

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

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

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

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite LensOverlayRequestContext_class_data_ =
    LensOverlayRequestContext::InternalGenerateClassData_(LensOverlayRequestContext_globals_._default);

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

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // .lens.LensOverlayRequestId request_id = 3;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        3, *this_._impl_.request_id_, this_._impl_.request_id_->GetCachedSize(), target,
        stream);
  }

  // .lens.LensOverlayClientContext client_context = 4;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        4, *this_._impl_.client_context_, this_._impl_.client_context_->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.LensOverlayRequestContext)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t LensOverlayRequestContext::ByteSizeLong(const MessageLite& base) {
  const LensOverlayRequestContext& this_ = static_cast<const LensOverlayRequestContext&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t LensOverlayRequestContext::ByteSizeLong() const {
  const LensOverlayRequestContext& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:lens.LensOverlayRequestContext)
  ::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)) {
    // .lens.LensOverlayRequestId request_id = 3;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.request_id_);
    }
    // .lens.LensOverlayClientContext client_context = 4;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.client_context_);
    }
  }
  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 LensOverlayRequestContext::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<LensOverlayRequestContext*>(&to_msg);
  auto& from = static_cast<const LensOverlayRequestContext&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:lens.LensOverlayRequestContext)
  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)) {
      ABSL_DCHECK(from._impl_.request_id_ != nullptr);
      if (_this->_impl_.request_id_ == nullptr) {
        _this->_impl_.request_id_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.request_id_);
      } else {
        _this->_impl_.request_id_->MergeFrom(*from._impl_.request_id_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      ABSL_DCHECK(from._impl_.client_context_ != nullptr);
      if (_this->_impl_.client_context_ == nullptr) {
        _this->_impl_.client_context_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.client_context_);
      } else {
        _this->_impl_.client_context_->MergeFrom(*from._impl_.client_context_);
      }
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


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

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

ViewportRequestContext::ViewportRequestContext(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, ViewportRequestContext_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:lens.ViewportRequestContext)
}
ViewportRequestContext::ViewportRequestContext(
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ViewportRequestContext& from)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, ViewportRequestContext_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 ViewportRequestContext::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0} {}

inline void ViewportRequestContext::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
  _impl_.pdf_page_number_ = {};
}
ViewportRequestContext::~ViewportRequestContext() {
  // @@protoc_insertion_point(destructor:lens.ViewportRequestContext)
  SharedDtor(*this);
}
inline void ViewportRequestContext::SharedDtor(MessageLite& self) {
  ViewportRequestContext& this_ = static_cast<ViewportRequestContext&>(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 ViewportRequestContext_class_data_ =
    ViewportRequestContext::InternalGenerateClassData_(ViewportRequestContext_globals_._default);

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

  _impl_.pdf_page_number_ = 0;
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // int32 pdf_page_number = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    if (this_._internal_pdf_page_number() != 0) {
      target =
          ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<1>(
              stream, this_._internal_pdf_page_number(), 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.ViewportRequestContext)
  return target;
}

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

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

   {
    // int32 pdf_page_number = 1;
    cached_has_bits = this_._impl_._has_bits_[0];
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      if (this_._internal_pdf_page_number() != 0) {
        total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
            this_._internal_pdf_page_number());
      }
    }
  }
  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 ViewportRequestContext::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<ViewportRequestContext*>(&to_msg);
  auto& from = static_cast<const ViewportRequestContext&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:lens.ViewportRequestContext)
  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)) {
    if (from._internal_pdf_page_number() != 0) {
      _this->_impl_.pdf_page_number_ = from._impl_.pdf_page_number_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void ViewportRequestContext::InternalSwap(ViewportRequestContext* 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_.pdf_page_number_, other->_impl_.pdf_page_number_);
}

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

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

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  LensOverlayObjectsRequest* 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_.request_context_ = (CheckHasBit(cached_has_bits, 0x00000001U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.request_context_)
                : nullptr;
  _impl_.image_data_ = (CheckHasBit(cached_has_bits, 0x00000002U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.image_data_)
                : nullptr;
  _impl_.payload_ = (CheckHasBit(cached_has_bits, 0x00000004U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.payload_)
                : nullptr;
  _impl_.viewport_request_context_ = (CheckHasBit(cached_has_bits, 0x00000008U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.viewport_request_context_)
                : nullptr;

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

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite LensOverlayObjectsRequest_class_data_ =
    LensOverlayObjectsRequest::InternalGenerateClassData_(LensOverlayObjectsRequest_globals_._default);

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

  cached_has_bits = _impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      ABSL_DCHECK(_impl_.request_context_ != nullptr);
      _impl_.request_context_->Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      ABSL_DCHECK(_impl_.image_data_ != nullptr);
      _impl_.image_data_->Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      ABSL_DCHECK(_impl_.payload_ != nullptr);
      _impl_.payload_->Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      ABSL_DCHECK(_impl_.viewport_request_context_ != nullptr);
      _impl_.viewport_request_context_->Clear();
    }
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

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

  // .lens.ImageData image_data = 3;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        3, *this_._impl_.image_data_, this_._impl_.image_data_->GetCachedSize(), target,
        stream);
  }

  // .lens.Payload payload = 4;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        4, *this_._impl_.payload_, this_._impl_.payload_->GetCachedSize(), target,
        stream);
  }

  // .lens.ViewportRequestContext viewport_request_context = 5;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        5, *this_._impl_.viewport_request_context_, this_._impl_.viewport_request_context_->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.LensOverlayObjectsRequest)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t LensOverlayObjectsRequest::ByteSizeLong(const MessageLite& base) {
  const LensOverlayObjectsRequest& this_ = static_cast<const LensOverlayObjectsRequest&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t LensOverlayObjectsRequest::ByteSizeLong() const {
  const LensOverlayObjectsRequest& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:lens.LensOverlayObjectsRequest)
  ::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, 0x0000000fU)) {
    // .lens.LensOverlayRequestContext request_context = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.request_context_);
    }
    // .lens.ImageData image_data = 3;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.image_data_);
    }
    // .lens.Payload payload = 4;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.payload_);
    }
    // .lens.ViewportRequestContext viewport_request_context = 5;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.viewport_request_context_);
    }
  }
  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 LensOverlayObjectsRequest::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<LensOverlayObjectsRequest*>(&to_msg);
  auto& from = static_cast<const LensOverlayObjectsRequest&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:lens.LensOverlayObjectsRequest)
  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, 0x0000000fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      ABSL_DCHECK(from._impl_.request_context_ != nullptr);
      if (_this->_impl_.request_context_ == nullptr) {
        _this->_impl_.request_context_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.request_context_);
      } else {
        _this->_impl_.request_context_->MergeFrom(*from._impl_.request_context_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      ABSL_DCHECK(from._impl_.image_data_ != nullptr);
      if (_this->_impl_.image_data_ == nullptr) {
        _this->_impl_.image_data_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.image_data_);
      } else {
        _this->_impl_.image_data_->MergeFrom(*from._impl_.image_data_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      ABSL_DCHECK(from._impl_.payload_ != nullptr);
      if (_this->_impl_.payload_ == nullptr) {
        _this->_impl_.payload_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.payload_);
      } else {
        _this->_impl_.payload_->MergeFrom(*from._impl_.payload_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      ABSL_DCHECK(from._impl_.viewport_request_context_ != nullptr);
      if (_this->_impl_.viewport_request_context_ == nullptr) {
        _this->_impl_.viewport_request_context_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.viewport_request_context_);
      } else {
        _this->_impl_.viewport_request_context_->MergeFrom(*from._impl_.viewport_request_context_);
      }
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


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

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

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

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  LensOverlayUploadChunkRequest* 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_.request_context_ = (CheckHasBit(cached_has_bits, 0x00000002U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.request_context_)
                : nullptr;
  _impl_.debug_options_ = (CheckHasBit(cached_has_bits, 0x00000004U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.debug_options_)
                : nullptr;
  _impl_.chunk_id_ = from._impl_.chunk_id_;

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

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite LensOverlayUploadChunkRequest_class_data_ =
    LensOverlayUploadChunkRequest::InternalGenerateClassData_(LensOverlayUploadChunkRequest_globals_._default);

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

  cached_has_bits = _impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.chunk_bytes_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      ABSL_DCHECK(_impl_.request_context_ != nullptr);
      _impl_.request_context_->Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      ABSL_DCHECK(_impl_.debug_options_ != nullptr);
      _impl_.debug_options_->Clear();
    }
  }
  _impl_.chunk_id_ = ::int64_t{0};
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // .lens.LensOverlayRequestContext request_context = 1;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        1, *this_._impl_.request_context_, this_._impl_.request_context_->GetCachedSize(), target,
        stream);
  }

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

  // bytes chunk_bytes = 4;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    if (!this_._internal_chunk_bytes().empty()) {
      const ::std::string& _s = this_._internal_chunk_bytes();
      target = stream->WriteBytesMaybeAliased(4, _s, target);
    }
  }

  // .lens.ChunkDebugOptions debug_options = 6;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        6, *this_._impl_.debug_options_, this_._impl_.debug_options_->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.LensOverlayUploadChunkRequest)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t LensOverlayUploadChunkRequest::ByteSizeLong(const MessageLite& base) {
  const LensOverlayUploadChunkRequest& this_ = static_cast<const LensOverlayUploadChunkRequest&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t LensOverlayUploadChunkRequest::ByteSizeLong() const {
  const LensOverlayUploadChunkRequest& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:lens.LensOverlayUploadChunkRequest)
  ::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, 0x0000000fU)) {
    // bytes chunk_bytes = 4;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      if (!this_._internal_chunk_bytes().empty()) {
        total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
                                        this_._internal_chunk_bytes());
      }
    }
    // .lens.LensOverlayRequestContext request_context = 1;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.request_context_);
    }
    // .lens.ChunkDebugOptions debug_options = 6;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.debug_options_);
    }
    // int64 chunk_id = 3;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      if (this_._internal_chunk_id() != 0) {
        total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
            this_._internal_chunk_id());
      }
    }
  }
  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
  }
  this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
  return total_size;
}

void LensOverlayUploadChunkRequest::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<LensOverlayUploadChunkRequest*>(&to_msg);
  auto& from = static_cast<const LensOverlayUploadChunkRequest&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:lens.LensOverlayUploadChunkRequest)
  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, 0x0000000fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      if (!from._internal_chunk_bytes().empty()) {
        _this->_internal_set_chunk_bytes(from._internal_chunk_bytes());
      } else {
        if (_this->_impl_.chunk_bytes_.IsDefault()) {
          _this->_internal_set_chunk_bytes("");
        }
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      ABSL_DCHECK(from._impl_.request_context_ != nullptr);
      if (_this->_impl_.request_context_ == nullptr) {
        _this->_impl_.request_context_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.request_context_);
      } else {
        _this->_impl_.request_context_->MergeFrom(*from._impl_.request_context_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      ABSL_DCHECK(from._impl_.debug_options_ != nullptr);
      if (_this->_impl_.debug_options_ == nullptr) {
        _this->_impl_.debug_options_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.debug_options_);
      } else {
        _this->_impl_.debug_options_->MergeFrom(*from._impl_.debug_options_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      if (from._internal_chunk_id() != 0) {
        _this->_impl_.chunk_id_ = from._impl_.chunk_id_;
      }
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


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

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

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

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

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

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

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite LensOverlayUploadChunkResponse_class_data_ =
    LensOverlayUploadChunkResponse::InternalGenerateClassData_(LensOverlayUploadChunkResponse_globals_._default);

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

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // .lens.ChunkDebugMetadata debug_metadata = 2;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        2, *this_._impl_.debug_metadata_, this_._impl_.debug_metadata_->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.LensOverlayUploadChunkResponse)
  return target;
}

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

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

   {
    // .lens.ChunkDebugMetadata debug_metadata = 2;
    cached_has_bits = this_._impl_._has_bits_[0];
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.debug_metadata_);
    }
  }
  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 LensOverlayUploadChunkResponse::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<LensOverlayUploadChunkResponse*>(&to_msg);
  auto& from = static_cast<const LensOverlayUploadChunkResponse&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:lens.LensOverlayUploadChunkResponse)
  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_.debug_metadata_ != nullptr);
    if (_this->_impl_.debug_metadata_ == nullptr) {
      _this->_impl_.debug_metadata_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.debug_metadata_);
    } else {
      _this->_impl_.debug_metadata_->MergeFrom(*from._impl_.debug_metadata_);
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void LensOverlayUploadChunkResponse::InternalSwap(LensOverlayUploadChunkResponse* 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_.debug_metadata_, other->_impl_.debug_metadata_);
}

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

ChunkDebugOptions::ChunkDebugOptions(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, ChunkDebugOptions_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:lens.ChunkDebugOptions)
}
ChunkDebugOptions::ChunkDebugOptions(
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ChunkDebugOptions& from)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, ChunkDebugOptions_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 ChunkDebugOptions::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0} {}

inline void ChunkDebugOptions::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
  ::memset(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, total_chunks_),
           0,
           offsetof(Impl_, query_chunks_) -
               offsetof(Impl_, total_chunks_) +
               sizeof(Impl_::query_chunks_));
}
ChunkDebugOptions::~ChunkDebugOptions() {
  // @@protoc_insertion_point(destructor:lens.ChunkDebugOptions)
  SharedDtor(*this);
}
inline void ChunkDebugOptions::SharedDtor(MessageLite& self) {
  ChunkDebugOptions& this_ = static_cast<ChunkDebugOptions&>(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 ChunkDebugOptions_class_data_ =
    ChunkDebugOptions::InternalGenerateClassData_(ChunkDebugOptions_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
ChunkDebugOptions::GetClassData() const {
  return ChunkDebugOptions_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
ChunkDebugOptions::GetClassData() const {
  return ChunkDebugOptions_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ChunkDebugOptions::ParseTableT_
    ChunkDebugOptions::_table_ =
        ChunkDebugOptions::InternalGenerateParseTable_(ChunkDebugOptions_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void ChunkDebugOptions::Clear() {
// @@protoc_insertion_point(message_clear_start:lens.ChunkDebugOptions)
  ::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_.total_chunks_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.query_chunks_) -
        reinterpret_cast<char*>(&_impl_.total_chunks_)) + sizeof(_impl_.query_chunks_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // int64 total_chunks = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    if (this_._internal_total_chunks() != 0) {
      target =
          ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<1>(
              stream, this_._internal_total_chunks(), target);
    }
  }

  // bool query_chunks = 2;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    if (this_._internal_query_chunks() != 0) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteBoolToArray(
          2, this_._internal_query_chunks(), 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.ChunkDebugOptions)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t ChunkDebugOptions::ByteSizeLong(const MessageLite& base) {
  const ChunkDebugOptions& this_ = static_cast<const ChunkDebugOptions&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t ChunkDebugOptions::ByteSizeLong() const {
  const ChunkDebugOptions& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:lens.ChunkDebugOptions)
  ::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)) {
    // int64 total_chunks = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      if (this_._internal_total_chunks() != 0) {
        total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
            this_._internal_total_chunks());
      }
    }
    // bool query_chunks = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      if (this_._internal_query_chunks() != 0) {
        total_size += 2;
      }
    }
  }
  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 ChunkDebugOptions::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<ChunkDebugOptions*>(&to_msg);
  auto& from = static_cast<const ChunkDebugOptions&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:lens.ChunkDebugOptions)
  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)) {
      if (from._internal_total_chunks() != 0) {
        _this->_impl_.total_chunks_ = from._impl_.total_chunks_;
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      if (from._internal_query_chunks() != 0) {
        _this->_impl_.query_chunks_ = from._impl_.query_chunks_;
      }
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


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

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

ChunkDebugMetadata::ChunkDebugMetadata(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, ChunkDebugMetadata_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:lens.ChunkDebugMetadata)
}
PROTOBUF_NDEBUG_INLINE ChunkDebugMetadata::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::lens::ChunkDebugMetadata& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        remaining_chunks_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::lens::ChunkDebugMetadata,
              PROTOBUF_FIELD_OFFSET(::lens::ChunkDebugMetadata, _impl_.remaining_chunks_)>()
          , from.remaining_chunks_
        }
        ,
        _remaining_chunks_cached_byte_size_{0} {}

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  ChunkDebugMetadata* 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.ChunkDebugMetadata)
}
PROTOBUF_NDEBUG_INLINE ChunkDebugMetadata::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        remaining_chunks_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::lens::ChunkDebugMetadata,
            PROTOBUF_FIELD_OFFSET(::lens::ChunkDebugMetadata, _impl_.remaining_chunks_)>()
         }
        ,
        _remaining_chunks_cached_byte_size_{0} {}

inline void ChunkDebugMetadata::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
}
ChunkDebugMetadata::~ChunkDebugMetadata() {
  // @@protoc_insertion_point(destructor:lens.ChunkDebugMetadata)
  SharedDtor(*this);
}
inline void ChunkDebugMetadata::SharedDtor(MessageLite& self) {
  ChunkDebugMetadata& this_ = static_cast<ChunkDebugMetadata&>(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 ChunkDebugMetadata_class_data_ =
    ChunkDebugMetadata::InternalGenerateClassData_(ChunkDebugMetadata_globals_._default);

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

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // repeated int64 remaining_chunks = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    {
      int byte_size = this_._impl_._remaining_chunks_cached_byte_size_.Get();
      if (byte_size > 0) {
        target = stream->WriteInt64Packed(
            1, this_._internal_remaining_chunks(), byte_size, 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.ChunkDebugMetadata)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t ChunkDebugMetadata::ByteSizeLong(const MessageLite& base) {
  const ChunkDebugMetadata& this_ = static_cast<const ChunkDebugMetadata&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t ChunkDebugMetadata::ByteSizeLong() const {
  const ChunkDebugMetadata& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:lens.ChunkDebugMetadata)
  ::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_);
   {
    // repeated int64 remaining_chunks = 1;
    cached_has_bits = this_._impl_._has_bits_[0];
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size +=
          ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
              this_._internal_remaining_chunks(), 1,
              this_._impl_._remaining_chunks_cached_byte_size_);
    }
  }
  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 ChunkDebugMetadata::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<ChunkDebugMetadata*>(&to_msg);
  auto& from = static_cast<const ChunkDebugMetadata&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:lens.ChunkDebugMetadata)
  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)) {
    _this->_internal_mutable_remaining_chunks()->MergeFrom(from._internal_remaining_chunks());
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


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

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

void LensOverlayObjectsResponse::clear_overlay_objects() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.overlay_objects_.Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
void LensOverlayObjectsResponse::clear_text() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.text_ != nullptr) _impl_.text_->Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
}
void LensOverlayObjectsResponse::clear_deep_gleams() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.deep_gleams_.Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
void LensOverlayObjectsResponse::clear_cluster_info() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.cluster_info_ != nullptr) _impl_.cluster_info_->Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
}
LensOverlayObjectsResponse::LensOverlayObjectsResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, LensOverlayObjectsResponse_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:lens.LensOverlayObjectsResponse)
}
PROTOBUF_NDEBUG_INLINE LensOverlayObjectsResponse::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::lens::LensOverlayObjectsResponse& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        overlay_objects_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::lens::LensOverlayObjectsResponse,
              PROTOBUF_FIELD_OFFSET(::lens::LensOverlayObjectsResponse, _impl_.overlay_objects_)>()
          , from.overlay_objects_
        }
        ,
        deep_gleams_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::lens::LensOverlayObjectsResponse,
              PROTOBUF_FIELD_OFFSET(::lens::LensOverlayObjectsResponse, _impl_.deep_gleams_)>()
          , from.deep_gleams_
        }
     {}

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

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

  // @@protoc_insertion_point(copy_constructor:lens.LensOverlayObjectsResponse)
}
PROTOBUF_NDEBUG_INLINE LensOverlayObjectsResponse::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        overlay_objects_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::lens::LensOverlayObjectsResponse,
            PROTOBUF_FIELD_OFFSET(::lens::LensOverlayObjectsResponse, _impl_.overlay_objects_)>()
         }
        ,
        deep_gleams_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::lens::LensOverlayObjectsResponse,
            PROTOBUF_FIELD_OFFSET(::lens::LensOverlayObjectsResponse, _impl_.deep_gleams_)>()
         }
     {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite LensOverlayObjectsResponse_class_data_ =
    LensOverlayObjectsResponse::InternalGenerateClassData_(LensOverlayObjectsResponse_globals_._default);

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

  cached_has_bits = _impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.overlay_objects_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.deep_gleams_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      ABSL_DCHECK(_impl_.text_ != nullptr);
      _impl_.text_->Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      ABSL_DCHECK(_impl_.cluster_info_ != nullptr);
      _impl_.cluster_info_->Clear();
    }
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // repeated .lens.OverlayObject overlay_objects = 2;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    for (unsigned i = 0, n = static_cast<unsigned>(
                             this_._internal_overlay_objects_size());
         i < n; i++) {
      const auto& repfield = this_._internal_overlay_objects().Get(i);
      target =
          ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
              2, repfield, repfield.GetCachedSize(),
              target, stream);
    }
  }

  // .lens.Text text = 3;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        3, *this_._impl_.text_, this_._impl_.text_->GetCachedSize(), target,
        stream);
  }

  // repeated .lens.DeepGleamData deep_gleams = 4;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    for (unsigned i = 0, n = static_cast<unsigned>(
                             this_._internal_deep_gleams_size());
         i < n; i++) {
      const auto& repfield = this_._internal_deep_gleams().Get(i);
      target =
          ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
              4, repfield, repfield.GetCachedSize(),
              target, stream);
    }
  }

  // .lens.LensOverlayClusterInfo cluster_info = 7;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        7, *this_._impl_.cluster_info_, this_._impl_.cluster_info_->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.LensOverlayObjectsResponse)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t LensOverlayObjectsResponse::ByteSizeLong(const MessageLite& base) {
  const LensOverlayObjectsResponse& this_ = static_cast<const LensOverlayObjectsResponse&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t LensOverlayObjectsResponse::ByteSizeLong() const {
  const LensOverlayObjectsResponse& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:lens.LensOverlayObjectsResponse)
  ::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, 0x0000000fU)) {
    // repeated .lens.OverlayObject overlay_objects = 2;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1UL * this_._internal_overlay_objects_size();
      for (const auto& msg : this_._internal_overlay_objects()) {
        total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
      }
    }
    // repeated .lens.DeepGleamData deep_gleams = 4;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1UL * this_._internal_deep_gleams_size();
      for (const auto& msg : this_._internal_deep_gleams()) {
        total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
      }
    }
    // .lens.Text text = 3;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.text_);
    }
    // .lens.LensOverlayClusterInfo cluster_info = 7;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.cluster_info_);
    }
  }
  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 LensOverlayObjectsResponse::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<LensOverlayObjectsResponse*>(&to_msg);
  auto& from = static_cast<const LensOverlayObjectsResponse&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:lens.LensOverlayObjectsResponse)
  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, 0x0000000fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_mutable_overlay_objects()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_overlay_objects());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_mutable_deep_gleams()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_deep_gleams());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      ABSL_DCHECK(from._impl_.text_ != nullptr);
      if (_this->_impl_.text_ == nullptr) {
        _this->_impl_.text_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.text_);
      } else {
        _this->_impl_.text_->MergeFrom(*from._impl_.text_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      ABSL_DCHECK(from._impl_.cluster_info_ != nullptr);
      if (_this->_impl_.cluster_info_ == nullptr) {
        _this->_impl_.cluster_info_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.cluster_info_);
      } else {
        _this->_impl_.cluster_info_->MergeFrom(*from._impl_.cluster_info_);
      }
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


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

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

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

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

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

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

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite LensOverlayInteractionRequest_class_data_ =
    LensOverlayInteractionRequest::InternalGenerateClassData_(LensOverlayInteractionRequest_globals_._default);

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

  cached_has_bits = _impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      ABSL_DCHECK(_impl_.request_context_ != nullptr);
      _impl_.request_context_->Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      ABSL_DCHECK(_impl_.interaction_request_metadata_ != nullptr);
      _impl_.interaction_request_metadata_->Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      ABSL_DCHECK(_impl_.image_crop_ != nullptr);
      _impl_.image_crop_->Clear();
    }
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

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

  // .lens.LensOverlayInteractionRequestMetadata interaction_request_metadata = 2;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        2, *this_._impl_.interaction_request_metadata_, this_._impl_.interaction_request_metadata_->GetCachedSize(), target,
        stream);
  }

  // .lens.ImageCrop image_crop = 3;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        3, *this_._impl_.image_crop_, this_._impl_.image_crop_->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.LensOverlayInteractionRequest)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t LensOverlayInteractionRequest::ByteSizeLong(const MessageLite& base) {
  const LensOverlayInteractionRequest& this_ = static_cast<const LensOverlayInteractionRequest&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t LensOverlayInteractionRequest::ByteSizeLong() const {
  const LensOverlayInteractionRequest& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:lens.LensOverlayInteractionRequest)
  ::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)) {
    // .lens.LensOverlayRequestContext request_context = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.request_context_);
    }
    // .lens.LensOverlayInteractionRequestMetadata interaction_request_metadata = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.interaction_request_metadata_);
    }
    // .lens.ImageCrop image_crop = 3;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.image_crop_);
    }
  }
  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 LensOverlayInteractionRequest::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<LensOverlayInteractionRequest*>(&to_msg);
  auto& from = static_cast<const LensOverlayInteractionRequest&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:lens.LensOverlayInteractionRequest)
  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_.request_context_ != nullptr);
      if (_this->_impl_.request_context_ == nullptr) {
        _this->_impl_.request_context_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.request_context_);
      } else {
        _this->_impl_.request_context_->MergeFrom(*from._impl_.request_context_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      ABSL_DCHECK(from._impl_.interaction_request_metadata_ != nullptr);
      if (_this->_impl_.interaction_request_metadata_ == nullptr) {
        _this->_impl_.interaction_request_metadata_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.interaction_request_metadata_);
      } else {
        _this->_impl_.interaction_request_metadata_->MergeFrom(*from._impl_.interaction_request_metadata_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      ABSL_DCHECK(from._impl_.image_crop_ != nullptr);
      if (_this->_impl_.image_crop_ == nullptr) {
        _this->_impl_.image_crop_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.image_crop_);
      } else {
        _this->_impl_.image_crop_->MergeFrom(*from._impl_.image_crop_);
      }
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


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

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

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

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

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

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

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite LensOverlayInteractionResponse_class_data_ =
    LensOverlayInteractionResponse::InternalGenerateClassData_(LensOverlayInteractionResponse_globals_._default);

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

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // string encoded_response = 3;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    if (!this_._internal_encoded_response().empty()) {
      const ::std::string& _s = this_._internal_encoded_response();
      ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
          _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "lens.LensOverlayInteractionResponse.encoded_response");
      target = stream->WriteStringMaybeAliased(3, _s, target);
    }
  }

  // .lens.Text text = 5;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        5, *this_._impl_.text_, this_._impl_.text_->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.LensOverlayInteractionResponse)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t LensOverlayInteractionResponse::ByteSizeLong(const MessageLite& base) {
  const LensOverlayInteractionResponse& this_ = static_cast<const LensOverlayInteractionResponse&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t LensOverlayInteractionResponse::ByteSizeLong() const {
  const LensOverlayInteractionResponse& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:lens.LensOverlayInteractionResponse)
  ::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)) {
    // string encoded_response = 3;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      if (!this_._internal_encoded_response().empty()) {
        total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                        this_._internal_encoded_response());
      }
    }
    // .lens.Text text = 5;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.text_);
    }
  }
  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 LensOverlayInteractionResponse::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<LensOverlayInteractionResponse*>(&to_msg);
  auto& from = static_cast<const LensOverlayInteractionResponse&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:lens.LensOverlayInteractionResponse)
  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)) {
      if (!from._internal_encoded_response().empty()) {
        _this->_internal_set_encoded_response(from._internal_encoded_response());
      } else {
        if (_this->_impl_.encoded_response_.IsDefault()) {
          _this->_internal_set_encoded_response("");
        }
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      ABSL_DCHECK(from._impl_.text_ != nullptr);
      if (_this->_impl_.text_ == nullptr) {
        _this->_impl_.text_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.text_);
      } else {
        _this->_impl_.text_->MergeFrom(*from._impl_.text_);
      }
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void LensOverlayInteractionResponse::InternalSwap(LensOverlayInteractionResponse* 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_response_, &other->_impl_.encoded_response_, arena);
  swap(_impl_.text_, other->_impl_.text_);
}

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

void Payload::clear_image_data() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.image_data_ != nullptr) _impl_.image_data_->Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
}
void Payload::clear_partial_pdf_document() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.partial_pdf_document_ != nullptr) _impl_.partial_pdf_document_->Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
}
void Payload::clear_content_metadata() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.content_metadata_ != nullptr) _impl_.content_metadata_->Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000080U);
}
Payload::Payload(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, Payload_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:lens.Payload)
}
PROTOBUF_NDEBUG_INLINE Payload::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::lens::Payload& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        content_data_(arena, from.content_data_),
        content_type_(arena, from.content_type_),
        page_url_(arena, from.page_url_) {}

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  Payload* 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_.image_data_ = (CheckHasBit(cached_has_bits, 0x00000008U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.image_data_)
                : nullptr;
  _impl_.partial_pdf_document_ = (CheckHasBit(cached_has_bits, 0x00000010U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.partial_pdf_document_)
                : nullptr;
  _impl_.stored_chunk_options_ = (CheckHasBit(cached_has_bits, 0x00000020U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.stored_chunk_options_)
                : nullptr;
  _impl_.content_ = (CheckHasBit(cached_has_bits, 0x00000040U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.content_)
                : nullptr;
  _impl_.content_metadata_ = (CheckHasBit(cached_has_bits, 0x00000080U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.content_metadata_)
                : nullptr;
  ::memcpy(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, request_type_),
           reinterpret_cast<const char*>(&from._impl_) +
               offsetof(Impl_, request_type_),
           offsetof(Impl_, compression_type_) -
               offsetof(Impl_, request_type_) +
               sizeof(Impl_::compression_type_));

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

inline void Payload::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
  ::memset(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, image_data_),
           0,
           offsetof(Impl_, compression_type_) -
               offsetof(Impl_, image_data_) +
               sizeof(Impl_::compression_type_));
}
Payload::~Payload() {
  // @@protoc_insertion_point(destructor:lens.Payload)
  SharedDtor(*this);
}
inline void Payload::SharedDtor(MessageLite& self) {
  Payload& this_ = static_cast<Payload&>(self);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  this_._internal_metadata_.Delete<::std::string>();
  ABSL_DCHECK(this_.GetArena() == nullptr);
  this_._impl_.content_data_.Destroy();
  this_._impl_.content_type_.Destroy();
  this_._impl_.page_url_.Destroy();
  delete this_._impl_.image_data_;
  delete this_._impl_.partial_pdf_document_;
  delete this_._impl_.stored_chunk_options_;
  delete this_._impl_.content_;
  delete this_._impl_.content_metadata_;
  this_._impl_.~Impl_();
}

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite Payload_class_data_ =
    Payload::InternalGenerateClassData_(Payload_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
Payload::GetClassData() const {
  return Payload_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
Payload::GetClassData() const {
  return Payload_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const Payload::ParseTableT_
    Payload::_table_ =
        Payload::InternalGenerateParseTable_(Payload_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void Payload::Clear() {
// @@protoc_insertion_point(message_clear_start:lens.Payload)
  ::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_.content_data_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.content_type_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.page_url_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      ABSL_DCHECK(_impl_.image_data_ != nullptr);
      _impl_.image_data_->Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      ABSL_DCHECK(_impl_.partial_pdf_document_ != nullptr);
      _impl_.partial_pdf_document_->Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      ABSL_DCHECK(_impl_.stored_chunk_options_ != nullptr);
      _impl_.stored_chunk_options_->Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      ABSL_DCHECK(_impl_.content_ != nullptr);
      _impl_.content_->Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      ABSL_DCHECK(_impl_.content_metadata_ != nullptr);
      _impl_.content_metadata_->Clear();
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000300U)) {
    ::memset(&_impl_.request_type_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.compression_type_) -
        reinterpret_cast<char*>(&_impl_.request_type_)) + sizeof(_impl_.compression_type_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // .lens.ImageData image_data = 2;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        2, *this_._impl_.image_data_, this_._impl_.image_data_->GetCachedSize(), target,
        stream);
  }

  // bytes content_data = 3;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    if (!this_._internal_content_data().empty()) {
      const ::std::string& _s = this_._internal_content_data();
      target = stream->WriteBytesMaybeAliased(3, _s, target);
    }
  }

  // string content_type = 4;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    if (!this_._internal_content_type().empty()) {
      const ::std::string& _s = this_._internal_content_type();
      ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
          _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "lens.Payload.content_type");
      target = stream->WriteStringMaybeAliased(4, _s, target);
    }
  }

  // string page_url = 5;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    if (!this_._internal_page_url().empty()) {
      const ::std::string& _s = this_._internal_page_url();
      ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
          _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "lens.Payload.page_url");
      target = stream->WriteStringMaybeAliased(5, _s, target);
    }
  }

  // .lens.RequestType request_type = 6;
  if (CheckHasBit(cached_has_bits, 0x00000100U)) {
    if (this_._internal_request_type() != 0) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteEnumToArray(
          6, this_._internal_request_type(), target);
    }
  }

  // .lens.LensOverlayDocument partial_pdf_document = 7;
  if (CheckHasBit(cached_has_bits, 0x00000010U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        7, *this_._impl_.partial_pdf_document_, this_._impl_.partial_pdf_document_->GetCachedSize(), target,
        stream);
  }

  // .lens.CompressionType compression_type = 8;
  if (CheckHasBit(cached_has_bits, 0x00000200U)) {
    if (this_._internal_compression_type() != 0) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteEnumToArray(
          8, this_._internal_compression_type(), target);
    }
  }

  // .lens.StoredChunkOptions stored_chunk_options = 9;
  if (CheckHasBit(cached_has_bits, 0x00000020U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        9, *this_._impl_.stored_chunk_options_, this_._impl_.stored_chunk_options_->GetCachedSize(), target,
        stream);
  }

  // .lens.Content content = 10;
  if (CheckHasBit(cached_has_bits, 0x00000040U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        10, *this_._impl_.content_, this_._impl_.content_->GetCachedSize(), target,
        stream);
  }

  // .lens.LensOverlayContentMetadata content_metadata = 12;
  if (CheckHasBit(cached_has_bits, 0x00000080U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        12, *this_._impl_.content_metadata_, this_._impl_.content_metadata_->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.Payload)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t Payload::ByteSizeLong(const MessageLite& base) {
  const Payload& this_ = static_cast<const Payload&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t Payload::ByteSizeLong() const {
  const Payload& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:lens.Payload)
  ::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, 0x000000ffU)) {
    // bytes content_data = 3;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      if (!this_._internal_content_data().empty()) {
        total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
                                        this_._internal_content_data());
      }
    }
    // string content_type = 4;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      if (!this_._internal_content_type().empty()) {
        total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                        this_._internal_content_type());
      }
    }
    // string page_url = 5;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      if (!this_._internal_page_url().empty()) {
        total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                        this_._internal_page_url());
      }
    }
    // .lens.ImageData image_data = 2;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.image_data_);
    }
    // .lens.LensOverlayDocument partial_pdf_document = 7;
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.partial_pdf_document_);
    }
    // .lens.StoredChunkOptions stored_chunk_options = 9;
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.stored_chunk_options_);
    }
    // .lens.Content content = 10;
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.content_);
    }
    // .lens.LensOverlayContentMetadata content_metadata = 12;
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.content_metadata_);
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000300U)) {
    // .lens.RequestType request_type = 6;
    if (CheckHasBit(cached_has_bits, 0x00000100U)) {
      if (this_._internal_request_type() != 0) {
        total_size += 1 +
                      ::_pbi::WireFormatLite::EnumSize(this_._internal_request_type());
      }
    }
    // .lens.CompressionType compression_type = 8;
    if (CheckHasBit(cached_has_bits, 0x00000200U)) {
      if (this_._internal_compression_type() != 0) {
        total_size += 1 +
                      ::_pbi::WireFormatLite::EnumSize(this_._internal_compression_type());
      }
    }
  }
  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
  }
  this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
  return total_size;
}

void Payload::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<Payload*>(&to_msg);
  auto& from = static_cast<const Payload&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:lens.Payload)
  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)) {
      if (!from._internal_content_data().empty()) {
        _this->_internal_set_content_data(from._internal_content_data());
      } else {
        if (_this->_impl_.content_data_.IsDefault()) {
          _this->_internal_set_content_data("");
        }
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      if (!from._internal_content_type().empty()) {
        _this->_internal_set_content_type(from._internal_content_type());
      } else {
        if (_this->_impl_.content_type_.IsDefault()) {
          _this->_internal_set_content_type("");
        }
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      if (!from._internal_page_url().empty()) {
        _this->_internal_set_page_url(from._internal_page_url());
      } else {
        if (_this->_impl_.page_url_.IsDefault()) {
          _this->_internal_set_page_url("");
        }
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      ABSL_DCHECK(from._impl_.image_data_ != nullptr);
      if (_this->_impl_.image_data_ == nullptr) {
        _this->_impl_.image_data_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.image_data_);
      } else {
        _this->_impl_.image_data_->MergeFrom(*from._impl_.image_data_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      ABSL_DCHECK(from._impl_.partial_pdf_document_ != nullptr);
      if (_this->_impl_.partial_pdf_document_ == nullptr) {
        _this->_impl_.partial_pdf_document_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.partial_pdf_document_);
      } else {
        _this->_impl_.partial_pdf_document_->MergeFrom(*from._impl_.partial_pdf_document_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      ABSL_DCHECK(from._impl_.stored_chunk_options_ != nullptr);
      if (_this->_impl_.stored_chunk_options_ == nullptr) {
        _this->_impl_.stored_chunk_options_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.stored_chunk_options_);
      } else {
        _this->_impl_.stored_chunk_options_->MergeFrom(*from._impl_.stored_chunk_options_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      ABSL_DCHECK(from._impl_.content_ != nullptr);
      if (_this->_impl_.content_ == nullptr) {
        _this->_impl_.content_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.content_);
      } else {
        _this->_impl_.content_->MergeFrom(*from._impl_.content_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      ABSL_DCHECK(from._impl_.content_metadata_ != nullptr);
      if (_this->_impl_.content_metadata_ == nullptr) {
        _this->_impl_.content_metadata_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.content_metadata_);
      } else {
        _this->_impl_.content_metadata_->MergeFrom(*from._impl_.content_metadata_);
      }
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000300U)) {
    if (CheckHasBit(cached_has_bits, 0x00000100U)) {
      if (from._internal_request_type() != 0) {
        _this->_impl_.request_type_ = from._impl_.request_type_;
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000200U)) {
      if (from._internal_compression_type() != 0) {
        _this->_impl_.compression_type_ = from._impl_.compression_type_;
      }
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void Payload::InternalSwap(Payload* 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_.content_data_, &other->_impl_.content_data_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.content_type_, &other->_impl_.content_type_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.page_url_, &other->_impl_.page_url_, arena);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(Payload, _impl_.compression_type_)
      + sizeof(Payload::_impl_.compression_type_)
      - PROTOBUF_FIELD_OFFSET(Payload, _impl_.image_data_)>(
          reinterpret_cast<char*>(&_impl_.image_data_),
          reinterpret_cast<char*>(&other->_impl_.image_data_));
}

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

StoredChunkOptions::StoredChunkOptions(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, StoredChunkOptions_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:lens.StoredChunkOptions)
}
StoredChunkOptions::StoredChunkOptions(
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const StoredChunkOptions& from)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, StoredChunkOptions_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 StoredChunkOptions::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0} {}

inline void StoredChunkOptions::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
  ::memset(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, total_stored_chunks_),
           0,
           offsetof(Impl_, is_read_retry_) -
               offsetof(Impl_, total_stored_chunks_) +
               sizeof(Impl_::is_read_retry_));
}
StoredChunkOptions::~StoredChunkOptions() {
  // @@protoc_insertion_point(destructor:lens.StoredChunkOptions)
  SharedDtor(*this);
}
inline void StoredChunkOptions::SharedDtor(MessageLite& self) {
  StoredChunkOptions& this_ = static_cast<StoredChunkOptions&>(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 StoredChunkOptions_class_data_ =
    StoredChunkOptions::InternalGenerateClassData_(StoredChunkOptions_globals_._default);

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

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

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // bool read_stored_chunks = 1;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    if (this_._internal_read_stored_chunks() != 0) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteBoolToArray(
          1, this_._internal_read_stored_chunks(), target);
    }
  }

  // int64 total_stored_chunks = 2;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    if (this_._internal_total_stored_chunks() != 0) {
      target =
          ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<2>(
              stream, this_._internal_total_stored_chunks(), target);
    }
  }

  // bool is_read_retry = 3;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    if (this_._internal_is_read_retry() != 0) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteBoolToArray(
          3, this_._internal_is_read_retry(), 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.StoredChunkOptions)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t StoredChunkOptions::ByteSizeLong(const MessageLite& base) {
  const StoredChunkOptions& this_ = static_cast<const StoredChunkOptions&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t StoredChunkOptions::ByteSizeLong() const {
  const StoredChunkOptions& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:lens.StoredChunkOptions)
  ::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)) {
    // int64 total_stored_chunks = 2;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      if (this_._internal_total_stored_chunks() != 0) {
        total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
            this_._internal_total_stored_chunks());
      }
    }
    // bool read_stored_chunks = 1;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      if (this_._internal_read_stored_chunks() != 0) {
        total_size += 2;
      }
    }
    // bool is_read_retry = 3;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      if (this_._internal_is_read_retry() != 0) {
        total_size += 2;
      }
    }
  }
  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 StoredChunkOptions::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<StoredChunkOptions*>(&to_msg);
  auto& from = static_cast<const StoredChunkOptions&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:lens.StoredChunkOptions)
  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)) {
      if (from._internal_total_stored_chunks() != 0) {
        _this->_impl_.total_stored_chunks_ = from._impl_.total_stored_chunks_;
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      if (from._internal_read_stored_chunks() != 0) {
        _this->_impl_.read_stored_chunks_ = from._impl_.read_stored_chunks_;
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      if (from._internal_is_read_retry() != 0) {
        _this->_impl_.is_read_retry_ = from._impl_.is_read_retry_;
      }
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


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

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

Content::Content(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, Content_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:lens.Content)
}
PROTOBUF_NDEBUG_INLINE Content::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::lens::Content& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        content_data_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::lens::Content,
              PROTOBUF_FIELD_OFFSET(::lens::Content, _impl_.content_data_)>()
          , from.content_data_
        }
        ,
        webpage_url_(arena, from.webpage_url_),
        webpage_title_(arena, from.webpage_title_) {}

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

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

  // @@protoc_insertion_point(copy_constructor:lens.Content)
}
PROTOBUF_NDEBUG_INLINE Content::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        content_data_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::lens::Content,
            PROTOBUF_FIELD_OFFSET(::lens::Content, _impl_.content_data_)>()
         }
        ,
        webpage_url_(arena),
        webpage_title_(arena) {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite Content_class_data_ =
    Content::InternalGenerateClassData_(Content_globals_._default);

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

  cached_has_bits = _impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.content_data_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.webpage_url_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.webpage_title_.ClearNonDefaultToEmpty();
    }
  }
  _impl_.request_type_ = 0;
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // string webpage_url = 1;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    if (!this_._internal_webpage_url().empty()) {
      const ::std::string& _s = this_._internal_webpage_url();
      ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
          _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "lens.Content.webpage_url");
      target = stream->WriteStringMaybeAliased(1, _s, target);
    }
  }

  // repeated .lens.ContentData content_data = 2;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    for (unsigned i = 0, n = static_cast<unsigned>(
                             this_._internal_content_data_size());
         i < n; i++) {
      const auto& repfield = this_._internal_content_data().Get(i);
      target =
          ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
              2, repfield, repfield.GetCachedSize(),
              target, stream);
    }
  }

  // .lens.RequestType request_type = 3;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    if (this_._internal_request_type() != 0) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteEnumToArray(
          3, this_._internal_request_type(), target);
    }
  }

  // string webpage_title = 4;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    if (!this_._internal_webpage_title().empty()) {
      const ::std::string& _s = this_._internal_webpage_title();
      ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
          _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "lens.Content.webpage_title");
      target = stream->WriteStringMaybeAliased(4, _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.Content)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t Content::ByteSizeLong(const MessageLite& base) {
  const Content& this_ = static_cast<const Content&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t Content::ByteSizeLong() const {
  const Content& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:lens.Content)
  ::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, 0x0000000fU)) {
    // repeated .lens.ContentData content_data = 2;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1UL * this_._internal_content_data_size();
      for (const auto& msg : this_._internal_content_data()) {
        total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
      }
    }
    // string webpage_url = 1;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      if (!this_._internal_webpage_url().empty()) {
        total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                        this_._internal_webpage_url());
      }
    }
    // string webpage_title = 4;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      if (!this_._internal_webpage_title().empty()) {
        total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                        this_._internal_webpage_title());
      }
    }
    // .lens.RequestType request_type = 3;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      if (this_._internal_request_type() != 0) {
        total_size += 1 +
                      ::_pbi::WireFormatLite::EnumSize(this_._internal_request_type());
      }
    }
  }
  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
  }
  this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
  return total_size;
}

void Content::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<Content*>(&to_msg);
  auto& from = static_cast<const Content&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:lens.Content)
  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, 0x0000000fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_mutable_content_data()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_content_data());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      if (!from._internal_webpage_url().empty()) {
        _this->_internal_set_webpage_url(from._internal_webpage_url());
      } else {
        if (_this->_impl_.webpage_url_.IsDefault()) {
          _this->_internal_set_webpage_url("");
        }
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      if (!from._internal_webpage_title().empty()) {
        _this->_internal_set_webpage_title(from._internal_webpage_title());
      } else {
        if (_this->_impl_.webpage_title_.IsDefault()) {
          _this->_internal_set_webpage_title("");
        }
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      if (from._internal_request_type() != 0) {
        _this->_impl_.request_type_ = from._impl_.request_type_;
      }
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


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

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

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

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

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

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

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite ContentData_class_data_ =
    ContentData::InternalGenerateClassData_(ContentData_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
ContentData::GetClassData() const {
  return ContentData_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
ContentData::GetClassData() const {
  return ContentData_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ContentData::ParseTableT_
    ContentData::_table_ =
        ContentData::InternalGenerateParseTable_(ContentData_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void ContentData::Clear() {
// @@protoc_insertion_point(message_clear_start:lens.ContentData)
  ::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_.data_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      ABSL_DCHECK(_impl_.stored_chunk_options_ != nullptr);
      _impl_.stored_chunk_options_->Clear();
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x0000000cU)) {
    ::memset(&_impl_.content_type_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.compression_type_) -
        reinterpret_cast<char*>(&_impl_.content_type_)) + sizeof(_impl_.compression_type_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // .lens.ContentData.ContentType content_type = 1;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    if (this_._internal_content_type() != 0) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteEnumToArray(
          1, this_._internal_content_type(), target);
    }
  }

  // bytes data = 2;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    if (!this_._internal_data().empty()) {
      const ::std::string& _s = this_._internal_data();
      target = stream->WriteBytesMaybeAliased(2, _s, target);
    }
  }

  // .lens.CompressionType compression_type = 3;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    if (this_._internal_compression_type() != 0) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteEnumToArray(
          3, this_._internal_compression_type(), target);
    }
  }

  // .lens.StoredChunkOptions stored_chunk_options = 4;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        4, *this_._impl_.stored_chunk_options_, this_._impl_.stored_chunk_options_->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.ContentData)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t ContentData::ByteSizeLong(const MessageLite& base) {
  const ContentData& this_ = static_cast<const ContentData&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t ContentData::ByteSizeLong() const {
  const ContentData& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:lens.ContentData)
  ::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, 0x0000000fU)) {
    // bytes data = 2;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      if (!this_._internal_data().empty()) {
        total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
                                        this_._internal_data());
      }
    }
    // .lens.StoredChunkOptions stored_chunk_options = 4;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.stored_chunk_options_);
    }
    // .lens.ContentData.ContentType content_type = 1;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      if (this_._internal_content_type() != 0) {
        total_size += 1 +
                      ::_pbi::WireFormatLite::EnumSize(this_._internal_content_type());
      }
    }
    // .lens.CompressionType compression_type = 3;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      if (this_._internal_compression_type() != 0) {
        total_size += 1 +
                      ::_pbi::WireFormatLite::EnumSize(this_._internal_compression_type());
      }
    }
  }
  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
  }
  this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
  return total_size;
}

void ContentData::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<ContentData*>(&to_msg);
  auto& from = static_cast<const ContentData&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:lens.ContentData)
  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, 0x0000000fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      if (!from._internal_data().empty()) {
        _this->_internal_set_data(from._internal_data());
      } else {
        if (_this->_impl_.data_.IsDefault()) {
          _this->_internal_set_data("");
        }
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      ABSL_DCHECK(from._impl_.stored_chunk_options_ != nullptr);
      if (_this->_impl_.stored_chunk_options_ == nullptr) {
        _this->_impl_.stored_chunk_options_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.stored_chunk_options_);
      } else {
        _this->_impl_.stored_chunk_options_->MergeFrom(*from._impl_.stored_chunk_options_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      if (from._internal_content_type() != 0) {
        _this->_impl_.content_type_ = from._impl_.content_type_;
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      if (from._internal_compression_type() != 0) {
        _this->_impl_.compression_type_ = from._impl_.compression_type_;
      }
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


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

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