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

#include "components/feed/core/proto/v2/ui.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 feedui {
class ZeroStateSlice::_Internal {
 public:
  using HasBits = decltype(::std::declval<ZeroStateSlice>()._impl_._has_bits_);
  static constexpr ::int32_t kHasBitsOffset =
      8 * PROTOBUF_FIELD_OFFSET(ZeroStateSlice, _impl_._has_bits_);
};

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


inline constexpr ZeroStateSlice::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        type_{static_cast< ::feedui::ZeroStateSlice_Type >(0)} {}

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

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

constexpr XSurfaceSlice::ParseTableT_ XSurfaceSlice::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(XSurfaceSlice, _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<::feedui::XSurfaceSlice>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // bytes xsurface_frame = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(XSurfaceSlice, _impl_.xsurface_frame_)}},
    }}, {{
      65535, 65535
    }}, {{
      // bytes xsurface_frame = 1;
      {PROTOBUF_FIELD_OFFSET(XSurfaceSlice, _impl_.xsurface_frame_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
    }},
    // no aux_entries
    {{
    }},
  };
}


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

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

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

constexpr SharedState::ParseTableT_ SharedState::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(SharedState, _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<::feedui::SharedState>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // bytes xsurface_shared_state = 2;
      {::_pbi::TcParser::FastBS1,
       {18, 1, 0,
        PROTOBUF_FIELD_OFFSET(SharedState, _impl_.xsurface_shared_state_)}},
      // string id = 1;
      {::_pbi::TcParser::FastUS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(SharedState, _impl_.id_)}},
    }}, {{
      65535, 65535
    }}, {{
      // string id = 1;
      {PROTOBUF_FIELD_OFFSET(SharedState, _impl_.id_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
      // bytes xsurface_shared_state = 2;
      {PROTOBUF_FIELD_OFFSET(SharedState, _impl_.xsurface_shared_state_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
    }},
    // no aux_entries
    {{
      "\22\2\0\0\0\0\0\0"
      "feedui.SharedState"
      "id"
    }},
  };
}


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

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

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

constexpr LoggingParameters::ParseTableT_ LoggingParameters::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(LoggingParameters, _impl_._has_bits_),
      0, // no _extensions_
      6, 56,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967232,  // skipmap
      offsetof(ParseTableT_, field_entries),
      6,  // 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<::feedui::LoggingParameters>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // string session_id = 1;
      {::_pbi::TcParser::FastUS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(LoggingParameters, _impl_.session_id_)}},
      // string email = 2;
      {::_pbi::TcParser::FastUS1,
       {18, 1, 0,
        PROTOBUF_FIELD_OFFSET(LoggingParameters, _impl_.email_)}},
      // string client_instance_id = 3;
      {::_pbi::TcParser::FastUS1,
       {26, 2, 0,
        PROTOBUF_FIELD_OFFSET(LoggingParameters, _impl_.client_instance_id_)}},
      // bool logging_enabled = 4;
      {::_pbi::TcParser::FastV8S1,
       {32, 4, 0,
        PROTOBUF_FIELD_OFFSET(LoggingParameters, _impl_.logging_enabled_)}},
      // bool view_actions_enabled = 5;
      {::_pbi::TcParser::FastV8S1,
       {40, 5, 0,
        PROTOBUF_FIELD_OFFSET(LoggingParameters, _impl_.view_actions_enabled_)}},
      // bytes root_event_id = 6;
      {::_pbi::TcParser::FastBS1,
       {50, 3, 0,
        PROTOBUF_FIELD_OFFSET(LoggingParameters, _impl_.root_event_id_)}},
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // string session_id = 1;
      {PROTOBUF_FIELD_OFFSET(LoggingParameters, _impl_.session_id_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
      // string email = 2;
      {PROTOBUF_FIELD_OFFSET(LoggingParameters, _impl_.email_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
      // string client_instance_id = 3;
      {PROTOBUF_FIELD_OFFSET(LoggingParameters, _impl_.client_instance_id_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
      // bool logging_enabled = 4;
      {PROTOBUF_FIELD_OFFSET(LoggingParameters, _impl_.logging_enabled_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // bool view_actions_enabled = 5;
      {PROTOBUF_FIELD_OFFSET(LoggingParameters, _impl_.view_actions_enabled_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // bytes root_event_id = 6;
      {PROTOBUF_FIELD_OFFSET(LoggingParameters, _impl_.root_event_id_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
    }},
    // no aux_entries
    {{
      "\30\12\5\22\0\0\0\0"
      "feedui.LoggingParameters"
      "session_id"
      "email"
      "client_instance_id"
    }},
  };
}


inline constexpr LoggingParameters::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        session_id_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        email_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        client_instance_id_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        root_event_id_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        logging_enabled_{false},
        view_actions_enabled_{false} {}

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

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

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


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

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

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

constexpr Slice::ParseTableT_ Slice::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(Slice, _impl_._has_bits_),
      0, // no _extensions_
      4, 0,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967280,  // skipmap
      offsetof(ParseTableT_, field_entries),
      4,  // 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<::feedui::Slice>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // string slice_id = 2;
      {::_pbi::TcParser::FastUS1,
       {18, 0, 0,
        PROTOBUF_FIELD_OFFSET(Slice, _impl_.slice_id_)}},
    }}, {{
      65535, 65535
    }}, {{
      // .feedui.XSurfaceSlice xsurface_slice = 1;
      {PROTOBUF_FIELD_OFFSET(Slice, _impl_.SliceData_.xsurface_slice_), _Internal::kOneofCaseOffset + 0, 0, (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
      // string slice_id = 2;
      {PROTOBUF_FIELD_OFFSET(Slice, _impl_.slice_id_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
      // .feedui.ZeroStateSlice zero_state_slice = 3;
      {PROTOBUF_FIELD_OFFSET(Slice, _impl_.SliceData_.zero_state_slice_), _Internal::kOneofCaseOffset + 0, 1, (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
      // .feedui.LoadingSpinnerSlice loading_spinner_slice = 4;
      {PROTOBUF_FIELD_OFFSET(Slice, _impl_.SliceData_.loading_spinner_slice_), _Internal::kOneofCaseOffset + 0, 2, (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::feedui::XSurfaceSlice>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::feedui::XSurfaceSlice_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::feedui::ZeroStateSlice>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::feedui::ZeroStateSlice_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::feedui::LoadingSpinnerSlice>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::feedui::LoadingSpinnerSlice_globals_},
        #endif
    }},
    {{
      "\14\0\10\0\0\0\0\0"
      "feedui.Slice"
      "slice_id"
    }},
  };
}


inline constexpr Slice::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        slice_id_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        SliceData_{},
        _oneof_case_{} {}

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

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST SliceGlobalsTypeInternal Slice_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* Slice_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return Slice_globals_.GetClassData();
#else
  return Slice_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
class StreamUpdate_SliceUpdate::_Internal {
 public:
  static constexpr ::int32_t kOneofCaseOffset =
      PROTOBUF_FIELD_OFFSET(::feedui::StreamUpdate_SliceUpdate, _impl_._oneof_case_);
};

constexpr StreamUpdate_SliceUpdate::ParseTableT_ StreamUpdate_SliceUpdate::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(StreamUpdate_SliceUpdate,
                            _impl_._cached_size_),  // no hasbits
      0, // no _extensions_
      2, 0,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967292,  // 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<::feedui::StreamUpdate_SliceUpdate>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // .feedui.Slice slice = 1;
      {PROTOBUF_FIELD_OFFSET(StreamUpdate_SliceUpdate, _impl_.update_.slice_), _Internal::kOneofCaseOffset + 0, 0, (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
      // string slice_id = 2;
      {PROTOBUF_FIELD_OFFSET(StreamUpdate_SliceUpdate, _impl_.update_.slice_id_), _Internal::kOneofCaseOffset + 0, 0, (0 | ::_fl::kFcOneof | ::_fl::kUtf8String | ::_fl::kRepAString)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::feedui::Slice>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::feedui::Slice_globals_},
        #endif
    }},
    {{
      "\37\0\10\0\0\0\0\0"
      "feedui.StreamUpdate.SliceUpdate"
      "slice_id"
    }},
  };
}


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

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

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

constexpr StreamUpdate::ParseTableT_ StreamUpdate::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(StreamUpdate, _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
      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<::feedui::StreamUpdate>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // .feedui.LoggingParameters logging_parameters = 4;
      {::_pbi::TcParser::FastMtS1,
       {34, 2, 2,
        PROTOBUF_FIELD_OFFSET(StreamUpdate, _impl_.logging_parameters_)}},
      // repeated .feedui.StreamUpdate.SliceUpdate updated_slices = 1;
      {::_pbi::TcParser::FastMtR1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(StreamUpdate, _impl_.updated_slices_)}},
      // repeated .feedui.SharedState new_shared_states = 2;
      {::_pbi::TcParser::FastMtR1,
       {18, 1, 1,
        PROTOBUF_FIELD_OFFSET(StreamUpdate, _impl_.new_shared_states_)}},
      // int64 fetch_time_ms = 3;
      {::_pbi::TcParser::FastV64S1,
       {24, 3, 0,
        PROTOBUF_FIELD_OFFSET(StreamUpdate, _impl_.fetch_time_ms_)}},
    }}, {{
      65535, 65535
    }}, {{
      // repeated .feedui.StreamUpdate.SliceUpdate updated_slices = 1;
      {PROTOBUF_FIELD_OFFSET(StreamUpdate, _impl_.updated_slices_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
      // repeated .feedui.SharedState new_shared_states = 2;
      {PROTOBUF_FIELD_OFFSET(StreamUpdate, _impl_.new_shared_states_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
      // int64 fetch_time_ms = 3;
      {PROTOBUF_FIELD_OFFSET(StreamUpdate, _impl_.fetch_time_ms_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
      // .feedui.LoggingParameters logging_parameters = 4;
      {PROTOBUF_FIELD_OFFSET(StreamUpdate, _impl_.logging_parameters_), _Internal::kHasBitsOffset + 2, 2, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::feedui::StreamUpdate_SliceUpdate>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::feedui::StreamUpdate_SliceUpdate_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::feedui::SharedState>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::feedui::SharedState_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::feedui::LoggingParameters>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::feedui::LoggingParameters_globals_},
        #endif
    }},
    {{
    }},
  };
}


inline constexpr StreamUpdate::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        updated_slices_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::feedui::StreamUpdate,
            PROTOBUF_FIELD_OFFSET(::feedui::StreamUpdate, _impl_.updated_slices_)>()
         }
        ,
        new_shared_states_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::feedui::StreamUpdate,
            PROTOBUF_FIELD_OFFSET(::feedui::StreamUpdate, _impl_.new_shared_states_)>()
         }
        ,
        logging_parameters_{nullptr},
        fetch_time_ms_{::int64_t{0}} {}

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

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST StreamUpdateGlobalsTypeInternal StreamUpdate_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* StreamUpdate_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return StreamUpdate_globals_.GetClassData();
#else
  return StreamUpdate_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
}  // namespace feedui
namespace feedui {
PROTOBUF_CONSTINIT const uint32_t ZeroStateSlice_Type_internal_data_[] = {
    196608u, 0u, };
static const char ZeroStateSlice_Type_names[] = {
    "CANT_REFRESH"
    "NO_CARDS_AVAILABLE"
    "UNKNOWN"
};

static const ::google::protobuf::internal::EnumEntry ZeroStateSlice_Type_entries[] = {
    {{&ZeroStateSlice_Type_names[0], 12}, 2},
    {{&ZeroStateSlice_Type_names[12], 18}, 1},
    {{&ZeroStateSlice_Type_names[30], 7}, 0},
};

static const int ZeroStateSlice_Type_entries_by_number[] = {
    2,  // 0 -> UNKNOWN
    1,  // 1 -> NO_CARDS_AVAILABLE
    0,  // 2 -> CANT_REFRESH
};

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

const ::std::string& ZeroStateSlice_Type_Name(ZeroStateSlice_Type value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      ZeroStateSlice_Type_entries, ZeroStateSlice_Type_entries_by_number, 3,
      ZeroStateSlice_Type_strings);
  (void)kDummy;

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

void StreamUpdate_SliceUpdate::set_allocated_slice(::feedui::Slice* PROTOBUF_NULLABLE slice) {
  ::google::protobuf::Arena* message_arena = GetArena();
  clear_update();
  if (slice) {
    ::google::protobuf::Arena* submessage_arena = slice->GetArena();
    if (message_arena != submessage_arena) {
      slice = ::google::protobuf::internal::GetOwnedMessage(message_arena, slice, submessage_arena);
    }
    set_has_slice();
    _impl_.update_.slice_ = slice;
  }
  // @@protoc_insertion_point(field_set_allocated:feedui.StreamUpdate.SliceUpdate.slice)
}
StreamUpdate_SliceUpdate::StreamUpdate_SliceUpdate(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, StreamUpdate_SliceUpdate_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:feedui.StreamUpdate.SliceUpdate)
}
PROTOBUF_NDEBUG_INLINE StreamUpdate_SliceUpdate::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::feedui::StreamUpdate_SliceUpdate& from_msg)
      : update_{},
        _cached_size_{0},
        _oneof_case_{from._oneof_case_[0]} {}

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  StreamUpdate_SliceUpdate* const _this = this;
  (void)_this;
  _internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
  switch (update_case()) {
    case UPDATE_NOT_SET:
      break;
      case kSlice:
        _impl_.update_.slice_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.update_.slice_);
        break;
      case kSliceId:
        new (&_impl_.update_.slice_id_) decltype(_impl_.update_.slice_id_){arena, from._impl_.update_.slice_id_};
        break;
  }

  // @@protoc_insertion_point(copy_constructor:feedui.StreamUpdate.SliceUpdate)
}
PROTOBUF_NDEBUG_INLINE StreamUpdate_SliceUpdate::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : update_{},
        _cached_size_{0},
        _oneof_case_{} {}

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

void StreamUpdate_SliceUpdate::clear_update() {
// @@protoc_insertion_point(one_of_clear_start:feedui.StreamUpdate.SliceUpdate)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  switch (update_case()) {
    case kSlice: {
      if (GetArena() == nullptr) {
        delete _impl_.update_.slice_;
      } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
        if (_impl_.update_.slice_ != nullptr) {
          _impl_.update_.slice_->Clear();
        }
      }
      break;
    }
    case kSliceId: {
      _impl_.update_.slice_id_.Destroy();
      break;
    }
    case UPDATE_NOT_SET: {
      break;
    }
  }
  _impl_._oneof_case_[0] = UPDATE_NOT_SET;
}


#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite StreamUpdate_SliceUpdate_class_data_ =
    StreamUpdate_SliceUpdate::InternalGenerateClassData_(StreamUpdate_SliceUpdate_globals_._default);

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

  clear_update();
  _internal_metadata_.Clear<::std::string>();
}

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

  switch (this_.update_case()) {
    case kSlice: {
      target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
          1, *this_._impl_.update_.slice_, this_._impl_.update_.slice_->GetCachedSize(), target,
          stream);
      break;
    }
    case kSliceId: {
      const ::std::string& _s = this_._internal_slice_id();
      ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
          _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "feedui.StreamUpdate.SliceUpdate.slice_id");
      target = stream->WriteStringMaybeAliased(2, _s, target);
      break;
    }
    default:
      break;
  }
  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:feedui.StreamUpdate.SliceUpdate)
  return target;
}

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

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

  switch (this_.update_case()) {
    // .feedui.Slice slice = 1;
    case kSlice: {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.update_.slice_);
      break;
    }
    // string slice_id = 2;
    case kSliceId: {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_slice_id());
      break;
    }
    case UPDATE_NOT_SET: {
      break;
    }
  }
  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 StreamUpdate_SliceUpdate::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<StreamUpdate_SliceUpdate*>(&to_msg);
  auto& from = static_cast<const StreamUpdate_SliceUpdate&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:feedui.StreamUpdate.SliceUpdate)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  if (const uint32_t oneof_from_case =
          from._impl_._oneof_case_[0]) {
    const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0];
    const bool oneof_needs_init = oneof_to_case != oneof_from_case;
    if (oneof_needs_init) {
      if (oneof_to_case != 0) {
        _this->clear_update();
      }
      _this->_impl_._oneof_case_[0] = oneof_from_case;
    }

    switch (oneof_from_case) {
      case kSlice: {
        if (oneof_needs_init) {
          _this->_impl_.update_.slice_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.update_.slice_);
        } else {
          _this->_impl_.update_.slice_->MergeFrom(*from._impl_.update_.slice_);
        }
        break;
      }
      case kSliceId: {
        if (oneof_needs_init) {
          _this->_impl_.update_.slice_id_.InitDefault();
        }
        _this->_impl_.update_.slice_id_.Set(from._internal_slice_id(), arena);
        break;
      }
      case UPDATE_NOT_SET:
        break;
    }
  }
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

void StreamUpdate_SliceUpdate::CopyFrom(const StreamUpdate_SliceUpdate& from) {
  // @@protoc_insertion_point(class_specific_copy_from_start:feedui.StreamUpdate.SliceUpdate)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}


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

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

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

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

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

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

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite StreamUpdate_class_data_ =
    StreamUpdate::InternalGenerateClassData_(StreamUpdate_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
StreamUpdate::GetClassData() const {
  return StreamUpdate_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
StreamUpdate::GetClassData() const {
  return StreamUpdate_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const StreamUpdate::ParseTableT_
    StreamUpdate::_table_ =
        StreamUpdate::InternalGenerateParseTable_(StreamUpdate_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void StreamUpdate::Clear() {
// @@protoc_insertion_point(message_clear_start:feedui.StreamUpdate)
  ::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_.updated_slices_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.new_shared_states_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      ABSL_DCHECK(_impl_.logging_parameters_ != nullptr);
      _impl_.logging_parameters_->Clear();
    }
  }
  _impl_.fetch_time_ms_ = ::int64_t{0};
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // repeated .feedui.StreamUpdate.SliceUpdate updated_slices = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    for (unsigned i = 0, n = static_cast<unsigned>(
                             this_._internal_updated_slices_size());
         i < n; i++) {
      const auto& repfield = this_._internal_updated_slices().Get(i);
      target =
          ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
              1, repfield, repfield.GetCachedSize(),
              target, stream);
    }
  }

  // repeated .feedui.SharedState new_shared_states = 2;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    for (unsigned i = 0, n = static_cast<unsigned>(
                             this_._internal_new_shared_states_size());
         i < n; i++) {
      const auto& repfield = this_._internal_new_shared_states().Get(i);
      target =
          ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
              2, repfield, repfield.GetCachedSize(),
              target, stream);
    }
  }

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

  // .feedui.LoggingParameters logging_parameters = 4;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        4, *this_._impl_.logging_parameters_, this_._impl_.logging_parameters_->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:feedui.StreamUpdate)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t StreamUpdate::ByteSizeLong(const MessageLite& base) {
  const StreamUpdate& this_ = static_cast<const StreamUpdate&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t StreamUpdate::ByteSizeLong() const {
  const StreamUpdate& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:feedui.StreamUpdate)
  ::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 .feedui.StreamUpdate.SliceUpdate updated_slices = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1UL * this_._internal_updated_slices_size();
      for (const auto& msg : this_._internal_updated_slices()) {
        total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
      }
    }
    // repeated .feedui.SharedState new_shared_states = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1UL * this_._internal_new_shared_states_size();
      for (const auto& msg : this_._internal_new_shared_states()) {
        total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
      }
    }
    // .feedui.LoggingParameters logging_parameters = 4;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.logging_parameters_);
    }
    // int64 fetch_time_ms = 3;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      if (this_._internal_fetch_time_ms() != 0) {
        total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
            this_._internal_fetch_time_ms());
      }
    }
  }
  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 StreamUpdate::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<StreamUpdate*>(&to_msg);
  auto& from = static_cast<const StreamUpdate&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:feedui.StreamUpdate)
  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_updated_slices()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_updated_slices());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_mutable_new_shared_states()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_new_shared_states());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      ABSL_DCHECK(from._impl_.logging_parameters_ != nullptr);
      if (_this->_impl_.logging_parameters_ == nullptr) {
        _this->_impl_.logging_parameters_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.logging_parameters_);
      } else {
        _this->_impl_.logging_parameters_->MergeFrom(*from._impl_.logging_parameters_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      if (from._internal_fetch_time_ms() != 0) {
        _this->_impl_.fetch_time_ms_ = from._impl_.fetch_time_ms_;
      }
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void StreamUpdate::InternalSwap(StreamUpdate* 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_.updated_slices_.InternalSwap(&other->_impl_.updated_slices_);
  _impl_.new_shared_states_.InternalSwap(&other->_impl_.new_shared_states_);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(StreamUpdate, _impl_.fetch_time_ms_)
      + sizeof(StreamUpdate::_impl_.fetch_time_ms_)
      - PROTOBUF_FIELD_OFFSET(StreamUpdate, _impl_.logging_parameters_)>(
          reinterpret_cast<char*>(&_impl_.logging_parameters_),
          reinterpret_cast<char*>(&other->_impl_.logging_parameters_));
}

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

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

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  LoggingParameters* const _this = this;
  (void)_this;
  _internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
  ::memcpy(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, logging_enabled_),
           reinterpret_cast<const char*>(&from._impl_) +
               offsetof(Impl_, logging_enabled_),
           offsetof(Impl_, view_actions_enabled_) -
               offsetof(Impl_, logging_enabled_) +
               sizeof(Impl_::view_actions_enabled_));

  // @@protoc_insertion_point(copy_constructor:feedui.LoggingParameters)
}
PROTOBUF_NDEBUG_INLINE LoggingParameters::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        session_id_(arena),
        email_(arena),
        client_instance_id_(arena),
        root_event_id_(arena) {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite LoggingParameters_class_data_ =
    LoggingParameters::InternalGenerateClassData_(LoggingParameters_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
LoggingParameters::GetClassData() const {
  return LoggingParameters_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
LoggingParameters::GetClassData() const {
  return LoggingParameters_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const LoggingParameters::ParseTableT_
    LoggingParameters::_table_ =
        LoggingParameters::InternalGenerateParseTable_(LoggingParameters_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void LoggingParameters::Clear() {
// @@protoc_insertion_point(message_clear_start:feedui.LoggingParameters)
  ::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_.session_id_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.email_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.client_instance_id_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _impl_.root_event_id_.ClearNonDefaultToEmpty();
    }
  }
  ::memset(&_impl_.logging_enabled_, 0, static_cast<::size_t>(
      reinterpret_cast<char*>(&_impl_.view_actions_enabled_) -
      reinterpret_cast<char*>(&_impl_.logging_enabled_)) + sizeof(_impl_.view_actions_enabled_));
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

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

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

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

  // bool logging_enabled = 4;
  if (CheckHasBit(cached_has_bits, 0x00000010U)) {
    if (this_._internal_logging_enabled() != 0) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteBoolToArray(
          4, this_._internal_logging_enabled(), target);
    }
  }

  // bool view_actions_enabled = 5;
  if (CheckHasBit(cached_has_bits, 0x00000020U)) {
    if (this_._internal_view_actions_enabled() != 0) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteBoolToArray(
          5, this_._internal_view_actions_enabled(), target);
    }
  }

  // bytes root_event_id = 6;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    if (!this_._internal_root_event_id().empty()) {
      const ::std::string& _s = this_._internal_root_event_id();
      target = stream->WriteBytesMaybeAliased(6, _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:feedui.LoggingParameters)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t LoggingParameters::ByteSizeLong(const MessageLite& base) {
  const LoggingParameters& this_ = static_cast<const LoggingParameters&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t LoggingParameters::ByteSizeLong() const {
  const LoggingParameters& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:feedui.LoggingParameters)
  ::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, 0x0000003fU)) {
    // string session_id = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      if (!this_._internal_session_id().empty()) {
        total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                        this_._internal_session_id());
      }
    }
    // string email = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      if (!this_._internal_email().empty()) {
        total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                        this_._internal_email());
      }
    }
    // string client_instance_id = 3;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      if (!this_._internal_client_instance_id().empty()) {
        total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                        this_._internal_client_instance_id());
      }
    }
    // bytes root_event_id = 6;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      if (!this_._internal_root_event_id().empty()) {
        total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
                                        this_._internal_root_event_id());
      }
    }
    // bool logging_enabled = 4;
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      if (this_._internal_logging_enabled() != 0) {
        total_size += 2;
      }
    }
    // bool view_actions_enabled = 5;
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      if (this_._internal_view_actions_enabled() != 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 LoggingParameters::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<LoggingParameters*>(&to_msg);
  auto& from = static_cast<const LoggingParameters&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:feedui.LoggingParameters)
  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, 0x0000003fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      if (!from._internal_session_id().empty()) {
        _this->_internal_set_session_id(from._internal_session_id());
      } else {
        if (_this->_impl_.session_id_.IsDefault()) {
          _this->_internal_set_session_id("");
        }
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      if (!from._internal_email().empty()) {
        _this->_internal_set_email(from._internal_email());
      } else {
        if (_this->_impl_.email_.IsDefault()) {
          _this->_internal_set_email("");
        }
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      if (!from._internal_client_instance_id().empty()) {
        _this->_internal_set_client_instance_id(from._internal_client_instance_id());
      } else {
        if (_this->_impl_.client_instance_id_.IsDefault()) {
          _this->_internal_set_client_instance_id("");
        }
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      if (!from._internal_root_event_id().empty()) {
        _this->_internal_set_root_event_id(from._internal_root_event_id());
      } else {
        if (_this->_impl_.root_event_id_.IsDefault()) {
          _this->_internal_set_root_event_id("");
        }
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      if (from._internal_logging_enabled() != 0) {
        _this->_impl_.logging_enabled_ = from._impl_.logging_enabled_;
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      if (from._internal_view_actions_enabled() != 0) {
        _this->_impl_.view_actions_enabled_ = from._impl_.view_actions_enabled_;
      }
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void LoggingParameters::InternalSwap(LoggingParameters* 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_.session_id_, &other->_impl_.session_id_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.email_, &other->_impl_.email_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.client_instance_id_, &other->_impl_.client_instance_id_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.root_event_id_, &other->_impl_.root_event_id_, arena);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(LoggingParameters, _impl_.view_actions_enabled_)
      + sizeof(LoggingParameters::_impl_.view_actions_enabled_)
      - PROTOBUF_FIELD_OFFSET(LoggingParameters, _impl_.logging_enabled_)>(
          reinterpret_cast<char*>(&_impl_.logging_enabled_),
          reinterpret_cast<char*>(&other->_impl_.logging_enabled_));
}

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

void Slice::set_allocated_xsurface_slice(::feedui::XSurfaceSlice* PROTOBUF_NULLABLE xsurface_slice) {
  ::google::protobuf::Arena* message_arena = GetArena();
  clear_SliceData();
  if (xsurface_slice) {
    ::google::protobuf::Arena* submessage_arena = xsurface_slice->GetArena();
    if (message_arena != submessage_arena) {
      xsurface_slice = ::google::protobuf::internal::GetOwnedMessage(message_arena, xsurface_slice, submessage_arena);
    }
    set_has_xsurface_slice();
    _impl_.SliceData_.xsurface_slice_ = xsurface_slice;
  }
  // @@protoc_insertion_point(field_set_allocated:feedui.Slice.xsurface_slice)
}
void Slice::set_allocated_zero_state_slice(::feedui::ZeroStateSlice* PROTOBUF_NULLABLE zero_state_slice) {
  ::google::protobuf::Arena* message_arena = GetArena();
  clear_SliceData();
  if (zero_state_slice) {
    ::google::protobuf::Arena* submessage_arena = zero_state_slice->GetArena();
    if (message_arena != submessage_arena) {
      zero_state_slice = ::google::protobuf::internal::GetOwnedMessage(message_arena, zero_state_slice, submessage_arena);
    }
    set_has_zero_state_slice();
    _impl_.SliceData_.zero_state_slice_ = zero_state_slice;
  }
  // @@protoc_insertion_point(field_set_allocated:feedui.Slice.zero_state_slice)
}
void Slice::set_allocated_loading_spinner_slice(::feedui::LoadingSpinnerSlice* PROTOBUF_NULLABLE loading_spinner_slice) {
  ::google::protobuf::Arena* message_arena = GetArena();
  clear_SliceData();
  if (loading_spinner_slice) {
    ::google::protobuf::Arena* submessage_arena = loading_spinner_slice->GetArena();
    if (message_arena != submessage_arena) {
      loading_spinner_slice = ::google::protobuf::internal::GetOwnedMessage(message_arena, loading_spinner_slice, submessage_arena);
    }
    set_has_loading_spinner_slice();
    _impl_.SliceData_.loading_spinner_slice_ = loading_spinner_slice;
  }
  // @@protoc_insertion_point(field_set_allocated:feedui.Slice.loading_spinner_slice)
}
Slice::Slice(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, Slice_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:feedui.Slice)
}
PROTOBUF_NDEBUG_INLINE Slice::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::feedui::Slice& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        slice_id_(arena, from.slice_id_),
        SliceData_{},
        _oneof_case_{from._oneof_case_[0]} {}

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  Slice* const _this = this;
  (void)_this;
  _internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
  switch (SliceData_case()) {
    case SLICEDATA_NOT_SET:
      break;
      case kXsurfaceSlice:
        _impl_.SliceData_.xsurface_slice_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.SliceData_.xsurface_slice_);
        break;
      case kZeroStateSlice:
        _impl_.SliceData_.zero_state_slice_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.SliceData_.zero_state_slice_);
        break;
      case kLoadingSpinnerSlice:
        _impl_.SliceData_.loading_spinner_slice_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.SliceData_.loading_spinner_slice_);
        break;
  }

  // @@protoc_insertion_point(copy_constructor:feedui.Slice)
}
PROTOBUF_NDEBUG_INLINE Slice::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        slice_id_(arena),
        SliceData_{},
        _oneof_case_{} {}

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

void Slice::clear_SliceData() {
// @@protoc_insertion_point(one_of_clear_start:feedui.Slice)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  switch (SliceData_case()) {
    case kXsurfaceSlice: {
      if (GetArena() == nullptr) {
        delete _impl_.SliceData_.xsurface_slice_;
      } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
        if (_impl_.SliceData_.xsurface_slice_ != nullptr) {
          _impl_.SliceData_.xsurface_slice_->Clear();
        }
      }
      break;
    }
    case kZeroStateSlice: {
      if (GetArena() == nullptr) {
        delete _impl_.SliceData_.zero_state_slice_;
      } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
        if (_impl_.SliceData_.zero_state_slice_ != nullptr) {
          _impl_.SliceData_.zero_state_slice_->Clear();
        }
      }
      break;
    }
    case kLoadingSpinnerSlice: {
      if (GetArena() == nullptr) {
        delete _impl_.SliceData_.loading_spinner_slice_;
      } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
        if (_impl_.SliceData_.loading_spinner_slice_ != nullptr) {
          _impl_.SliceData_.loading_spinner_slice_->Clear();
        }
      }
      break;
    }
    case SLICEDATA_NOT_SET: {
      break;
    }
  }
  _impl_._oneof_case_[0] = SLICEDATA_NOT_SET;
}


#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite Slice_class_data_ =
    Slice::InternalGenerateClassData_(Slice_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
Slice::GetClassData() const {
  return Slice_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
Slice::GetClassData() const {
  return Slice_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const Slice::ParseTableT_
    Slice::_table_ =
        Slice::InternalGenerateParseTable_(Slice_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void Slice::Clear() {
// @@protoc_insertion_point(message_clear_start:feedui.Slice)
  ::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_.slice_id_.ClearNonDefaultToEmpty();
  }
  clear_SliceData();
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  // .feedui.XSurfaceSlice xsurface_slice = 1;
  if (this_.SliceData_case() == kXsurfaceSlice) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        1, *this_._impl_.SliceData_.xsurface_slice_, this_._impl_.SliceData_.xsurface_slice_->GetCachedSize(), target,
        stream);
  }

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

  switch (this_.SliceData_case()) {
    case kZeroStateSlice: {
      target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
          3, *this_._impl_.SliceData_.zero_state_slice_, this_._impl_.SliceData_.zero_state_slice_->GetCachedSize(), target,
          stream);
      break;
    }
    case kLoadingSpinnerSlice: {
      target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
          4, *this_._impl_.SliceData_.loading_spinner_slice_, this_._impl_.SliceData_.loading_spinner_slice_->GetCachedSize(), target,
          stream);
      break;
    }
    default:
      break;
  }
  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:feedui.Slice)
  return target;
}

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

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

   {
    // string slice_id = 2;
    cached_has_bits = this_._impl_._has_bits_[0];
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      if (!this_._internal_slice_id().empty()) {
        total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                        this_._internal_slice_id());
      }
    }
  }
  switch (this_.SliceData_case()) {
    // .feedui.XSurfaceSlice xsurface_slice = 1;
    case kXsurfaceSlice: {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.SliceData_.xsurface_slice_);
      break;
    }
    // .feedui.ZeroStateSlice zero_state_slice = 3;
    case kZeroStateSlice: {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.SliceData_.zero_state_slice_);
      break;
    }
    // .feedui.LoadingSpinnerSlice loading_spinner_slice = 4;
    case kLoadingSpinnerSlice: {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.SliceData_.loading_spinner_slice_);
      break;
    }
    case SLICEDATA_NOT_SET: {
      break;
    }
  }
  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 Slice::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<Slice*>(&to_msg);
  auto& from = static_cast<const Slice&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:feedui.Slice)
  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_slice_id().empty()) {
      _this->_internal_set_slice_id(from._internal_slice_id());
    } else {
      if (_this->_impl_.slice_id_.IsDefault()) {
        _this->_internal_set_slice_id("");
      }
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  if (const uint32_t oneof_from_case =
          from._impl_._oneof_case_[0]) {
    const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0];
    const bool oneof_needs_init = oneof_to_case != oneof_from_case;
    if (oneof_needs_init) {
      if (oneof_to_case != 0) {
        _this->clear_SliceData();
      }
      _this->_impl_._oneof_case_[0] = oneof_from_case;
    }

    switch (oneof_from_case) {
      case kXsurfaceSlice: {
        if (oneof_needs_init) {
          _this->_impl_.SliceData_.xsurface_slice_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.SliceData_.xsurface_slice_);
        } else {
          _this->_impl_.SliceData_.xsurface_slice_->CheckTypeAndMergeFrom(*from._impl_.SliceData_.xsurface_slice_);
        }
        break;
      }
      case kZeroStateSlice: {
        if (oneof_needs_init) {
          _this->_impl_.SliceData_.zero_state_slice_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.SliceData_.zero_state_slice_);
        } else {
          _this->_impl_.SliceData_.zero_state_slice_->CheckTypeAndMergeFrom(*from._impl_.SliceData_.zero_state_slice_);
        }
        break;
      }
      case kLoadingSpinnerSlice: {
        if (oneof_needs_init) {
          _this->_impl_.SliceData_.loading_spinner_slice_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.SliceData_.loading_spinner_slice_);
        } else {
          _this->_impl_.SliceData_.loading_spinner_slice_->CheckTypeAndMergeFrom(*from._impl_.SliceData_.loading_spinner_slice_);
        }
        break;
      }
      case SLICEDATA_NOT_SET:
        break;
    }
  }
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void Slice::InternalSwap(Slice* 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_.slice_id_, &other->_impl_.slice_id_, arena);
  swap(_impl_.SliceData_, other->_impl_.SliceData_);
  swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]);
}

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

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

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

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

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // .feedui.ZeroStateSlice.Type type = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    if (this_._internal_type() != 0) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteEnumToArray(
          1, this_._internal_type(), 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:feedui.ZeroStateSlice)
  return target;
}

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

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

   {
    // .feedui.ZeroStateSlice.Type type = 1;
    cached_has_bits = this_._impl_._has_bits_[0];
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      if (this_._internal_type() != 0) {
        total_size += 1 +
                      ::_pbi::WireFormatLite::EnumSize(this_._internal_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 ZeroStateSlice::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<ZeroStateSlice*>(&to_msg);
  auto& from = static_cast<const ZeroStateSlice&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:feedui.ZeroStateSlice)
  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_type() != 0) {
      _this->_impl_.type_ = from._impl_.type_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


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

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

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

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

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

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

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

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t LoadingSpinnerSlice::ByteSizeLong(const MessageLite& base) {
  const LoadingSpinnerSlice& this_ = static_cast<const LoadingSpinnerSlice&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t LoadingSpinnerSlice::ByteSizeLong() const {
  const LoadingSpinnerSlice& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:feedui.LoadingSpinnerSlice)
  ::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_at_top = 1;
    cached_has_bits = this_._impl_._has_bits_[0];
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      if (this_._internal_is_at_top() != 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 LoadingSpinnerSlice::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<LoadingSpinnerSlice*>(&to_msg);
  auto& from = static_cast<const LoadingSpinnerSlice&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:feedui.LoadingSpinnerSlice)
  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_at_top() != 0) {
      _this->_impl_.is_at_top_ = from._impl_.is_at_top_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void LoadingSpinnerSlice::InternalSwap(LoadingSpinnerSlice* 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_at_top_, other->_impl_.is_at_top_);
}

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

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

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

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

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite XSurfaceSlice_class_data_ =
    XSurfaceSlice::InternalGenerateClassData_(XSurfaceSlice_globals_._default);

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

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // bytes xsurface_frame = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    if (!this_._internal_xsurface_frame().empty()) {
      const ::std::string& _s = this_._internal_xsurface_frame();
      target = stream->WriteBytesMaybeAliased(1, _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:feedui.XSurfaceSlice)
  return target;
}

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

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

   {
    // bytes xsurface_frame = 1;
    cached_has_bits = this_._impl_._has_bits_[0];
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      if (!this_._internal_xsurface_frame().empty()) {
        total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
                                        this_._internal_xsurface_frame());
      }
    }
  }
  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 XSurfaceSlice::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<XSurfaceSlice*>(&to_msg);
  auto& from = static_cast<const XSurfaceSlice&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:feedui.XSurfaceSlice)
  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_xsurface_frame().empty()) {
      _this->_internal_set_xsurface_frame(from._internal_xsurface_frame());
    } else {
      if (_this->_impl_.xsurface_frame_.IsDefault()) {
        _this->_internal_set_xsurface_frame("");
      }
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void XSurfaceSlice::InternalSwap(XSurfaceSlice* 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_.xsurface_frame_, &other->_impl_.xsurface_frame_, arena);
}

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

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

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

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

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite SharedState_class_data_ =
    SharedState::InternalGenerateClassData_(SharedState_globals_._default);

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

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

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

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

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

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t SharedState::ByteSizeLong(const MessageLite& base) {
  const SharedState& this_ = static_cast<const SharedState&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t SharedState::ByteSizeLong() const {
  const SharedState& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:feedui.SharedState)
  ::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 id = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      if (!this_._internal_id().empty()) {
        total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                        this_._internal_id());
      }
    }
    // bytes xsurface_shared_state = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      if (!this_._internal_xsurface_shared_state().empty()) {
        total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
                                        this_._internal_xsurface_shared_state());
      }
    }
  }
  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 SharedState::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<SharedState*>(&to_msg);
  auto& from = static_cast<const SharedState&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:feedui.SharedState)
  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_id().empty()) {
        _this->_internal_set_id(from._internal_id());
      } else {
        if (_this->_impl_.id_.IsDefault()) {
          _this->_internal_set_id("");
        }
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      if (!from._internal_xsurface_shared_state().empty()) {
        _this->_internal_set_xsurface_shared_state(from._internal_xsurface_shared_state());
      } else {
        if (_this->_impl_.xsurface_shared_state_.IsDefault()) {
          _this->_internal_set_xsurface_shared_state("");
        }
      }
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void SharedState::InternalSwap(SharedState* 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_.id_, &other->_impl_.id_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.xsurface_shared_state_, &other->_impl_.xsurface_shared_state_, arena);
}

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