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

#ifndef components_2fpersonal_5fcontext_2fproto_2ffeatures_2fsmart_5fsearch_2eproto_2epb_2eh
#define components_2fpersonal_5fcontext_2fproto_2ffeatures_2fsmart_5fsearch_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 "components/personal_context/proto/features/common_data.pb.h"
// @@protoc_insertion_point(includes)

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

#define PROTOBUF_INTERNAL_EXPORT_components_2fpersonal_5fcontext_2fproto_2ffeatures_2fsmart_5fsearch_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_2fpersonal_5fcontext_2fproto_2ffeatures_2fsmart_5fsearch_2eproto {
  static const ::uint32_t offsets[];
};
namespace personal_context {
namespace proto {
class SmartSearchItem;
struct SmartSearchItemGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern SmartSearchItemGlobalsTypeInternal SmartSearchItem_globals_;
extern const ::google::protobuf::internal::ClassDataLite SmartSearchItem_class_data_;
#else
extern const SmartSearchItemGlobalsTypeInternal SmartSearchItem_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class SmartSearchRequest;
struct SmartSearchRequestGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern SmartSearchRequestGlobalsTypeInternal SmartSearchRequest_globals_;
extern const ::google::protobuf::internal::ClassDataLite SmartSearchRequest_class_data_;
#else
extern const SmartSearchRequestGlobalsTypeInternal SmartSearchRequest_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class SmartSearchResponse;
struct SmartSearchResponseGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern SmartSearchResponseGlobalsTypeInternal SmartSearchResponse_globals_;
extern const ::google::protobuf::internal::ClassDataLite SmartSearchResponse_class_data_;
#else
extern const SmartSearchResponseGlobalsTypeInternal SmartSearchResponse_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
}  // namespace proto
}  // namespace personal_context
namespace google {
namespace protobuf {
}  // namespace protobuf
}  // namespace google

namespace personal_context {
namespace proto {

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


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

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

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

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

  inline SmartSearchRequest(const SmartSearchRequest& from) : SmartSearchRequest(nullptr, from) {}
  inline SmartSearchRequest(SmartSearchRequest&& from) noexcept : SmartSearchRequest(nullptr, ::std::move(from)) {}
  inline SmartSearchRequest& operator=(const SmartSearchRequest& from) {
    CopyFrom(from);
    return *this;
  }
  inline SmartSearchRequest& operator=(SmartSearchRequest&& 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 SmartSearchRequest& default_instance() {
    return *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<SmartSearchRequest>(&SmartSearchRequest_globals_);
  }
  static constexpr int kIndexInFileMessages = 0;
  friend void swap(SmartSearchRequest& a, SmartSearchRequest& b) { a.Swap(&b); }
  PROTOBUF_NOINLINE void Swap(SmartSearchRequest* 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(SmartSearchRequest* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

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

  SmartSearchRequest* PROTOBUF_NONNULL
  New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
    return ::google::protobuf::MessageLite::DefaultConstruct<SmartSearchRequest>(arena);
  }
  void CopyFrom(const SmartSearchRequest& from);
  void MergeFrom(const SmartSearchRequest& from) { SmartSearchRequest::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(SmartSearchRequest* PROTOBUF_NONNULL other);
 private:
  template <typename T>
  friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
  static ::absl::string_view FullMessageName() { return "personal_context.proto.SmartSearchRequest"; }

  explicit SmartSearchRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  SmartSearchRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SmartSearchRequest& from);
  SmartSearchRequest(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SmartSearchRequest&& from) noexcept
      : SmartSearchRequest(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 ----------------------------------------------------

  // accessors -------------------------------------------------------
  enum : int {
    kInputQueryFieldNumber = 1,
  };
  // string input_query = 1;
  bool has_input_query()
      const;
  void clear_input_query() ;
  ::absl::string_view input_query() const;
  template <typename Arg_ = ::std::string&&>
  void set_input_query(Arg_&& arg);

  private:
  ::absl::string_view _internal_input_query() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_input_query(::absl::string_view value);

  public:
  // @@protoc_insertion_point(class_scope:personal_context.proto.SmartSearchRequest)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<0, 1,
                          0, 61,
                          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 SmartSearchRequest& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::google::protobuf::internal::ArenaStringPtr input_query_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_components_2fpersonal_5fcontext_2fproto_2ffeatures_2fsmart_5fsearch_2eproto;
};
// -------------------------------------------------------------------

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

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

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

  inline SmartSearchItem(const SmartSearchItem& from) : SmartSearchItem(nullptr, from) {}
  inline SmartSearchItem(SmartSearchItem&& from) noexcept : SmartSearchItem(nullptr, ::std::move(from)) {}
  inline SmartSearchItem& operator=(const SmartSearchItem& from) {
    CopyFrom(from);
    return *this;
  }
  inline SmartSearchItem& operator=(SmartSearchItem&& 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 SmartSearchItem& default_instance() {
    return *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<SmartSearchItem>(&SmartSearchItem_globals_);
  }
  static constexpr int kIndexInFileMessages = 2;
  friend void swap(SmartSearchItem& a, SmartSearchItem& b) { a.Swap(&b); }
  PROTOBUF_NOINLINE void Swap(SmartSearchItem* 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(SmartSearchItem* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

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

  SmartSearchItem* PROTOBUF_NONNULL
  New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
    return ::google::protobuf::MessageLite::DefaultConstruct<SmartSearchItem>(arena);
  }
  void CopyFrom(const SmartSearchItem& from);
  void MergeFrom(const SmartSearchItem& from) { SmartSearchItem::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(SmartSearchItem* PROTOBUF_NONNULL other);
 private:
  template <typename T>
  friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
  static ::absl::string_view FullMessageName() { return "personal_context.proto.SmartSearchItem"; }

  explicit SmartSearchItem(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  SmartSearchItem(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SmartSearchItem& from);
  SmartSearchItem(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SmartSearchItem&& from) noexcept
      : SmartSearchItem(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 ----------------------------------------------------

  // accessors -------------------------------------------------------
  enum : int {
    kSourceReferencesFieldNumber = 2,
    kDescriptionFieldNumber = 1,
  };
  // repeated .personal_context.proto.SourceReference source_references = 2;
  int source_references_size()
      const;
  private:
  int _internal_source_references_size() const;

  public:
  void clear_source_references() ;
  const ::personal_context::proto::SourceReference& source_references(int index) const;
  ::personal_context::proto::SourceReference* PROTOBUF_NONNULL mutable_source_references(int index);
  ::personal_context::proto::SourceReference* PROTOBUF_NONNULL add_source_references();
  const ::google::protobuf::RepeatedPtrField<::personal_context::proto::SourceReference>&
  source_references() const;
  ::google::protobuf::RepeatedPtrField<::personal_context::proto::SourceReference>* PROTOBUF_NONNULL
  mutable_source_references();

  private:
  const ::google::protobuf::RepeatedPtrField<::personal_context::proto::SourceReference>& _internal_source_references() const;
  ::google::protobuf::RepeatedPtrField<::personal_context::proto::SourceReference>* PROTOBUF_NONNULL _internal_mutable_source_references();

  public:
  // string description = 1;
  bool has_description()
      const;
  void clear_description() ;
  ::absl::string_view description() const;
  template <typename Arg_ = ::std::string&&>
  void set_description(Arg_&& arg);

  private:
  ::absl::string_view _internal_description() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_description(::absl::string_view value);

  public:
  // @@protoc_insertion_point(class_scope:personal_context.proto.SmartSearchItem)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<1, 2,
                          1, 58,
                          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 SmartSearchItem& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::google::protobuf::RepeatedPtrField< ::personal_context::proto::SourceReference > source_references_;
    ::google::protobuf::internal::ArenaStringPtr description_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_components_2fpersonal_5fcontext_2fproto_2ffeatures_2fsmart_5fsearch_2eproto;
};
// -------------------------------------------------------------------

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

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

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

  inline SmartSearchResponse(const SmartSearchResponse& from) : SmartSearchResponse(nullptr, from) {}
  inline SmartSearchResponse(SmartSearchResponse&& from) noexcept : SmartSearchResponse(nullptr, ::std::move(from)) {}
  inline SmartSearchResponse& operator=(const SmartSearchResponse& from) {
    CopyFrom(from);
    return *this;
  }
  inline SmartSearchResponse& operator=(SmartSearchResponse&& 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 SmartSearchResponse& default_instance() {
    return *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<SmartSearchResponse>(&SmartSearchResponse_globals_);
  }
  static constexpr int kIndexInFileMessages = 1;
  friend void swap(SmartSearchResponse& a, SmartSearchResponse& b) { a.Swap(&b); }
  PROTOBUF_NOINLINE void Swap(SmartSearchResponse* 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(SmartSearchResponse* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

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

  SmartSearchResponse* PROTOBUF_NONNULL
  New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
    return ::google::protobuf::MessageLite::DefaultConstruct<SmartSearchResponse>(arena);
  }
  void CopyFrom(const SmartSearchResponse& from);
  void MergeFrom(const SmartSearchResponse& from) { SmartSearchResponse::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(SmartSearchResponse* PROTOBUF_NONNULL other);
 private:
  template <typename T>
  friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
  static ::absl::string_view FullMessageName() { return "personal_context.proto.SmartSearchResponse"; }

  explicit SmartSearchResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  SmartSearchResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SmartSearchResponse& from);
  SmartSearchResponse(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SmartSearchResponse&& from) noexcept
      : SmartSearchResponse(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 ----------------------------------------------------

  // accessors -------------------------------------------------------
  enum : int {
    kItemsFieldNumber = 1,
  };
  // repeated .personal_context.proto.SmartSearchItem items = 1;
  int items_size()
      const;
  private:
  int _internal_items_size() const;

  public:
  void clear_items() ;
  const ::personal_context::proto::SmartSearchItem& items(int index) const;
  ::personal_context::proto::SmartSearchItem* PROTOBUF_NONNULL mutable_items(int index);
  ::personal_context::proto::SmartSearchItem* PROTOBUF_NONNULL add_items();
  const ::google::protobuf::RepeatedPtrField<::personal_context::proto::SmartSearchItem>&
  items() const;
  ::google::protobuf::RepeatedPtrField<::personal_context::proto::SmartSearchItem>* PROTOBUF_NONNULL
  mutable_items();

  private:
  const ::google::protobuf::RepeatedPtrField<::personal_context::proto::SmartSearchItem>& _internal_items() const;
  ::google::protobuf::RepeatedPtrField<::personal_context::proto::SmartSearchItem>* PROTOBUF_NONNULL _internal_mutable_items();

  public:
  // @@protoc_insertion_point(class_scope:personal_context.proto.SmartSearchResponse)
 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 SmartSearchResponse& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::google::protobuf::RepeatedPtrField< ::personal_context::proto::SmartSearchItem > items_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_components_2fpersonal_5fcontext_2fproto_2ffeatures_2fsmart_5fsearch_2eproto;
};

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




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


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

// SmartSearchRequest

// string input_query = 1;
inline bool SmartSearchRequest::has_input_query() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
  return value;
}
inline void SmartSearchRequest::clear_input_query() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.input_query_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline ::absl::string_view SmartSearchRequest::input_query() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:personal_context.proto.SmartSearchRequest.input_query)
  return _internal_input_query();
}
template <typename Arg_>
PROTOBUF_ALWAYS_INLINE void SmartSearchRequest::set_input_query(Arg_&& arg) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  _impl_.input_query_.Set(static_cast<Arg_&&>(arg), GetArena());
  // @@protoc_insertion_point(field_set:personal_context.proto.SmartSearchRequest.input_query)
}
inline ::absl::string_view SmartSearchRequest::_internal_input_query() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.input_query_.Get();
}
inline void SmartSearchRequest::_internal_set_input_query(::absl::string_view value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  _impl_.input_query_.Set(value, GetArena());
}

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

// SmartSearchResponse

// repeated .personal_context.proto.SmartSearchItem items = 1;
inline int SmartSearchResponse::_internal_items_size() const {
  return _internal_items().size();
}
inline int SmartSearchResponse::items_size() const {
  return _internal_items_size();
}
inline void SmartSearchResponse::clear_items() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.items_.Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline const ::personal_context::proto::SmartSearchItem& SmartSearchResponse::items(int index) const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:personal_context.proto.SmartSearchResponse.items)
  return _internal_items().Get(index);
}
inline ::personal_context::proto::SmartSearchItem* PROTOBUF_NONNULL SmartSearchResponse::mutable_items(int index)
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_mutable:personal_context.proto.SmartSearchResponse.items)
  return _internal_mutable_items()->Mutable(index);
}
inline ::personal_context::proto::SmartSearchItem* PROTOBUF_NONNULL SmartSearchResponse::add_items()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::personal_context::proto::SmartSearchItem* _add =
      _internal_mutable_items()->InternalAddWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), GetArena());
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_add:personal_context.proto.SmartSearchResponse.items)
  return _add;
}
inline const ::google::protobuf::RepeatedPtrField<::personal_context::proto::SmartSearchItem>& SmartSearchResponse::items() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_list:personal_context.proto.SmartSearchResponse.items)
  return _internal_items();
}
inline ::google::protobuf::RepeatedPtrField<::personal_context::proto::SmartSearchItem>* PROTOBUF_NONNULL
SmartSearchResponse::mutable_items() ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_mutable_list:personal_context.proto.SmartSearchResponse.items)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _internal_mutable_items();
}
inline const ::google::protobuf::RepeatedPtrField<::personal_context::proto::SmartSearchItem>&
SmartSearchResponse::_internal_items() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.items_;
}
inline ::google::protobuf::RepeatedPtrField<::personal_context::proto::SmartSearchItem>* PROTOBUF_NONNULL
SmartSearchResponse::_internal_mutable_items() {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return &_impl_.items_;
}

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

// SmartSearchItem

// string description = 1;
inline bool SmartSearchItem::has_description() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
  return value;
}
inline void SmartSearchItem::clear_description() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.description_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
inline ::absl::string_view SmartSearchItem::description() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:personal_context.proto.SmartSearchItem.description)
  return _internal_description();
}
template <typename Arg_>
PROTOBUF_ALWAYS_INLINE void SmartSearchItem::set_description(Arg_&& arg) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  _impl_.description_.Set(static_cast<Arg_&&>(arg), GetArena());
  // @@protoc_insertion_point(field_set:personal_context.proto.SmartSearchItem.description)
}
inline ::absl::string_view SmartSearchItem::_internal_description() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.description_.Get();
}
inline void SmartSearchItem::_internal_set_description(::absl::string_view value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  _impl_.description_.Set(value, GetArena());
}

// repeated .personal_context.proto.SourceReference source_references = 2;
inline int SmartSearchItem::_internal_source_references_size() const {
  return _internal_source_references().size();
}
inline int SmartSearchItem::source_references_size() const {
  return _internal_source_references_size();
}
inline const ::personal_context::proto::SourceReference& SmartSearchItem::source_references(int index) const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:personal_context.proto.SmartSearchItem.source_references)
  return _internal_source_references().Get(index);
}
inline ::personal_context::proto::SourceReference* PROTOBUF_NONNULL SmartSearchItem::mutable_source_references(int index)
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_mutable:personal_context.proto.SmartSearchItem.source_references)
  return _internal_mutable_source_references()->Mutable(index);
}
inline ::personal_context::proto::SourceReference* PROTOBUF_NONNULL SmartSearchItem::add_source_references()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::personal_context::proto::SourceReference* _add =
      _internal_mutable_source_references()->InternalAddWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), GetArena());
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_add:personal_context.proto.SmartSearchItem.source_references)
  return _add;
}
inline const ::google::protobuf::RepeatedPtrField<::personal_context::proto::SourceReference>& SmartSearchItem::source_references() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_list:personal_context.proto.SmartSearchItem.source_references)
  return _internal_source_references();
}
inline ::google::protobuf::RepeatedPtrField<::personal_context::proto::SourceReference>* PROTOBUF_NONNULL
SmartSearchItem::mutable_source_references() ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_mutable_list:personal_context.proto.SmartSearchItem.source_references)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _internal_mutable_source_references();
}
inline const ::google::protobuf::RepeatedPtrField<::personal_context::proto::SourceReference>&
SmartSearchItem::_internal_source_references() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.source_references_;
}
inline ::google::protobuf::RepeatedPtrField<::personal_context::proto::SourceReference>* PROTOBUF_NONNULL
SmartSearchItem::_internal_mutable_source_references() {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return &_impl_.source_references_;
}

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

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


// @@protoc_insertion_point(global_scope)

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

#endif  // components_2fpersonal_5fcontext_2fproto_2ffeatures_2fsmart_5fsearch_2eproto_2epb_2eh
