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

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

constexpr RenderingContext::ParseTableT_ RenderingContext::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(RenderingContext, _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
      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::RenderingContext>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // .lens.LensRenderingEnvironment rendering_environment = 2;
      {::_pbi::TcParser::FastV32S1,
       {16, 0, 0,
        PROTOBUF_FIELD_OFFSET(RenderingContext, _impl_.rendering_environment_)}},
    }}, {{
      65535, 65535
    }}, {{
      // .lens.LensRenderingEnvironment rendering_environment = 2;
      {PROTOBUF_FIELD_OFFSET(RenderingContext, _impl_.rendering_environment_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
    }},
    // no aux_entries
    {{
    }},
  };
}


inline constexpr RenderingContext::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        rendering_environment_{static_cast< ::lens::LensRenderingEnvironment >(0)} {}

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

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

constexpr LocaleContext::ParseTableT_ LocaleContext::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(LocaleContext, _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::LocaleContext>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // string language = 1;
      {::_pbi::TcParser::FastUS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(LocaleContext, _impl_.language_)}},
      // string region = 2;
      {::_pbi::TcParser::FastUS1,
       {18, 1, 0,
        PROTOBUF_FIELD_OFFSET(LocaleContext, _impl_.region_)}},
      // string time_zone = 3;
      {::_pbi::TcParser::FastUS1,
       {26, 2, 0,
        PROTOBUF_FIELD_OFFSET(LocaleContext, _impl_.time_zone_)}},
    }}, {{
      65535, 65535
    }}, {{
      // string language = 1;
      {PROTOBUF_FIELD_OFFSET(LocaleContext, _impl_.language_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
      // string region = 2;
      {PROTOBUF_FIELD_OFFSET(LocaleContext, _impl_.region_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
      // string time_zone = 3;
      {PROTOBUF_FIELD_OFFSET(LocaleContext, _impl_.time_zone_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
    }},
    // no aux_entries
    {{
      "\22\10\6\11\0\0\0\0"
      "lens.LocaleContext"
      "language"
      "region"
      "time_zone"
    }},
  };
}


inline constexpr LocaleContext::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        language_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        region_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        time_zone_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()) {}

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

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

constexpr ClientLoggingData::ParseTableT_ ClientLoggingData::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(ClientLoggingData, _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::ClientLoggingData>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // bool is_history_eligible = 1;
      {::_pbi::TcParser::FastV8S1,
       {8, 0, 0,
        PROTOBUF_FIELD_OFFSET(ClientLoggingData, _impl_.is_history_eligible_)}},
    }}, {{
      65535, 65535
    }}, {{
      // bool is_history_eligible = 1;
      {PROTOBUF_FIELD_OFFSET(ClientLoggingData, _impl_.is_history_eligible_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
    }},
    // no aux_entries
    {{
    }},
  };
}


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

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

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

constexpr LensOverlayClientContext::ParseTableT_ LensOverlayClientContext::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(LensOverlayClientContext, _impl_._has_bits_),
      0, // no _extensions_
      23, 56,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4290183124,  // skipmap
      offsetof(ParseTableT_, field_entries),
      7,  // 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::LensOverlayClientContext>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // .lens.Platform platform = 1;
      {::_pbi::TcParser::FastV32S1,
       {8, 5, 0,
        PROTOBUF_FIELD_OFFSET(LensOverlayClientContext, _impl_.platform_)}},
      // .lens.Surface surface = 2;
      {::_pbi::TcParser::FastV32S1,
       {16, 6, 0,
        PROTOBUF_FIELD_OFFSET(LensOverlayClientContext, _impl_.surface_)}},
      {::_pbi::TcParser::MiniParse, {}},
      // .lens.LocaleContext locale_context = 4;
      {::_pbi::TcParser::FastMtS1,
       {34, 1, 0,
        PROTOBUF_FIELD_OFFSET(LensOverlayClientContext, _impl_.locale_context_)}},
      {::_pbi::TcParser::MiniParse, {}},
      // string app_id = 6;
      {::_pbi::TcParser::FastUS1,
       {50, 0, 0,
        PROTOBUF_FIELD_OFFSET(LensOverlayClientContext, _impl_.app_id_)}},
      // .lens.ClientLoggingData client_logging_data = 23;
      {::_pbi::TcParser::FastMtS2,
       {442, 4, 3,
        PROTOBUF_FIELD_OFFSET(LensOverlayClientContext, _impl_.client_logging_data_)}},
    }}, {{
      65535, 65535
    }}, {{
      // .lens.Platform platform = 1;
      {PROTOBUF_FIELD_OFFSET(LensOverlayClientContext, _impl_.platform_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
      // .lens.Surface surface = 2;
      {PROTOBUF_FIELD_OFFSET(LensOverlayClientContext, _impl_.surface_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
      // .lens.LocaleContext locale_context = 4;
      {PROTOBUF_FIELD_OFFSET(LensOverlayClientContext, _impl_.locale_context_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // string app_id = 6;
      {PROTOBUF_FIELD_OFFSET(LensOverlayClientContext, _impl_.app_id_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
      // .lens.AppliedFilters client_filters = 17;
      {PROTOBUF_FIELD_OFFSET(LensOverlayClientContext, _impl_.client_filters_), _Internal::kHasBitsOffset + 2, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // .lens.RenderingContext rendering_context = 20;
      {PROTOBUF_FIELD_OFFSET(LensOverlayClientContext, _impl_.rendering_context_), _Internal::kHasBitsOffset + 3, 2, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // .lens.ClientLoggingData client_logging_data = 23;
      {PROTOBUF_FIELD_OFFSET(LensOverlayClientContext, _impl_.client_logging_data_), _Internal::kHasBitsOffset + 4, 3, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::lens::LocaleContext>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::lens::LocaleContext_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::lens::AppliedFilters>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::lens::AppliedFilters_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::lens::RenderingContext>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::lens::RenderingContext_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::lens::ClientLoggingData>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::lens::ClientLoggingData_globals_},
        #endif
    }},
    {{
      "\35\0\0\0\6\0\0\0"
      "lens.LensOverlayClientContext"
      "app_id"
    }},
  };
}


inline constexpr LensOverlayClientContext::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        app_id_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        locale_context_{nullptr},
        client_filters_{nullptr},
        rendering_context_{nullptr},
        client_logging_data_{nullptr},
        platform_{static_cast< ::lens::Platform >(0)},
        surface_{static_cast< ::lens::Surface >(0)} {}

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

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST LensOverlayClientContextGlobalsTypeInternal LensOverlayClientContext_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* LensOverlayClientContext_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return LensOverlayClientContext_globals_.GetClassData();
#else
  return LensOverlayClientContext_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
}  // namespace lens
namespace lens {
PROTOBUF_CONSTINIT const uint32_t LensRenderingEnvironment_internal_data_[] = {
    65536u, 32u, 8192u, };
static const char LensRenderingEnvironment_names[] = {
    "RENDERING_ENV_LENS_OVERLAY"
    "RENDERING_ENV_UNSPECIFIED"
};

static const ::google::protobuf::internal::EnumEntry LensRenderingEnvironment_entries[] = {
    {{&LensRenderingEnvironment_names[0], 26}, 14},
    {{&LensRenderingEnvironment_names[26], 25}, 0},
};

static const int LensRenderingEnvironment_entries_by_number[] = {
    1,  // 0 -> RENDERING_ENV_UNSPECIFIED
    0,  // 14 -> RENDERING_ENV_LENS_OVERLAY
};

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

const ::std::string& LensRenderingEnvironment_Name(LensRenderingEnvironment value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      LensRenderingEnvironment_entries, LensRenderingEnvironment_entries_by_number, 2,
      LensRenderingEnvironment_strings);
  (void)kDummy;

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

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

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  LensOverlayClientContext* 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_.locale_context_ = (CheckHasBit(cached_has_bits, 0x00000002U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.locale_context_)
                : nullptr;
  _impl_.client_filters_ = (CheckHasBit(cached_has_bits, 0x00000004U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.client_filters_)
                : nullptr;
  _impl_.rendering_context_ = (CheckHasBit(cached_has_bits, 0x00000008U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.rendering_context_)
                : nullptr;
  _impl_.client_logging_data_ = (CheckHasBit(cached_has_bits, 0x00000010U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.client_logging_data_)
                : nullptr;
  ::memcpy(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, platform_),
           reinterpret_cast<const char*>(&from._impl_) +
               offsetof(Impl_, platform_),
           offsetof(Impl_, surface_) -
               offsetof(Impl_, platform_) +
               sizeof(Impl_::surface_));

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

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite LensOverlayClientContext_class_data_ =
    LensOverlayClientContext::InternalGenerateClassData_(LensOverlayClientContext_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
LensOverlayClientContext::GetClassData() const {
  return LensOverlayClientContext_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
LensOverlayClientContext::GetClassData() const {
  return LensOverlayClientContext_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const LensOverlayClientContext::ParseTableT_
    LensOverlayClientContext::_table_ =
        LensOverlayClientContext::InternalGenerateParseTable_(LensOverlayClientContext_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void LensOverlayClientContext::Clear() {
// @@protoc_insertion_point(message_clear_start:lens.LensOverlayClientContext)
  ::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, 0x0000001fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.app_id_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      ABSL_DCHECK(_impl_.locale_context_ != nullptr);
      _impl_.locale_context_->Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      ABSL_DCHECK(_impl_.client_filters_ != nullptr);
      _impl_.client_filters_->Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      ABSL_DCHECK(_impl_.rendering_context_ != nullptr);
      _impl_.rendering_context_->Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      ABSL_DCHECK(_impl_.client_logging_data_ != nullptr);
      _impl_.client_logging_data_->Clear();
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000060U)) {
    ::memset(&_impl_.platform_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.surface_) -
        reinterpret_cast<char*>(&_impl_.platform_)) + sizeof(_impl_.surface_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // .lens.Platform platform = 1;
  if (CheckHasBit(cached_has_bits, 0x00000020U)) {
    if (this_._internal_platform() != 0) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteEnumToArray(
          1, this_._internal_platform(), target);
    }
  }

  // .lens.Surface surface = 2;
  if (CheckHasBit(cached_has_bits, 0x00000040U)) {
    if (this_._internal_surface() != 0) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteEnumToArray(
          2, this_._internal_surface(), target);
    }
  }

  // .lens.LocaleContext locale_context = 4;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        4, *this_._impl_.locale_context_, this_._impl_.locale_context_->GetCachedSize(), target,
        stream);
  }

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

  // .lens.AppliedFilters client_filters = 17;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        17, *this_._impl_.client_filters_, this_._impl_.client_filters_->GetCachedSize(), target,
        stream);
  }

  // .lens.RenderingContext rendering_context = 20;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        20, *this_._impl_.rendering_context_, this_._impl_.rendering_context_->GetCachedSize(), target,
        stream);
  }

  // .lens.ClientLoggingData client_logging_data = 23;
  if (CheckHasBit(cached_has_bits, 0x00000010U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        23, *this_._impl_.client_logging_data_, this_._impl_.client_logging_data_->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.LensOverlayClientContext)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t LensOverlayClientContext::ByteSizeLong(const MessageLite& base) {
  const LensOverlayClientContext& this_ = static_cast<const LensOverlayClientContext&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t LensOverlayClientContext::ByteSizeLong() const {
  const LensOverlayClientContext& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:lens.LensOverlayClientContext)
  ::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, 0x0000007fU)) {
    // string app_id = 6;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      if (!this_._internal_app_id().empty()) {
        total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                        this_._internal_app_id());
      }
    }
    // .lens.LocaleContext locale_context = 4;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.locale_context_);
    }
    // .lens.AppliedFilters client_filters = 17;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 2 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.client_filters_);
    }
    // .lens.RenderingContext rendering_context = 20;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += 2 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.rendering_context_);
    }
    // .lens.ClientLoggingData client_logging_data = 23;
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      total_size += 2 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.client_logging_data_);
    }
    // .lens.Platform platform = 1;
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      if (this_._internal_platform() != 0) {
        total_size += 1 +
                      ::_pbi::WireFormatLite::EnumSize(this_._internal_platform());
      }
    }
    // .lens.Surface surface = 2;
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      if (this_._internal_surface() != 0) {
        total_size += 1 +
                      ::_pbi::WireFormatLite::EnumSize(this_._internal_surface());
      }
    }
  }
  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 LensOverlayClientContext::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<LensOverlayClientContext*>(&to_msg);
  auto& from = static_cast<const LensOverlayClientContext&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:lens.LensOverlayClientContext)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = from._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x0000007fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      if (!from._internal_app_id().empty()) {
        _this->_internal_set_app_id(from._internal_app_id());
      } else {
        if (_this->_impl_.app_id_.IsDefault()) {
          _this->_internal_set_app_id("");
        }
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      ABSL_DCHECK(from._impl_.locale_context_ != nullptr);
      if (_this->_impl_.locale_context_ == nullptr) {
        _this->_impl_.locale_context_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.locale_context_);
      } else {
        _this->_impl_.locale_context_->MergeFrom(*from._impl_.locale_context_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      ABSL_DCHECK(from._impl_.client_filters_ != nullptr);
      if (_this->_impl_.client_filters_ == nullptr) {
        _this->_impl_.client_filters_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.client_filters_);
      } else {
        _this->_impl_.client_filters_->MergeFrom(*from._impl_.client_filters_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      ABSL_DCHECK(from._impl_.rendering_context_ != nullptr);
      if (_this->_impl_.rendering_context_ == nullptr) {
        _this->_impl_.rendering_context_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.rendering_context_);
      } else {
        _this->_impl_.rendering_context_->MergeFrom(*from._impl_.rendering_context_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      ABSL_DCHECK(from._impl_.client_logging_data_ != nullptr);
      if (_this->_impl_.client_logging_data_ == nullptr) {
        _this->_impl_.client_logging_data_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.client_logging_data_);
      } else {
        _this->_impl_.client_logging_data_->MergeFrom(*from._impl_.client_logging_data_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      if (from._internal_platform() != 0) {
        _this->_impl_.platform_ = from._impl_.platform_;
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      if (from._internal_surface() != 0) {
        _this->_impl_.surface_ = from._impl_.surface_;
      }
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


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

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

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

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  LocaleContext* 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.LocaleContext)
}
PROTOBUF_NDEBUG_INLINE LocaleContext::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        language_(arena),
        region_(arena),
        time_zone_(arena) {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite LocaleContext_class_data_ =
    LocaleContext::InternalGenerateClassData_(LocaleContext_globals_._default);

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

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

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

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

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

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t LocaleContext::ByteSizeLong(const MessageLite& base) {
  const LocaleContext& this_ = static_cast<const LocaleContext&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t LocaleContext::ByteSizeLong() const {
  const LocaleContext& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:lens.LocaleContext)
  ::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)) {
    // string language = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      if (!this_._internal_language().empty()) {
        total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                        this_._internal_language());
      }
    }
    // string region = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      if (!this_._internal_region().empty()) {
        total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                        this_._internal_region());
      }
    }
    // string time_zone = 3;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      if (!this_._internal_time_zone().empty()) {
        total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                        this_._internal_time_zone());
      }
    }
  }
  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 LocaleContext::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<LocaleContext*>(&to_msg);
  auto& from = static_cast<const LocaleContext&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:lens.LocaleContext)
  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_language().empty()) {
        _this->_internal_set_language(from._internal_language());
      } else {
        if (_this->_impl_.language_.IsDefault()) {
          _this->_internal_set_language("");
        }
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      if (!from._internal_region().empty()) {
        _this->_internal_set_region(from._internal_region());
      } else {
        if (_this->_impl_.region_.IsDefault()) {
          _this->_internal_set_region("");
        }
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      if (!from._internal_time_zone().empty()) {
        _this->_internal_set_time_zone(from._internal_time_zone());
      } else {
        if (_this->_impl_.time_zone_.IsDefault()) {
          _this->_internal_set_time_zone("");
        }
      }
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void LocaleContext::InternalSwap(LocaleContext* 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_.language_, &other->_impl_.language_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.region_, &other->_impl_.region_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.time_zone_, &other->_impl_.time_zone_, arena);
}

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

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

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

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

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // .lens.LensRenderingEnvironment rendering_environment = 2;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    if (this_._internal_rendering_environment() != 0) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteEnumToArray(
          2, this_._internal_rendering_environment(), 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.RenderingContext)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t RenderingContext::ByteSizeLong(const MessageLite& base) {
  const RenderingContext& this_ = static_cast<const RenderingContext&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t RenderingContext::ByteSizeLong() const {
  const RenderingContext& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:lens.RenderingContext)
  ::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.LensRenderingEnvironment rendering_environment = 2;
    cached_has_bits = this_._impl_._has_bits_[0];
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      if (this_._internal_rendering_environment() != 0) {
        total_size += 1 +
                      ::_pbi::WireFormatLite::EnumSize(this_._internal_rendering_environment());
      }
    }
  }
  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 RenderingContext::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<RenderingContext*>(&to_msg);
  auto& from = static_cast<const RenderingContext&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:lens.RenderingContext)
  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_rendering_environment() != 0) {
      _this->_impl_.rendering_environment_ = from._impl_.rendering_environment_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


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

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

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

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

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

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // bool is_history_eligible = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    if (this_._internal_is_history_eligible() != 0) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteBoolToArray(
          1, this_._internal_is_history_eligible(), 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.ClientLoggingData)
  return target;
}

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

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

   {
    // bool is_history_eligible = 1;
    cached_has_bits = this_._impl_._has_bits_[0];
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      if (this_._internal_is_history_eligible() != 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 ClientLoggingData::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<ClientLoggingData*>(&to_msg);
  auto& from = static_cast<const ClientLoggingData&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:lens.ClientLoggingData)
  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_is_history_eligible() != 0) {
      _this->_impl_.is_history_eligible_ = from._impl_.is_history_eligible_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


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

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