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

#ifndef components_2foptimization_5fguide_2fproto_2ffeatures_2fannotation_5freducer_5fquery_5fclassifier_2eproto_2epb_2eh
#define components_2foptimization_5fguide_2fproto_2ffeatures_2fannotation_5freducer_5fquery_5fclassifier_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_2fannotation_5freducer_5fquery_5fclassifier_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_2fannotation_5freducer_5fquery_5fclassifier_2eproto {
  static const ::uint32_t offsets[];
};
namespace optimization_guide {
namespace proto {
class AnnotationReducerQueryClassifierLoggingData;
struct AnnotationReducerQueryClassifierLoggingDataGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern AnnotationReducerQueryClassifierLoggingDataGlobalsTypeInternal AnnotationReducerQueryClassifierLoggingData_globals_;
extern const ::google::protobuf::internal::ClassDataLite AnnotationReducerQueryClassifierLoggingData_class_data_;
#else
extern const AnnotationReducerQueryClassifierLoggingDataGlobalsTypeInternal AnnotationReducerQueryClassifierLoggingData_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class AnnotationReducerQueryClassifierRequest;
struct AnnotationReducerQueryClassifierRequestGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern AnnotationReducerQueryClassifierRequestGlobalsTypeInternal AnnotationReducerQueryClassifierRequest_globals_;
extern const ::google::protobuf::internal::ClassDataLite AnnotationReducerQueryClassifierRequest_class_data_;
#else
extern const AnnotationReducerQueryClassifierRequestGlobalsTypeInternal AnnotationReducerQueryClassifierRequest_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class AnnotationReducerQueryClassifierResponse;
struct AnnotationReducerQueryClassifierResponseGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern AnnotationReducerQueryClassifierResponseGlobalsTypeInternal AnnotationReducerQueryClassifierResponse_globals_;
extern const ::google::protobuf::internal::ClassDataLite AnnotationReducerQueryClassifierResponse_class_data_;
#else
extern const AnnotationReducerQueryClassifierResponseGlobalsTypeInternal AnnotationReducerQueryClassifierResponse_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
}  // namespace proto
}  // namespace optimization_guide
namespace google {
namespace protobuf {
}  // namespace protobuf
}  // namespace google

namespace optimization_guide {
namespace proto {

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


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

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

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

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

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

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

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

  explicit AnnotationReducerQueryClassifierResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  AnnotationReducerQueryClassifierResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const AnnotationReducerQueryClassifierResponse& from);
  AnnotationReducerQueryClassifierResponse(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, AnnotationReducerQueryClassifierResponse&& from) noexcept
      : AnnotationReducerQueryClassifierResponse(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 {
    kClassificationFieldNumber = 1,
  };
  // string classification = 1 [features = {
  bool has_classification()
      const;
  void clear_classification() ;
  const ::std::string& classification() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_classification(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_classification();
  ::std::string* PROTOBUF_NULLABLE release_classification();
  void set_allocated_classification(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_classification() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_classification(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_classification();

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

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

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

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

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

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

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

  explicit AnnotationReducerQueryClassifierRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  AnnotationReducerQueryClassifierRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const AnnotationReducerQueryClassifierRequest& from);
  AnnotationReducerQueryClassifierRequest(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, AnnotationReducerQueryClassifierRequest&& from) noexcept
      : AnnotationReducerQueryClassifierRequest(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 {
    kQueryFieldNumber = 1,
  };
  // string query = 1 [features = {
  bool has_query()
      const;
  void clear_query() ;
  const ::std::string& query() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_query(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_query();
  ::std::string* PROTOBUF_NULLABLE release_query();
  void set_allocated_query(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_query() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_query(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_query();

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

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

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

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

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

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

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

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

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

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

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

  public:
  // .optimization_guide.proto.ModelExecutionInfo model_execution_info = 3 [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.AnnotationReducerQueryClassifierLoggingData)
 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 AnnotationReducerQueryClassifierLoggingData& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::optimization_guide::proto::AnnotationReducerQueryClassifierRequest* PROTOBUF_NULLABLE request_;
    ::optimization_guide::proto::AnnotationReducerQueryClassifierResponse* 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_2fannotation_5freducer_5fquery_5fclassifier_2eproto;
};

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




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


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

// AnnotationReducerQueryClassifierLoggingData

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

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

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

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

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

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

// .optimization_guide.proto.ModelExecutionInfo model_execution_info = 3 [features = {
inline bool AnnotationReducerQueryClassifierLoggingData::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& AnnotationReducerQueryClassifierLoggingData::_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& AnnotationReducerQueryClassifierLoggingData::model_execution_info() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:optimization_guide.proto.AnnotationReducerQueryClassifierLoggingData.model_execution_info)
  return _internal_model_execution_info();
}
inline void AnnotationReducerQueryClassifierLoggingData::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.AnnotationReducerQueryClassifierLoggingData.model_execution_info)
}
inline ::optimization_guide::proto::ModelExecutionInfo* PROTOBUF_NULLABLE AnnotationReducerQueryClassifierLoggingData::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 AnnotationReducerQueryClassifierLoggingData::unsafe_arena_release_model_execution_info() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:optimization_guide.proto.AnnotationReducerQueryClassifierLoggingData.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 AnnotationReducerQueryClassifierLoggingData::_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 AnnotationReducerQueryClassifierLoggingData::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.AnnotationReducerQueryClassifierLoggingData.model_execution_info)
  return _msg;
}
inline void AnnotationReducerQueryClassifierLoggingData::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.AnnotationReducerQueryClassifierLoggingData.model_execution_info)
}

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

// AnnotationReducerQueryClassifierRequest

// string query = 1 [features = {
inline bool AnnotationReducerQueryClassifierRequest::has_query() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
  return value;
}
inline void AnnotationReducerQueryClassifierRequest::clear_query() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.query_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline const ::std::string& AnnotationReducerQueryClassifierRequest::query() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:optimization_guide.proto.AnnotationReducerQueryClassifierRequest.query)
  return _internal_query();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void AnnotationReducerQueryClassifierRequest::set_query(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  _impl_.query_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:optimization_guide.proto.AnnotationReducerQueryClassifierRequest.query)
}
inline ::std::string* PROTOBUF_NONNULL AnnotationReducerQueryClassifierRequest::mutable_query()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  ::std::string* _s = _internal_mutable_query();
  // @@protoc_insertion_point(field_mutable:optimization_guide.proto.AnnotationReducerQueryClassifierRequest.query)
  return _s;
}
inline const ::std::string& AnnotationReducerQueryClassifierRequest::_internal_query() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.query_.Get();
}
inline void AnnotationReducerQueryClassifierRequest::_internal_set_query(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.query_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL AnnotationReducerQueryClassifierRequest::_internal_mutable_query() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.query_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE AnnotationReducerQueryClassifierRequest::release_query() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:optimization_guide.proto.AnnotationReducerQueryClassifierRequest.query)
  if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
    return nullptr;
  }
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  auto* released = _impl_.query_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.query_.Set("", GetArena());
  }
  return released;
}
inline void AnnotationReducerQueryClassifierRequest::set_allocated_query(::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_.query_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.query_.IsDefault()) {
    _impl_.query_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:optimization_guide.proto.AnnotationReducerQueryClassifierRequest.query)
}

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

// AnnotationReducerQueryClassifierResponse

// string classification = 1 [features = {
inline bool AnnotationReducerQueryClassifierResponse::has_classification() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
  return value;
}
inline void AnnotationReducerQueryClassifierResponse::clear_classification() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.classification_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline const ::std::string& AnnotationReducerQueryClassifierResponse::classification() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:optimization_guide.proto.AnnotationReducerQueryClassifierResponse.classification)
  return _internal_classification();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void AnnotationReducerQueryClassifierResponse::set_classification(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  _impl_.classification_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:optimization_guide.proto.AnnotationReducerQueryClassifierResponse.classification)
}
inline ::std::string* PROTOBUF_NONNULL AnnotationReducerQueryClassifierResponse::mutable_classification()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  ::std::string* _s = _internal_mutable_classification();
  // @@protoc_insertion_point(field_mutable:optimization_guide.proto.AnnotationReducerQueryClassifierResponse.classification)
  return _s;
}
inline const ::std::string& AnnotationReducerQueryClassifierResponse::_internal_classification() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.classification_.Get();
}
inline void AnnotationReducerQueryClassifierResponse::_internal_set_classification(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.classification_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL AnnotationReducerQueryClassifierResponse::_internal_mutable_classification() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.classification_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE AnnotationReducerQueryClassifierResponse::release_classification() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:optimization_guide.proto.AnnotationReducerQueryClassifierResponse.classification)
  if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
    return nullptr;
  }
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  auto* released = _impl_.classification_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.classification_.Set("", GetArena());
  }
  return released;
}
inline void AnnotationReducerQueryClassifierResponse::set_allocated_classification(::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_.classification_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.classification_.IsDefault()) {
    _impl_.classification_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:optimization_guide.proto.AnnotationReducerQueryClassifierResponse.classification)
}

#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_2fannotation_5freducer_5fquery_5fclassifier_2eproto_2epb_2eh
