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

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

constexpr AutoTodoItem::ParseTableT_ AutoTodoItem::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(AutoTodoItem, _impl_._has_bits_),
      0, // no _extensions_
      7, 56,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967168,  // skipmap
      offsetof(ParseTableT_, field_entries),
      7,  // 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<::personal_context::proto::AutoTodoItem>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // string title = 1;
      {::_pbi::TcParser::FastUS1,
       {10, 1, 0,
        PROTOBUF_FIELD_OFFSET(AutoTodoItem, _impl_.title_)}},
      // string description = 2;
      {::_pbi::TcParser::FastUS1,
       {18, 2, 0,
        PROTOBUF_FIELD_OFFSET(AutoTodoItem, _impl_.description_)}},
      // repeated .personal_context.proto.SourceReference source_references = 3;
      {::_pbi::TcParser::FastMtR1,
       {26, 0, 0,
        PROTOBUF_FIELD_OFFSET(AutoTodoItem, _impl_.source_references_)}},
      // string actionable_url = 4;
      {::_pbi::TcParser::FastUS1,
       {34, 3, 0,
        PROTOBUF_FIELD_OFFSET(AutoTodoItem, _impl_.actionable_url_)}},
      // float importance_score = 5;
      {::_pbi::TcParser::FastF32S1,
       {45, 5, 0,
        PROTOBUF_FIELD_OFFSET(AutoTodoItem, _impl_.importance_score_)}},
      // .personal_context.proto.AutoTodoItem.Status status = 6;
      {::_pbi::TcParser::FastV32S1,
       {48, 6, 0,
        PROTOBUF_FIELD_OFFSET(AutoTodoItem, _impl_.status_)}},
      // string id = 7;
      {::_pbi::TcParser::FastUS1,
       {58, 4, 0,
        PROTOBUF_FIELD_OFFSET(AutoTodoItem, _impl_.id_)}},
    }}, {{
      65535, 65535
    }}, {{
      // string title = 1;
      {PROTOBUF_FIELD_OFFSET(AutoTodoItem, _impl_.title_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
      // string description = 2;
      {PROTOBUF_FIELD_OFFSET(AutoTodoItem, _impl_.description_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
      // repeated .personal_context.proto.SourceReference source_references = 3;
      {PROTOBUF_FIELD_OFFSET(AutoTodoItem, _impl_.source_references_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
      // string actionable_url = 4;
      {PROTOBUF_FIELD_OFFSET(AutoTodoItem, _impl_.actionable_url_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
      // float importance_score = 5;
      {PROTOBUF_FIELD_OFFSET(AutoTodoItem, _impl_.importance_score_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kFloat)},
      // .personal_context.proto.AutoTodoItem.Status status = 6;
      {PROTOBUF_FIELD_OFFSET(AutoTodoItem, _impl_.status_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
      // string id = 7;
      {PROTOBUF_FIELD_OFFSET(AutoTodoItem, _impl_.id_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::personal_context::proto::SourceReference>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::personal_context::proto::SourceReference_globals_},
        #endif
    }},
    {{
      "\43\5\13\0\16\0\0\2"
      "personal_context.proto.AutoTodoItem"
      "title"
      "description"
      "actionable_url"
      "id"
    }},
  };
}


inline constexpr AutoTodoItem::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        source_references_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::personal_context::proto::AutoTodoItem,
            PROTOBUF_FIELD_OFFSET(::personal_context::proto::AutoTodoItem, _impl_.source_references_)>()
         }
        ,
        title_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        description_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        actionable_url_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        id_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        importance_score_{0},
        status_{static_cast< ::personal_context::proto::AutoTodoItem_Status >(0)} {}

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

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

constexpr AutoTodosResponse::ParseTableT_ AutoTodosResponse::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(AutoTodosResponse, _impl_._has_bits_),
      0, // no _extensions_
      1, 0,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967294,  // skipmap
      offsetof(ParseTableT_, field_entries),
      1,  // num_field_entries
      1,  // num_aux_entries
      offsetof(ParseTableT_, aux_entries),
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::personal_context::proto::AutoTodosResponse>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // repeated .personal_context.proto.AutoTodoItem todos = 1;
      {::_pbi::TcParser::FastMtR1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(AutoTodosResponse, _impl_.todos_)}},
    }}, {{
      65535, 65535
    }}, {{
      // repeated .personal_context.proto.AutoTodoItem todos = 1;
      {PROTOBUF_FIELD_OFFSET(AutoTodosResponse, _impl_.todos_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::personal_context::proto::AutoTodoItem>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::personal_context::proto::AutoTodoItem_globals_},
        #endif
    }},
    {{
    }},
  };
}


inline constexpr AutoTodosResponse::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        todos_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::personal_context::proto::AutoTodosResponse,
            PROTOBUF_FIELD_OFFSET(::personal_context::proto::AutoTodosResponse, _impl_.todos_)>()
         }
     {}

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

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

constexpr AutoTodosRequest::ParseTableT_ AutoTodosRequest::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(AutoTodosRequest, _impl_._has_bits_),
      0, // no _extensions_
      1, 0,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967294,  // skipmap
      offsetof(ParseTableT_, field_entries),
      1,  // num_field_entries
      1,  // num_aux_entries
      offsetof(ParseTableT_, aux_entries),
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::personal_context::proto::AutoTodosRequest>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // repeated .personal_context.proto.AutoTodoItem existing_todos = 1;
      {::_pbi::TcParser::FastMtR1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(AutoTodosRequest, _impl_.existing_todos_)}},
    }}, {{
      65535, 65535
    }}, {{
      // repeated .personal_context.proto.AutoTodoItem existing_todos = 1;
      {PROTOBUF_FIELD_OFFSET(AutoTodosRequest, _impl_.existing_todos_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::personal_context::proto::AutoTodoItem>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::personal_context::proto::AutoTodoItem_globals_},
        #endif
    }},
    {{
    }},
  };
}


inline constexpr AutoTodosRequest::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        existing_todos_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::personal_context::proto::AutoTodosRequest,
            PROTOBUF_FIELD_OFFSET(::personal_context::proto::AutoTodosRequest, _impl_.existing_todos_)>()
         }
     {}

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

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST AutoTodosRequestGlobalsTypeInternal AutoTodosRequest_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* AutoTodosRequest_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return AutoTodosRequest_globals_.GetClassData();
#else
  return AutoTodosRequest_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
}  // namespace proto
}  // namespace personal_context
namespace personal_context {
namespace proto {
PROTOBUF_CONSTINIT const uint32_t AutoTodoItem_Status_internal_data_[] = {
    262144u, 0u, };
static const char AutoTodoItem_Status_names[] = {
    "STATUS_ACTIVE"
    "STATUS_COMPLETED"
    "STATUS_DISMISSED"
    "STATUS_UNSPECIFIED"
};

static const ::google::protobuf::internal::EnumEntry AutoTodoItem_Status_entries[] = {
    {{&AutoTodoItem_Status_names[0], 13}, 1},
    {{&AutoTodoItem_Status_names[13], 16}, 2},
    {{&AutoTodoItem_Status_names[29], 16}, 3},
    {{&AutoTodoItem_Status_names[45], 18}, 0},
};

static const int AutoTodoItem_Status_entries_by_number[] = {
    3,  // 0 -> STATUS_UNSPECIFIED
    0,  // 1 -> STATUS_ACTIVE
    1,  // 2 -> STATUS_COMPLETED
    2,  // 3 -> STATUS_DISMISSED
};

bool AutoTodoItem_Status_Parse(::absl::string_view name,
                                  AutoTodoItem_Status* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      AutoTodoItem_Status_entries, 4, name, &int_value);
  if (success) {
    *value = static_cast<AutoTodoItem_Status>(int_value);
  }
  return success;
}
::absl::string_view AutoTodoItem_Status_Name(AutoTodoItem_Status value) {
  int idx = ::google::protobuf::internal::LookUpEnumName(AutoTodoItem_Status_entries,
                                  AutoTodoItem_Status_entries_by_number,
                                  4, value);
  return idx == -1
             ? ""
             : AutoTodoItem_Status_entries[AutoTodoItem_Status_entries_by_number[idx]]
                   .name;
}
// ===================================================================

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

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

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

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

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

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // repeated .personal_context.proto.AutoTodoItem existing_todos = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    for (unsigned i = 0, n = static_cast<unsigned>(
                             this_._internal_existing_todos_size());
         i < n; i++) {
      const auto& repfield = this_._internal_existing_todos().Get(i);
      target =
          ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
              1, repfield, repfield.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:personal_context.proto.AutoTodosRequest)
  return target;
}

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

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

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
   {
    // repeated .personal_context.proto.AutoTodoItem existing_todos = 1;
    cached_has_bits = this_._impl_._has_bits_[0];
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1UL * this_._internal_existing_todos_size();
      for (const auto& msg : this_._internal_existing_todos()) {
        total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
      }
    }
  }
  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 AutoTodosRequest::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<AutoTodosRequest*>(&to_msg);
  auto& from = static_cast<const AutoTodosRequest&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:personal_context.proto.AutoTodosRequest)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = from._impl_._has_bits_[0];
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    _this->_internal_mutable_existing_todos()->InternalMergeFromWithArena(
        ::google::protobuf::MessageLite::internal_visibility(), arena,
        from._internal_existing_todos());
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void AutoTodosRequest::InternalSwap(AutoTodosRequest* 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_.existing_todos_.InternalSwap(&other->_impl_.existing_todos_);
}

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

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

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

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

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

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

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // repeated .personal_context.proto.AutoTodoItem todos = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    for (unsigned i = 0, n = static_cast<unsigned>(
                             this_._internal_todos_size());
         i < n; i++) {
      const auto& repfield = this_._internal_todos().Get(i);
      target =
          ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
              1, repfield, repfield.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:personal_context.proto.AutoTodosResponse)
  return target;
}

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

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

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
   {
    // repeated .personal_context.proto.AutoTodoItem todos = 1;
    cached_has_bits = this_._impl_._has_bits_[0];
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1UL * this_._internal_todos_size();
      for (const auto& msg : this_._internal_todos()) {
        total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
      }
    }
  }
  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 AutoTodosResponse::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<AutoTodosResponse*>(&to_msg);
  auto& from = static_cast<const AutoTodosResponse&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:personal_context.proto.AutoTodosResponse)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = from._impl_._has_bits_[0];
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    _this->_internal_mutable_todos()->InternalMergeFromWithArena(
        ::google::protobuf::MessageLite::internal_visibility(), arena,
        from._internal_todos());
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void AutoTodosResponse::InternalSwap(AutoTodosResponse* 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_.todos_.InternalSwap(&other->_impl_.todos_);
}

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

void AutoTodoItem::clear_source_references() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.source_references_.Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
AutoTodoItem::AutoTodoItem(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, AutoTodoItem_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:personal_context.proto.AutoTodoItem)
}
PROTOBUF_NDEBUG_INLINE AutoTodoItem::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::personal_context::proto::AutoTodoItem& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        source_references_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::personal_context::proto::AutoTodoItem,
              PROTOBUF_FIELD_OFFSET(::personal_context::proto::AutoTodoItem, _impl_.source_references_)>()
          , from.source_references_
        }
        ,
        title_(arena, from.title_),
        description_(arena, from.description_),
        actionable_url_(arena, from.actionable_url_),
        id_(arena, from.id_) {}

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

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

  // @@protoc_insertion_point(copy_constructor:personal_context.proto.AutoTodoItem)
}
PROTOBUF_NDEBUG_INLINE AutoTodoItem::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        source_references_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::personal_context::proto::AutoTodoItem,
            PROTOBUF_FIELD_OFFSET(::personal_context::proto::AutoTodoItem, _impl_.source_references_)>()
         }
        ,
        title_(arena),
        description_(arena),
        actionable_url_(arena),
        id_(arena) {}

inline void AutoTodoItem::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
  ::memset(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, importance_score_),
           0,
           offsetof(Impl_, status_) -
               offsetof(Impl_, importance_score_) +
               sizeof(Impl_::status_));
}
AutoTodoItem::~AutoTodoItem() {
  // @@protoc_insertion_point(destructor:personal_context.proto.AutoTodoItem)
  SharedDtor(*this);
}
inline void AutoTodoItem::SharedDtor(MessageLite& self) {
  AutoTodoItem& this_ = static_cast<AutoTodoItem&>(self);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  this_._internal_metadata_.Delete<::std::string>();
  ABSL_DCHECK(this_.GetArena() == nullptr);
  this_._impl_.title_.Destroy();
  this_._impl_.description_.Destroy();
  this_._impl_.actionable_url_.Destroy();
  this_._impl_.id_.Destroy();
  this_._impl_.~Impl_();
}

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite AutoTodoItem_class_data_ =
    AutoTodoItem::InternalGenerateClassData_(AutoTodoItem_globals_._default);

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

  cached_has_bits = _impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.source_references_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.title_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.description_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _impl_.actionable_url_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _impl_.id_.ClearNonDefaultToEmpty();
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000060U)) {
    ::memset(&_impl_.importance_score_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.status_) -
        reinterpret_cast<char*>(&_impl_.importance_score_)) + sizeof(_impl_.status_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // string title = 1;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    const ::absl::string_view _s = this_._internal_title();
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
        _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "personal_context.proto.AutoTodoItem.title");
    target = stream->WriteStringMaybeAliased(1, _s, target);
  }

  // string description = 2;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    const ::absl::string_view _s = this_._internal_description();
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
        _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "personal_context.proto.AutoTodoItem.description");
    target = stream->WriteStringMaybeAliased(2, _s, target);
  }

  // repeated .personal_context.proto.SourceReference source_references = 3;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    for (unsigned i = 0, n = static_cast<unsigned>(
                             this_._internal_source_references_size());
         i < n; i++) {
      const auto& repfield = this_._internal_source_references().Get(i);
      target =
          ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
              3, repfield, repfield.GetCachedSize(),
              target, stream);
    }
  }

  // string actionable_url = 4;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    const ::absl::string_view _s = this_._internal_actionable_url();
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
        _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "personal_context.proto.AutoTodoItem.actionable_url");
    target = stream->WriteStringMaybeAliased(4, _s, target);
  }

  // float importance_score = 5;
  if (CheckHasBit(cached_has_bits, 0x00000020U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteFloatToArray(
        5, this_._internal_importance_score(), target);
  }

  // .personal_context.proto.AutoTodoItem.Status status = 6;
  if (CheckHasBit(cached_has_bits, 0x00000040U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        6, this_._internal_status(), target);
  }

  // string id = 7;
  if (CheckHasBit(cached_has_bits, 0x00000010U)) {
    const ::absl::string_view _s = this_._internal_id();
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
        _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "personal_context.proto.AutoTodoItem.id");
    target = stream->WriteStringMaybeAliased(7, _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:personal_context.proto.AutoTodoItem)
  return target;
}

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

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

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
  cached_has_bits = this_._impl_._has_bits_[0];
  total_size += static_cast<bool>(0x00000020U & cached_has_bits) * 5;
  if (BatchCheckHasBit(cached_has_bits, 0x0000005fU)) {
    // repeated .personal_context.proto.SourceReference source_references = 3;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1UL * this_._internal_source_references_size();
      for (const auto& msg : this_._internal_source_references()) {
        total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
      }
    }
    // string title = 1;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_title());
    }
    // string description = 2;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_description());
    }
    // string actionable_url = 4;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_actionable_url());
    }
    // string id = 7;
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_id());
    }
    // .personal_context.proto.AutoTodoItem.Status status = 6;
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_status());
    }
  }
  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 AutoTodoItem::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<AutoTodoItem*>(&to_msg);
  auto& from = static_cast<const AutoTodoItem&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:personal_context.proto.AutoTodoItem)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = from._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x0000007fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_mutable_source_references()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_source_references());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_title(from._internal_title());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_internal_set_description(from._internal_description());
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_internal_set_actionable_url(from._internal_actionable_url());
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _this->_internal_set_id(from._internal_id());
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      _this->_impl_.importance_score_ = from._impl_.importance_score_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      _this->_impl_.status_ = from._impl_.status_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void AutoTodoItem::InternalSwap(AutoTodoItem* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
  using ::std::swap;
  auto* arena = GetArena();
  ABSL_DCHECK_EQ(arena, other->GetArena());
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  _impl_.source_references_.InternalSwap(&other->_impl_.source_references_);
  _impl_.title_.InternalSwap(&_impl_.title_, &other->_impl_.title_, arena);
  _impl_.description_.InternalSwap(&_impl_.description_, &other->_impl_.description_, arena);
  _impl_.actionable_url_.InternalSwap(&_impl_.actionable_url_, &other->_impl_.actionable_url_, arena);
  _impl_.id_.InternalSwap(&_impl_.id_, &other->_impl_.id_, arena);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(AutoTodoItem, _impl_.status_)
      + sizeof(AutoTodoItem::_impl_.status_)
      - PROTOBUF_FIELD_OFFSET(AutoTodoItem, _impl_.importance_score_)>(
          reinterpret_cast<char*>(&_impl_.importance_score_),
          reinterpret_cast<char*>(&other->_impl_.importance_score_));
}

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