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

#ifndef components_2fcontextual_5ftasks_2finternal_2fproto_2fcontextual_5ftask_5fentity_2eproto_2epb_2eh
#define components_2fcontextual_5ftasks_2finternal_2fproto_2fcontextual_5ftask_5fentity_2eproto_2epb_2eh

#include <limits>
#include <string>
#include <type_traits>
#include <utility>

// clang-format off
#include "google/protobuf/runtime_version.h"
#if PROTOBUF_VERSION != 7035001
#error "Protobuf C++ gencode is built with an incompatible version of"
#error "Protobuf C++ headers/runtime. See"
#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
#endif
#include "google/protobuf/io/coded_stream.h"
#include "google/protobuf/arena.h"
#include "google/protobuf/arenastring.h"
#include "google/protobuf/generated_message_tctable_decl.h"
#include "google/protobuf/generated_message_util.h"
#include "google/protobuf/metadata_lite.h"
#include "google/protobuf/message_lite.h"
#include "google/protobuf/repeated_field.h"  // IWYU pragma: export
#include "google/protobuf/extension_set.h"  // IWYU pragma: export
#include "google/protobuf/generated_enum_util.h"
#include "components/sync/protocol/contextual_task_specifics.pb.h"
// @@protoc_insertion_point(includes)

// Must be included last.
#include "google/protobuf/port_def.inc"

#define PROTOBUF_INTERNAL_EXPORT_components_2fcontextual_5ftasks_2finternal_2fproto_2fcontextual_5ftask_5fentity_2eproto

namespace google {
namespace protobuf {
namespace internal {
template <typename T>
::absl::string_view GetAnyMessageName();
}  // namespace internal
}  // namespace protobuf
}  // namespace google

// Internal implementation detail -- do not use these members.
struct TableStruct_components_2fcontextual_5ftasks_2finternal_2fproto_2fcontextual_5ftask_5fentity_2eproto {
  static const ::uint32_t offsets[];
};
namespace contextual_tasks {
namespace proto {
enum ContextualTaskEntity_LocalData_UiState : int;
extern const uint32_t ContextualTaskEntity_LocalData_UiState_internal_data_[];
class ContextualTaskEntity;
struct ContextualTaskEntityGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern ContextualTaskEntityGlobalsTypeInternal ContextualTaskEntity_globals_;
extern const ::google::protobuf::internal::ClassDataLite ContextualTaskEntity_class_data_;
#else
extern const ContextualTaskEntityGlobalsTypeInternal ContextualTaskEntity_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class ContextualTaskEntity_LocalData;
struct ContextualTaskEntity_LocalDataGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern ContextualTaskEntity_LocalDataGlobalsTypeInternal ContextualTaskEntity_LocalData_globals_;
extern const ::google::protobuf::internal::ClassDataLite ContextualTaskEntity_LocalData_class_data_;
#else
extern const ContextualTaskEntity_LocalDataGlobalsTypeInternal ContextualTaskEntity_LocalData_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
}  // namespace proto
}  // namespace contextual_tasks
namespace google {
namespace protobuf {
template <>
internal::EnumTraitsT<::contextual_tasks::proto::ContextualTaskEntity_LocalData_UiState_internal_data_>
    internal::EnumTraitsImpl::value<::contextual_tasks::proto::ContextualTaskEntity_LocalData_UiState>;
}  // namespace protobuf
}  // namespace google

namespace contextual_tasks {
namespace proto {
enum ContextualTaskEntity_LocalData_UiState : int {
  ContextualTaskEntity_LocalData_UiState_UNKNOWN = 0,
  ContextualTaskEntity_LocalData_UiState_LEFT_SIDEPANEL = 1,
  ContextualTaskEntity_LocalData_UiState_RIGHT_SIDEPANEL = 2,
  ContextualTaskEntity_LocalData_UiState_TAB = 3,
};

extern const uint32_t ContextualTaskEntity_LocalData_UiState_internal_data_[];
inline constexpr ContextualTaskEntity_LocalData_UiState ContextualTaskEntity_LocalData_UiState_UiState_MIN =
    static_cast<ContextualTaskEntity_LocalData_UiState>(0);
inline constexpr ContextualTaskEntity_LocalData_UiState ContextualTaskEntity_LocalData_UiState_UiState_MAX =
    static_cast<ContextualTaskEntity_LocalData_UiState>(3);
inline bool ContextualTaskEntity_LocalData_UiState_IsValid(int value) {
  return 0 <= value && value <= 3;
}
inline constexpr int ContextualTaskEntity_LocalData_UiState_UiState_ARRAYSIZE = 3 + 1;
const ::std::string& ContextualTaskEntity_LocalData_UiState_Name(ContextualTaskEntity_LocalData_UiState value);
template <typename T>
const ::std::string& ContextualTaskEntity_LocalData_UiState_Name(T value) {
  static_assert(::std::is_same<T, ContextualTaskEntity_LocalData_UiState>::value ||
                    ::std::is_integral<T>::value,
                "Incorrect type passed to UiState_Name().");
  return ContextualTaskEntity_LocalData_UiState_Name(static_cast<ContextualTaskEntity_LocalData_UiState>(value));
}
bool ContextualTaskEntity_LocalData_UiState_Parse(
    ::absl::string_view name, ContextualTaskEntity_LocalData_UiState* PROTOBUF_NONNULL value);
using ::google::protobuf::internal::generated_enum::AbslParseFlag;
using ::google::protobuf::internal::generated_enum::AbslUnparseFlag;

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


// -------------------------------------------------------------------

class  ContextualTaskEntity_LocalData final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:contextual_tasks.proto.ContextualTaskEntity.LocalData) */ {
 public:
  inline ContextualTaskEntity_LocalData() : ContextualTaskEntity_LocalData(nullptr) {}
  ~ContextualTaskEntity_LocalData() PROTOBUF_FINAL;

#if defined(PROTOBUF_CUSTOM_VTABLE)
  void operator delete(ContextualTaskEntity_LocalData* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
    SharedDtor(*msg);
    ::google::protobuf::internal::SizedDelete(msg, sizeof(ContextualTaskEntity_LocalData));
  }
#endif

  template <typename = void>
  explicit constexpr ContextualTaskEntity_LocalData(::google::protobuf::internal::ConstantInitialized,
                           const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
                               class_data);

  inline ContextualTaskEntity_LocalData(const ContextualTaskEntity_LocalData& from) : ContextualTaskEntity_LocalData(nullptr, from) {}
  inline ContextualTaskEntity_LocalData(ContextualTaskEntity_LocalData&& from) noexcept : ContextualTaskEntity_LocalData(nullptr, ::std::move(from)) {}
  inline ContextualTaskEntity_LocalData& operator=(const ContextualTaskEntity_LocalData& from) {
    CopyFrom(from);
    return *this;
  }
  inline ContextualTaskEntity_LocalData& operator=(ContextualTaskEntity_LocalData&& from) noexcept {
    if (this == &from) return *this;
    if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const ::std::string& unknown_fields() const
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
  }
  inline ::std::string* PROTOBUF_NONNULL
  mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.mutable_unknown_fields<::std::string>();
  }

  static const ContextualTaskEntity_LocalData& default_instance() {
    return *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<ContextualTaskEntity_LocalData>(&ContextualTaskEntity_LocalData_globals_);
  }
  static constexpr int kIndexInFileMessages = 0;
  friend void swap(ContextualTaskEntity_LocalData& a, ContextualTaskEntity_LocalData& b) { a.Swap(&b); }
  PROTOBUF_NOINLINE void Swap(ContextualTaskEntity_LocalData* PROTOBUF_NONNULL other) {
    if (other == this) return;
    if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
      InternalSwap(other);
    } else {
      ::google::protobuf::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(ContextualTaskEntity_LocalData* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  ContextualTaskEntity_LocalData* PROTOBUF_NONNULL
  New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
    return ::google::protobuf::MessageLite::DefaultConstruct<ContextualTaskEntity_LocalData>(arena);
  }
  void CopyFrom(const ContextualTaskEntity_LocalData& from);
  void MergeFrom(const ContextualTaskEntity_LocalData& from) { ContextualTaskEntity_LocalData::MergeImpl(*this, from); }

  private:
  static void MergeImpl(::google::protobuf::MessageLite& to_msg,
                        const ::google::protobuf::MessageLite& from_msg);

  public:
  bool IsInitialized() const {
    return true;
  }
  ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
  #if defined(PROTOBUF_CUSTOM_VTABLE)
  private:
  static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
  static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);

  public:
  ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
    return _InternalSerialize(*this, target, stream);
  }
  #else   // PROTOBUF_CUSTOM_VTABLE
  ::size_t ByteSizeLong() const final;
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
  #endif  // PROTOBUF_CUSTOM_VTABLE
  int GetCachedSize() const {
    return _impl_._cached_size_.Get();
  }

  private:
  void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static void SharedDtor(MessageLite& self);
  void InternalSwap(ContextualTaskEntity_LocalData* PROTOBUF_NONNULL other);
 private:
  template <typename T>
  friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
  static ::absl::string_view FullMessageName() { return "contextual_tasks.proto.ContextualTaskEntity.LocalData"; }

  explicit ContextualTaskEntity_LocalData(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  ContextualTaskEntity_LocalData(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ContextualTaskEntity_LocalData& from);
  ContextualTaskEntity_LocalData(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ContextualTaskEntity_LocalData&& from) noexcept
      : ContextualTaskEntity_LocalData(arena) {
    *this = ::std::move(from);
  }
  const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
  static void* PROTOBUF_NONNULL PlacementNew_(
      const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static constexpr auto InternalNewImpl_();

 public:
  static constexpr auto InternalGenerateClassData_(
      const MessageLite& prototype,
      const ::google::protobuf::internal::TcParseTableBase* PROTOBUF_NULLABLE tc_table = nullptr);

  // nested types ----------------------------------------------------
  using UiState = ContextualTaskEntity_LocalData_UiState;
  static constexpr UiState UNKNOWN = ContextualTaskEntity_LocalData_UiState_UNKNOWN;
  static constexpr UiState LEFT_SIDEPANEL = ContextualTaskEntity_LocalData_UiState_LEFT_SIDEPANEL;
  static constexpr UiState RIGHT_SIDEPANEL = ContextualTaskEntity_LocalData_UiState_RIGHT_SIDEPANEL;
  static constexpr UiState TAB = ContextualTaskEntity_LocalData_UiState_TAB;
  static inline bool UiState_IsValid(int value) {
    return ContextualTaskEntity_LocalData_UiState_IsValid(value);
  }
  static constexpr UiState UiState_MIN = ContextualTaskEntity_LocalData_UiState_UiState_MIN;
  static constexpr UiState UiState_MAX = ContextualTaskEntity_LocalData_UiState_UiState_MAX;
  static constexpr int UiState_ARRAYSIZE = ContextualTaskEntity_LocalData_UiState_UiState_ARRAYSIZE;
  template <typename T>
  static inline const ::std::string& UiState_Name(T value) {
    return ContextualTaskEntity_LocalData_UiState_Name(value);
  }
  static inline bool UiState_Parse(
      ::absl::string_view name, UiState* PROTOBUF_NONNULL value) {
    return ContextualTaskEntity_LocalData_UiState_Parse(name, value);
  }

  // accessors -------------------------------------------------------
  enum : int {
    kUiStateFieldNumber = 1,
  };
  // optional .contextual_tasks.proto.ContextualTaskEntity.LocalData.UiState ui_state = 1;
  bool has_ui_state()
      const;
  void clear_ui_state() ;
  ::contextual_tasks::proto::ContextualTaskEntity_LocalData_UiState ui_state() const;
  void set_ui_state(::contextual_tasks::proto::ContextualTaskEntity_LocalData_UiState value);

  private:
  ::contextual_tasks::proto::ContextualTaskEntity_LocalData_UiState _internal_ui_state() const;
  void _internal_set_ui_state(::contextual_tasks::proto::ContextualTaskEntity_LocalData_UiState value);

  public:
  // @@protoc_insertion_point(class_scope:contextual_tasks.proto.ContextualTaskEntity.LocalData)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<0, 1,
                          1, 0,
                          2>;
  static constexpr ParseTableT_ InternalGenerateParseTable_(
      const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data);
  friend class ::google::protobuf::internal::TcParser;
  #ifndef PROTOBUF_MESSAGE_GLOBALS
  static const ParseTableT_ _table_;
  #endif

  friend class ::google::protobuf::MessageLite;
  friend class ::google::protobuf::Arena;
  friend ::google::protobuf::internal::PrivateAccess;
  template <typename T>
  friend class ::google::protobuf::Arena::InternalHelper;
  using InternalArenaConstructable_ = void;
  using DestructorSkippable_ = void;
  struct Impl_ {
    inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility,
                                    ::google::protobuf::internal::ConstantInitialized) noexcept;
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
        const ContextualTaskEntity_LocalData& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    int ui_state_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_components_2fcontextual_5ftasks_2finternal_2fproto_2fcontextual_5ftask_5fentity_2eproto;
};
// -------------------------------------------------------------------

class  ContextualTaskEntity final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:contextual_tasks.proto.ContextualTaskEntity) */ {
 public:
  inline ContextualTaskEntity() : ContextualTaskEntity(nullptr) {}
  ~ContextualTaskEntity() PROTOBUF_FINAL;

#if defined(PROTOBUF_CUSTOM_VTABLE)
  void operator delete(ContextualTaskEntity* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
    SharedDtor(*msg);
    ::google::protobuf::internal::SizedDelete(msg, sizeof(ContextualTaskEntity));
  }
#endif

  template <typename = void>
  explicit constexpr ContextualTaskEntity(::google::protobuf::internal::ConstantInitialized,
                           const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
                               class_data);

  inline ContextualTaskEntity(const ContextualTaskEntity& from) : ContextualTaskEntity(nullptr, from) {}
  inline ContextualTaskEntity(ContextualTaskEntity&& from) noexcept : ContextualTaskEntity(nullptr, ::std::move(from)) {}
  inline ContextualTaskEntity& operator=(const ContextualTaskEntity& from) {
    CopyFrom(from);
    return *this;
  }
  inline ContextualTaskEntity& operator=(ContextualTaskEntity&& from) noexcept {
    if (this == &from) return *this;
    if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const ::std::string& unknown_fields() const
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
  }
  inline ::std::string* PROTOBUF_NONNULL
  mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.mutable_unknown_fields<::std::string>();
  }

  static const ContextualTaskEntity& default_instance() {
    return *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<ContextualTaskEntity>(&ContextualTaskEntity_globals_);
  }
  static constexpr int kIndexInFileMessages = 1;
  friend void swap(ContextualTaskEntity& a, ContextualTaskEntity& b) { a.Swap(&b); }
  PROTOBUF_NOINLINE void Swap(ContextualTaskEntity* PROTOBUF_NONNULL other) {
    if (other == this) return;
    if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
      InternalSwap(other);
    } else {
      ::google::protobuf::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(ContextualTaskEntity* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  ContextualTaskEntity* PROTOBUF_NONNULL
  New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
    return ::google::protobuf::MessageLite::DefaultConstruct<ContextualTaskEntity>(arena);
  }
  void CopyFrom(const ContextualTaskEntity& from);
  void MergeFrom(const ContextualTaskEntity& from) { ContextualTaskEntity::MergeImpl(*this, from); }

  private:
  static void MergeImpl(::google::protobuf::MessageLite& to_msg,
                        const ::google::protobuf::MessageLite& from_msg);

  public:
  bool IsInitialized() const {
    return true;
  }
  ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
  #if defined(PROTOBUF_CUSTOM_VTABLE)
  private:
  static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
  static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);

  public:
  ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
    return _InternalSerialize(*this, target, stream);
  }
  #else   // PROTOBUF_CUSTOM_VTABLE
  ::size_t ByteSizeLong() const final;
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
  #endif  // PROTOBUF_CUSTOM_VTABLE
  int GetCachedSize() const {
    return _impl_._cached_size_.Get();
  }

  private:
  void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static void SharedDtor(MessageLite& self);
  void InternalSwap(ContextualTaskEntity* PROTOBUF_NONNULL other);
 private:
  template <typename T>
  friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
  static ::absl::string_view FullMessageName() { return "contextual_tasks.proto.ContextualTaskEntity"; }

  explicit ContextualTaskEntity(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  ContextualTaskEntity(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ContextualTaskEntity& from);
  ContextualTaskEntity(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ContextualTaskEntity&& from) noexcept
      : ContextualTaskEntity(arena) {
    *this = ::std::move(from);
  }
  const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
  static void* PROTOBUF_NONNULL PlacementNew_(
      const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static constexpr auto InternalNewImpl_();

 public:
  static constexpr auto InternalGenerateClassData_(
      const MessageLite& prototype,
      const ::google::protobuf::internal::TcParseTableBase* PROTOBUF_NULLABLE tc_table = nullptr);

  // nested types ----------------------------------------------------
  using LocalData = ContextualTaskEntity_LocalData;

  // accessors -------------------------------------------------------
  enum : int {
    kSpecificsFieldNumber = 1,
    kLocalDataFieldNumber = 2,
  };
  // optional .sync_pb.ContextualTaskSpecifics specifics = 1;
  bool has_specifics()
      const;
  void clear_specifics() ;
  const ::sync_pb::ContextualTaskSpecifics& specifics() const;
  ::sync_pb::ContextualTaskSpecifics* PROTOBUF_NULLABLE release_specifics();
  ::sync_pb::ContextualTaskSpecifics* PROTOBUF_NONNULL mutable_specifics();
  void set_allocated_specifics(::sync_pb::ContextualTaskSpecifics* PROTOBUF_NULLABLE value);
  void unsafe_arena_set_allocated_specifics(::sync_pb::ContextualTaskSpecifics* PROTOBUF_NULLABLE value);
  ::sync_pb::ContextualTaskSpecifics* PROTOBUF_NULLABLE unsafe_arena_release_specifics();

  private:
  const ::sync_pb::ContextualTaskSpecifics& _internal_specifics() const;
  ::sync_pb::ContextualTaskSpecifics* PROTOBUF_NONNULL _internal_mutable_specifics();

  public:
  // optional .contextual_tasks.proto.ContextualTaskEntity.LocalData local_data = 2;
  bool has_local_data()
      const;
  void clear_local_data() ;
  const ::contextual_tasks::proto::ContextualTaskEntity_LocalData& local_data() const;
  ::contextual_tasks::proto::ContextualTaskEntity_LocalData* PROTOBUF_NULLABLE release_local_data();
  ::contextual_tasks::proto::ContextualTaskEntity_LocalData* PROTOBUF_NONNULL mutable_local_data();
  void set_allocated_local_data(::contextual_tasks::proto::ContextualTaskEntity_LocalData* PROTOBUF_NULLABLE value);
  void unsafe_arena_set_allocated_local_data(::contextual_tasks::proto::ContextualTaskEntity_LocalData* PROTOBUF_NULLABLE value);
  ::contextual_tasks::proto::ContextualTaskEntity_LocalData* PROTOBUF_NULLABLE unsafe_arena_release_local_data();

  private:
  const ::contextual_tasks::proto::ContextualTaskEntity_LocalData& _internal_local_data() const;
  ::contextual_tasks::proto::ContextualTaskEntity_LocalData* PROTOBUF_NONNULL _internal_mutable_local_data();

  public:
  // @@protoc_insertion_point(class_scope:contextual_tasks.proto.ContextualTaskEntity)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<1, 2,
                          2, 0,
                          2>;
  static constexpr ParseTableT_ InternalGenerateParseTable_(
      const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data);
  friend class ::google::protobuf::internal::TcParser;
  #ifndef PROTOBUF_MESSAGE_GLOBALS
  static const ParseTableT_ _table_;
  #endif

  friend class ::google::protobuf::MessageLite;
  friend class ::google::protobuf::Arena;
  friend ::google::protobuf::internal::PrivateAccess;
  template <typename T>
  friend class ::google::protobuf::Arena::InternalHelper;
  using InternalArenaConstructable_ = void;
  using DestructorSkippable_ = void;
  struct Impl_ {
    inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility,
                                    ::google::protobuf::internal::ConstantInitialized) noexcept;
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
        const ContextualTaskEntity& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::sync_pb::ContextualTaskSpecifics* PROTOBUF_NULLABLE specifics_;
    ::contextual_tasks::proto::ContextualTaskEntity_LocalData* PROTOBUF_NULLABLE local_data_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_components_2fcontextual_5ftasks_2finternal_2fproto_2fcontextual_5ftask_5fentity_2eproto;
};

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




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


#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif  // __GNUC__
// -------------------------------------------------------------------

// ContextualTaskEntity_LocalData

// optional .contextual_tasks.proto.ContextualTaskEntity.LocalData.UiState ui_state = 1;
inline bool ContextualTaskEntity_LocalData::has_ui_state() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
  return value;
}
inline void ContextualTaskEntity_LocalData::clear_ui_state() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.ui_state_ = 0;
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline ::contextual_tasks::proto::ContextualTaskEntity_LocalData_UiState ContextualTaskEntity_LocalData::ui_state() const {
  // @@protoc_insertion_point(field_get:contextual_tasks.proto.ContextualTaskEntity.LocalData.ui_state)
  return _internal_ui_state();
}
inline void ContextualTaskEntity_LocalData::set_ui_state(::contextual_tasks::proto::ContextualTaskEntity_LocalData_UiState value) {
  _internal_set_ui_state(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_set:contextual_tasks.proto.ContextualTaskEntity.LocalData.ui_state)
}
inline ::contextual_tasks::proto::ContextualTaskEntity_LocalData_UiState ContextualTaskEntity_LocalData::_internal_ui_state() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return static_cast<::contextual_tasks::proto::ContextualTaskEntity_LocalData_UiState>(_impl_.ui_state_);
}
inline void ContextualTaskEntity_LocalData::_internal_set_ui_state(::contextual_tasks::proto::ContextualTaskEntity_LocalData_UiState value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);

                                          assert(::google::protobuf::internal::ValidateEnum(
                                              value, ::contextual_tasks::proto::ContextualTaskEntity_LocalData_UiState_internal_data_));
                                          _impl_.ui_state_ = value;
}

// -------------------------------------------------------------------

// ContextualTaskEntity

// optional .sync_pb.ContextualTaskSpecifics specifics = 1;
inline bool ContextualTaskEntity::has_specifics() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
  PROTOBUF_ASSUME(!value || _impl_.specifics_ != nullptr);
  return value;
}
inline const ::sync_pb::ContextualTaskSpecifics& ContextualTaskEntity::_internal_specifics() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  const ::sync_pb::ContextualTaskSpecifics* p = _impl_.specifics_;
  return p != nullptr ? *p : *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<::sync_pb::ContextualTaskSpecifics>(&::sync_pb::ContextualTaskSpecifics_globals_);
}
inline const ::sync_pb::ContextualTaskSpecifics& ContextualTaskEntity::specifics() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:contextual_tasks.proto.ContextualTaskEntity.specifics)
  return _internal_specifics();
}
inline void ContextualTaskEntity::unsafe_arena_set_allocated_specifics(
    ::sync_pb::ContextualTaskSpecifics* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.specifics_);
  }
  _impl_.specifics_ = reinterpret_cast<::sync_pb::ContextualTaskSpecifics*>(value);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:contextual_tasks.proto.ContextualTaskEntity.specifics)
}
inline ::sync_pb::ContextualTaskSpecifics* PROTOBUF_NULLABLE ContextualTaskEntity::release_specifics() {
  ::google::protobuf::internal::TSanWrite(&_impl_);

  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  ::sync_pb::ContextualTaskSpecifics* released = _impl_.specifics_;
  _impl_.specifics_ = nullptr;
  if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
    auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
    released = ::google::protobuf::internal::DuplicateIfNonNull(released);
    if (GetArena() == nullptr) {
      delete old;
    }
  } else {
    if (GetArena() != nullptr) {
      released = ::google::protobuf::internal::DuplicateIfNonNull(released);
    }
  }
  return released;
}
inline ::sync_pb::ContextualTaskSpecifics* PROTOBUF_NULLABLE ContextualTaskEntity::unsafe_arena_release_specifics() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:contextual_tasks.proto.ContextualTaskEntity.specifics)

  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  ::sync_pb::ContextualTaskSpecifics* temp = _impl_.specifics_;
  _impl_.specifics_ = nullptr;
  return temp;
}
inline ::sync_pb::ContextualTaskSpecifics* PROTOBUF_NONNULL ContextualTaskEntity::_internal_mutable_specifics() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.specifics_ == nullptr) {
    auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::sync_pb::ContextualTaskSpecifics>(GetArena());
    _impl_.specifics_ = reinterpret_cast<::sync_pb::ContextualTaskSpecifics*>(p);
  }
  return _impl_.specifics_;
}
inline ::sync_pb::ContextualTaskSpecifics* PROTOBUF_NONNULL ContextualTaskEntity::mutable_specifics()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  ::sync_pb::ContextualTaskSpecifics* _msg = _internal_mutable_specifics();
  // @@protoc_insertion_point(field_mutable:contextual_tasks.proto.ContextualTaskEntity.specifics)
  return _msg;
}
inline void ContextualTaskEntity::set_allocated_specifics(::sync_pb::ContextualTaskSpecifics* PROTOBUF_NULLABLE value) {
  ::google::protobuf::Arena* message_arena = GetArena();
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (message_arena == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.specifics_);
  }

  if (value != nullptr) {
    ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena();
    if (message_arena != submessage_arena) {
      value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
    }
    SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  }

  _impl_.specifics_ = reinterpret_cast<::sync_pb::ContextualTaskSpecifics*>(value);
  // @@protoc_insertion_point(field_set_allocated:contextual_tasks.proto.ContextualTaskEntity.specifics)
}

// optional .contextual_tasks.proto.ContextualTaskEntity.LocalData local_data = 2;
inline bool ContextualTaskEntity::has_local_data() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
  PROTOBUF_ASSUME(!value || _impl_.local_data_ != nullptr);
  return value;
}
inline void ContextualTaskEntity::clear_local_data() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.local_data_ != nullptr) _impl_.local_data_->Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
inline const ::contextual_tasks::proto::ContextualTaskEntity_LocalData& ContextualTaskEntity::_internal_local_data() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  const ::contextual_tasks::proto::ContextualTaskEntity_LocalData* p = _impl_.local_data_;
  return p != nullptr ? *p : *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<::contextual_tasks::proto::ContextualTaskEntity_LocalData>(&::contextual_tasks::proto::ContextualTaskEntity_LocalData_globals_);
}
inline const ::contextual_tasks::proto::ContextualTaskEntity_LocalData& ContextualTaskEntity::local_data() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:contextual_tasks.proto.ContextualTaskEntity.local_data)
  return _internal_local_data();
}
inline void ContextualTaskEntity::unsafe_arena_set_allocated_local_data(
    ::contextual_tasks::proto::ContextualTaskEntity_LocalData* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.local_data_);
  }
  _impl_.local_data_ = reinterpret_cast<::contextual_tasks::proto::ContextualTaskEntity_LocalData*>(value);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:contextual_tasks.proto.ContextualTaskEntity.local_data)
}
inline ::contextual_tasks::proto::ContextualTaskEntity_LocalData* PROTOBUF_NULLABLE ContextualTaskEntity::release_local_data() {
  ::google::protobuf::internal::TSanWrite(&_impl_);

  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  ::contextual_tasks::proto::ContextualTaskEntity_LocalData* released = _impl_.local_data_;
  _impl_.local_data_ = nullptr;
  if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
    auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
    released = ::google::protobuf::internal::DuplicateIfNonNull(released);
    if (GetArena() == nullptr) {
      delete old;
    }
  } else {
    if (GetArena() != nullptr) {
      released = ::google::protobuf::internal::DuplicateIfNonNull(released);
    }
  }
  return released;
}
inline ::contextual_tasks::proto::ContextualTaskEntity_LocalData* PROTOBUF_NULLABLE ContextualTaskEntity::unsafe_arena_release_local_data() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:contextual_tasks.proto.ContextualTaskEntity.local_data)

  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  ::contextual_tasks::proto::ContextualTaskEntity_LocalData* temp = _impl_.local_data_;
  _impl_.local_data_ = nullptr;
  return temp;
}
inline ::contextual_tasks::proto::ContextualTaskEntity_LocalData* PROTOBUF_NONNULL ContextualTaskEntity::_internal_mutable_local_data() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.local_data_ == nullptr) {
    auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::contextual_tasks::proto::ContextualTaskEntity_LocalData>(GetArena());
    _impl_.local_data_ = reinterpret_cast<::contextual_tasks::proto::ContextualTaskEntity_LocalData*>(p);
  }
  return _impl_.local_data_;
}
inline ::contextual_tasks::proto::ContextualTaskEntity_LocalData* PROTOBUF_NONNULL ContextualTaskEntity::mutable_local_data()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  ::contextual_tasks::proto::ContextualTaskEntity_LocalData* _msg = _internal_mutable_local_data();
  // @@protoc_insertion_point(field_mutable:contextual_tasks.proto.ContextualTaskEntity.local_data)
  return _msg;
}
inline void ContextualTaskEntity::set_allocated_local_data(::contextual_tasks::proto::ContextualTaskEntity_LocalData* PROTOBUF_NULLABLE value) {
  ::google::protobuf::Arena* message_arena = GetArena();
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (message_arena == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.local_data_);
  }

  if (value != nullptr) {
    ::google::protobuf::Arena* submessage_arena = value->GetArena();
    if (message_arena != submessage_arena) {
      value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
    }
    SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  }

  _impl_.local_data_ = reinterpret_cast<::contextual_tasks::proto::ContextualTaskEntity_LocalData*>(value);
  // @@protoc_insertion_point(field_set_allocated:contextual_tasks.proto.ContextualTaskEntity.local_data)
}

#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif  // __GNUC__

// @@protoc_insertion_point(namespace_scope)
}  // namespace proto
}  // namespace contextual_tasks


namespace google {
namespace protobuf {

template <>
struct is_proto_enum<::contextual_tasks::proto::ContextualTaskEntity_LocalData_UiState> : std::true_type {};
template <>
struct internal::LiteEnumFuncs<::contextual_tasks::proto::ContextualTaskEntity_LocalData_UiState> {
  static constexpr bool kIsDefined = true;
  static constexpr auto kParseFunc = ::contextual_tasks::proto::ContextualTaskEntity_LocalData_UiState_Parse;
  static constexpr auto kNameFunc = ::contextual_tasks::proto::ContextualTaskEntity_LocalData_UiState_Name<int>;
};

}  // namespace protobuf
}  // namespace google

// @@protoc_insertion_point(global_scope)

#include "google/protobuf/port_undef.inc"
// clang-format on

#endif  // components_2fcontextual_5ftasks_2finternal_2fproto_2fcontextual_5ftask_5fentity_2eproto_2epb_2eh
