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

#ifndef components_2foptimization_5fguide_2fproto_2fdescriptors_2eproto_2epb_2eh
#define components_2foptimization_5fguide_2fproto_2fdescriptors_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
// @@protoc_insertion_point(includes)

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

#define PROTOBUF_INTERNAL_EXPORT_components_2foptimization_5fguide_2fproto_2fdescriptors_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_2fdescriptors_2eproto {
  static const ::uint32_t offsets[];
};
namespace optimization_guide {
namespace proto {
class ProtoDescriptor;
struct ProtoDescriptorGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern ProtoDescriptorGlobalsTypeInternal ProtoDescriptor_globals_;
extern const ::google::protobuf::internal::ClassDataLite ProtoDescriptor_class_data_;
#else
extern const ProtoDescriptorGlobalsTypeInternal ProtoDescriptor_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class ProtoField;
struct ProtoFieldGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern ProtoFieldGlobalsTypeInternal ProtoField_globals_;
extern const ::google::protobuf::internal::ClassDataLite ProtoField_class_data_;
#else
extern const ProtoFieldGlobalsTypeInternal ProtoField_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class Value;
struct ValueGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern ValueGlobalsTypeInternal Value_globals_;
extern const ::google::protobuf::internal::ClassDataLite Value_class_data_;
#else
extern const ValueGlobalsTypeInternal Value_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
}  // namespace proto
}  // namespace optimization_guide
namespace google {
namespace protobuf {
}  // namespace protobuf
}  // namespace google

namespace optimization_guide {
namespace proto {

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


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

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

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

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

  inline Value(const Value& from) : Value(nullptr, from) {}
  inline Value(Value&& from) noexcept : Value(nullptr, ::std::move(from)) {}
  inline Value& operator=(const Value& from) {
    CopyFrom(from);
    return *this;
  }
  inline Value& operator=(Value&& 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 Value& default_instance() {
    return *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<Value>(&Value_globals_);
  }
  enum TypeCase {
    kInt64Value = 1,
    kInt32Value = 2,
    kFloatValue = 3,
    kStringValue = 4,
    kBooleanValue = 5,
    TYPE_NOT_SET = 0,
  };
  static constexpr int kIndexInFileMessages = 2;
  friend void swap(Value& a, Value& b) { a.Swap(&b); }
  PROTOBUF_NOINLINE void Swap(Value* 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(Value* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

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

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

  explicit Value(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  Value(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Value& from);
  Value(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, Value&& from) noexcept
      : Value(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 {
    kInt64ValueFieldNumber = 1,
    kInt32ValueFieldNumber = 2,
    kFloatValueFieldNumber = 3,
    kStringValueFieldNumber = 4,
    kBooleanValueFieldNumber = 5,
  };
  // int64 int64_value = 1;
  bool has_int64_value()
      const;
  void clear_int64_value() ;
  ::int64_t int64_value() const;
  void set_int64_value(::int64_t value);

  private:
  ::int64_t _internal_int64_value() const;
  void _internal_set_int64_value(::int64_t value);

  public:
  // int32 int32_value = 2;
  bool has_int32_value()
      const;
  void clear_int32_value() ;
  ::int32_t int32_value() const;
  void set_int32_value(::int32_t value);

  private:
  ::int32_t _internal_int32_value() const;
  void _internal_set_int32_value(::int32_t value);

  public:
  // double float_value = 3;
  bool has_float_value()
      const;
  void clear_float_value() ;
  double float_value() const;
  void set_float_value(double value);

  private:
  double _internal_float_value() const;
  void _internal_set_float_value(double value);

  public:
  // string string_value = 4;
  bool has_string_value()
      const;
  void clear_string_value() ;
  const ::std::string& string_value() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_string_value(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_string_value();
  ::std::string* PROTOBUF_NULLABLE release_string_value();
  void set_allocated_string_value(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_string_value() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_string_value(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_string_value();

  public:
  // bool boolean_value = 5;
  bool has_boolean_value()
      const;
  void clear_boolean_value() ;
  bool boolean_value() const;
  void set_boolean_value(bool value);

  private:
  bool _internal_boolean_value() const;
  void _internal_set_boolean_value(bool value);

  public:
  void clear_type();
  TypeCase type_case() const;
  // @@protoc_insertion_point(class_scope:optimization_guide.proto.Value)
 private:
  class _Internal;
  void set_has_int64_value();
  void set_has_int32_value();
  void set_has_float_value();
  void set_has_string_value();
  void set_has_boolean_value();
  inline bool has_type() const;
  inline void clear_has_type();
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<0, 5,
                          0, 51,
                          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 Value& from_msg);
    union TypeUnion {
      constexpr TypeUnion() : _constinit_{} {}
      ::google::protobuf::internal::ConstantInitialized _constinit_;
      ::int64_t int64_value_;
      ::int32_t int32_value_;
      double float_value_;
      ::google::protobuf::internal::ArenaStringPtr string_value_;
      bool boolean_value_;
    } type_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::uint32_t _oneof_case_[1];
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_components_2foptimization_5fguide_2fproto_2fdescriptors_2eproto;
};
// -------------------------------------------------------------------

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

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

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

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

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

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

  explicit ProtoDescriptor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  ProtoDescriptor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ProtoDescriptor& from);
  ProtoDescriptor(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ProtoDescriptor&& from) noexcept
      : ProtoDescriptor(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 {
    kTagNumberFieldNumber = 1,
  };
  // int32 tag_number = 1 [features = {
  void clear_tag_number() ;
  ::int32_t tag_number() const;
  void set_tag_number(::int32_t value);

  private:
  ::int32_t _internal_tag_number() const;
  void _internal_set_tag_number(::int32_t value);

  public:
  // @@protoc_insertion_point(class_scope:optimization_guide.proto.ProtoDescriptor)
 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 ProtoDescriptor& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::int32_t tag_number_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_components_2foptimization_5fguide_2fproto_2fdescriptors_2eproto;
};
// -------------------------------------------------------------------

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

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

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

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

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

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

  explicit ProtoField(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  ProtoField(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ProtoField& from);
  ProtoField(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ProtoField&& from) noexcept
      : ProtoField(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 {
    kProtoDescriptorsFieldNumber = 1,
  };
  // repeated .optimization_guide.proto.ProtoDescriptor proto_descriptors = 1;
  int proto_descriptors_size()
      const;
  private:
  int _internal_proto_descriptors_size() const;

  public:
  void clear_proto_descriptors() ;
  const ::optimization_guide::proto::ProtoDescriptor& proto_descriptors(int index) const;
  ::optimization_guide::proto::ProtoDescriptor* PROTOBUF_NONNULL mutable_proto_descriptors(int index);
  ::optimization_guide::proto::ProtoDescriptor* PROTOBUF_NONNULL add_proto_descriptors();
  const ::google::protobuf::RepeatedPtrField<::optimization_guide::proto::ProtoDescriptor>&
  proto_descriptors() const;
  ::google::protobuf::RepeatedPtrField<::optimization_guide::proto::ProtoDescriptor>* PROTOBUF_NONNULL
  mutable_proto_descriptors();

  private:
  const ::google::protobuf::RepeatedPtrField<::optimization_guide::proto::ProtoDescriptor>& _internal_proto_descriptors() const;
  ::google::protobuf::RepeatedPtrField<::optimization_guide::proto::ProtoDescriptor>* PROTOBUF_NONNULL _internal_mutable_proto_descriptors();

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

  friend class ::google::protobuf::MessageLite;
  friend class ::google::protobuf::Arena;
  friend ::google::protobuf::internal::PrivateAccess;
  template <typename T>
  friend class ::google::protobuf::Arena::InternalHelper;
  using InternalArenaConstructable_ = void;
  using DestructorSkippable_ = void;
  struct Impl_ {
    inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility,
                                    ::google::protobuf::internal::ConstantInitialized) noexcept;
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
        const ProtoField& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::google::protobuf::RepeatedPtrField< ::optimization_guide::proto::ProtoDescriptor > proto_descriptors_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_components_2foptimization_5fguide_2fproto_2fdescriptors_2eproto;
};

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




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


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

// ProtoDescriptor

// int32 tag_number = 1 [features = {
inline void ProtoDescriptor::clear_tag_number() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.tag_number_ = 0;
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline ::int32_t ProtoDescriptor::tag_number() const {
  // @@protoc_insertion_point(field_get:optimization_guide.proto.ProtoDescriptor.tag_number)
  return _internal_tag_number();
}
inline void ProtoDescriptor::set_tag_number(::int32_t value) {
  _internal_set_tag_number(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_set:optimization_guide.proto.ProtoDescriptor.tag_number)
}
inline ::int32_t ProtoDescriptor::_internal_tag_number() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.tag_number_;
}
inline void ProtoDescriptor::_internal_set_tag_number(::int32_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.tag_number_ = value;
}

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

// ProtoField

// repeated .optimization_guide.proto.ProtoDescriptor proto_descriptors = 1;
inline int ProtoField::_internal_proto_descriptors_size() const {
  return _internal_proto_descriptors().size();
}
inline int ProtoField::proto_descriptors_size() const {
  return _internal_proto_descriptors_size();
}
inline void ProtoField::clear_proto_descriptors() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.proto_descriptors_.Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline const ::optimization_guide::proto::ProtoDescriptor& ProtoField::proto_descriptors(int index) const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:optimization_guide.proto.ProtoField.proto_descriptors)
  return _internal_proto_descriptors().Get(index);
}
inline ::optimization_guide::proto::ProtoDescriptor* PROTOBUF_NONNULL ProtoField::mutable_proto_descriptors(int index)
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_mutable:optimization_guide.proto.ProtoField.proto_descriptors)
  return _internal_mutable_proto_descriptors()->Mutable(index);
}
inline ::optimization_guide::proto::ProtoDescriptor* PROTOBUF_NONNULL ProtoField::add_proto_descriptors()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::optimization_guide::proto::ProtoDescriptor* _add =
      _internal_mutable_proto_descriptors()->InternalAddWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), GetArena());
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_add:optimization_guide.proto.ProtoField.proto_descriptors)
  return _add;
}
inline const ::google::protobuf::RepeatedPtrField<::optimization_guide::proto::ProtoDescriptor>& ProtoField::proto_descriptors() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_list:optimization_guide.proto.ProtoField.proto_descriptors)
  return _internal_proto_descriptors();
}
inline ::google::protobuf::RepeatedPtrField<::optimization_guide::proto::ProtoDescriptor>* PROTOBUF_NONNULL
ProtoField::mutable_proto_descriptors() ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_mutable_list:optimization_guide.proto.ProtoField.proto_descriptors)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _internal_mutable_proto_descriptors();
}
inline const ::google::protobuf::RepeatedPtrField<::optimization_guide::proto::ProtoDescriptor>&
ProtoField::_internal_proto_descriptors() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.proto_descriptors_;
}
inline ::google::protobuf::RepeatedPtrField<::optimization_guide::proto::ProtoDescriptor>* PROTOBUF_NONNULL
ProtoField::_internal_mutable_proto_descriptors() {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return &_impl_.proto_descriptors_;
}

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

// Value

// int64 int64_value = 1;
inline bool Value::has_int64_value() const {
  return type_case() == kInt64Value;
}
inline void Value::set_has_int64_value() {
  _impl_._oneof_case_[0] = kInt64Value;
}
inline void Value::clear_int64_value() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (type_case() == kInt64Value) {
    _impl_.type_.int64_value_ = ::int64_t{0};
    clear_has_type();
  }
}
inline ::int64_t Value::int64_value() const {
  // @@protoc_insertion_point(field_get:optimization_guide.proto.Value.int64_value)
  return _internal_int64_value();
}
inline void Value::set_int64_value(::int64_t value) {
  if (type_case() != kInt64Value) {
    clear_type();
    set_has_int64_value();
  }
  _impl_.type_.int64_value_ = value;
  // @@protoc_insertion_point(field_set:optimization_guide.proto.Value.int64_value)
}
inline ::int64_t Value::_internal_int64_value() const {
  if (type_case() == kInt64Value) {
    return _impl_.type_.int64_value_;
  }
  return ::int64_t{0};
}

// int32 int32_value = 2;
inline bool Value::has_int32_value() const {
  return type_case() == kInt32Value;
}
inline void Value::set_has_int32_value() {
  _impl_._oneof_case_[0] = kInt32Value;
}
inline void Value::clear_int32_value() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (type_case() == kInt32Value) {
    _impl_.type_.int32_value_ = 0;
    clear_has_type();
  }
}
inline ::int32_t Value::int32_value() const {
  // @@protoc_insertion_point(field_get:optimization_guide.proto.Value.int32_value)
  return _internal_int32_value();
}
inline void Value::set_int32_value(::int32_t value) {
  if (type_case() != kInt32Value) {
    clear_type();
    set_has_int32_value();
  }
  _impl_.type_.int32_value_ = value;
  // @@protoc_insertion_point(field_set:optimization_guide.proto.Value.int32_value)
}
inline ::int32_t Value::_internal_int32_value() const {
  if (type_case() == kInt32Value) {
    return _impl_.type_.int32_value_;
  }
  return 0;
}

// double float_value = 3;
inline bool Value::has_float_value() const {
  return type_case() == kFloatValue;
}
inline void Value::set_has_float_value() {
  _impl_._oneof_case_[0] = kFloatValue;
}
inline void Value::clear_float_value() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (type_case() == kFloatValue) {
    _impl_.type_.float_value_ = 0;
    clear_has_type();
  }
}
inline double Value::float_value() const {
  // @@protoc_insertion_point(field_get:optimization_guide.proto.Value.float_value)
  return _internal_float_value();
}
inline void Value::set_float_value(double value) {
  if (type_case() != kFloatValue) {
    clear_type();
    set_has_float_value();
  }
  _impl_.type_.float_value_ = value;
  // @@protoc_insertion_point(field_set:optimization_guide.proto.Value.float_value)
}
inline double Value::_internal_float_value() const {
  if (type_case() == kFloatValue) {
    return _impl_.type_.float_value_;
  }
  return 0;
}

// string string_value = 4;
inline bool Value::has_string_value() const {
  return type_case() == kStringValue;
}
inline void Value::set_has_string_value() {
  _impl_._oneof_case_[0] = kStringValue;
}
inline void Value::clear_string_value() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (type_case() == kStringValue) {
    _impl_.type_.string_value_.Destroy();
    clear_has_type();
  }
}
inline const ::std::string& Value::string_value() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:optimization_guide.proto.Value.string_value)
  return _internal_string_value();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void Value::set_string_value(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (type_case() != kStringValue) {
    clear_type();

    set_has_string_value();
    _impl_.type_.string_value_.InitDefault();
  }
  _impl_.type_.string_value_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:optimization_guide.proto.Value.string_value)
}
inline ::std::string* PROTOBUF_NONNULL Value::mutable_string_value()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  if (type_case() != kStringValue) {
    clear_type();

    set_has_string_value();
    _impl_.type_.string_value_.InitDefault();
  }
  ::std::string* _s = _internal_mutable_string_value();
  // @@protoc_insertion_point(field_mutable:optimization_guide.proto.Value.string_value)
  return _s;
}
inline const ::std::string& Value::_internal_string_value() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  if (type_case() != kStringValue) {
    return ::google::protobuf::internal::GetEmptyStringAlreadyInited();
  }
  return _impl_.type_.string_value_.Get();
}
inline void Value::_internal_set_string_value(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.type_.string_value_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL Value::_internal_mutable_string_value() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.type_.string_value_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE Value::release_string_value() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:optimization_guide.proto.Value.string_value)
  if (type_case() != kStringValue) {
    return nullptr;
  }
  clear_has_type();
  return _impl_.type_.string_value_.Release();
}
inline void Value::set_allocated_string_value(::std::string* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (has_type()) {
    clear_type();
  }
  if (value != nullptr) {
    set_has_string_value();
    _impl_.type_.string_value_.InitAllocated(value, GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:optimization_guide.proto.Value.string_value)
}

// bool boolean_value = 5;
inline bool Value::has_boolean_value() const {
  return type_case() == kBooleanValue;
}
inline void Value::set_has_boolean_value() {
  _impl_._oneof_case_[0] = kBooleanValue;
}
inline void Value::clear_boolean_value() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (type_case() == kBooleanValue) {
    _impl_.type_.boolean_value_ = false;
    clear_has_type();
  }
}
inline bool Value::boolean_value() const {
  // @@protoc_insertion_point(field_get:optimization_guide.proto.Value.boolean_value)
  return _internal_boolean_value();
}
inline void Value::set_boolean_value(bool value) {
  if (type_case() != kBooleanValue) {
    clear_type();
    set_has_boolean_value();
  }
  _impl_.type_.boolean_value_ = value;
  // @@protoc_insertion_point(field_set:optimization_guide.proto.Value.boolean_value)
}
inline bool Value::_internal_boolean_value() const {
  if (type_case() == kBooleanValue) {
    return _impl_.type_.boolean_value_;
  }
  return false;
}

inline bool Value::has_type() const {
  return type_case() != TYPE_NOT_SET;
}
inline void Value::clear_has_type() {
  _impl_._oneof_case_[0] = TYPE_NOT_SET;
}
inline Value::TypeCase Value::type_case() const {
  return Value::TypeCase(_impl_._oneof_case_[0]);
}
#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_2fdescriptors_2eproto_2epb_2eh
