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

#ifndef components_2foptimization_5fguide_2fproto_2ffeatures_2fhistory_5fquery_5fintent_2eproto_2epb_2eh
#define components_2foptimization_5fguide_2fproto_2ffeatures_2fhistory_5fquery_5fintent_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/optimization_guide/proto/model_quality_metadata.pb.h"
// @@protoc_insertion_point(includes)

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

#define PROTOBUF_INTERNAL_EXPORT_components_2foptimization_5fguide_2fproto_2ffeatures_2fhistory_5fquery_5fintent_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_2foptimization_5fguide_2fproto_2ffeatures_2fhistory_5fquery_5fintent_2eproto {
  static const ::uint32_t offsets[];
};
namespace optimization_guide {
namespace proto {
class HistoryQueryIntentLoggingData;
struct HistoryQueryIntentLoggingDataGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern HistoryQueryIntentLoggingDataGlobalsTypeInternal HistoryQueryIntentLoggingData_globals_;
extern const ::google::protobuf::internal::ClassDataLite HistoryQueryIntentLoggingData_class_data_;
#else
extern const HistoryQueryIntentLoggingDataGlobalsTypeInternal HistoryQueryIntentLoggingData_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class HistoryQueryIntentRequest;
struct HistoryQueryIntentRequestGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern HistoryQueryIntentRequestGlobalsTypeInternal HistoryQueryIntentRequest_globals_;
extern const ::google::protobuf::internal::ClassDataLite HistoryQueryIntentRequest_class_data_;
#else
extern const HistoryQueryIntentRequestGlobalsTypeInternal HistoryQueryIntentRequest_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class HistoryQueryIntentResponse;
struct HistoryQueryIntentResponseGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern HistoryQueryIntentResponseGlobalsTypeInternal HistoryQueryIntentResponse_globals_;
extern const ::google::protobuf::internal::ClassDataLite HistoryQueryIntentResponse_class_data_;
#else
extern const HistoryQueryIntentResponseGlobalsTypeInternal HistoryQueryIntentResponse_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
}  // namespace proto
}  // namespace optimization_guide
namespace google {
namespace protobuf {
}  // namespace protobuf
}  // namespace google

namespace optimization_guide {
namespace proto {

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


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

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

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

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

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

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

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

  explicit HistoryQueryIntentResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  HistoryQueryIntentResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const HistoryQueryIntentResponse& from);
  HistoryQueryIntentResponse(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, HistoryQueryIntentResponse&& from) noexcept
      : HistoryQueryIntentResponse(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 {
    kIsAnswerSeekingFieldNumber = 1,
  };
  // bool is_answer_seeking = 1 [features = {
  void clear_is_answer_seeking() ;
  bool is_answer_seeking() const;
  void set_is_answer_seeking(bool value);

  private:
  bool _internal_is_answer_seeking() const;
  void _internal_set_is_answer_seeking(bool value);

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

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

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

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

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

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

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

  explicit HistoryQueryIntentRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  HistoryQueryIntentRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const HistoryQueryIntentRequest& from);
  HistoryQueryIntentRequest(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, HistoryQueryIntentRequest&& from) noexcept
      : HistoryQueryIntentRequest(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 {
    kTextFieldNumber = 1,
  };
  // string text = 1 [features = {
  void clear_text() ;
  const ::std::string& text() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_text(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_text();
  ::std::string* PROTOBUF_NULLABLE release_text();
  void set_allocated_text(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_text() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_text(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_text();

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

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

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

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

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

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

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

  explicit HistoryQueryIntentLoggingData(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  HistoryQueryIntentLoggingData(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const HistoryQueryIntentLoggingData& from);
  HistoryQueryIntentLoggingData(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, HistoryQueryIntentLoggingData&& from) noexcept
      : HistoryQueryIntentLoggingData(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 {
    kRequestFieldNumber = 1,
    kResponseFieldNumber = 2,
    kModelExecutionInfoFieldNumber = 4,
  };
  // .optimization_guide.proto.HistoryQueryIntentRequest request = 1 [features = {
  bool has_request()
      const;
  void clear_request() ;
  const ::optimization_guide::proto::HistoryQueryIntentRequest& request() const;
  ::optimization_guide::proto::HistoryQueryIntentRequest* PROTOBUF_NULLABLE release_request();
  ::optimization_guide::proto::HistoryQueryIntentRequest* PROTOBUF_NONNULL mutable_request();
  void set_allocated_request(::optimization_guide::proto::HistoryQueryIntentRequest* PROTOBUF_NULLABLE value);
  void unsafe_arena_set_allocated_request(::optimization_guide::proto::HistoryQueryIntentRequest* PROTOBUF_NULLABLE value);
  ::optimization_guide::proto::HistoryQueryIntentRequest* PROTOBUF_NULLABLE unsafe_arena_release_request();

  private:
  const ::optimization_guide::proto::HistoryQueryIntentRequest& _internal_request() const;
  ::optimization_guide::proto::HistoryQueryIntentRequest* PROTOBUF_NONNULL _internal_mutable_request();

  public:
  // .optimization_guide.proto.HistoryQueryIntentResponse response = 2 [features = {
  bool has_response()
      const;
  void clear_response() ;
  const ::optimization_guide::proto::HistoryQueryIntentResponse& response() const;
  ::optimization_guide::proto::HistoryQueryIntentResponse* PROTOBUF_NULLABLE release_response();
  ::optimization_guide::proto::HistoryQueryIntentResponse* PROTOBUF_NONNULL mutable_response();
  void set_allocated_response(::optimization_guide::proto::HistoryQueryIntentResponse* PROTOBUF_NULLABLE value);
  void unsafe_arena_set_allocated_response(::optimization_guide::proto::HistoryQueryIntentResponse* PROTOBUF_NULLABLE value);
  ::optimization_guide::proto::HistoryQueryIntentResponse* PROTOBUF_NULLABLE unsafe_arena_release_response();

  private:
  const ::optimization_guide::proto::HistoryQueryIntentResponse& _internal_response() const;
  ::optimization_guide::proto::HistoryQueryIntentResponse* PROTOBUF_NONNULL _internal_mutable_response();

  public:
  // .optimization_guide.proto.ModelExecutionInfo model_execution_info = 4 [features = {
  bool has_model_execution_info()
      const;
  void clear_model_execution_info() ;
  const ::optimization_guide::proto::ModelExecutionInfo& model_execution_info() const;
  ::optimization_guide::proto::ModelExecutionInfo* PROTOBUF_NULLABLE release_model_execution_info();
  ::optimization_guide::proto::ModelExecutionInfo* PROTOBUF_NONNULL mutable_model_execution_info();
  void set_allocated_model_execution_info(::optimization_guide::proto::ModelExecutionInfo* PROTOBUF_NULLABLE value);
  void unsafe_arena_set_allocated_model_execution_info(::optimization_guide::proto::ModelExecutionInfo* PROTOBUF_NULLABLE value);
  ::optimization_guide::proto::ModelExecutionInfo* PROTOBUF_NULLABLE unsafe_arena_release_model_execution_info();

  private:
  const ::optimization_guide::proto::ModelExecutionInfo& _internal_model_execution_info() const;
  ::optimization_guide::proto::ModelExecutionInfo* PROTOBUF_NONNULL _internal_mutable_model_execution_info();

  public:
  // @@protoc_insertion_point(class_scope:optimization_guide.proto.HistoryQueryIntentLoggingData)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<2, 3,
                          3, 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 HistoryQueryIntentLoggingData& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::optimization_guide::proto::HistoryQueryIntentRequest* PROTOBUF_NULLABLE request_;
    ::optimization_guide::proto::HistoryQueryIntentResponse* PROTOBUF_NULLABLE response_;
    ::optimization_guide::proto::ModelExecutionInfo* PROTOBUF_NULLABLE model_execution_info_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_components_2foptimization_5fguide_2fproto_2ffeatures_2fhistory_5fquery_5fintent_2eproto;
};

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




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


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

// HistoryQueryIntentLoggingData

// .optimization_guide.proto.HistoryQueryIntentRequest request = 1 [features = {
inline bool HistoryQueryIntentLoggingData::has_request() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
  PROTOBUF_ASSUME(!value || _impl_.request_ != nullptr);
  return value;
}
inline void HistoryQueryIntentLoggingData::clear_request() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.request_ != nullptr) _impl_.request_->Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline const ::optimization_guide::proto::HistoryQueryIntentRequest& HistoryQueryIntentLoggingData::_internal_request() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  const ::optimization_guide::proto::HistoryQueryIntentRequest* p = _impl_.request_;
  return p != nullptr ? *p : *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<::optimization_guide::proto::HistoryQueryIntentRequest>(&::optimization_guide::proto::HistoryQueryIntentRequest_globals_);
}
inline const ::optimization_guide::proto::HistoryQueryIntentRequest& HistoryQueryIntentLoggingData::request() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:optimization_guide.proto.HistoryQueryIntentLoggingData.request)
  return _internal_request();
}
inline void HistoryQueryIntentLoggingData::unsafe_arena_set_allocated_request(
    ::optimization_guide::proto::HistoryQueryIntentRequest* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.request_);
  }
  _impl_.request_ = reinterpret_cast<::optimization_guide::proto::HistoryQueryIntentRequest*>(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:optimization_guide.proto.HistoryQueryIntentLoggingData.request)
}
inline ::optimization_guide::proto::HistoryQueryIntentRequest* PROTOBUF_NULLABLE HistoryQueryIntentLoggingData::release_request() {
  ::google::protobuf::internal::TSanWrite(&_impl_);

  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  ::optimization_guide::proto::HistoryQueryIntentRequest* released = _impl_.request_;
  _impl_.request_ = 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 ::optimization_guide::proto::HistoryQueryIntentRequest* PROTOBUF_NULLABLE HistoryQueryIntentLoggingData::unsafe_arena_release_request() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:optimization_guide.proto.HistoryQueryIntentLoggingData.request)

  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  ::optimization_guide::proto::HistoryQueryIntentRequest* temp = _impl_.request_;
  _impl_.request_ = nullptr;
  return temp;
}
inline ::optimization_guide::proto::HistoryQueryIntentRequest* PROTOBUF_NONNULL HistoryQueryIntentLoggingData::_internal_mutable_request() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.request_ == nullptr) {
    auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::optimization_guide::proto::HistoryQueryIntentRequest>(GetArena());
    _impl_.request_ = reinterpret_cast<::optimization_guide::proto::HistoryQueryIntentRequest*>(p);
  }
  return _impl_.request_;
}
inline ::optimization_guide::proto::HistoryQueryIntentRequest* PROTOBUF_NONNULL HistoryQueryIntentLoggingData::mutable_request()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  ::optimization_guide::proto::HistoryQueryIntentRequest* _msg = _internal_mutable_request();
  // @@protoc_insertion_point(field_mutable:optimization_guide.proto.HistoryQueryIntentLoggingData.request)
  return _msg;
}
inline void HistoryQueryIntentLoggingData::set_allocated_request(::optimization_guide::proto::HistoryQueryIntentRequest* 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_.request_);
  }

  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], 0x00000001U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  }

  _impl_.request_ = reinterpret_cast<::optimization_guide::proto::HistoryQueryIntentRequest*>(value);
  // @@protoc_insertion_point(field_set_allocated:optimization_guide.proto.HistoryQueryIntentLoggingData.request)
}

// .optimization_guide.proto.HistoryQueryIntentResponse response = 2 [features = {
inline bool HistoryQueryIntentLoggingData::has_response() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
  PROTOBUF_ASSUME(!value || _impl_.response_ != nullptr);
  return value;
}
inline void HistoryQueryIntentLoggingData::clear_response() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.response_ != nullptr) _impl_.response_->Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
inline const ::optimization_guide::proto::HistoryQueryIntentResponse& HistoryQueryIntentLoggingData::_internal_response() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  const ::optimization_guide::proto::HistoryQueryIntentResponse* p = _impl_.response_;
  return p != nullptr ? *p : *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<::optimization_guide::proto::HistoryQueryIntentResponse>(&::optimization_guide::proto::HistoryQueryIntentResponse_globals_);
}
inline const ::optimization_guide::proto::HistoryQueryIntentResponse& HistoryQueryIntentLoggingData::response() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:optimization_guide.proto.HistoryQueryIntentLoggingData.response)
  return _internal_response();
}
inline void HistoryQueryIntentLoggingData::unsafe_arena_set_allocated_response(
    ::optimization_guide::proto::HistoryQueryIntentResponse* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.response_);
  }
  _impl_.response_ = reinterpret_cast<::optimization_guide::proto::HistoryQueryIntentResponse*>(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:optimization_guide.proto.HistoryQueryIntentLoggingData.response)
}
inline ::optimization_guide::proto::HistoryQueryIntentResponse* PROTOBUF_NULLABLE HistoryQueryIntentLoggingData::release_response() {
  ::google::protobuf::internal::TSanWrite(&_impl_);

  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  ::optimization_guide::proto::HistoryQueryIntentResponse* released = _impl_.response_;
  _impl_.response_ = 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 ::optimization_guide::proto::HistoryQueryIntentResponse* PROTOBUF_NULLABLE HistoryQueryIntentLoggingData::unsafe_arena_release_response() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:optimization_guide.proto.HistoryQueryIntentLoggingData.response)

  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  ::optimization_guide::proto::HistoryQueryIntentResponse* temp = _impl_.response_;
  _impl_.response_ = nullptr;
  return temp;
}
inline ::optimization_guide::proto::HistoryQueryIntentResponse* PROTOBUF_NONNULL HistoryQueryIntentLoggingData::_internal_mutable_response() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.response_ == nullptr) {
    auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::optimization_guide::proto::HistoryQueryIntentResponse>(GetArena());
    _impl_.response_ = reinterpret_cast<::optimization_guide::proto::HistoryQueryIntentResponse*>(p);
  }
  return _impl_.response_;
}
inline ::optimization_guide::proto::HistoryQueryIntentResponse* PROTOBUF_NONNULL HistoryQueryIntentLoggingData::mutable_response()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  ::optimization_guide::proto::HistoryQueryIntentResponse* _msg = _internal_mutable_response();
  // @@protoc_insertion_point(field_mutable:optimization_guide.proto.HistoryQueryIntentLoggingData.response)
  return _msg;
}
inline void HistoryQueryIntentLoggingData::set_allocated_response(::optimization_guide::proto::HistoryQueryIntentResponse* 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_.response_);
  }

  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_.response_ = reinterpret_cast<::optimization_guide::proto::HistoryQueryIntentResponse*>(value);
  // @@protoc_insertion_point(field_set_allocated:optimization_guide.proto.HistoryQueryIntentLoggingData.response)
}

// .optimization_guide.proto.ModelExecutionInfo model_execution_info = 4 [features = {
inline bool HistoryQueryIntentLoggingData::has_model_execution_info() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
  PROTOBUF_ASSUME(!value || _impl_.model_execution_info_ != nullptr);
  return value;
}
inline const ::optimization_guide::proto::ModelExecutionInfo& HistoryQueryIntentLoggingData::_internal_model_execution_info() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  const ::optimization_guide::proto::ModelExecutionInfo* p = _impl_.model_execution_info_;
  return p != nullptr ? *p : *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<::optimization_guide::proto::ModelExecutionInfo>(&::optimization_guide::proto::ModelExecutionInfo_globals_);
}
inline const ::optimization_guide::proto::ModelExecutionInfo& HistoryQueryIntentLoggingData::model_execution_info() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:optimization_guide.proto.HistoryQueryIntentLoggingData.model_execution_info)
  return _internal_model_execution_info();
}
inline void HistoryQueryIntentLoggingData::unsafe_arena_set_allocated_model_execution_info(
    ::optimization_guide::proto::ModelExecutionInfo* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.model_execution_info_);
  }
  _impl_.model_execution_info_ = reinterpret_cast<::optimization_guide::proto::ModelExecutionInfo*>(value);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:optimization_guide.proto.HistoryQueryIntentLoggingData.model_execution_info)
}
inline ::optimization_guide::proto::ModelExecutionInfo* PROTOBUF_NULLABLE HistoryQueryIntentLoggingData::release_model_execution_info() {
  ::google::protobuf::internal::TSanWrite(&_impl_);

  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
  ::optimization_guide::proto::ModelExecutionInfo* released = _impl_.model_execution_info_;
  _impl_.model_execution_info_ = 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 ::optimization_guide::proto::ModelExecutionInfo* PROTOBUF_NULLABLE HistoryQueryIntentLoggingData::unsafe_arena_release_model_execution_info() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:optimization_guide.proto.HistoryQueryIntentLoggingData.model_execution_info)

  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
  ::optimization_guide::proto::ModelExecutionInfo* temp = _impl_.model_execution_info_;
  _impl_.model_execution_info_ = nullptr;
  return temp;
}
inline ::optimization_guide::proto::ModelExecutionInfo* PROTOBUF_NONNULL HistoryQueryIntentLoggingData::_internal_mutable_model_execution_info() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.model_execution_info_ == nullptr) {
    auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::optimization_guide::proto::ModelExecutionInfo>(GetArena());
    _impl_.model_execution_info_ = reinterpret_cast<::optimization_guide::proto::ModelExecutionInfo*>(p);
  }
  return _impl_.model_execution_info_;
}
inline ::optimization_guide::proto::ModelExecutionInfo* PROTOBUF_NONNULL HistoryQueryIntentLoggingData::mutable_model_execution_info()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  ::optimization_guide::proto::ModelExecutionInfo* _msg = _internal_mutable_model_execution_info();
  // @@protoc_insertion_point(field_mutable:optimization_guide.proto.HistoryQueryIntentLoggingData.model_execution_info)
  return _msg;
}
inline void HistoryQueryIntentLoggingData::set_allocated_model_execution_info(::optimization_guide::proto::ModelExecutionInfo* 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_.model_execution_info_);
  }

  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], 0x00000004U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
  }

  _impl_.model_execution_info_ = reinterpret_cast<::optimization_guide::proto::ModelExecutionInfo*>(value);
  // @@protoc_insertion_point(field_set_allocated:optimization_guide.proto.HistoryQueryIntentLoggingData.model_execution_info)
}

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

// HistoryQueryIntentRequest

// string text = 1 [features = {
inline void HistoryQueryIntentRequest::clear_text() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.text_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline const ::std::string& HistoryQueryIntentRequest::text() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:optimization_guide.proto.HistoryQueryIntentRequest.text)
  return _internal_text();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void HistoryQueryIntentRequest::set_text(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  _impl_.text_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:optimization_guide.proto.HistoryQueryIntentRequest.text)
}
inline ::std::string* PROTOBUF_NONNULL HistoryQueryIntentRequest::mutable_text()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  ::std::string* _s = _internal_mutable_text();
  // @@protoc_insertion_point(field_mutable:optimization_guide.proto.HistoryQueryIntentRequest.text)
  return _s;
}
inline const ::std::string& HistoryQueryIntentRequest::_internal_text() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.text_.Get();
}
inline void HistoryQueryIntentRequest::_internal_set_text(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.text_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL HistoryQueryIntentRequest::_internal_mutable_text() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.text_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE HistoryQueryIntentRequest::release_text() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:optimization_guide.proto.HistoryQueryIntentRequest.text)
  if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
    return nullptr;
  }
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  auto* released = _impl_.text_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.text_.Set("", GetArena());
  }
  return released;
}
inline void HistoryQueryIntentRequest::set_allocated_text(::std::string* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  }
  _impl_.text_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.text_.IsDefault()) {
    _impl_.text_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:optimization_guide.proto.HistoryQueryIntentRequest.text)
}

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

// HistoryQueryIntentResponse

// bool is_answer_seeking = 1 [features = {
inline void HistoryQueryIntentResponse::clear_is_answer_seeking() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.is_answer_seeking_ = false;
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline bool HistoryQueryIntentResponse::is_answer_seeking() const {
  // @@protoc_insertion_point(field_get:optimization_guide.proto.HistoryQueryIntentResponse.is_answer_seeking)
  return _internal_is_answer_seeking();
}
inline void HistoryQueryIntentResponse::set_is_answer_seeking(bool value) {
  _internal_set_is_answer_seeking(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_set:optimization_guide.proto.HistoryQueryIntentResponse.is_answer_seeking)
}
inline bool HistoryQueryIntentResponse::_internal_is_answer_seeking() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.is_answer_seeking_;
}
inline void HistoryQueryIntentResponse::_internal_set_is_answer_seeking(bool value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.is_answer_seeking_ = value;
}

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

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


// @@protoc_insertion_point(global_scope)

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

#endif  // components_2foptimization_5fguide_2fproto_2ffeatures_2fhistory_5fquery_5fintent_2eproto_2epb_2eh
