// Generated by the protocol buffer compiler.  DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: google/protobuf/cpp_features.proto
// Protobuf C++ Version: 7.37.0-dev

#ifndef google_2fprotobuf_2fcpp_5ffeatures_2eproto_2epb_2eh
#define google_2fprotobuf_2fcpp_5ffeatures_2eproto_2epb_2eh

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

// clang-format off
#include "google/protobuf/runtime_version.h"
#if PROTOBUF_VERSION != 7037000
#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/generated_message_reflection.h"
#include "google/protobuf/message.h"
#include "google/protobuf/message_lite.h"
#include "google/protobuf/repeated_field.h"  // IWYU pragma: export
#include "google/protobuf/extension_set.h"  // IWYU pragma: export
#include "google/protobuf/generated_enum_reflection.h"
#include "google/protobuf/unknown_field_set.h"
#include "google/protobuf/descriptor.pb.h"
// @@protoc_insertion_point(includes)

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

#define PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fcpp_5ffeatures_2eproto PROTOBUF_EXPORT

// Internal implementation detail -- do not use these members.
struct PROTOBUF_EXPORT TableStruct_google_2fprotobuf_2fcpp_5ffeatures_2eproto {
  static const ::uint32_t offsets[];
};
extern "C" {
PROTOBUF_EXPORT extern const ::google::protobuf::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fcpp_5ffeatures_2eproto;
}  // extern "C"
namespace pb {
enum CppFeatures_RepeatedType : int;
PROTOBUF_EXPORT extern const uint32_t CppFeatures_RepeatedType_internal_data_[];
enum CppFeatures_StringType : int;
PROTOBUF_EXPORT extern const uint32_t CppFeatures_StringType_internal_data_[];
class CppFeatures;
struct CppFeaturesGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_EXPORT extern CppFeaturesGlobalsTypeInternal CppFeatures_globals_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull CppFeatures_class_data_;
#else
PROTOBUF_EXPORT extern const CppFeaturesGlobalsTypeInternal CppFeatures_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
}  // namespace pb
namespace google {
namespace protobuf {
template <>
internal::EnumTraitsT<::pb::CppFeatures_RepeatedType_internal_data_>
    internal::EnumTraitsImpl::value<::pb::CppFeatures_RepeatedType>;
template <>
internal::EnumTraitsT<::pb::CppFeatures_StringType_internal_data_>
    internal::EnumTraitsImpl::value<::pb::CppFeatures_StringType>;
namespace internal {
template <>
inline ::absl::string_view GetFeatureSetDefaultsData<::pb::CppFeatures>() {
  static constexpr char kDefaults[] = "CicYhAciA8I+ACodCAEQAhgCIAMoATACOAJAAUgBwj4ICAEQAxgAIAEKJxjnByIDwj4AKh0IAhABGAEgAigBMAE4AkABSAHCPggIABADGAAgAQonGOgHIhMIARABGAEgAigBMAHCPgQIABADKg04AkABSAHCPgQYACABCicY6QciGQgBEAEYASACKAEwATgBQALCPgYIABABGAEqB0gBwj4CIAEKJxjqByIbCAEQARgBIAIoATABOANABEgCwj4GCAAQARgBKgXCPgIgAQonGI9OIh0IARABGAEgAigBMAE4A0AESALCPggIABABGAEgASoDwj4AIOYHKOoH";
  return kDefaults;
}
}  // namespace internal
}  // namespace protobuf
}  // namespace google

namespace pb {
enum CppFeatures_StringType : int {
  CppFeatures_StringType_STRING_TYPE_UNKNOWN = 0,
  CppFeatures_StringType_VIEW = 1,
  CppFeatures_StringType_CORD = 2,
  CppFeatures_StringType_STRING = 3,
};

PROTOBUF_EXPORT extern const uint32_t CppFeatures_StringType_internal_data_[];
inline constexpr CppFeatures_StringType CppFeatures_StringType_StringType_MIN =
    static_cast<CppFeatures_StringType>(0);
inline constexpr CppFeatures_StringType CppFeatures_StringType_StringType_MAX =
    static_cast<CppFeatures_StringType>(3);
[[nodiscard]] inline bool CppFeatures_StringType_IsValid(int value) {
  return 0 <= value && value <= 3;
}
inline constexpr int CppFeatures_StringType_StringType_ARRAYSIZE = 3 + 1;
[[nodiscard]] PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL
CppFeatures_StringType_descriptor();
[[nodiscard]] inline auto ProtobufInternalGetEnumDescriptor(CppFeatures_StringType) {
  return CppFeatures_StringType_descriptor();
}
template <typename T>
[[nodiscard]] const ::std::string& CppFeatures_StringType_Name(T value) {
  static_assert(::std::is_same<T, CppFeatures_StringType>::value ||
                    ::std::is_integral<T>::value,
                "Incorrect type passed to StringType_Name().");
  return CppFeatures_StringType_Name(static_cast<CppFeatures_StringType>(value));
}
template <>
[[nodiscard]] inline const ::std::string& CppFeatures_StringType_Name(CppFeatures_StringType value) {
  return ::google::protobuf::internal::NameOfDenseEnum<CppFeatures_StringType_descriptor, 0, 3>(
      static_cast<int>(value));
}
[[nodiscard]] inline bool CppFeatures_StringType_Parse(
    ::absl::string_view name, CppFeatures_StringType* PROTOBUF_NONNULL value) {
  return ::google::protobuf::internal::ParseNamedEnum<CppFeatures_StringType>(CppFeatures_StringType_descriptor(), name,
                                           value);
}
enum CppFeatures_RepeatedType : int {
  CppFeatures_RepeatedType_REPEATED_TYPE_UNKNOWN = 0,
  CppFeatures_RepeatedType_LEGACY = 1,
  CppFeatures_RepeatedType_PROXY = 2,
};

PROTOBUF_EXPORT extern const uint32_t CppFeatures_RepeatedType_internal_data_[];
inline constexpr CppFeatures_RepeatedType CppFeatures_RepeatedType_RepeatedType_MIN =
    static_cast<CppFeatures_RepeatedType>(0);
inline constexpr CppFeatures_RepeatedType CppFeatures_RepeatedType_RepeatedType_MAX =
    static_cast<CppFeatures_RepeatedType>(2);
[[nodiscard]] inline bool CppFeatures_RepeatedType_IsValid(int value) {
  return 0 <= value && value <= 2;
}
inline constexpr int CppFeatures_RepeatedType_RepeatedType_ARRAYSIZE = 2 + 1;
[[nodiscard]] PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL
CppFeatures_RepeatedType_descriptor();
[[nodiscard]] inline auto ProtobufInternalGetEnumDescriptor(CppFeatures_RepeatedType) {
  return CppFeatures_RepeatedType_descriptor();
}
template <typename T>
[[nodiscard]] const ::std::string& CppFeatures_RepeatedType_Name(T value) {
  static_assert(::std::is_same<T, CppFeatures_RepeatedType>::value ||
                    ::std::is_integral<T>::value,
                "Incorrect type passed to RepeatedType_Name().");
  return CppFeatures_RepeatedType_Name(static_cast<CppFeatures_RepeatedType>(value));
}
template <>
[[nodiscard]] inline const ::std::string& CppFeatures_RepeatedType_Name(CppFeatures_RepeatedType value) {
  return ::google::protobuf::internal::NameOfDenseEnum<CppFeatures_RepeatedType_descriptor, 0, 2>(
      static_cast<int>(value));
}
[[nodiscard]] inline bool CppFeatures_RepeatedType_Parse(
    ::absl::string_view name, CppFeatures_RepeatedType* PROTOBUF_NONNULL value) {
  return ::google::protobuf::internal::ParseNamedEnum<CppFeatures_RepeatedType>(CppFeatures_RepeatedType_descriptor(), name,
                                           value);
}
using ::google::protobuf::internal::generated_enum::AbslParseFlag;
using ::google::protobuf::internal::generated_enum::AbslUnparseFlag;

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


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

class PROTOBUF_EXPORT  PROTOBUF_FUTURE_ADD_EARLY_WARN_UNUSED CppFeatures final : public ::google::protobuf::Message
/* @@protoc_insertion_point(class_definition:pb.CppFeatures) */ {
  using Super_ = ::google::protobuf::Message;

 public:
  inline CppFeatures() : CppFeatures(nullptr) {}
  ~CppFeatures() PROTOBUF_FINAL;

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

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

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

  [[nodiscard]] inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
  }
  [[nodiscard]] inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL
  mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
  }

  [[nodiscard]] static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
    return GetDescriptor();
  }
  [[nodiscard]] static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
  GetDescriptor() {
    return default_instance().GetMetadata().descriptor;
  }
  [[nodiscard]] static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
    return default_instance().GetMetadata().reflection;
  }
  [[nodiscard]] static const CppFeatures& default_instance() {
    return *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<CppFeatures>(&CppFeatures_globals_);
  }
  static constexpr int kIndexInFileMessages = 0;
  friend void swap(CppFeatures& a, CppFeatures& b) { a.Swap(&b); }
  inline void Swap(CppFeatures* 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(CppFeatures* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

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

  [[nodiscard]] CppFeatures* PROTOBUF_NONNULL
  New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
    return Super_::DefaultConstruct<CppFeatures>(arena);
  }
  using Super_::CopyFrom;
  void CopyFrom(const CppFeatures& from);
  using Super_::MergeFrom;
  void MergeFrom(const CppFeatures& from) { CppFeatures::MergeImpl(*this, from); }

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

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

  public:
  ABSL_ATTRIBUTE_REINITIALIZES void Clear() { Clear(*this); }
  [[nodiscard]] ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
  [[nodiscard]] ::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
  ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
  [[nodiscard]] ::size_t ByteSizeLong() const final;
  [[nodiscard]] ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
  #endif  // PROTOBUF_CUSTOM_VTABLE
  [[nodiscard]] int GetCachedSize() const {
    return _impl_._cached_size_.Get();
  }

  private:
  void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static void SharedDtor(MessageLite& self);
  void InternalSwap(CppFeatures* PROTOBUF_NONNULL other);
 private:
  static ::absl::string_view FullMessageName() { return "pb.CppFeatures"; }

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

  [[nodiscard]] ::google::protobuf::Metadata GetMetadata() const;
  // nested types ----------------------------------------------------
  using StringType = CppFeatures_StringType;
  static constexpr StringType STRING_TYPE_UNKNOWN = CppFeatures_StringType_STRING_TYPE_UNKNOWN;
  static constexpr StringType VIEW = CppFeatures_StringType_VIEW;
  static constexpr StringType CORD = CppFeatures_StringType_CORD;
  static constexpr StringType STRING = CppFeatures_StringType_STRING;
  [[nodiscard]] static inline bool StringType_IsValid(int value) {
    return CppFeatures_StringType_IsValid(value);
  }
  static constexpr StringType StringType_MIN = CppFeatures_StringType_StringType_MIN;
  static constexpr StringType StringType_MAX = CppFeatures_StringType_StringType_MAX;
  static constexpr int StringType_ARRAYSIZE = CppFeatures_StringType_StringType_ARRAYSIZE;
  static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL StringType_descriptor() {
    return CppFeatures_StringType_descriptor();
  }
  template <typename T>
  [[nodiscard]] static inline const ::std::string& StringType_Name(T value) {
    return CppFeatures_StringType_Name(value);
  }
  [[nodiscard]] static inline bool StringType_Parse(
      ::absl::string_view name, StringType* PROTOBUF_NONNULL value) {
    return CppFeatures_StringType_Parse(name, value);
  }
  using RepeatedType = CppFeatures_RepeatedType;
  static constexpr RepeatedType REPEATED_TYPE_UNKNOWN = CppFeatures_RepeatedType_REPEATED_TYPE_UNKNOWN;
  static constexpr RepeatedType LEGACY = CppFeatures_RepeatedType_LEGACY;
  static constexpr RepeatedType PROXY = CppFeatures_RepeatedType_PROXY;
  [[nodiscard]] static inline bool RepeatedType_IsValid(int value) {
    return CppFeatures_RepeatedType_IsValid(value);
  }
  static constexpr RepeatedType RepeatedType_MIN = CppFeatures_RepeatedType_RepeatedType_MIN;
  static constexpr RepeatedType RepeatedType_MAX = CppFeatures_RepeatedType_RepeatedType_MAX;
  static constexpr int RepeatedType_ARRAYSIZE = CppFeatures_RepeatedType_RepeatedType_ARRAYSIZE;
  static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL RepeatedType_descriptor() {
    return CppFeatures_RepeatedType_descriptor();
  }
  template <typename T>
  [[nodiscard]] static inline const ::std::string& RepeatedType_Name(T value) {
    return CppFeatures_RepeatedType_Name(value);
  }
  [[nodiscard]] static inline bool RepeatedType_Parse(
      ::absl::string_view name, RepeatedType* PROTOBUF_NONNULL value) {
    return CppFeatures_RepeatedType_Parse(name, value);
  }

  // accessors -------------------------------------------------------
  enum : int {
    kStringTypeFieldNumber = 2,
    kLegacyClosedEnumFieldNumber = 1,
    kEnumNameUsesStringViewFieldNumber = 3,
    kRepeatedTypeFieldNumber = 4,
  };
  // optional .pb.CppFeatures.StringType string_type = 2 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = {
  [[nodiscard]] bool has_string_type() const;
  void clear_string_type() ;
  [[nodiscard]] ::pb::CppFeatures_StringType string_type() const;
  void set_string_type(::pb::CppFeatures_StringType value);

  private:
  ::pb::CppFeatures_StringType _internal_string_type() const;
  void _internal_set_string_type(::pb::CppFeatures_StringType value);

  public:
  // optional bool legacy_closed_enum = 1 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = {
  [[nodiscard]] bool has_legacy_closed_enum() const;
  void clear_legacy_closed_enum() ;
  [[nodiscard]] bool legacy_closed_enum() const;
  void set_legacy_closed_enum(bool value);

  private:
  bool _internal_legacy_closed_enum() const;
  void _internal_set_legacy_closed_enum(bool value);

  public:
  // optional bool enum_name_uses_string_view = 3 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = {
  [[nodiscard]] bool has_enum_name_uses_string_view() const;
  void clear_enum_name_uses_string_view() ;
  [[nodiscard]] bool enum_name_uses_string_view() const;
  void set_enum_name_uses_string_view(bool value);

  private:
  bool _internal_enum_name_uses_string_view() const;
  void _internal_set_enum_name_uses_string_view(bool value);

  public:
  // optional .pb.CppFeatures.RepeatedType repeated_type = 4 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = {
  [[nodiscard]] bool has_repeated_type() const;
  void clear_repeated_type() ;
  [[nodiscard]] ::pb::CppFeatures_RepeatedType repeated_type() const;
  void set_repeated_type(::pb::CppFeatures_RepeatedType value);

  private:
  ::pb::CppFeatures_RepeatedType _internal_repeated_type() const;
  void _internal_set_repeated_type(::pb::CppFeatures_RepeatedType value);

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

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

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



inline constexpr int kCppFieldNumber = 1000;
PROTOBUF_EXPORT extern ::google::protobuf::internal::ExtensionIdentifier<
    ::google::protobuf::FeatureSet, ::google::protobuf::internal::MessageTypeTraits< ::pb::CppFeatures >, 11, false>(cpp);

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


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

// CppFeatures

// optional bool legacy_closed_enum = 1 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = {
inline bool CppFeatures::has_legacy_closed_enum() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
  return value;
}
inline void CppFeatures::clear_legacy_closed_enum() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.legacy_closed_enum_ = false;
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
inline bool CppFeatures::legacy_closed_enum() const {
  // @@protoc_insertion_point(field_get:pb.CppFeatures.legacy_closed_enum)
  return _internal_legacy_closed_enum();
}
inline void CppFeatures::set_legacy_closed_enum(bool value) {
  _internal_set_legacy_closed_enum(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  // @@protoc_insertion_point(field_set:pb.CppFeatures.legacy_closed_enum)
}
inline bool CppFeatures::_internal_legacy_closed_enum() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.legacy_closed_enum_;
}
inline void CppFeatures::_internal_set_legacy_closed_enum(bool value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.legacy_closed_enum_ = value;
}

// optional .pb.CppFeatures.StringType string_type = 2 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = {
inline bool CppFeatures::has_string_type() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
  return value;
}
inline void CppFeatures::clear_string_type() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.string_type_ = 0;
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline ::pb::CppFeatures_StringType CppFeatures::string_type() const {
  // @@protoc_insertion_point(field_get:pb.CppFeatures.string_type)
  return _internal_string_type();
}
inline void CppFeatures::set_string_type(::pb::CppFeatures_StringType value) {
  _internal_set_string_type(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_set:pb.CppFeatures.string_type)
}
inline ::pb::CppFeatures_StringType CppFeatures::_internal_string_type() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return static_cast<::pb::CppFeatures_StringType>(_impl_.string_type_);
}
inline void CppFeatures::_internal_set_string_type(::pb::CppFeatures_StringType value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);

                                          assert(::google::protobuf::internal::ValidateEnum(
                                              value, ::pb::CppFeatures_StringType_internal_data_));
                                          _impl_.string_type_ = value;
}

// optional bool enum_name_uses_string_view = 3 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = {
inline bool CppFeatures::has_enum_name_uses_string_view() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
  return value;
}
inline void CppFeatures::clear_enum_name_uses_string_view() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.enum_name_uses_string_view_ = false;
  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
}
inline bool CppFeatures::enum_name_uses_string_view() const {
  // @@protoc_insertion_point(field_get:pb.CppFeatures.enum_name_uses_string_view)
  return _internal_enum_name_uses_string_view();
}
inline void CppFeatures::set_enum_name_uses_string_view(bool value) {
  _internal_set_enum_name_uses_string_view(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  // @@protoc_insertion_point(field_set:pb.CppFeatures.enum_name_uses_string_view)
}
inline bool CppFeatures::_internal_enum_name_uses_string_view() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.enum_name_uses_string_view_;
}
inline void CppFeatures::_internal_set_enum_name_uses_string_view(bool value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.enum_name_uses_string_view_ = value;
}

// optional .pb.CppFeatures.RepeatedType repeated_type = 4 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = {
inline bool CppFeatures::has_repeated_type() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
  return value;
}
inline void CppFeatures::clear_repeated_type() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.repeated_type_ = 0;
  ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
}
inline ::pb::CppFeatures_RepeatedType CppFeatures::repeated_type() const {
  // @@protoc_insertion_point(field_get:pb.CppFeatures.repeated_type)
  return _internal_repeated_type();
}
inline void CppFeatures::set_repeated_type(::pb::CppFeatures_RepeatedType value) {
  _internal_set_repeated_type(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000008U);
  // @@protoc_insertion_point(field_set:pb.CppFeatures.repeated_type)
}
inline ::pb::CppFeatures_RepeatedType CppFeatures::_internal_repeated_type() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return static_cast<::pb::CppFeatures_RepeatedType>(_impl_.repeated_type_);
}
inline void CppFeatures::_internal_set_repeated_type(::pb::CppFeatures_RepeatedType value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);

                                          assert(::google::protobuf::internal::ValidateEnum(
                                              value, ::pb::CppFeatures_RepeatedType_internal_data_));
                                          _impl_.repeated_type_ = value;
}

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

// @@protoc_insertion_point(namespace_scope)
}  // namespace pb


namespace google {
namespace protobuf {

template <>
struct is_proto_enum<::pb::CppFeatures_StringType> : std::true_type {};
template <>
inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::pb::CppFeatures_StringType>() {
  return ::pb::CppFeatures_StringType_descriptor();
}
template <>
struct is_proto_enum<::pb::CppFeatures_RepeatedType> : std::true_type {};
template <>
inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::pb::CppFeatures_RepeatedType>() {
  return ::pb::CppFeatures_RepeatedType_descriptor();
}

}  // namespace protobuf
}  // namespace google

// @@protoc_insertion_point(global_scope)

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

#endif  // google_2fprotobuf_2fcpp_5ffeatures_2eproto_2epb_2eh
