/**
 * Autogenerated by Thrift for /opt/local/var/macports/build/_opt_local_ppcports_devel_fbthrift/fbthrift/work/fbthrift-2025.04.28.00/thrift/lib/thrift/serverdbginfo.thrift
 *
 * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
 *  @generated @nocommit
 */

#pragma once

#include <thrift/lib/cpp2/gen/module_types_h.h>

namespace apache::thrift {
namespace ident {
struct name;
struct prioritiesCount;
struct bucketsPerPriority;
struct perBucketRequestLimit;
struct totalRequestsLimit;
struct queuedRequestsCount;
struct name;
struct concurrencyLimit;
struct qpsLimit;
struct totalProcessedRequests;
struct name;
struct threadsCount;
struct name;
struct requestPileDbgInfo;
struct concurrencyControllerDbgInfo;
struct executorDbgInfo;
struct mode;
struct method;
struct cpuTarget;
struct cpuLoadSource;
struct refreshPeriodMs;
struct additiveMultiplier;
struct decreaseMultiplier;
struct increaseDistanceRatio;
struct bumpOnError;
struct refractoryPeriodMs;
struct initialEstimateFactor;
struct initialEstimatePercentile;
struct collectionSampleSize;
struct concurrencyUpperBound;
struct concurrencyLowerBound;
struct cpuLoad;
struct enabled;
struct resourcePools;
} // namespace ident
namespace detail {
#ifndef APACHE_THRIFT_ACCESSOR_name
#define APACHE_THRIFT_ACCESSOR_name
APACHE_THRIFT_DEFINE_ACCESSOR(name);
#endif
#ifndef APACHE_THRIFT_ACCESSOR_prioritiesCount
#define APACHE_THRIFT_ACCESSOR_prioritiesCount
APACHE_THRIFT_DEFINE_ACCESSOR(prioritiesCount);
#endif
#ifndef APACHE_THRIFT_ACCESSOR_bucketsPerPriority
#define APACHE_THRIFT_ACCESSOR_bucketsPerPriority
APACHE_THRIFT_DEFINE_ACCESSOR(bucketsPerPriority);
#endif
#ifndef APACHE_THRIFT_ACCESSOR_perBucketRequestLimit
#define APACHE_THRIFT_ACCESSOR_perBucketRequestLimit
APACHE_THRIFT_DEFINE_ACCESSOR(perBucketRequestLimit);
#endif
#ifndef APACHE_THRIFT_ACCESSOR_totalRequestsLimit
#define APACHE_THRIFT_ACCESSOR_totalRequestsLimit
APACHE_THRIFT_DEFINE_ACCESSOR(totalRequestsLimit);
#endif
#ifndef APACHE_THRIFT_ACCESSOR_queuedRequestsCount
#define APACHE_THRIFT_ACCESSOR_queuedRequestsCount
APACHE_THRIFT_DEFINE_ACCESSOR(queuedRequestsCount);
#endif
#ifndef APACHE_THRIFT_ACCESSOR_name
#define APACHE_THRIFT_ACCESSOR_name
APACHE_THRIFT_DEFINE_ACCESSOR(name);
#endif
#ifndef APACHE_THRIFT_ACCESSOR_concurrencyLimit
#define APACHE_THRIFT_ACCESSOR_concurrencyLimit
APACHE_THRIFT_DEFINE_ACCESSOR(concurrencyLimit);
#endif
#ifndef APACHE_THRIFT_ACCESSOR_qpsLimit
#define APACHE_THRIFT_ACCESSOR_qpsLimit
APACHE_THRIFT_DEFINE_ACCESSOR(qpsLimit);
#endif
#ifndef APACHE_THRIFT_ACCESSOR_totalProcessedRequests
#define APACHE_THRIFT_ACCESSOR_totalProcessedRequests
APACHE_THRIFT_DEFINE_ACCESSOR(totalProcessedRequests);
#endif
#ifndef APACHE_THRIFT_ACCESSOR_name
#define APACHE_THRIFT_ACCESSOR_name
APACHE_THRIFT_DEFINE_ACCESSOR(name);
#endif
#ifndef APACHE_THRIFT_ACCESSOR_threadsCount
#define APACHE_THRIFT_ACCESSOR_threadsCount
APACHE_THRIFT_DEFINE_ACCESSOR(threadsCount);
#endif
#ifndef APACHE_THRIFT_ACCESSOR_name
#define APACHE_THRIFT_ACCESSOR_name
APACHE_THRIFT_DEFINE_ACCESSOR(name);
#endif
#ifndef APACHE_THRIFT_ACCESSOR_requestPileDbgInfo
#define APACHE_THRIFT_ACCESSOR_requestPileDbgInfo
APACHE_THRIFT_DEFINE_ACCESSOR(requestPileDbgInfo);
#endif
#ifndef APACHE_THRIFT_ACCESSOR_concurrencyControllerDbgInfo
#define APACHE_THRIFT_ACCESSOR_concurrencyControllerDbgInfo
APACHE_THRIFT_DEFINE_ACCESSOR(concurrencyControllerDbgInfo);
#endif
#ifndef APACHE_THRIFT_ACCESSOR_executorDbgInfo
#define APACHE_THRIFT_ACCESSOR_executorDbgInfo
APACHE_THRIFT_DEFINE_ACCESSOR(executorDbgInfo);
#endif
#ifndef APACHE_THRIFT_ACCESSOR_mode
#define APACHE_THRIFT_ACCESSOR_mode
APACHE_THRIFT_DEFINE_ACCESSOR(mode);
#endif
#ifndef APACHE_THRIFT_ACCESSOR_method
#define APACHE_THRIFT_ACCESSOR_method
APACHE_THRIFT_DEFINE_ACCESSOR(method);
#endif
#ifndef APACHE_THRIFT_ACCESSOR_cpuTarget
#define APACHE_THRIFT_ACCESSOR_cpuTarget
APACHE_THRIFT_DEFINE_ACCESSOR(cpuTarget);
#endif
#ifndef APACHE_THRIFT_ACCESSOR_cpuLoadSource
#define APACHE_THRIFT_ACCESSOR_cpuLoadSource
APACHE_THRIFT_DEFINE_ACCESSOR(cpuLoadSource);
#endif
#ifndef APACHE_THRIFT_ACCESSOR_refreshPeriodMs
#define APACHE_THRIFT_ACCESSOR_refreshPeriodMs
APACHE_THRIFT_DEFINE_ACCESSOR(refreshPeriodMs);
#endif
#ifndef APACHE_THRIFT_ACCESSOR_additiveMultiplier
#define APACHE_THRIFT_ACCESSOR_additiveMultiplier
APACHE_THRIFT_DEFINE_ACCESSOR(additiveMultiplier);
#endif
#ifndef APACHE_THRIFT_ACCESSOR_decreaseMultiplier
#define APACHE_THRIFT_ACCESSOR_decreaseMultiplier
APACHE_THRIFT_DEFINE_ACCESSOR(decreaseMultiplier);
#endif
#ifndef APACHE_THRIFT_ACCESSOR_increaseDistanceRatio
#define APACHE_THRIFT_ACCESSOR_increaseDistanceRatio
APACHE_THRIFT_DEFINE_ACCESSOR(increaseDistanceRatio);
#endif
#ifndef APACHE_THRIFT_ACCESSOR_bumpOnError
#define APACHE_THRIFT_ACCESSOR_bumpOnError
APACHE_THRIFT_DEFINE_ACCESSOR(bumpOnError);
#endif
#ifndef APACHE_THRIFT_ACCESSOR_refractoryPeriodMs
#define APACHE_THRIFT_ACCESSOR_refractoryPeriodMs
APACHE_THRIFT_DEFINE_ACCESSOR(refractoryPeriodMs);
#endif
#ifndef APACHE_THRIFT_ACCESSOR_initialEstimateFactor
#define APACHE_THRIFT_ACCESSOR_initialEstimateFactor
APACHE_THRIFT_DEFINE_ACCESSOR(initialEstimateFactor);
#endif
#ifndef APACHE_THRIFT_ACCESSOR_initialEstimatePercentile
#define APACHE_THRIFT_ACCESSOR_initialEstimatePercentile
APACHE_THRIFT_DEFINE_ACCESSOR(initialEstimatePercentile);
#endif
#ifndef APACHE_THRIFT_ACCESSOR_collectionSampleSize
#define APACHE_THRIFT_ACCESSOR_collectionSampleSize
APACHE_THRIFT_DEFINE_ACCESSOR(collectionSampleSize);
#endif
#ifndef APACHE_THRIFT_ACCESSOR_concurrencyUpperBound
#define APACHE_THRIFT_ACCESSOR_concurrencyUpperBound
APACHE_THRIFT_DEFINE_ACCESSOR(concurrencyUpperBound);
#endif
#ifndef APACHE_THRIFT_ACCESSOR_concurrencyLowerBound
#define APACHE_THRIFT_ACCESSOR_concurrencyLowerBound
APACHE_THRIFT_DEFINE_ACCESSOR(concurrencyLowerBound);
#endif
#ifndef APACHE_THRIFT_ACCESSOR_cpuLoad
#define APACHE_THRIFT_ACCESSOR_cpuLoad
APACHE_THRIFT_DEFINE_ACCESSOR(cpuLoad);
#endif
#ifndef APACHE_THRIFT_ACCESSOR_enabled
#define APACHE_THRIFT_ACCESSOR_enabled
APACHE_THRIFT_DEFINE_ACCESSOR(enabled);
#endif
#ifndef APACHE_THRIFT_ACCESSOR_resourcePools
#define APACHE_THRIFT_ACCESSOR_resourcePools
APACHE_THRIFT_DEFINE_ACCESSOR(resourcePools);
#endif
} // namespace detail
} // namespace apache::thrift

// BEGIN declare_enums
// END declare_enums
// BEGIN forward_declare
namespace apache::thrift::serverdbginfo {
class RequestPileDbgInfo;
class ConcurrencyControllerDbgInfo;
class ExecutorDbgInfo;
class ResourcePoolDbgInfo;
class CPUConcurrencyControllerDbgInfo;
class ResourcePoolsDbgInfo;
} // namespace apache::thrift::serverdbginfo
// END forward_declare
namespace apache::thrift::detail::annotation {
} // namespace apache::thrift::detail::annotation

namespace apache::thrift::detail::qualifier {
} // namespace apache::thrift::detail::qualifier

// BEGIN hash_and_equal_to
// END hash_and_equal_to
namespace apache::thrift::serverdbginfo {
using ::apache::thrift::detail::operator!=;
using ::apache::thrift::detail::operator>;
using ::apache::thrift::detail::operator<=;
using ::apache::thrift::detail::operator>=;


/** Glean {"file": "/opt/local/var/macports/build/_opt_local_ppcports_devel_fbthrift/fbthrift/work/fbthrift-2025.04.28.00/thrift/lib/thrift/serverdbginfo.thrift", "name": "RequestPileDbgInfo", "kind": "struct" } */
class RequestPileDbgInfo final  {
 private:
  friend struct ::apache::thrift::detail::st::struct_private_access;
  template<class> friend struct ::apache::thrift::detail::invoke_reffer;

  //  used by a static_assert in the corresponding source
  static constexpr bool __fbthrift_cpp2_gen_json = true;
  static constexpr bool __fbthrift_cpp2_is_runtime_annotation = false;
  static std::string_view __fbthrift_get_field_name(::apache::thrift::FieldOrdinal ord);
  static std::string_view __fbthrift_get_class_name();
  template <class ...>
  FOLLY_ERASE static constexpr std::string_view __fbthrift_get_module_name() noexcept {
    return "serverdbginfo";
  }
  using __fbthrift_reflection_ident_list = folly::tag_t<
    ::apache::thrift::ident::name,
    ::apache::thrift::ident::prioritiesCount,
    ::apache::thrift::ident::bucketsPerPriority,
    ::apache::thrift::ident::perBucketRequestLimit,
    ::apache::thrift::ident::totalRequestsLimit,
    ::apache::thrift::ident::queuedRequestsCount
  >;

  static constexpr const std::int16_t __fbthrift_reflection_field_ids[] = {0,1,2,3,4,5,6};

  using __fbthrift_reflection_type_tags = folly::tag_t<
    ::apache::thrift::type::string_t,
    ::apache::thrift::type::i32_t,
    ::apache::thrift::type::list<::apache::thrift::type::i64_t>,
    ::apache::thrift::type::i64_t,
    ::apache::thrift::type::i64_t,
    ::apache::thrift::type::i64_t
  >;

  static constexpr std::size_t __fbthrift_field_size_v = 6;

  template <typename T>
  using __fbthrift_type_tag = ::apache::thrift::detail::at<__fbthrift_reflection_type_tags, T::value>;

  template <typename T>
  using __fbthrift_ident = ::apache::thrift::detail::at<__fbthrift_reflection_ident_list, T::value>;

  template <typename T> using __fbthrift_ordinal = ::apache::thrift::type::ordinal_tag<
    ::apache::thrift::detail::getFieldOrdinal<T,
                                              __fbthrift_reflection_ident_list,
                                              __fbthrift_reflection_type_tags>(
      __fbthrift_reflection_field_ids
    )
  >;
  void __fbthrift_clear();
  void __fbthrift_clear_terse_fields();
  bool __fbthrift_is_empty() const;

 public:
  using __fbthrift_cpp2_type = RequestPileDbgInfo;
  static constexpr bool __fbthrift_cpp2_is_union =
    false;
  static constexpr bool __fbthrift_cpp2_uses_op_encode =
    false;


 public:

  RequestPileDbgInfo();

  // FragileConstructor for use in initialization lists only.
  [[deprecated("This constructor is deprecated")]]
  RequestPileDbgInfo(apache::thrift::FragileConstructor, ::std::string name__arg, ::std::int32_t prioritiesCount__arg, ::std::vector<::std::int64_t> bucketsPerPriority__arg, ::std::int64_t perBucketRequestLimit__arg, ::std::int64_t totalRequestsLimit__arg, ::std::int64_t queuedRequestsCount__arg);

  RequestPileDbgInfo(RequestPileDbgInfo&&) noexcept;

  RequestPileDbgInfo(const RequestPileDbgInfo& src);


  RequestPileDbgInfo& operator=(RequestPileDbgInfo&&) noexcept;
  RequestPileDbgInfo& operator=(const RequestPileDbgInfo& src);

  ~RequestPileDbgInfo();

 private:
  ::std::string __fbthrift_field_name;
 private:
  ::std::int32_t __fbthrift_field_prioritiesCount;
 private:
  ::std::vector<::std::int64_t> __fbthrift_field_bucketsPerPriority;
 private:
  ::std::int64_t __fbthrift_field_perBucketRequestLimit;
 private:
  ::std::int64_t __fbthrift_field_totalRequestsLimit;
 private:
  ::std::int64_t __fbthrift_field_queuedRequestsCount;
 private:
  apache::thrift::detail::isset_bitset<6, apache::thrift::detail::IssetBitsetOption::Unpacked> __isset;

 public:

  bool operator==(const RequestPileDbgInfo&) const;
  bool operator<(const RequestPileDbgInfo&) const;

  /** Glean { "field": "name" } */
  template <typename..., typename fbthrift_T = ::std::string>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> name_ref() const& {
    return {this->__fbthrift_field_name, __isset.at(0), __isset.bit(0)};
  }

  /** Glean { "field": "name" } */
  template <typename..., typename fbthrift_T = ::std::string>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> name_ref() & {
    return {this->__fbthrift_field_name, __isset.at(0), __isset.bit(0)};
  }

  /** Glean { "field": "name" } */
  template <typename..., typename fbthrift_T = ::std::string>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> name_ref() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_name), __isset.at(0), __isset.bit(0)};
  }

  /** Glean { "field": "name" } */
  template <typename..., typename fbthrift_T = ::std::string>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> name() const& {
    return {this->__fbthrift_field_name, __isset.at(0), __isset.bit(0)};
  }

  /** Glean { "field": "name" } */
  template <typename..., typename fbthrift_T = ::std::string>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> name() & {
    return {this->__fbthrift_field_name, __isset.at(0), __isset.bit(0)};
  }

  /** Glean { "field": "name" } */
  template <typename..., typename fbthrift_T = ::std::string>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> name() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_name), __isset.at(0), __isset.bit(0)};
  }

  /** Glean { "field": "prioritiesCount" } */
  template <typename..., typename fbthrift_T = ::std::int32_t>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> prioritiesCount_ref() const& {
    return {this->__fbthrift_field_prioritiesCount, __isset.at(1), __isset.bit(1)};
  }

  /** Glean { "field": "prioritiesCount" } */
  template <typename..., typename fbthrift_T = ::std::int32_t>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> prioritiesCount_ref() & {
    return {this->__fbthrift_field_prioritiesCount, __isset.at(1), __isset.bit(1)};
  }

  /** Glean { "field": "prioritiesCount" } */
  template <typename..., typename fbthrift_T = ::std::int32_t>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> prioritiesCount_ref() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_prioritiesCount), __isset.at(1), __isset.bit(1)};
  }

  /** Glean { "field": "prioritiesCount" } */
  template <typename..., typename fbthrift_T = ::std::int32_t>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> prioritiesCount() const& {
    return {this->__fbthrift_field_prioritiesCount, __isset.at(1), __isset.bit(1)};
  }

  /** Glean { "field": "prioritiesCount" } */
  template <typename..., typename fbthrift_T = ::std::int32_t>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> prioritiesCount() & {
    return {this->__fbthrift_field_prioritiesCount, __isset.at(1), __isset.bit(1)};
  }

  /** Glean { "field": "prioritiesCount" } */
  template <typename..., typename fbthrift_T = ::std::int32_t>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> prioritiesCount() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_prioritiesCount), __isset.at(1), __isset.bit(1)};
  }

  /** Glean { "field": "bucketsPerPriority" } */
  template <typename..., typename fbthrift_T = ::std::vector<::std::int64_t>>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> bucketsPerPriority_ref() const& {
    return {this->__fbthrift_field_bucketsPerPriority, __isset.at(2), __isset.bit(2)};
  }

  /** Glean { "field": "bucketsPerPriority" } */
  template <typename..., typename fbthrift_T = ::std::vector<::std::int64_t>>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> bucketsPerPriority_ref() & {
    return {this->__fbthrift_field_bucketsPerPriority, __isset.at(2), __isset.bit(2)};
  }

  /** Glean { "field": "bucketsPerPriority" } */
  template <typename..., typename fbthrift_T = ::std::vector<::std::int64_t>>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> bucketsPerPriority_ref() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_bucketsPerPriority), __isset.at(2), __isset.bit(2)};
  }

  /** Glean { "field": "bucketsPerPriority" } */
  template <typename..., typename fbthrift_T = ::std::vector<::std::int64_t>>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> bucketsPerPriority() const& {
    return {this->__fbthrift_field_bucketsPerPriority, __isset.at(2), __isset.bit(2)};
  }

  /** Glean { "field": "bucketsPerPriority" } */
  template <typename..., typename fbthrift_T = ::std::vector<::std::int64_t>>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> bucketsPerPriority() & {
    return {this->__fbthrift_field_bucketsPerPriority, __isset.at(2), __isset.bit(2)};
  }

  /** Glean { "field": "bucketsPerPriority" } */
  template <typename..., typename fbthrift_T = ::std::vector<::std::int64_t>>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> bucketsPerPriority() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_bucketsPerPriority), __isset.at(2), __isset.bit(2)};
  }

  /** Glean { "field": "perBucketRequestLimit" } */
  template <typename..., typename fbthrift_T = ::std::int64_t>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> perBucketRequestLimit_ref() const& {
    return {this->__fbthrift_field_perBucketRequestLimit, __isset.at(3), __isset.bit(3)};
  }

  /** Glean { "field": "perBucketRequestLimit" } */
  template <typename..., typename fbthrift_T = ::std::int64_t>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> perBucketRequestLimit_ref() & {
    return {this->__fbthrift_field_perBucketRequestLimit, __isset.at(3), __isset.bit(3)};
  }

  /** Glean { "field": "perBucketRequestLimit" } */
  template <typename..., typename fbthrift_T = ::std::int64_t>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> perBucketRequestLimit_ref() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_perBucketRequestLimit), __isset.at(3), __isset.bit(3)};
  }

  /** Glean { "field": "perBucketRequestLimit" } */
  template <typename..., typename fbthrift_T = ::std::int64_t>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> perBucketRequestLimit() const& {
    return {this->__fbthrift_field_perBucketRequestLimit, __isset.at(3), __isset.bit(3)};
  }

  /** Glean { "field": "perBucketRequestLimit" } */
  template <typename..., typename fbthrift_T = ::std::int64_t>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> perBucketRequestLimit() & {
    return {this->__fbthrift_field_perBucketRequestLimit, __isset.at(3), __isset.bit(3)};
  }

  /** Glean { "field": "perBucketRequestLimit" } */
  template <typename..., typename fbthrift_T = ::std::int64_t>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> perBucketRequestLimit() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_perBucketRequestLimit), __isset.at(3), __isset.bit(3)};
  }

  /** Glean { "field": "totalRequestsLimit" } */
  template <typename..., typename fbthrift_T = ::std::int64_t>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> totalRequestsLimit_ref() const& {
    return {this->__fbthrift_field_totalRequestsLimit, __isset.at(4), __isset.bit(4)};
  }

  /** Glean { "field": "totalRequestsLimit" } */
  template <typename..., typename fbthrift_T = ::std::int64_t>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> totalRequestsLimit_ref() & {
    return {this->__fbthrift_field_totalRequestsLimit, __isset.at(4), __isset.bit(4)};
  }

  /** Glean { "field": "totalRequestsLimit" } */
  template <typename..., typename fbthrift_T = ::std::int64_t>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> totalRequestsLimit_ref() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_totalRequestsLimit), __isset.at(4), __isset.bit(4)};
  }

  /** Glean { "field": "totalRequestsLimit" } */
  template <typename..., typename fbthrift_T = ::std::int64_t>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> totalRequestsLimit() const& {
    return {this->__fbthrift_field_totalRequestsLimit, __isset.at(4), __isset.bit(4)};
  }

  /** Glean { "field": "totalRequestsLimit" } */
  template <typename..., typename fbthrift_T = ::std::int64_t>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> totalRequestsLimit() & {
    return {this->__fbthrift_field_totalRequestsLimit, __isset.at(4), __isset.bit(4)};
  }

  /** Glean { "field": "totalRequestsLimit" } */
  template <typename..., typename fbthrift_T = ::std::int64_t>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> totalRequestsLimit() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_totalRequestsLimit), __isset.at(4), __isset.bit(4)};
  }

  /** Glean { "field": "queuedRequestsCount" } */
  template <typename..., typename fbthrift_T = ::std::int64_t>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> queuedRequestsCount_ref() const& {
    return {this->__fbthrift_field_queuedRequestsCount, __isset.at(5), __isset.bit(5)};
  }

  /** Glean { "field": "queuedRequestsCount" } */
  template <typename..., typename fbthrift_T = ::std::int64_t>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> queuedRequestsCount_ref() & {
    return {this->__fbthrift_field_queuedRequestsCount, __isset.at(5), __isset.bit(5)};
  }

  /** Glean { "field": "queuedRequestsCount" } */
  template <typename..., typename fbthrift_T = ::std::int64_t>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> queuedRequestsCount_ref() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_queuedRequestsCount), __isset.at(5), __isset.bit(5)};
  }

  /** Glean { "field": "queuedRequestsCount" } */
  template <typename..., typename fbthrift_T = ::std::int64_t>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> queuedRequestsCount() const& {
    return {this->__fbthrift_field_queuedRequestsCount, __isset.at(5), __isset.bit(5)};
  }

  /** Glean { "field": "queuedRequestsCount" } */
  template <typename..., typename fbthrift_T = ::std::int64_t>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> queuedRequestsCount() & {
    return {this->__fbthrift_field_queuedRequestsCount, __isset.at(5), __isset.bit(5)};
  }

  /** Glean { "field": "queuedRequestsCount" } */
  template <typename..., typename fbthrift_T = ::std::int64_t>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> queuedRequestsCount() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_queuedRequestsCount), __isset.at(5), __isset.bit(5)};
  }

  /** Glean { "field": "name" } */
  [[deprecated("Use `FOO.name().value()` instead of `FOO.get_name()`")]]
  const ::std::string& get_name() const& {
    return __fbthrift_field_name;
  }

  /** Glean { "field": "name" } */
  [[deprecated("Use `FOO.name().value()` instead of `FOO.get_name()`")]]
  ::std::string get_name() && {
    return static_cast<::std::string&&>(__fbthrift_field_name);
  }

  /** Glean { "field": "name" } */
  template <typename T_RequestPileDbgInfo_name_struct_setter = ::std::string>
  [[deprecated("Use `FOO.name() = BAR` instead of `FOO.set_name(BAR)`")]]
  ::std::string& set_name(T_RequestPileDbgInfo_name_struct_setter&& name_) {
    name_ref() = std::forward<T_RequestPileDbgInfo_name_struct_setter>(name_);
    return __fbthrift_field_name;
  }

  /** Glean { "field": "prioritiesCount" } */
  [[deprecated("Use `FOO.prioritiesCount().value()` instead of `FOO.get_prioritiesCount()`")]]
  ::std::int32_t get_prioritiesCount() const;

  /** Glean { "field": "prioritiesCount" } */
  [[deprecated("Use `FOO.prioritiesCount() = BAR` instead of `FOO.set_prioritiesCount(BAR)`")]]
  ::std::int32_t& set_prioritiesCount(::std::int32_t prioritiesCount_);

  /** Glean { "field": "bucketsPerPriority" } */
  [[deprecated("Use `FOO.bucketsPerPriority().value()` instead of `FOO.get_bucketsPerPriority()`")]]
  const ::std::vector<::std::int64_t>& get_bucketsPerPriority() const&;

  /** Glean { "field": "bucketsPerPriority" } */
  [[deprecated("Use `FOO.bucketsPerPriority().value()` instead of `FOO.get_bucketsPerPriority()`")]]
  ::std::vector<::std::int64_t> get_bucketsPerPriority() &&;

  /** Glean { "field": "bucketsPerPriority" } */
  template <typename T_RequestPileDbgInfo_bucketsPerPriority_struct_setter = ::std::vector<::std::int64_t>>
  [[deprecated("Use `FOO.bucketsPerPriority() = BAR` instead of `FOO.set_bucketsPerPriority(BAR)`")]]
  ::std::vector<::std::int64_t>& set_bucketsPerPriority(T_RequestPileDbgInfo_bucketsPerPriority_struct_setter&& bucketsPerPriority_) {
    bucketsPerPriority_ref() = std::forward<T_RequestPileDbgInfo_bucketsPerPriority_struct_setter>(bucketsPerPriority_);
    return __fbthrift_field_bucketsPerPriority;
  }

  /** Glean { "field": "perBucketRequestLimit" } */
  [[deprecated("Use `FOO.perBucketRequestLimit().value()` instead of `FOO.get_perBucketRequestLimit()`")]]
  ::std::int64_t get_perBucketRequestLimit() const;

  /** Glean { "field": "perBucketRequestLimit" } */
  [[deprecated("Use `FOO.perBucketRequestLimit() = BAR` instead of `FOO.set_perBucketRequestLimit(BAR)`")]]
  ::std::int64_t& set_perBucketRequestLimit(::std::int64_t perBucketRequestLimit_);

  /** Glean { "field": "totalRequestsLimit" } */
  [[deprecated("Use `FOO.totalRequestsLimit().value()` instead of `FOO.get_totalRequestsLimit()`")]]
  ::std::int64_t get_totalRequestsLimit() const;

  /** Glean { "field": "totalRequestsLimit" } */
  [[deprecated("Use `FOO.totalRequestsLimit() = BAR` instead of `FOO.set_totalRequestsLimit(BAR)`")]]
  ::std::int64_t& set_totalRequestsLimit(::std::int64_t totalRequestsLimit_);

  /** Glean { "field": "queuedRequestsCount" } */
  [[deprecated("Use `FOO.queuedRequestsCount().value()` instead of `FOO.get_queuedRequestsCount()`")]]
  ::std::int64_t get_queuedRequestsCount() const;

  /** Glean { "field": "queuedRequestsCount" } */
  [[deprecated("Use `FOO.queuedRequestsCount() = BAR` instead of `FOO.set_queuedRequestsCount(BAR)`")]]
  ::std::int64_t& set_queuedRequestsCount(::std::int64_t queuedRequestsCount_);

  template <class Protocol_>
  unsigned long read(Protocol_* iprot);
  template <class Protocol_>
  uint32_t serializedSize(Protocol_ const* prot_) const;
  template <class Protocol_>
  uint32_t serializedSizeZC(Protocol_ const* prot_) const;
  template <class Protocol_>
  uint32_t write(Protocol_* prot_) const;

 private:
  template <class Protocol_>
  void readNoXfer(Protocol_* iprot);

  friend class ::apache::thrift::Cpp2Ops<RequestPileDbgInfo>;
  friend void swap(RequestPileDbgInfo& a, RequestPileDbgInfo& b);
};

template <class Protocol_>
unsigned long RequestPileDbgInfo::read(Protocol_* iprot) {
  auto _xferStart = iprot->getCursorPosition();
  readNoXfer(iprot);
  return iprot->getCursorPosition() - _xferStart;
}


/** Glean {"file": "/opt/local/var/macports/build/_opt_local_ppcports_devel_fbthrift/fbthrift/work/fbthrift-2025.04.28.00/thrift/lib/thrift/serverdbginfo.thrift", "name": "ConcurrencyControllerDbgInfo", "kind": "struct" } */
class ConcurrencyControllerDbgInfo final  {
 private:
  friend struct ::apache::thrift::detail::st::struct_private_access;
  template<class> friend struct ::apache::thrift::detail::invoke_reffer;

  //  used by a static_assert in the corresponding source
  static constexpr bool __fbthrift_cpp2_gen_json = true;
  static constexpr bool __fbthrift_cpp2_is_runtime_annotation = false;
  static std::string_view __fbthrift_get_field_name(::apache::thrift::FieldOrdinal ord);
  static std::string_view __fbthrift_get_class_name();
  template <class ...>
  FOLLY_ERASE static constexpr std::string_view __fbthrift_get_module_name() noexcept {
    return "serverdbginfo";
  }
  using __fbthrift_reflection_ident_list = folly::tag_t<
    ::apache::thrift::ident::name,
    ::apache::thrift::ident::concurrencyLimit,
    ::apache::thrift::ident::qpsLimit,
    ::apache::thrift::ident::totalProcessedRequests
  >;

  static constexpr const std::int16_t __fbthrift_reflection_field_ids[] = {0,1,2,3,4};

  using __fbthrift_reflection_type_tags = folly::tag_t<
    ::apache::thrift::type::string_t,
    ::apache::thrift::type::i32_t,
    ::apache::thrift::type::i32_t,
    ::apache::thrift::type::i64_t
  >;

  static constexpr std::size_t __fbthrift_field_size_v = 4;

  template <typename T>
  using __fbthrift_type_tag = ::apache::thrift::detail::at<__fbthrift_reflection_type_tags, T::value>;

  template <typename T>
  using __fbthrift_ident = ::apache::thrift::detail::at<__fbthrift_reflection_ident_list, T::value>;

  template <typename T> using __fbthrift_ordinal = ::apache::thrift::type::ordinal_tag<
    ::apache::thrift::detail::getFieldOrdinal<T,
                                              __fbthrift_reflection_ident_list,
                                              __fbthrift_reflection_type_tags>(
      __fbthrift_reflection_field_ids
    )
  >;
  void __fbthrift_clear();
  void __fbthrift_clear_terse_fields();
  bool __fbthrift_is_empty() const;

 public:
  using __fbthrift_cpp2_type = ConcurrencyControllerDbgInfo;
  static constexpr bool __fbthrift_cpp2_is_union =
    false;
  static constexpr bool __fbthrift_cpp2_uses_op_encode =
    false;


 public:

  ConcurrencyControllerDbgInfo();

  // FragileConstructor for use in initialization lists only.
  [[deprecated("This constructor is deprecated")]]
  ConcurrencyControllerDbgInfo(apache::thrift::FragileConstructor, ::std::string name__arg, ::std::int32_t concurrencyLimit__arg, ::std::int32_t qpsLimit__arg, ::std::int64_t totalProcessedRequests__arg);

  ConcurrencyControllerDbgInfo(ConcurrencyControllerDbgInfo&&) noexcept;

  ConcurrencyControllerDbgInfo(const ConcurrencyControllerDbgInfo& src);


  ConcurrencyControllerDbgInfo& operator=(ConcurrencyControllerDbgInfo&&) noexcept;
  ConcurrencyControllerDbgInfo& operator=(const ConcurrencyControllerDbgInfo& src);

  ~ConcurrencyControllerDbgInfo();

 private:
  ::std::string __fbthrift_field_name;
 private:
  ::std::int32_t __fbthrift_field_concurrencyLimit;
 private:
  ::std::int32_t __fbthrift_field_qpsLimit;
 private:
  ::std::int64_t __fbthrift_field_totalProcessedRequests;
 private:
  apache::thrift::detail::isset_bitset<4, apache::thrift::detail::IssetBitsetOption::Unpacked> __isset;

 public:

  bool operator==(const ConcurrencyControllerDbgInfo&) const;
  bool operator<(const ConcurrencyControllerDbgInfo&) const;

  /** Glean { "field": "name" } */
  template <typename..., typename fbthrift_T = ::std::string>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> name_ref() const& {
    return {this->__fbthrift_field_name, __isset.at(0), __isset.bit(0)};
  }

  /** Glean { "field": "name" } */
  template <typename..., typename fbthrift_T = ::std::string>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> name_ref() & {
    return {this->__fbthrift_field_name, __isset.at(0), __isset.bit(0)};
  }

  /** Glean { "field": "name" } */
  template <typename..., typename fbthrift_T = ::std::string>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> name_ref() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_name), __isset.at(0), __isset.bit(0)};
  }

  /** Glean { "field": "name" } */
  template <typename..., typename fbthrift_T = ::std::string>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> name() const& {
    return {this->__fbthrift_field_name, __isset.at(0), __isset.bit(0)};
  }

  /** Glean { "field": "name" } */
  template <typename..., typename fbthrift_T = ::std::string>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> name() & {
    return {this->__fbthrift_field_name, __isset.at(0), __isset.bit(0)};
  }

  /** Glean { "field": "name" } */
  template <typename..., typename fbthrift_T = ::std::string>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> name() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_name), __isset.at(0), __isset.bit(0)};
  }

  /** Glean { "field": "concurrencyLimit" } */
  template <typename..., typename fbthrift_T = ::std::int32_t>
  FOLLY_ERASE ::apache::thrift::optional_field_ref<const fbthrift_T&> concurrencyLimit_ref() const& {
    return {this->__fbthrift_field_concurrencyLimit, __isset.at(1), __isset.bit(1)};
  }

  /** Glean { "field": "concurrencyLimit" } */
  template <typename..., typename fbthrift_T = ::std::int32_t>
  FOLLY_ERASE ::apache::thrift::optional_field_ref<fbthrift_T&> concurrencyLimit_ref() & {
    return {this->__fbthrift_field_concurrencyLimit, __isset.at(1), __isset.bit(1)};
  }

  /** Glean { "field": "concurrencyLimit" } */
  template <typename..., typename fbthrift_T = ::std::int32_t>
  FOLLY_ERASE ::apache::thrift::optional_field_ref<fbthrift_T&&> concurrencyLimit_ref() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_concurrencyLimit), __isset.at(1), __isset.bit(1)};
  }

  /** Glean { "field": "concurrencyLimit" } */
  template <typename..., typename fbthrift_T = ::std::int32_t>
  FOLLY_ERASE ::apache::thrift::optional_field_ref<const fbthrift_T&> concurrencyLimit() const& {
    return {this->__fbthrift_field_concurrencyLimit, __isset.at(1), __isset.bit(1)};
  }

  /** Glean { "field": "concurrencyLimit" } */
  template <typename..., typename fbthrift_T = ::std::int32_t>
  FOLLY_ERASE ::apache::thrift::optional_field_ref<fbthrift_T&> concurrencyLimit() & {
    return {this->__fbthrift_field_concurrencyLimit, __isset.at(1), __isset.bit(1)};
  }

  /** Glean { "field": "concurrencyLimit" } */
  template <typename..., typename fbthrift_T = ::std::int32_t>
  FOLLY_ERASE ::apache::thrift::optional_field_ref<fbthrift_T&&> concurrencyLimit() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_concurrencyLimit), __isset.at(1), __isset.bit(1)};
  }

  /** Glean { "field": "qpsLimit" } */
  template <typename..., typename fbthrift_T = ::std::int32_t>
  FOLLY_ERASE ::apache::thrift::optional_field_ref<const fbthrift_T&> qpsLimit_ref() const& {
    return {this->__fbthrift_field_qpsLimit, __isset.at(2), __isset.bit(2)};
  }

  /** Glean { "field": "qpsLimit" } */
  template <typename..., typename fbthrift_T = ::std::int32_t>
  FOLLY_ERASE ::apache::thrift::optional_field_ref<fbthrift_T&> qpsLimit_ref() & {
    return {this->__fbthrift_field_qpsLimit, __isset.at(2), __isset.bit(2)};
  }

  /** Glean { "field": "qpsLimit" } */
  template <typename..., typename fbthrift_T = ::std::int32_t>
  FOLLY_ERASE ::apache::thrift::optional_field_ref<fbthrift_T&&> qpsLimit_ref() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_qpsLimit), __isset.at(2), __isset.bit(2)};
  }

  /** Glean { "field": "qpsLimit" } */
  template <typename..., typename fbthrift_T = ::std::int32_t>
  FOLLY_ERASE ::apache::thrift::optional_field_ref<const fbthrift_T&> qpsLimit() const& {
    return {this->__fbthrift_field_qpsLimit, __isset.at(2), __isset.bit(2)};
  }

  /** Glean { "field": "qpsLimit" } */
  template <typename..., typename fbthrift_T = ::std::int32_t>
  FOLLY_ERASE ::apache::thrift::optional_field_ref<fbthrift_T&> qpsLimit() & {
    return {this->__fbthrift_field_qpsLimit, __isset.at(2), __isset.bit(2)};
  }

  /** Glean { "field": "qpsLimit" } */
  template <typename..., typename fbthrift_T = ::std::int32_t>
  FOLLY_ERASE ::apache::thrift::optional_field_ref<fbthrift_T&&> qpsLimit() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_qpsLimit), __isset.at(2), __isset.bit(2)};
  }

  /** Glean { "field": "totalProcessedRequests" } */
  template <typename..., typename fbthrift_T = ::std::int64_t>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> totalProcessedRequests_ref() const& {
    return {this->__fbthrift_field_totalProcessedRequests, __isset.at(3), __isset.bit(3)};
  }

  /** Glean { "field": "totalProcessedRequests" } */
  template <typename..., typename fbthrift_T = ::std::int64_t>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> totalProcessedRequests_ref() & {
    return {this->__fbthrift_field_totalProcessedRequests, __isset.at(3), __isset.bit(3)};
  }

  /** Glean { "field": "totalProcessedRequests" } */
  template <typename..., typename fbthrift_T = ::std::int64_t>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> totalProcessedRequests_ref() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_totalProcessedRequests), __isset.at(3), __isset.bit(3)};
  }

  /** Glean { "field": "totalProcessedRequests" } */
  template <typename..., typename fbthrift_T = ::std::int64_t>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> totalProcessedRequests() const& {
    return {this->__fbthrift_field_totalProcessedRequests, __isset.at(3), __isset.bit(3)};
  }

  /** Glean { "field": "totalProcessedRequests" } */
  template <typename..., typename fbthrift_T = ::std::int64_t>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> totalProcessedRequests() & {
    return {this->__fbthrift_field_totalProcessedRequests, __isset.at(3), __isset.bit(3)};
  }

  /** Glean { "field": "totalProcessedRequests" } */
  template <typename..., typename fbthrift_T = ::std::int64_t>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> totalProcessedRequests() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_totalProcessedRequests), __isset.at(3), __isset.bit(3)};
  }

  /** Glean { "field": "name" } */
  [[deprecated("Use `FOO.name().value()` instead of `FOO.get_name()`")]]
  const ::std::string& get_name() const& {
    return __fbthrift_field_name;
  }

  /** Glean { "field": "name" } */
  [[deprecated("Use `FOO.name().value()` instead of `FOO.get_name()`")]]
  ::std::string get_name() && {
    return static_cast<::std::string&&>(__fbthrift_field_name);
  }

  /** Glean { "field": "name" } */
  template <typename T_ConcurrencyControllerDbgInfo_name_struct_setter = ::std::string>
  [[deprecated("Use `FOO.name() = BAR` instead of `FOO.set_name(BAR)`")]]
  ::std::string& set_name(T_ConcurrencyControllerDbgInfo_name_struct_setter&& name_) {
    name_ref() = std::forward<T_ConcurrencyControllerDbgInfo_name_struct_setter>(name_);
    return __fbthrift_field_name;
  }

  /** Glean { "field": "concurrencyLimit" } */
  [[deprecated("Use `FOO.concurrencyLimit().value()` instead of `FOO.get_concurrencyLimit()`")]]
  const ::std::int32_t* get_concurrencyLimit() const&;

  /** Glean { "field": "concurrencyLimit" } */
  [[deprecated("Use `FOO.concurrencyLimit().value()` instead of `FOO.get_concurrencyLimit()`")]]
  ::std::int32_t* get_concurrencyLimit() &;

  ::std::int32_t* get_concurrencyLimit() && = delete;

  /** Glean { "field": "concurrencyLimit" } */
  [[deprecated("Use `FOO.concurrencyLimit() = BAR` instead of `FOO.set_concurrencyLimit(BAR)`")]]
  ::std::int32_t& set_concurrencyLimit(::std::int32_t concurrencyLimit_);

  /** Glean { "field": "qpsLimit" } */
  [[deprecated("Use `FOO.qpsLimit().value()` instead of `FOO.get_qpsLimit()`")]]
  const ::std::int32_t* get_qpsLimit() const&;

  /** Glean { "field": "qpsLimit" } */
  [[deprecated("Use `FOO.qpsLimit().value()` instead of `FOO.get_qpsLimit()`")]]
  ::std::int32_t* get_qpsLimit() &;

  ::std::int32_t* get_qpsLimit() && = delete;

  /** Glean { "field": "qpsLimit" } */
  [[deprecated("Use `FOO.qpsLimit() = BAR` instead of `FOO.set_qpsLimit(BAR)`")]]
  ::std::int32_t& set_qpsLimit(::std::int32_t qpsLimit_);

  /** Glean { "field": "totalProcessedRequests" } */
  [[deprecated("Use `FOO.totalProcessedRequests().value()` instead of `FOO.get_totalProcessedRequests()`")]]
  ::std::int64_t get_totalProcessedRequests() const;

  /** Glean { "field": "totalProcessedRequests" } */
  [[deprecated("Use `FOO.totalProcessedRequests() = BAR` instead of `FOO.set_totalProcessedRequests(BAR)`")]]
  ::std::int64_t& set_totalProcessedRequests(::std::int64_t totalProcessedRequests_);

  template <class Protocol_>
  unsigned long read(Protocol_* iprot);
  template <class Protocol_>
  uint32_t serializedSize(Protocol_ const* prot_) const;
  template <class Protocol_>
  uint32_t serializedSizeZC(Protocol_ const* prot_) const;
  template <class Protocol_>
  uint32_t write(Protocol_* prot_) const;

 private:
  template <class Protocol_>
  void readNoXfer(Protocol_* iprot);

  friend class ::apache::thrift::Cpp2Ops<ConcurrencyControllerDbgInfo>;
  friend void swap(ConcurrencyControllerDbgInfo& a, ConcurrencyControllerDbgInfo& b);
};

template <class Protocol_>
unsigned long ConcurrencyControllerDbgInfo::read(Protocol_* iprot) {
  auto _xferStart = iprot->getCursorPosition();
  readNoXfer(iprot);
  return iprot->getCursorPosition() - _xferStart;
}


/** Glean {"file": "/opt/local/var/macports/build/_opt_local_ppcports_devel_fbthrift/fbthrift/work/fbthrift-2025.04.28.00/thrift/lib/thrift/serverdbginfo.thrift", "name": "ExecutorDbgInfo", "kind": "struct" } */
class ExecutorDbgInfo final  {
 private:
  friend struct ::apache::thrift::detail::st::struct_private_access;
  template<class> friend struct ::apache::thrift::detail::invoke_reffer;

  //  used by a static_assert in the corresponding source
  static constexpr bool __fbthrift_cpp2_gen_json = true;
  static constexpr bool __fbthrift_cpp2_is_runtime_annotation = false;
  static std::string_view __fbthrift_get_field_name(::apache::thrift::FieldOrdinal ord);
  static std::string_view __fbthrift_get_class_name();
  template <class ...>
  FOLLY_ERASE static constexpr std::string_view __fbthrift_get_module_name() noexcept {
    return "serverdbginfo";
  }
  using __fbthrift_reflection_ident_list = folly::tag_t<
    ::apache::thrift::ident::name,
    ::apache::thrift::ident::threadsCount
  >;

  static constexpr const std::int16_t __fbthrift_reflection_field_ids[] = {0,1,2};

  using __fbthrift_reflection_type_tags = folly::tag_t<
    ::apache::thrift::type::string_t,
    ::apache::thrift::type::i32_t
  >;

  static constexpr std::size_t __fbthrift_field_size_v = 2;

  template <typename T>
  using __fbthrift_type_tag = ::apache::thrift::detail::at<__fbthrift_reflection_type_tags, T::value>;

  template <typename T>
  using __fbthrift_ident = ::apache::thrift::detail::at<__fbthrift_reflection_ident_list, T::value>;

  template <typename T> using __fbthrift_ordinal = ::apache::thrift::type::ordinal_tag<
    ::apache::thrift::detail::getFieldOrdinal<T,
                                              __fbthrift_reflection_ident_list,
                                              __fbthrift_reflection_type_tags>(
      __fbthrift_reflection_field_ids
    )
  >;
  void __fbthrift_clear();
  void __fbthrift_clear_terse_fields();
  bool __fbthrift_is_empty() const;

 public:
  using __fbthrift_cpp2_type = ExecutorDbgInfo;
  static constexpr bool __fbthrift_cpp2_is_union =
    false;
  static constexpr bool __fbthrift_cpp2_uses_op_encode =
    false;


 public:

  ExecutorDbgInfo();

  // FragileConstructor for use in initialization lists only.
  [[deprecated("This constructor is deprecated")]]
  ExecutorDbgInfo(apache::thrift::FragileConstructor, ::std::string name__arg, ::std::int32_t threadsCount__arg);

  ExecutorDbgInfo(ExecutorDbgInfo&&) noexcept;

  ExecutorDbgInfo(const ExecutorDbgInfo& src);


  ExecutorDbgInfo& operator=(ExecutorDbgInfo&&) noexcept;
  ExecutorDbgInfo& operator=(const ExecutorDbgInfo& src);

  ~ExecutorDbgInfo();

 private:
  ::std::string __fbthrift_field_name;
 private:
  ::std::int32_t __fbthrift_field_threadsCount;
 private:
  apache::thrift::detail::isset_bitset<2, apache::thrift::detail::IssetBitsetOption::Unpacked> __isset;

 public:

  bool operator==(const ExecutorDbgInfo&) const;
  bool operator<(const ExecutorDbgInfo&) const;

  /** Glean { "field": "name" } */
  template <typename..., typename fbthrift_T = ::std::string>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> name_ref() const& {
    return {this->__fbthrift_field_name, __isset.at(0), __isset.bit(0)};
  }

  /** Glean { "field": "name" } */
  template <typename..., typename fbthrift_T = ::std::string>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> name_ref() & {
    return {this->__fbthrift_field_name, __isset.at(0), __isset.bit(0)};
  }

  /** Glean { "field": "name" } */
  template <typename..., typename fbthrift_T = ::std::string>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> name_ref() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_name), __isset.at(0), __isset.bit(0)};
  }

  /** Glean { "field": "name" } */
  template <typename..., typename fbthrift_T = ::std::string>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> name() const& {
    return {this->__fbthrift_field_name, __isset.at(0), __isset.bit(0)};
  }

  /** Glean { "field": "name" } */
  template <typename..., typename fbthrift_T = ::std::string>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> name() & {
    return {this->__fbthrift_field_name, __isset.at(0), __isset.bit(0)};
  }

  /** Glean { "field": "name" } */
  template <typename..., typename fbthrift_T = ::std::string>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> name() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_name), __isset.at(0), __isset.bit(0)};
  }

  /** Glean { "field": "threadsCount" } */
  template <typename..., typename fbthrift_T = ::std::int32_t>
  FOLLY_ERASE ::apache::thrift::optional_field_ref<const fbthrift_T&> threadsCount_ref() const& {
    return {this->__fbthrift_field_threadsCount, __isset.at(1), __isset.bit(1)};
  }

  /** Glean { "field": "threadsCount" } */
  template <typename..., typename fbthrift_T = ::std::int32_t>
  FOLLY_ERASE ::apache::thrift::optional_field_ref<fbthrift_T&> threadsCount_ref() & {
    return {this->__fbthrift_field_threadsCount, __isset.at(1), __isset.bit(1)};
  }

  /** Glean { "field": "threadsCount" } */
  template <typename..., typename fbthrift_T = ::std::int32_t>
  FOLLY_ERASE ::apache::thrift::optional_field_ref<fbthrift_T&&> threadsCount_ref() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_threadsCount), __isset.at(1), __isset.bit(1)};
  }

  /** Glean { "field": "threadsCount" } */
  template <typename..., typename fbthrift_T = ::std::int32_t>
  FOLLY_ERASE ::apache::thrift::optional_field_ref<const fbthrift_T&> threadsCount() const& {
    return {this->__fbthrift_field_threadsCount, __isset.at(1), __isset.bit(1)};
  }

  /** Glean { "field": "threadsCount" } */
  template <typename..., typename fbthrift_T = ::std::int32_t>
  FOLLY_ERASE ::apache::thrift::optional_field_ref<fbthrift_T&> threadsCount() & {
    return {this->__fbthrift_field_threadsCount, __isset.at(1), __isset.bit(1)};
  }

  /** Glean { "field": "threadsCount" } */
  template <typename..., typename fbthrift_T = ::std::int32_t>
  FOLLY_ERASE ::apache::thrift::optional_field_ref<fbthrift_T&&> threadsCount() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_threadsCount), __isset.at(1), __isset.bit(1)};
  }

  /** Glean { "field": "name" } */
  [[deprecated("Use `FOO.name().value()` instead of `FOO.get_name()`")]]
  const ::std::string& get_name() const& {
    return __fbthrift_field_name;
  }

  /** Glean { "field": "name" } */
  [[deprecated("Use `FOO.name().value()` instead of `FOO.get_name()`")]]
  ::std::string get_name() && {
    return static_cast<::std::string&&>(__fbthrift_field_name);
  }

  /** Glean { "field": "name" } */
  template <typename T_ExecutorDbgInfo_name_struct_setter = ::std::string>
  [[deprecated("Use `FOO.name() = BAR` instead of `FOO.set_name(BAR)`")]]
  ::std::string& set_name(T_ExecutorDbgInfo_name_struct_setter&& name_) {
    name_ref() = std::forward<T_ExecutorDbgInfo_name_struct_setter>(name_);
    return __fbthrift_field_name;
  }

  /** Glean { "field": "threadsCount" } */
  [[deprecated("Use `FOO.threadsCount().value()` instead of `FOO.get_threadsCount()`")]]
  const ::std::int32_t* get_threadsCount() const&;

  /** Glean { "field": "threadsCount" } */
  [[deprecated("Use `FOO.threadsCount().value()` instead of `FOO.get_threadsCount()`")]]
  ::std::int32_t* get_threadsCount() &;

  ::std::int32_t* get_threadsCount() && = delete;

  /** Glean { "field": "threadsCount" } */
  [[deprecated("Use `FOO.threadsCount() = BAR` instead of `FOO.set_threadsCount(BAR)`")]]
  ::std::int32_t& set_threadsCount(::std::int32_t threadsCount_);

  template <class Protocol_>
  unsigned long read(Protocol_* iprot);
  template <class Protocol_>
  uint32_t serializedSize(Protocol_ const* prot_) const;
  template <class Protocol_>
  uint32_t serializedSizeZC(Protocol_ const* prot_) const;
  template <class Protocol_>
  uint32_t write(Protocol_* prot_) const;

 private:
  template <class Protocol_>
  void readNoXfer(Protocol_* iprot);

  friend class ::apache::thrift::Cpp2Ops<ExecutorDbgInfo>;
  friend void swap(ExecutorDbgInfo& a, ExecutorDbgInfo& b);
};

template <class Protocol_>
unsigned long ExecutorDbgInfo::read(Protocol_* iprot) {
  auto _xferStart = iprot->getCursorPosition();
  readNoXfer(iprot);
  return iprot->getCursorPosition() - _xferStart;
}


/** Glean {"file": "/opt/local/var/macports/build/_opt_local_ppcports_devel_fbthrift/fbthrift/work/fbthrift-2025.04.28.00/thrift/lib/thrift/serverdbginfo.thrift", "name": "ResourcePoolDbgInfo", "kind": "struct" } */
class ResourcePoolDbgInfo final  {
 private:
  friend struct ::apache::thrift::detail::st::struct_private_access;
  template<class> friend struct ::apache::thrift::detail::invoke_reffer;

  //  used by a static_assert in the corresponding source
  static constexpr bool __fbthrift_cpp2_gen_json = true;
  static constexpr bool __fbthrift_cpp2_is_runtime_annotation = false;
  static std::string_view __fbthrift_get_field_name(::apache::thrift::FieldOrdinal ord);
  static std::string_view __fbthrift_get_class_name();
  template <class ...>
  FOLLY_ERASE static constexpr std::string_view __fbthrift_get_module_name() noexcept {
    return "serverdbginfo";
  }
  using __fbthrift_reflection_ident_list = folly::tag_t<
    ::apache::thrift::ident::name,
    ::apache::thrift::ident::requestPileDbgInfo,
    ::apache::thrift::ident::concurrencyControllerDbgInfo,
    ::apache::thrift::ident::executorDbgInfo
  >;

  static constexpr const std::int16_t __fbthrift_reflection_field_ids[] = {0,1,2,3,4};

  using __fbthrift_reflection_type_tags = folly::tag_t<
    ::apache::thrift::type::string_t,
    ::apache::thrift::type::struct_t<::apache::thrift::serverdbginfo::RequestPileDbgInfo>,
    ::apache::thrift::type::struct_t<::apache::thrift::serverdbginfo::ConcurrencyControllerDbgInfo>,
    ::apache::thrift::type::struct_t<::apache::thrift::serverdbginfo::ExecutorDbgInfo>
  >;

  static constexpr std::size_t __fbthrift_field_size_v = 4;

  template <typename T>
  using __fbthrift_type_tag = ::apache::thrift::detail::at<__fbthrift_reflection_type_tags, T::value>;

  template <typename T>
  using __fbthrift_ident = ::apache::thrift::detail::at<__fbthrift_reflection_ident_list, T::value>;

  template <typename T> using __fbthrift_ordinal = ::apache::thrift::type::ordinal_tag<
    ::apache::thrift::detail::getFieldOrdinal<T,
                                              __fbthrift_reflection_ident_list,
                                              __fbthrift_reflection_type_tags>(
      __fbthrift_reflection_field_ids
    )
  >;
  void __fbthrift_clear();
  void __fbthrift_clear_terse_fields();
  bool __fbthrift_is_empty() const;

 public:
  using __fbthrift_cpp2_type = ResourcePoolDbgInfo;
  static constexpr bool __fbthrift_cpp2_is_union =
    false;
  static constexpr bool __fbthrift_cpp2_uses_op_encode =
    false;


 public:

  ResourcePoolDbgInfo();

  // FragileConstructor for use in initialization lists only.
  [[deprecated("This constructor is deprecated")]]
  ResourcePoolDbgInfo(apache::thrift::FragileConstructor, ::std::string name__arg, ::apache::thrift::serverdbginfo::RequestPileDbgInfo requestPileDbgInfo__arg, ::apache::thrift::serverdbginfo::ConcurrencyControllerDbgInfo concurrencyControllerDbgInfo__arg, ::apache::thrift::serverdbginfo::ExecutorDbgInfo executorDbgInfo__arg);

  ResourcePoolDbgInfo(ResourcePoolDbgInfo&&) noexcept;

  ResourcePoolDbgInfo(const ResourcePoolDbgInfo& src);


  ResourcePoolDbgInfo& operator=(ResourcePoolDbgInfo&&) noexcept;
  ResourcePoolDbgInfo& operator=(const ResourcePoolDbgInfo& src);

  ~ResourcePoolDbgInfo();

 private:
  ::std::string __fbthrift_field_name;
 private:
  ::apache::thrift::serverdbginfo::RequestPileDbgInfo __fbthrift_field_requestPileDbgInfo;
 private:
  ::apache::thrift::serverdbginfo::ConcurrencyControllerDbgInfo __fbthrift_field_concurrencyControllerDbgInfo;
 private:
  ::apache::thrift::serverdbginfo::ExecutorDbgInfo __fbthrift_field_executorDbgInfo;
 private:
  apache::thrift::detail::isset_bitset<4, apache::thrift::detail::IssetBitsetOption::Unpacked> __isset;

 public:

  bool operator==(const ResourcePoolDbgInfo&) const;
  bool operator<(const ResourcePoolDbgInfo&) const;

  /** Glean { "field": "name" } */
  template <typename..., typename fbthrift_T = ::std::string>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> name_ref() const& {
    return {this->__fbthrift_field_name, __isset.at(0), __isset.bit(0)};
  }

  /** Glean { "field": "name" } */
  template <typename..., typename fbthrift_T = ::std::string>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> name_ref() & {
    return {this->__fbthrift_field_name, __isset.at(0), __isset.bit(0)};
  }

  /** Glean { "field": "name" } */
  template <typename..., typename fbthrift_T = ::std::string>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> name_ref() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_name), __isset.at(0), __isset.bit(0)};
  }

  /** Glean { "field": "name" } */
  template <typename..., typename fbthrift_T = ::std::string>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> name() const& {
    return {this->__fbthrift_field_name, __isset.at(0), __isset.bit(0)};
  }

  /** Glean { "field": "name" } */
  template <typename..., typename fbthrift_T = ::std::string>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> name() & {
    return {this->__fbthrift_field_name, __isset.at(0), __isset.bit(0)};
  }

  /** Glean { "field": "name" } */
  template <typename..., typename fbthrift_T = ::std::string>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> name() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_name), __isset.at(0), __isset.bit(0)};
  }

  /** Glean { "field": "requestPileDbgInfo" } */
  template <typename..., typename fbthrift_T = ::apache::thrift::serverdbginfo::RequestPileDbgInfo>
  FOLLY_ERASE ::apache::thrift::optional_field_ref<const fbthrift_T&> requestPileDbgInfo_ref() const& {
    return {this->__fbthrift_field_requestPileDbgInfo, __isset.at(1), __isset.bit(1)};
  }

  /** Glean { "field": "requestPileDbgInfo" } */
  template <typename..., typename fbthrift_T = ::apache::thrift::serverdbginfo::RequestPileDbgInfo>
  FOLLY_ERASE ::apache::thrift::optional_field_ref<fbthrift_T&> requestPileDbgInfo_ref() & {
    return {this->__fbthrift_field_requestPileDbgInfo, __isset.at(1), __isset.bit(1)};
  }

  /** Glean { "field": "requestPileDbgInfo" } */
  template <typename..., typename fbthrift_T = ::apache::thrift::serverdbginfo::RequestPileDbgInfo>
  FOLLY_ERASE ::apache::thrift::optional_field_ref<fbthrift_T&&> requestPileDbgInfo_ref() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_requestPileDbgInfo), __isset.at(1), __isset.bit(1)};
  }

  /** Glean { "field": "requestPileDbgInfo" } */
  template <typename..., typename fbthrift_T = ::apache::thrift::serverdbginfo::RequestPileDbgInfo>
  FOLLY_ERASE ::apache::thrift::optional_field_ref<const fbthrift_T&> requestPileDbgInfo() const& {
    return {this->__fbthrift_field_requestPileDbgInfo, __isset.at(1), __isset.bit(1)};
  }

  /** Glean { "field": "requestPileDbgInfo" } */
  template <typename..., typename fbthrift_T = ::apache::thrift::serverdbginfo::RequestPileDbgInfo>
  FOLLY_ERASE ::apache::thrift::optional_field_ref<fbthrift_T&> requestPileDbgInfo() & {
    return {this->__fbthrift_field_requestPileDbgInfo, __isset.at(1), __isset.bit(1)};
  }

  /** Glean { "field": "requestPileDbgInfo" } */
  template <typename..., typename fbthrift_T = ::apache::thrift::serverdbginfo::RequestPileDbgInfo>
  FOLLY_ERASE ::apache::thrift::optional_field_ref<fbthrift_T&&> requestPileDbgInfo() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_requestPileDbgInfo), __isset.at(1), __isset.bit(1)};
  }

  /** Glean { "field": "concurrencyControllerDbgInfo" } */
  template <typename..., typename fbthrift_T = ::apache::thrift::serverdbginfo::ConcurrencyControllerDbgInfo>
  FOLLY_ERASE ::apache::thrift::optional_field_ref<const fbthrift_T&> concurrencyControllerDbgInfo_ref() const& {
    return {this->__fbthrift_field_concurrencyControllerDbgInfo, __isset.at(2), __isset.bit(2)};
  }

  /** Glean { "field": "concurrencyControllerDbgInfo" } */
  template <typename..., typename fbthrift_T = ::apache::thrift::serverdbginfo::ConcurrencyControllerDbgInfo>
  FOLLY_ERASE ::apache::thrift::optional_field_ref<fbthrift_T&> concurrencyControllerDbgInfo_ref() & {
    return {this->__fbthrift_field_concurrencyControllerDbgInfo, __isset.at(2), __isset.bit(2)};
  }

  /** Glean { "field": "concurrencyControllerDbgInfo" } */
  template <typename..., typename fbthrift_T = ::apache::thrift::serverdbginfo::ConcurrencyControllerDbgInfo>
  FOLLY_ERASE ::apache::thrift::optional_field_ref<fbthrift_T&&> concurrencyControllerDbgInfo_ref() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_concurrencyControllerDbgInfo), __isset.at(2), __isset.bit(2)};
  }

  /** Glean { "field": "concurrencyControllerDbgInfo" } */
  template <typename..., typename fbthrift_T = ::apache::thrift::serverdbginfo::ConcurrencyControllerDbgInfo>
  FOLLY_ERASE ::apache::thrift::optional_field_ref<const fbthrift_T&> concurrencyControllerDbgInfo() const& {
    return {this->__fbthrift_field_concurrencyControllerDbgInfo, __isset.at(2), __isset.bit(2)};
  }

  /** Glean { "field": "concurrencyControllerDbgInfo" } */
  template <typename..., typename fbthrift_T = ::apache::thrift::serverdbginfo::ConcurrencyControllerDbgInfo>
  FOLLY_ERASE ::apache::thrift::optional_field_ref<fbthrift_T&> concurrencyControllerDbgInfo() & {
    return {this->__fbthrift_field_concurrencyControllerDbgInfo, __isset.at(2), __isset.bit(2)};
  }

  /** Glean { "field": "concurrencyControllerDbgInfo" } */
  template <typename..., typename fbthrift_T = ::apache::thrift::serverdbginfo::ConcurrencyControllerDbgInfo>
  FOLLY_ERASE ::apache::thrift::optional_field_ref<fbthrift_T&&> concurrencyControllerDbgInfo() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_concurrencyControllerDbgInfo), __isset.at(2), __isset.bit(2)};
  }

  /** Glean { "field": "executorDbgInfo" } */
  template <typename..., typename fbthrift_T = ::apache::thrift::serverdbginfo::ExecutorDbgInfo>
  FOLLY_ERASE ::apache::thrift::optional_field_ref<const fbthrift_T&> executorDbgInfo_ref() const& {
    return {this->__fbthrift_field_executorDbgInfo, __isset.at(3), __isset.bit(3)};
  }

  /** Glean { "field": "executorDbgInfo" } */
  template <typename..., typename fbthrift_T = ::apache::thrift::serverdbginfo::ExecutorDbgInfo>
  FOLLY_ERASE ::apache::thrift::optional_field_ref<fbthrift_T&> executorDbgInfo_ref() & {
    return {this->__fbthrift_field_executorDbgInfo, __isset.at(3), __isset.bit(3)};
  }

  /** Glean { "field": "executorDbgInfo" } */
  template <typename..., typename fbthrift_T = ::apache::thrift::serverdbginfo::ExecutorDbgInfo>
  FOLLY_ERASE ::apache::thrift::optional_field_ref<fbthrift_T&&> executorDbgInfo_ref() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_executorDbgInfo), __isset.at(3), __isset.bit(3)};
  }

  /** Glean { "field": "executorDbgInfo" } */
  template <typename..., typename fbthrift_T = ::apache::thrift::serverdbginfo::ExecutorDbgInfo>
  FOLLY_ERASE ::apache::thrift::optional_field_ref<const fbthrift_T&> executorDbgInfo() const& {
    return {this->__fbthrift_field_executorDbgInfo, __isset.at(3), __isset.bit(3)};
  }

  /** Glean { "field": "executorDbgInfo" } */
  template <typename..., typename fbthrift_T = ::apache::thrift::serverdbginfo::ExecutorDbgInfo>
  FOLLY_ERASE ::apache::thrift::optional_field_ref<fbthrift_T&> executorDbgInfo() & {
    return {this->__fbthrift_field_executorDbgInfo, __isset.at(3), __isset.bit(3)};
  }

  /** Glean { "field": "executorDbgInfo" } */
  template <typename..., typename fbthrift_T = ::apache::thrift::serverdbginfo::ExecutorDbgInfo>
  FOLLY_ERASE ::apache::thrift::optional_field_ref<fbthrift_T&&> executorDbgInfo() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_executorDbgInfo), __isset.at(3), __isset.bit(3)};
  }

  /** Glean { "field": "name" } */
  [[deprecated("Use `FOO.name().value()` instead of `FOO.get_name()`")]]
  const ::std::string& get_name() const& {
    return __fbthrift_field_name;
  }

  /** Glean { "field": "name" } */
  [[deprecated("Use `FOO.name().value()` instead of `FOO.get_name()`")]]
  ::std::string get_name() && {
    return static_cast<::std::string&&>(__fbthrift_field_name);
  }

  /** Glean { "field": "name" } */
  template <typename T_ResourcePoolDbgInfo_name_struct_setter = ::std::string>
  [[deprecated("Use `FOO.name() = BAR` instead of `FOO.set_name(BAR)`")]]
  ::std::string& set_name(T_ResourcePoolDbgInfo_name_struct_setter&& name_) {
    name_ref() = std::forward<T_ResourcePoolDbgInfo_name_struct_setter>(name_);
    return __fbthrift_field_name;
  }

  /** Glean { "field": "requestPileDbgInfo" } */
  [[deprecated("Use `FOO.requestPileDbgInfo().value()` instead of `FOO.get_requestPileDbgInfo()`")]]
  const ::apache::thrift::serverdbginfo::RequestPileDbgInfo* get_requestPileDbgInfo() const&;

  /** Glean { "field": "requestPileDbgInfo" } */
  [[deprecated("Use `FOO.requestPileDbgInfo().value()` instead of `FOO.get_requestPileDbgInfo()`")]]
  ::apache::thrift::serverdbginfo::RequestPileDbgInfo* get_requestPileDbgInfo() &;

  ::apache::thrift::serverdbginfo::RequestPileDbgInfo* get_requestPileDbgInfo() && = delete;

  /** Glean { "field": "requestPileDbgInfo" } */
  template <typename T_ResourcePoolDbgInfo_requestPileDbgInfo_struct_setter = ::apache::thrift::serverdbginfo::RequestPileDbgInfo>
  [[deprecated("Use `FOO.requestPileDbgInfo() = BAR` instead of `FOO.set_requestPileDbgInfo(BAR)`")]]
  ::apache::thrift::serverdbginfo::RequestPileDbgInfo& set_requestPileDbgInfo(T_ResourcePoolDbgInfo_requestPileDbgInfo_struct_setter&& requestPileDbgInfo_) {
    requestPileDbgInfo_ref() = std::forward<T_ResourcePoolDbgInfo_requestPileDbgInfo_struct_setter>(requestPileDbgInfo_);
    return __fbthrift_field_requestPileDbgInfo;
  }

  /** Glean { "field": "concurrencyControllerDbgInfo" } */
  [[deprecated("Use `FOO.concurrencyControllerDbgInfo().value()` instead of `FOO.get_concurrencyControllerDbgInfo()`")]]
  const ::apache::thrift::serverdbginfo::ConcurrencyControllerDbgInfo* get_concurrencyControllerDbgInfo() const&;

  /** Glean { "field": "concurrencyControllerDbgInfo" } */
  [[deprecated("Use `FOO.concurrencyControllerDbgInfo().value()` instead of `FOO.get_concurrencyControllerDbgInfo()`")]]
  ::apache::thrift::serverdbginfo::ConcurrencyControllerDbgInfo* get_concurrencyControllerDbgInfo() &;

  ::apache::thrift::serverdbginfo::ConcurrencyControllerDbgInfo* get_concurrencyControllerDbgInfo() && = delete;

  /** Glean { "field": "concurrencyControllerDbgInfo" } */
  template <typename T_ResourcePoolDbgInfo_concurrencyControllerDbgInfo_struct_setter = ::apache::thrift::serverdbginfo::ConcurrencyControllerDbgInfo>
  [[deprecated("Use `FOO.concurrencyControllerDbgInfo() = BAR` instead of `FOO.set_concurrencyControllerDbgInfo(BAR)`")]]
  ::apache::thrift::serverdbginfo::ConcurrencyControllerDbgInfo& set_concurrencyControllerDbgInfo(T_ResourcePoolDbgInfo_concurrencyControllerDbgInfo_struct_setter&& concurrencyControllerDbgInfo_) {
    concurrencyControllerDbgInfo_ref() = std::forward<T_ResourcePoolDbgInfo_concurrencyControllerDbgInfo_struct_setter>(concurrencyControllerDbgInfo_);
    return __fbthrift_field_concurrencyControllerDbgInfo;
  }

  /** Glean { "field": "executorDbgInfo" } */
  [[deprecated("Use `FOO.executorDbgInfo().value()` instead of `FOO.get_executorDbgInfo()`")]]
  const ::apache::thrift::serverdbginfo::ExecutorDbgInfo* get_executorDbgInfo() const&;

  /** Glean { "field": "executorDbgInfo" } */
  [[deprecated("Use `FOO.executorDbgInfo().value()` instead of `FOO.get_executorDbgInfo()`")]]
  ::apache::thrift::serverdbginfo::ExecutorDbgInfo* get_executorDbgInfo() &;

  ::apache::thrift::serverdbginfo::ExecutorDbgInfo* get_executorDbgInfo() && = delete;

  /** Glean { "field": "executorDbgInfo" } */
  template <typename T_ResourcePoolDbgInfo_executorDbgInfo_struct_setter = ::apache::thrift::serverdbginfo::ExecutorDbgInfo>
  [[deprecated("Use `FOO.executorDbgInfo() = BAR` instead of `FOO.set_executorDbgInfo(BAR)`")]]
  ::apache::thrift::serverdbginfo::ExecutorDbgInfo& set_executorDbgInfo(T_ResourcePoolDbgInfo_executorDbgInfo_struct_setter&& executorDbgInfo_) {
    executorDbgInfo_ref() = std::forward<T_ResourcePoolDbgInfo_executorDbgInfo_struct_setter>(executorDbgInfo_);
    return __fbthrift_field_executorDbgInfo;
  }

  template <class Protocol_>
  unsigned long read(Protocol_* iprot);
  template <class Protocol_>
  uint32_t serializedSize(Protocol_ const* prot_) const;
  template <class Protocol_>
  uint32_t serializedSizeZC(Protocol_ const* prot_) const;
  template <class Protocol_>
  uint32_t write(Protocol_* prot_) const;

 private:
  template <class Protocol_>
  void readNoXfer(Protocol_* iprot);

  friend class ::apache::thrift::Cpp2Ops<ResourcePoolDbgInfo>;
  friend void swap(ResourcePoolDbgInfo& a, ResourcePoolDbgInfo& b);
};

template <class Protocol_>
unsigned long ResourcePoolDbgInfo::read(Protocol_* iprot) {
  auto _xferStart = iprot->getCursorPosition();
  readNoXfer(iprot);
  return iprot->getCursorPosition() - _xferStart;
}


/** Glean {"file": "/opt/local/var/macports/build/_opt_local_ppcports_devel_fbthrift/fbthrift/work/fbthrift-2025.04.28.00/thrift/lib/thrift/serverdbginfo.thrift", "name": "CPUConcurrencyControllerDbgInfo", "kind": "struct" } */
class CPUConcurrencyControllerDbgInfo final  {
 private:
  friend struct ::apache::thrift::detail::st::struct_private_access;
  template<class> friend struct ::apache::thrift::detail::invoke_reffer;

  //  used by a static_assert in the corresponding source
  static constexpr bool __fbthrift_cpp2_gen_json = true;
  static constexpr bool __fbthrift_cpp2_is_runtime_annotation = false;
  static std::string_view __fbthrift_get_field_name(::apache::thrift::FieldOrdinal ord);
  static std::string_view __fbthrift_get_class_name();
  template <class ...>
  FOLLY_ERASE static constexpr std::string_view __fbthrift_get_module_name() noexcept {
    return "serverdbginfo";
  }
  using __fbthrift_reflection_ident_list = folly::tag_t<
    ::apache::thrift::ident::mode,
    ::apache::thrift::ident::method,
    ::apache::thrift::ident::cpuTarget,
    ::apache::thrift::ident::cpuLoadSource,
    ::apache::thrift::ident::refreshPeriodMs,
    ::apache::thrift::ident::additiveMultiplier,
    ::apache::thrift::ident::decreaseMultiplier,
    ::apache::thrift::ident::increaseDistanceRatio,
    ::apache::thrift::ident::bumpOnError,
    ::apache::thrift::ident::refractoryPeriodMs,
    ::apache::thrift::ident::initialEstimateFactor,
    ::apache::thrift::ident::initialEstimatePercentile,
    ::apache::thrift::ident::collectionSampleSize,
    ::apache::thrift::ident::concurrencyUpperBound,
    ::apache::thrift::ident::concurrencyLowerBound,
    ::apache::thrift::ident::cpuLoad
  >;

  static constexpr const std::int16_t __fbthrift_reflection_field_ids[] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16};

  using __fbthrift_reflection_type_tags = folly::tag_t<
    ::apache::thrift::type::string_t,
    ::apache::thrift::type::string_t,
    ::apache::thrift::type::i16_t,
    ::apache::thrift::type::string_t,
    ::apache::thrift::type::i64_t,
    ::apache::thrift::type::double_t,
    ::apache::thrift::type::double_t,
    ::apache::thrift::type::double_t,
    ::apache::thrift::type::bool_t,
    ::apache::thrift::type::i64_t,
    ::apache::thrift::type::double_t,
    ::apache::thrift::type::double_t,
    ::apache::thrift::type::i64_t,
    ::apache::thrift::type::i64_t,
    ::apache::thrift::type::i64_t,
    ::apache::thrift::type::i16_t
  >;

  static constexpr std::size_t __fbthrift_field_size_v = 16;

  template <typename T>
  using __fbthrift_type_tag = ::apache::thrift::detail::at<__fbthrift_reflection_type_tags, T::value>;

  template <typename T>
  using __fbthrift_ident = ::apache::thrift::detail::at<__fbthrift_reflection_ident_list, T::value>;

  template <typename T> using __fbthrift_ordinal = ::apache::thrift::type::ordinal_tag<
    ::apache::thrift::detail::getFieldOrdinal<T,
                                              __fbthrift_reflection_ident_list,
                                              __fbthrift_reflection_type_tags>(
      __fbthrift_reflection_field_ids
    )
  >;
  void __fbthrift_clear();
  void __fbthrift_clear_terse_fields();
  bool __fbthrift_is_empty() const;

 public:
  using __fbthrift_cpp2_type = CPUConcurrencyControllerDbgInfo;
  static constexpr bool __fbthrift_cpp2_is_union =
    false;
  static constexpr bool __fbthrift_cpp2_uses_op_encode =
    false;


 public:

  CPUConcurrencyControllerDbgInfo();

  // FragileConstructor for use in initialization lists only.
  [[deprecated("This constructor is deprecated")]]
  CPUConcurrencyControllerDbgInfo(apache::thrift::FragileConstructor, ::std::string mode__arg, ::std::string method__arg, ::std::int16_t cpuTarget__arg, ::std::string cpuLoadSource__arg, ::std::int64_t refreshPeriodMs__arg, double additiveMultiplier__arg, double decreaseMultiplier__arg, double increaseDistanceRatio__arg, bool bumpOnError__arg, ::std::int64_t refractoryPeriodMs__arg, double initialEstimateFactor__arg, double initialEstimatePercentile__arg, ::std::int64_t collectionSampleSize__arg, ::std::int64_t concurrencyUpperBound__arg, ::std::int64_t concurrencyLowerBound__arg, ::std::int16_t cpuLoad__arg);

  CPUConcurrencyControllerDbgInfo(CPUConcurrencyControllerDbgInfo&&) noexcept;

  CPUConcurrencyControllerDbgInfo(const CPUConcurrencyControllerDbgInfo& src);


  CPUConcurrencyControllerDbgInfo& operator=(CPUConcurrencyControllerDbgInfo&&) noexcept;
  CPUConcurrencyControllerDbgInfo& operator=(const CPUConcurrencyControllerDbgInfo& src);

  ~CPUConcurrencyControllerDbgInfo();

 private:
  ::std::string __fbthrift_field_mode;
 private:
  ::std::string __fbthrift_field_method;
 private:
  ::std::int16_t __fbthrift_field_cpuTarget;
 private:
  ::std::string __fbthrift_field_cpuLoadSource;
 private:
  ::std::int64_t __fbthrift_field_refreshPeriodMs;
 private:
  double __fbthrift_field_additiveMultiplier;
 private:
  double __fbthrift_field_decreaseMultiplier;
 private:
  double __fbthrift_field_increaseDistanceRatio;
 private:
  bool __fbthrift_field_bumpOnError;
 private:
  ::std::int64_t __fbthrift_field_refractoryPeriodMs;
 private:
  double __fbthrift_field_initialEstimateFactor;
 private:
  double __fbthrift_field_initialEstimatePercentile;
 private:
  ::std::int64_t __fbthrift_field_collectionSampleSize;
 private:
  ::std::int64_t __fbthrift_field_concurrencyUpperBound;
 private:
  ::std::int64_t __fbthrift_field_concurrencyLowerBound;
 private:
  ::std::int16_t __fbthrift_field_cpuLoad;
 private:
  apache::thrift::detail::isset_bitset<16, apache::thrift::detail::IssetBitsetOption::Unpacked> __isset;

 public:

  bool operator==(const CPUConcurrencyControllerDbgInfo&) const;
  bool operator<(const CPUConcurrencyControllerDbgInfo&) const;

  /** Glean { "field": "mode" } */
  template <typename..., typename fbthrift_T = ::std::string>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> mode_ref() const& {
    return {this->__fbthrift_field_mode, __isset.at(0), __isset.bit(0)};
  }

  /** Glean { "field": "mode" } */
  template <typename..., typename fbthrift_T = ::std::string>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> mode_ref() & {
    return {this->__fbthrift_field_mode, __isset.at(0), __isset.bit(0)};
  }

  /** Glean { "field": "mode" } */
  template <typename..., typename fbthrift_T = ::std::string>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> mode_ref() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_mode), __isset.at(0), __isset.bit(0)};
  }

  /** Glean { "field": "mode" } */
  template <typename..., typename fbthrift_T = ::std::string>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> mode() const& {
    return {this->__fbthrift_field_mode, __isset.at(0), __isset.bit(0)};
  }

  /** Glean { "field": "mode" } */
  template <typename..., typename fbthrift_T = ::std::string>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> mode() & {
    return {this->__fbthrift_field_mode, __isset.at(0), __isset.bit(0)};
  }

  /** Glean { "field": "mode" } */
  template <typename..., typename fbthrift_T = ::std::string>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> mode() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_mode), __isset.at(0), __isset.bit(0)};
  }

  /** Glean { "field": "method" } */
  template <typename..., typename fbthrift_T = ::std::string>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> method_ref() const& {
    return {this->__fbthrift_field_method, __isset.at(1), __isset.bit(1)};
  }

  /** Glean { "field": "method" } */
  template <typename..., typename fbthrift_T = ::std::string>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> method_ref() & {
    return {this->__fbthrift_field_method, __isset.at(1), __isset.bit(1)};
  }

  /** Glean { "field": "method" } */
  template <typename..., typename fbthrift_T = ::std::string>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> method_ref() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_method), __isset.at(1), __isset.bit(1)};
  }

  /** Glean { "field": "method" } */
  template <typename..., typename fbthrift_T = ::std::string>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> method() const& {
    return {this->__fbthrift_field_method, __isset.at(1), __isset.bit(1)};
  }

  /** Glean { "field": "method" } */
  template <typename..., typename fbthrift_T = ::std::string>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> method() & {
    return {this->__fbthrift_field_method, __isset.at(1), __isset.bit(1)};
  }

  /** Glean { "field": "method" } */
  template <typename..., typename fbthrift_T = ::std::string>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> method() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_method), __isset.at(1), __isset.bit(1)};
  }

  /** Glean { "field": "cpuTarget" } */
  template <typename..., typename fbthrift_T = ::std::int16_t>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> cpuTarget_ref() const& {
    return {this->__fbthrift_field_cpuTarget, __isset.at(2), __isset.bit(2)};
  }

  /** Glean { "field": "cpuTarget" } */
  template <typename..., typename fbthrift_T = ::std::int16_t>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> cpuTarget_ref() & {
    return {this->__fbthrift_field_cpuTarget, __isset.at(2), __isset.bit(2)};
  }

  /** Glean { "field": "cpuTarget" } */
  template <typename..., typename fbthrift_T = ::std::int16_t>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> cpuTarget_ref() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_cpuTarget), __isset.at(2), __isset.bit(2)};
  }

  /** Glean { "field": "cpuTarget" } */
  template <typename..., typename fbthrift_T = ::std::int16_t>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> cpuTarget() const& {
    return {this->__fbthrift_field_cpuTarget, __isset.at(2), __isset.bit(2)};
  }

  /** Glean { "field": "cpuTarget" } */
  template <typename..., typename fbthrift_T = ::std::int16_t>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> cpuTarget() & {
    return {this->__fbthrift_field_cpuTarget, __isset.at(2), __isset.bit(2)};
  }

  /** Glean { "field": "cpuTarget" } */
  template <typename..., typename fbthrift_T = ::std::int16_t>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> cpuTarget() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_cpuTarget), __isset.at(2), __isset.bit(2)};
  }

  /** Glean { "field": "cpuLoadSource" } */
  template <typename..., typename fbthrift_T = ::std::string>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> cpuLoadSource_ref() const& {
    return {this->__fbthrift_field_cpuLoadSource, __isset.at(3), __isset.bit(3)};
  }

  /** Glean { "field": "cpuLoadSource" } */
  template <typename..., typename fbthrift_T = ::std::string>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> cpuLoadSource_ref() & {
    return {this->__fbthrift_field_cpuLoadSource, __isset.at(3), __isset.bit(3)};
  }

  /** Glean { "field": "cpuLoadSource" } */
  template <typename..., typename fbthrift_T = ::std::string>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> cpuLoadSource_ref() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_cpuLoadSource), __isset.at(3), __isset.bit(3)};
  }

  /** Glean { "field": "cpuLoadSource" } */
  template <typename..., typename fbthrift_T = ::std::string>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> cpuLoadSource() const& {
    return {this->__fbthrift_field_cpuLoadSource, __isset.at(3), __isset.bit(3)};
  }

  /** Glean { "field": "cpuLoadSource" } */
  template <typename..., typename fbthrift_T = ::std::string>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> cpuLoadSource() & {
    return {this->__fbthrift_field_cpuLoadSource, __isset.at(3), __isset.bit(3)};
  }

  /** Glean { "field": "cpuLoadSource" } */
  template <typename..., typename fbthrift_T = ::std::string>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> cpuLoadSource() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_cpuLoadSource), __isset.at(3), __isset.bit(3)};
  }

  /** Glean { "field": "refreshPeriodMs" } */
  template <typename..., typename fbthrift_T = ::std::int64_t>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> refreshPeriodMs_ref() const& {
    return {this->__fbthrift_field_refreshPeriodMs, __isset.at(4), __isset.bit(4)};
  }

  /** Glean { "field": "refreshPeriodMs" } */
  template <typename..., typename fbthrift_T = ::std::int64_t>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> refreshPeriodMs_ref() & {
    return {this->__fbthrift_field_refreshPeriodMs, __isset.at(4), __isset.bit(4)};
  }

  /** Glean { "field": "refreshPeriodMs" } */
  template <typename..., typename fbthrift_T = ::std::int64_t>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> refreshPeriodMs_ref() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_refreshPeriodMs), __isset.at(4), __isset.bit(4)};
  }

  /** Glean { "field": "refreshPeriodMs" } */
  template <typename..., typename fbthrift_T = ::std::int64_t>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> refreshPeriodMs() const& {
    return {this->__fbthrift_field_refreshPeriodMs, __isset.at(4), __isset.bit(4)};
  }

  /** Glean { "field": "refreshPeriodMs" } */
  template <typename..., typename fbthrift_T = ::std::int64_t>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> refreshPeriodMs() & {
    return {this->__fbthrift_field_refreshPeriodMs, __isset.at(4), __isset.bit(4)};
  }

  /** Glean { "field": "refreshPeriodMs" } */
  template <typename..., typename fbthrift_T = ::std::int64_t>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> refreshPeriodMs() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_refreshPeriodMs), __isset.at(4), __isset.bit(4)};
  }

  /** Glean { "field": "additiveMultiplier" } */
  template <typename..., typename fbthrift_T = double>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> additiveMultiplier_ref() const& {
    return {this->__fbthrift_field_additiveMultiplier, __isset.at(5), __isset.bit(5)};
  }

  /** Glean { "field": "additiveMultiplier" } */
  template <typename..., typename fbthrift_T = double>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> additiveMultiplier_ref() & {
    return {this->__fbthrift_field_additiveMultiplier, __isset.at(5), __isset.bit(5)};
  }

  /** Glean { "field": "additiveMultiplier" } */
  template <typename..., typename fbthrift_T = double>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> additiveMultiplier_ref() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_additiveMultiplier), __isset.at(5), __isset.bit(5)};
  }

  /** Glean { "field": "additiveMultiplier" } */
  template <typename..., typename fbthrift_T = double>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> additiveMultiplier() const& {
    return {this->__fbthrift_field_additiveMultiplier, __isset.at(5), __isset.bit(5)};
  }

  /** Glean { "field": "additiveMultiplier" } */
  template <typename..., typename fbthrift_T = double>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> additiveMultiplier() & {
    return {this->__fbthrift_field_additiveMultiplier, __isset.at(5), __isset.bit(5)};
  }

  /** Glean { "field": "additiveMultiplier" } */
  template <typename..., typename fbthrift_T = double>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> additiveMultiplier() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_additiveMultiplier), __isset.at(5), __isset.bit(5)};
  }

  /** Glean { "field": "decreaseMultiplier" } */
  template <typename..., typename fbthrift_T = double>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> decreaseMultiplier_ref() const& {
    return {this->__fbthrift_field_decreaseMultiplier, __isset.at(6), __isset.bit(6)};
  }

  /** Glean { "field": "decreaseMultiplier" } */
  template <typename..., typename fbthrift_T = double>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> decreaseMultiplier_ref() & {
    return {this->__fbthrift_field_decreaseMultiplier, __isset.at(6), __isset.bit(6)};
  }

  /** Glean { "field": "decreaseMultiplier" } */
  template <typename..., typename fbthrift_T = double>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> decreaseMultiplier_ref() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_decreaseMultiplier), __isset.at(6), __isset.bit(6)};
  }

  /** Glean { "field": "decreaseMultiplier" } */
  template <typename..., typename fbthrift_T = double>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> decreaseMultiplier() const& {
    return {this->__fbthrift_field_decreaseMultiplier, __isset.at(6), __isset.bit(6)};
  }

  /** Glean { "field": "decreaseMultiplier" } */
  template <typename..., typename fbthrift_T = double>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> decreaseMultiplier() & {
    return {this->__fbthrift_field_decreaseMultiplier, __isset.at(6), __isset.bit(6)};
  }

  /** Glean { "field": "decreaseMultiplier" } */
  template <typename..., typename fbthrift_T = double>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> decreaseMultiplier() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_decreaseMultiplier), __isset.at(6), __isset.bit(6)};
  }

  /** Glean { "field": "increaseDistanceRatio" } */
  template <typename..., typename fbthrift_T = double>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> increaseDistanceRatio_ref() const& {
    return {this->__fbthrift_field_increaseDistanceRatio, __isset.at(7), __isset.bit(7)};
  }

  /** Glean { "field": "increaseDistanceRatio" } */
  template <typename..., typename fbthrift_T = double>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> increaseDistanceRatio_ref() & {
    return {this->__fbthrift_field_increaseDistanceRatio, __isset.at(7), __isset.bit(7)};
  }

  /** Glean { "field": "increaseDistanceRatio" } */
  template <typename..., typename fbthrift_T = double>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> increaseDistanceRatio_ref() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_increaseDistanceRatio), __isset.at(7), __isset.bit(7)};
  }

  /** Glean { "field": "increaseDistanceRatio" } */
  template <typename..., typename fbthrift_T = double>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> increaseDistanceRatio() const& {
    return {this->__fbthrift_field_increaseDistanceRatio, __isset.at(7), __isset.bit(7)};
  }

  /** Glean { "field": "increaseDistanceRatio" } */
  template <typename..., typename fbthrift_T = double>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> increaseDistanceRatio() & {
    return {this->__fbthrift_field_increaseDistanceRatio, __isset.at(7), __isset.bit(7)};
  }

  /** Glean { "field": "increaseDistanceRatio" } */
  template <typename..., typename fbthrift_T = double>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> increaseDistanceRatio() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_increaseDistanceRatio), __isset.at(7), __isset.bit(7)};
  }

  /** Glean { "field": "bumpOnError" } */
  template <typename..., typename fbthrift_T = bool>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> bumpOnError_ref() const& {
    return {this->__fbthrift_field_bumpOnError, __isset.at(8), __isset.bit(8)};
  }

  /** Glean { "field": "bumpOnError" } */
  template <typename..., typename fbthrift_T = bool>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> bumpOnError_ref() & {
    return {this->__fbthrift_field_bumpOnError, __isset.at(8), __isset.bit(8)};
  }

  /** Glean { "field": "bumpOnError" } */
  template <typename..., typename fbthrift_T = bool>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> bumpOnError_ref() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_bumpOnError), __isset.at(8), __isset.bit(8)};
  }

  /** Glean { "field": "bumpOnError" } */
  template <typename..., typename fbthrift_T = bool>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> bumpOnError() const& {
    return {this->__fbthrift_field_bumpOnError, __isset.at(8), __isset.bit(8)};
  }

  /** Glean { "field": "bumpOnError" } */
  template <typename..., typename fbthrift_T = bool>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> bumpOnError() & {
    return {this->__fbthrift_field_bumpOnError, __isset.at(8), __isset.bit(8)};
  }

  /** Glean { "field": "bumpOnError" } */
  template <typename..., typename fbthrift_T = bool>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> bumpOnError() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_bumpOnError), __isset.at(8), __isset.bit(8)};
  }

  /** Glean { "field": "refractoryPeriodMs" } */
  template <typename..., typename fbthrift_T = ::std::int64_t>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> refractoryPeriodMs_ref() const& {
    return {this->__fbthrift_field_refractoryPeriodMs, __isset.at(9), __isset.bit(9)};
  }

  /** Glean { "field": "refractoryPeriodMs" } */
  template <typename..., typename fbthrift_T = ::std::int64_t>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> refractoryPeriodMs_ref() & {
    return {this->__fbthrift_field_refractoryPeriodMs, __isset.at(9), __isset.bit(9)};
  }

  /** Glean { "field": "refractoryPeriodMs" } */
  template <typename..., typename fbthrift_T = ::std::int64_t>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> refractoryPeriodMs_ref() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_refractoryPeriodMs), __isset.at(9), __isset.bit(9)};
  }

  /** Glean { "field": "refractoryPeriodMs" } */
  template <typename..., typename fbthrift_T = ::std::int64_t>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> refractoryPeriodMs() const& {
    return {this->__fbthrift_field_refractoryPeriodMs, __isset.at(9), __isset.bit(9)};
  }

  /** Glean { "field": "refractoryPeriodMs" } */
  template <typename..., typename fbthrift_T = ::std::int64_t>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> refractoryPeriodMs() & {
    return {this->__fbthrift_field_refractoryPeriodMs, __isset.at(9), __isset.bit(9)};
  }

  /** Glean { "field": "refractoryPeriodMs" } */
  template <typename..., typename fbthrift_T = ::std::int64_t>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> refractoryPeriodMs() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_refractoryPeriodMs), __isset.at(9), __isset.bit(9)};
  }

  /** Glean { "field": "initialEstimateFactor" } */
  template <typename..., typename fbthrift_T = double>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> initialEstimateFactor_ref() const& {
    return {this->__fbthrift_field_initialEstimateFactor, __isset.at(10), __isset.bit(10)};
  }

  /** Glean { "field": "initialEstimateFactor" } */
  template <typename..., typename fbthrift_T = double>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> initialEstimateFactor_ref() & {
    return {this->__fbthrift_field_initialEstimateFactor, __isset.at(10), __isset.bit(10)};
  }

  /** Glean { "field": "initialEstimateFactor" } */
  template <typename..., typename fbthrift_T = double>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> initialEstimateFactor_ref() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_initialEstimateFactor), __isset.at(10), __isset.bit(10)};
  }

  /** Glean { "field": "initialEstimateFactor" } */
  template <typename..., typename fbthrift_T = double>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> initialEstimateFactor() const& {
    return {this->__fbthrift_field_initialEstimateFactor, __isset.at(10), __isset.bit(10)};
  }

  /** Glean { "field": "initialEstimateFactor" } */
  template <typename..., typename fbthrift_T = double>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> initialEstimateFactor() & {
    return {this->__fbthrift_field_initialEstimateFactor, __isset.at(10), __isset.bit(10)};
  }

  /** Glean { "field": "initialEstimateFactor" } */
  template <typename..., typename fbthrift_T = double>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> initialEstimateFactor() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_initialEstimateFactor), __isset.at(10), __isset.bit(10)};
  }

  /** Glean { "field": "initialEstimatePercentile" } */
  template <typename..., typename fbthrift_T = double>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> initialEstimatePercentile_ref() const& {
    return {this->__fbthrift_field_initialEstimatePercentile, __isset.at(11), __isset.bit(11)};
  }

  /** Glean { "field": "initialEstimatePercentile" } */
  template <typename..., typename fbthrift_T = double>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> initialEstimatePercentile_ref() & {
    return {this->__fbthrift_field_initialEstimatePercentile, __isset.at(11), __isset.bit(11)};
  }

  /** Glean { "field": "initialEstimatePercentile" } */
  template <typename..., typename fbthrift_T = double>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> initialEstimatePercentile_ref() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_initialEstimatePercentile), __isset.at(11), __isset.bit(11)};
  }

  /** Glean { "field": "initialEstimatePercentile" } */
  template <typename..., typename fbthrift_T = double>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> initialEstimatePercentile() const& {
    return {this->__fbthrift_field_initialEstimatePercentile, __isset.at(11), __isset.bit(11)};
  }

  /** Glean { "field": "initialEstimatePercentile" } */
  template <typename..., typename fbthrift_T = double>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> initialEstimatePercentile() & {
    return {this->__fbthrift_field_initialEstimatePercentile, __isset.at(11), __isset.bit(11)};
  }

  /** Glean { "field": "initialEstimatePercentile" } */
  template <typename..., typename fbthrift_T = double>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> initialEstimatePercentile() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_initialEstimatePercentile), __isset.at(11), __isset.bit(11)};
  }

  /** Glean { "field": "collectionSampleSize" } */
  template <typename..., typename fbthrift_T = ::std::int64_t>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> collectionSampleSize_ref() const& {
    return {this->__fbthrift_field_collectionSampleSize, __isset.at(12), __isset.bit(12)};
  }

  /** Glean { "field": "collectionSampleSize" } */
  template <typename..., typename fbthrift_T = ::std::int64_t>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> collectionSampleSize_ref() & {
    return {this->__fbthrift_field_collectionSampleSize, __isset.at(12), __isset.bit(12)};
  }

  /** Glean { "field": "collectionSampleSize" } */
  template <typename..., typename fbthrift_T = ::std::int64_t>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> collectionSampleSize_ref() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_collectionSampleSize), __isset.at(12), __isset.bit(12)};
  }

  /** Glean { "field": "collectionSampleSize" } */
  template <typename..., typename fbthrift_T = ::std::int64_t>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> collectionSampleSize() const& {
    return {this->__fbthrift_field_collectionSampleSize, __isset.at(12), __isset.bit(12)};
  }

  /** Glean { "field": "collectionSampleSize" } */
  template <typename..., typename fbthrift_T = ::std::int64_t>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> collectionSampleSize() & {
    return {this->__fbthrift_field_collectionSampleSize, __isset.at(12), __isset.bit(12)};
  }

  /** Glean { "field": "collectionSampleSize" } */
  template <typename..., typename fbthrift_T = ::std::int64_t>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> collectionSampleSize() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_collectionSampleSize), __isset.at(12), __isset.bit(12)};
  }

  /** Glean { "field": "concurrencyUpperBound" } */
  template <typename..., typename fbthrift_T = ::std::int64_t>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> concurrencyUpperBound_ref() const& {
    return {this->__fbthrift_field_concurrencyUpperBound, __isset.at(13), __isset.bit(13)};
  }

  /** Glean { "field": "concurrencyUpperBound" } */
  template <typename..., typename fbthrift_T = ::std::int64_t>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> concurrencyUpperBound_ref() & {
    return {this->__fbthrift_field_concurrencyUpperBound, __isset.at(13), __isset.bit(13)};
  }

  /** Glean { "field": "concurrencyUpperBound" } */
  template <typename..., typename fbthrift_T = ::std::int64_t>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> concurrencyUpperBound_ref() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_concurrencyUpperBound), __isset.at(13), __isset.bit(13)};
  }

  /** Glean { "field": "concurrencyUpperBound" } */
  template <typename..., typename fbthrift_T = ::std::int64_t>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> concurrencyUpperBound() const& {
    return {this->__fbthrift_field_concurrencyUpperBound, __isset.at(13), __isset.bit(13)};
  }

  /** Glean { "field": "concurrencyUpperBound" } */
  template <typename..., typename fbthrift_T = ::std::int64_t>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> concurrencyUpperBound() & {
    return {this->__fbthrift_field_concurrencyUpperBound, __isset.at(13), __isset.bit(13)};
  }

  /** Glean { "field": "concurrencyUpperBound" } */
  template <typename..., typename fbthrift_T = ::std::int64_t>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> concurrencyUpperBound() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_concurrencyUpperBound), __isset.at(13), __isset.bit(13)};
  }

  /** Glean { "field": "concurrencyLowerBound" } */
  template <typename..., typename fbthrift_T = ::std::int64_t>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> concurrencyLowerBound_ref() const& {
    return {this->__fbthrift_field_concurrencyLowerBound, __isset.at(14), __isset.bit(14)};
  }

  /** Glean { "field": "concurrencyLowerBound" } */
  template <typename..., typename fbthrift_T = ::std::int64_t>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> concurrencyLowerBound_ref() & {
    return {this->__fbthrift_field_concurrencyLowerBound, __isset.at(14), __isset.bit(14)};
  }

  /** Glean { "field": "concurrencyLowerBound" } */
  template <typename..., typename fbthrift_T = ::std::int64_t>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> concurrencyLowerBound_ref() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_concurrencyLowerBound), __isset.at(14), __isset.bit(14)};
  }

  /** Glean { "field": "concurrencyLowerBound" } */
  template <typename..., typename fbthrift_T = ::std::int64_t>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> concurrencyLowerBound() const& {
    return {this->__fbthrift_field_concurrencyLowerBound, __isset.at(14), __isset.bit(14)};
  }

  /** Glean { "field": "concurrencyLowerBound" } */
  template <typename..., typename fbthrift_T = ::std::int64_t>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> concurrencyLowerBound() & {
    return {this->__fbthrift_field_concurrencyLowerBound, __isset.at(14), __isset.bit(14)};
  }

  /** Glean { "field": "concurrencyLowerBound" } */
  template <typename..., typename fbthrift_T = ::std::int64_t>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> concurrencyLowerBound() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_concurrencyLowerBound), __isset.at(14), __isset.bit(14)};
  }

  /** Glean { "field": "cpuLoad" } */
  template <typename..., typename fbthrift_T = ::std::int16_t>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> cpuLoad_ref() const& {
    return {this->__fbthrift_field_cpuLoad, __isset.at(15), __isset.bit(15)};
  }

  /** Glean { "field": "cpuLoad" } */
  template <typename..., typename fbthrift_T = ::std::int16_t>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> cpuLoad_ref() & {
    return {this->__fbthrift_field_cpuLoad, __isset.at(15), __isset.bit(15)};
  }

  /** Glean { "field": "cpuLoad" } */
  template <typename..., typename fbthrift_T = ::std::int16_t>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> cpuLoad_ref() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_cpuLoad), __isset.at(15), __isset.bit(15)};
  }

  /** Glean { "field": "cpuLoad" } */
  template <typename..., typename fbthrift_T = ::std::int16_t>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> cpuLoad() const& {
    return {this->__fbthrift_field_cpuLoad, __isset.at(15), __isset.bit(15)};
  }

  /** Glean { "field": "cpuLoad" } */
  template <typename..., typename fbthrift_T = ::std::int16_t>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> cpuLoad() & {
    return {this->__fbthrift_field_cpuLoad, __isset.at(15), __isset.bit(15)};
  }

  /** Glean { "field": "cpuLoad" } */
  template <typename..., typename fbthrift_T = ::std::int16_t>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> cpuLoad() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_cpuLoad), __isset.at(15), __isset.bit(15)};
  }

  /** Glean { "field": "mode" } */
  [[deprecated("Use `FOO.mode().value()` instead of `FOO.get_mode()`")]]
  const ::std::string& get_mode() const& {
    return __fbthrift_field_mode;
  }

  /** Glean { "field": "mode" } */
  [[deprecated("Use `FOO.mode().value()` instead of `FOO.get_mode()`")]]
  ::std::string get_mode() && {
    return static_cast<::std::string&&>(__fbthrift_field_mode);
  }

  /** Glean { "field": "mode" } */
  template <typename T_CPUConcurrencyControllerDbgInfo_mode_struct_setter = ::std::string>
  [[deprecated("Use `FOO.mode() = BAR` instead of `FOO.set_mode(BAR)`")]]
  ::std::string& set_mode(T_CPUConcurrencyControllerDbgInfo_mode_struct_setter&& mode_) {
    mode_ref() = std::forward<T_CPUConcurrencyControllerDbgInfo_mode_struct_setter>(mode_);
    return __fbthrift_field_mode;
  }

  /** Glean { "field": "method" } */
  [[deprecated("Use `FOO.method().value()` instead of `FOO.get_method()`")]]
  const ::std::string& get_method() const& {
    return __fbthrift_field_method;
  }

  /** Glean { "field": "method" } */
  [[deprecated("Use `FOO.method().value()` instead of `FOO.get_method()`")]]
  ::std::string get_method() && {
    return static_cast<::std::string&&>(__fbthrift_field_method);
  }

  /** Glean { "field": "method" } */
  template <typename T_CPUConcurrencyControllerDbgInfo_method_struct_setter = ::std::string>
  [[deprecated("Use `FOO.method() = BAR` instead of `FOO.set_method(BAR)`")]]
  ::std::string& set_method(T_CPUConcurrencyControllerDbgInfo_method_struct_setter&& method_) {
    method_ref() = std::forward<T_CPUConcurrencyControllerDbgInfo_method_struct_setter>(method_);
    return __fbthrift_field_method;
  }

  /** Glean { "field": "cpuTarget" } */
  [[deprecated("Use `FOO.cpuTarget().value()` instead of `FOO.get_cpuTarget()`")]]
  ::std::int16_t get_cpuTarget() const;

  /** Glean { "field": "cpuTarget" } */
  [[deprecated("Use `FOO.cpuTarget() = BAR` instead of `FOO.set_cpuTarget(BAR)`")]]
  ::std::int16_t& set_cpuTarget(::std::int16_t cpuTarget_);

  /** Glean { "field": "cpuLoadSource" } */
  [[deprecated("Use `FOO.cpuLoadSource().value()` instead of `FOO.get_cpuLoadSource()`")]]
  const ::std::string& get_cpuLoadSource() const& {
    return __fbthrift_field_cpuLoadSource;
  }

  /** Glean { "field": "cpuLoadSource" } */
  [[deprecated("Use `FOO.cpuLoadSource().value()` instead of `FOO.get_cpuLoadSource()`")]]
  ::std::string get_cpuLoadSource() && {
    return static_cast<::std::string&&>(__fbthrift_field_cpuLoadSource);
  }

  /** Glean { "field": "cpuLoadSource" } */
  template <typename T_CPUConcurrencyControllerDbgInfo_cpuLoadSource_struct_setter = ::std::string>
  [[deprecated("Use `FOO.cpuLoadSource() = BAR` instead of `FOO.set_cpuLoadSource(BAR)`")]]
  ::std::string& set_cpuLoadSource(T_CPUConcurrencyControllerDbgInfo_cpuLoadSource_struct_setter&& cpuLoadSource_) {
    cpuLoadSource_ref() = std::forward<T_CPUConcurrencyControllerDbgInfo_cpuLoadSource_struct_setter>(cpuLoadSource_);
    return __fbthrift_field_cpuLoadSource;
  }

  /** Glean { "field": "refreshPeriodMs" } */
  [[deprecated("Use `FOO.refreshPeriodMs().value()` instead of `FOO.get_refreshPeriodMs()`")]]
  ::std::int64_t get_refreshPeriodMs() const;

  /** Glean { "field": "refreshPeriodMs" } */
  [[deprecated("Use `FOO.refreshPeriodMs() = BAR` instead of `FOO.set_refreshPeriodMs(BAR)`")]]
  ::std::int64_t& set_refreshPeriodMs(::std::int64_t refreshPeriodMs_);

  /** Glean { "field": "additiveMultiplier" } */
  [[deprecated("Use `FOO.additiveMultiplier().value()` instead of `FOO.get_additiveMultiplier()`")]]
  double get_additiveMultiplier() const;

  /** Glean { "field": "additiveMultiplier" } */
  [[deprecated("Use `FOO.additiveMultiplier() = BAR` instead of `FOO.set_additiveMultiplier(BAR)`")]]
  double& set_additiveMultiplier(double additiveMultiplier_);

  /** Glean { "field": "decreaseMultiplier" } */
  [[deprecated("Use `FOO.decreaseMultiplier().value()` instead of `FOO.get_decreaseMultiplier()`")]]
  double get_decreaseMultiplier() const;

  /** Glean { "field": "decreaseMultiplier" } */
  [[deprecated("Use `FOO.decreaseMultiplier() = BAR` instead of `FOO.set_decreaseMultiplier(BAR)`")]]
  double& set_decreaseMultiplier(double decreaseMultiplier_);

  /** Glean { "field": "increaseDistanceRatio" } */
  [[deprecated("Use `FOO.increaseDistanceRatio().value()` instead of `FOO.get_increaseDistanceRatio()`")]]
  double get_increaseDistanceRatio() const;

  /** Glean { "field": "increaseDistanceRatio" } */
  [[deprecated("Use `FOO.increaseDistanceRatio() = BAR` instead of `FOO.set_increaseDistanceRatio(BAR)`")]]
  double& set_increaseDistanceRatio(double increaseDistanceRatio_);

  /** Glean { "field": "bumpOnError" } */
  [[deprecated("Use `FOO.bumpOnError().value()` instead of `FOO.get_bumpOnError()`")]]
  bool get_bumpOnError() const;

  /** Glean { "field": "bumpOnError" } */
  [[deprecated("Use `FOO.bumpOnError() = BAR` instead of `FOO.set_bumpOnError(BAR)`")]]
  bool& set_bumpOnError(bool bumpOnError_);

  /** Glean { "field": "refractoryPeriodMs" } */
  [[deprecated("Use `FOO.refractoryPeriodMs().value()` instead of `FOO.get_refractoryPeriodMs()`")]]
  ::std::int64_t get_refractoryPeriodMs() const;

  /** Glean { "field": "refractoryPeriodMs" } */
  [[deprecated("Use `FOO.refractoryPeriodMs() = BAR` instead of `FOO.set_refractoryPeriodMs(BAR)`")]]
  ::std::int64_t& set_refractoryPeriodMs(::std::int64_t refractoryPeriodMs_);

  /** Glean { "field": "initialEstimateFactor" } */
  [[deprecated("Use `FOO.initialEstimateFactor().value()` instead of `FOO.get_initialEstimateFactor()`")]]
  double get_initialEstimateFactor() const;

  /** Glean { "field": "initialEstimateFactor" } */
  [[deprecated("Use `FOO.initialEstimateFactor() = BAR` instead of `FOO.set_initialEstimateFactor(BAR)`")]]
  double& set_initialEstimateFactor(double initialEstimateFactor_);

  /** Glean { "field": "initialEstimatePercentile" } */
  [[deprecated("Use `FOO.initialEstimatePercentile().value()` instead of `FOO.get_initialEstimatePercentile()`")]]
  double get_initialEstimatePercentile() const;

  /** Glean { "field": "initialEstimatePercentile" } */
  [[deprecated("Use `FOO.initialEstimatePercentile() = BAR` instead of `FOO.set_initialEstimatePercentile(BAR)`")]]
  double& set_initialEstimatePercentile(double initialEstimatePercentile_);

  /** Glean { "field": "collectionSampleSize" } */
  [[deprecated("Use `FOO.collectionSampleSize().value()` instead of `FOO.get_collectionSampleSize()`")]]
  ::std::int64_t get_collectionSampleSize() const;

  /** Glean { "field": "collectionSampleSize" } */
  [[deprecated("Use `FOO.collectionSampleSize() = BAR` instead of `FOO.set_collectionSampleSize(BAR)`")]]
  ::std::int64_t& set_collectionSampleSize(::std::int64_t collectionSampleSize_);

  /** Glean { "field": "concurrencyUpperBound" } */
  [[deprecated("Use `FOO.concurrencyUpperBound().value()` instead of `FOO.get_concurrencyUpperBound()`")]]
  ::std::int64_t get_concurrencyUpperBound() const;

  /** Glean { "field": "concurrencyUpperBound" } */
  [[deprecated("Use `FOO.concurrencyUpperBound() = BAR` instead of `FOO.set_concurrencyUpperBound(BAR)`")]]
  ::std::int64_t& set_concurrencyUpperBound(::std::int64_t concurrencyUpperBound_);

  /** Glean { "field": "concurrencyLowerBound" } */
  [[deprecated("Use `FOO.concurrencyLowerBound().value()` instead of `FOO.get_concurrencyLowerBound()`")]]
  ::std::int64_t get_concurrencyLowerBound() const;

  /** Glean { "field": "concurrencyLowerBound" } */
  [[deprecated("Use `FOO.concurrencyLowerBound() = BAR` instead of `FOO.set_concurrencyLowerBound(BAR)`")]]
  ::std::int64_t& set_concurrencyLowerBound(::std::int64_t concurrencyLowerBound_);

  /** Glean { "field": "cpuLoad" } */
  [[deprecated("Use `FOO.cpuLoad().value()` instead of `FOO.get_cpuLoad()`")]]
  ::std::int16_t get_cpuLoad() const;

  /** Glean { "field": "cpuLoad" } */
  [[deprecated("Use `FOO.cpuLoad() = BAR` instead of `FOO.set_cpuLoad(BAR)`")]]
  ::std::int16_t& set_cpuLoad(::std::int16_t cpuLoad_);

  template <class Protocol_>
  unsigned long read(Protocol_* iprot);
  template <class Protocol_>
  uint32_t serializedSize(Protocol_ const* prot_) const;
  template <class Protocol_>
  uint32_t serializedSizeZC(Protocol_ const* prot_) const;
  template <class Protocol_>
  uint32_t write(Protocol_* prot_) const;

 private:
  template <class Protocol_>
  void readNoXfer(Protocol_* iprot);

  friend class ::apache::thrift::Cpp2Ops<CPUConcurrencyControllerDbgInfo>;
  friend void swap(CPUConcurrencyControllerDbgInfo& a, CPUConcurrencyControllerDbgInfo& b);
};

template <class Protocol_>
unsigned long CPUConcurrencyControllerDbgInfo::read(Protocol_* iprot) {
  auto _xferStart = iprot->getCursorPosition();
  readNoXfer(iprot);
  return iprot->getCursorPosition() - _xferStart;
}


/** Glean {"file": "/opt/local/var/macports/build/_opt_local_ppcports_devel_fbthrift/fbthrift/work/fbthrift-2025.04.28.00/thrift/lib/thrift/serverdbginfo.thrift", "name": "ResourcePoolsDbgInfo", "kind": "struct" } */
class ResourcePoolsDbgInfo final  {
 private:
  friend struct ::apache::thrift::detail::st::struct_private_access;
  template<class> friend struct ::apache::thrift::detail::invoke_reffer;

  //  used by a static_assert in the corresponding source
  static constexpr bool __fbthrift_cpp2_gen_json = true;
  static constexpr bool __fbthrift_cpp2_is_runtime_annotation = false;
  static std::string_view __fbthrift_get_field_name(::apache::thrift::FieldOrdinal ord);
  static std::string_view __fbthrift_get_class_name();
  template <class ...>
  FOLLY_ERASE static constexpr std::string_view __fbthrift_get_module_name() noexcept {
    return "serverdbginfo";
  }
  using __fbthrift_reflection_ident_list = folly::tag_t<
    ::apache::thrift::ident::enabled,
    ::apache::thrift::ident::resourcePools
  >;

  static constexpr const std::int16_t __fbthrift_reflection_field_ids[] = {0,1,2};

  using __fbthrift_reflection_type_tags = folly::tag_t<
    ::apache::thrift::type::bool_t,
    ::apache::thrift::type::list<::apache::thrift::type::struct_t<::apache::thrift::serverdbginfo::ResourcePoolDbgInfo>>
  >;

  static constexpr std::size_t __fbthrift_field_size_v = 2;

  template <typename T>
  using __fbthrift_type_tag = ::apache::thrift::detail::at<__fbthrift_reflection_type_tags, T::value>;

  template <typename T>
  using __fbthrift_ident = ::apache::thrift::detail::at<__fbthrift_reflection_ident_list, T::value>;

  template <typename T> using __fbthrift_ordinal = ::apache::thrift::type::ordinal_tag<
    ::apache::thrift::detail::getFieldOrdinal<T,
                                              __fbthrift_reflection_ident_list,
                                              __fbthrift_reflection_type_tags>(
      __fbthrift_reflection_field_ids
    )
  >;
  void __fbthrift_clear();
  void __fbthrift_clear_terse_fields();
  bool __fbthrift_is_empty() const;

 public:
  using __fbthrift_cpp2_type = ResourcePoolsDbgInfo;
  static constexpr bool __fbthrift_cpp2_is_union =
    false;
  static constexpr bool __fbthrift_cpp2_uses_op_encode =
    false;


 public:

  ResourcePoolsDbgInfo();

  // FragileConstructor for use in initialization lists only.
  [[deprecated("This constructor is deprecated")]]
  ResourcePoolsDbgInfo(apache::thrift::FragileConstructor, bool enabled__arg, ::std::vector<::apache::thrift::serverdbginfo::ResourcePoolDbgInfo> resourcePools__arg);

  ResourcePoolsDbgInfo(ResourcePoolsDbgInfo&&) noexcept;

  ResourcePoolsDbgInfo(const ResourcePoolsDbgInfo& src);


  ResourcePoolsDbgInfo& operator=(ResourcePoolsDbgInfo&&) noexcept;
  ResourcePoolsDbgInfo& operator=(const ResourcePoolsDbgInfo& src);

  ~ResourcePoolsDbgInfo();

 private:
  bool __fbthrift_field_enabled;
 private:
  ::std::vector<::apache::thrift::serverdbginfo::ResourcePoolDbgInfo> __fbthrift_field_resourcePools;
 private:
  apache::thrift::detail::isset_bitset<2, apache::thrift::detail::IssetBitsetOption::Unpacked> __isset;

 public:

  bool operator==(const ResourcePoolsDbgInfo&) const;
  bool operator<(const ResourcePoolsDbgInfo&) const;

  /** Glean { "field": "enabled" } */
  template <typename..., typename fbthrift_T = bool>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> enabled_ref() const& {
    return {this->__fbthrift_field_enabled, __isset.at(0), __isset.bit(0)};
  }

  /** Glean { "field": "enabled" } */
  template <typename..., typename fbthrift_T = bool>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> enabled_ref() & {
    return {this->__fbthrift_field_enabled, __isset.at(0), __isset.bit(0)};
  }

  /** Glean { "field": "enabled" } */
  template <typename..., typename fbthrift_T = bool>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> enabled_ref() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_enabled), __isset.at(0), __isset.bit(0)};
  }

  /** Glean { "field": "enabled" } */
  template <typename..., typename fbthrift_T = bool>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> enabled() const& {
    return {this->__fbthrift_field_enabled, __isset.at(0), __isset.bit(0)};
  }

  /** Glean { "field": "enabled" } */
  template <typename..., typename fbthrift_T = bool>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> enabled() & {
    return {this->__fbthrift_field_enabled, __isset.at(0), __isset.bit(0)};
  }

  /** Glean { "field": "enabled" } */
  template <typename..., typename fbthrift_T = bool>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> enabled() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_enabled), __isset.at(0), __isset.bit(0)};
  }

  /** Glean { "field": "resourcePools" } */
  template <typename..., typename fbthrift_T = ::std::vector<::apache::thrift::serverdbginfo::ResourcePoolDbgInfo>>
  FOLLY_ERASE ::apache::thrift::optional_field_ref<const fbthrift_T&> resourcePools_ref() const& {
    return {this->__fbthrift_field_resourcePools, __isset.at(1), __isset.bit(1)};
  }

  /** Glean { "field": "resourcePools" } */
  template <typename..., typename fbthrift_T = ::std::vector<::apache::thrift::serverdbginfo::ResourcePoolDbgInfo>>
  FOLLY_ERASE ::apache::thrift::optional_field_ref<fbthrift_T&> resourcePools_ref() & {
    return {this->__fbthrift_field_resourcePools, __isset.at(1), __isset.bit(1)};
  }

  /** Glean { "field": "resourcePools" } */
  template <typename..., typename fbthrift_T = ::std::vector<::apache::thrift::serverdbginfo::ResourcePoolDbgInfo>>
  FOLLY_ERASE ::apache::thrift::optional_field_ref<fbthrift_T&&> resourcePools_ref() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_resourcePools), __isset.at(1), __isset.bit(1)};
  }

  /** Glean { "field": "resourcePools" } */
  template <typename..., typename fbthrift_T = ::std::vector<::apache::thrift::serverdbginfo::ResourcePoolDbgInfo>>
  FOLLY_ERASE ::apache::thrift::optional_field_ref<const fbthrift_T&> resourcePools() const& {
    return {this->__fbthrift_field_resourcePools, __isset.at(1), __isset.bit(1)};
  }

  /** Glean { "field": "resourcePools" } */
  template <typename..., typename fbthrift_T = ::std::vector<::apache::thrift::serverdbginfo::ResourcePoolDbgInfo>>
  FOLLY_ERASE ::apache::thrift::optional_field_ref<fbthrift_T&> resourcePools() & {
    return {this->__fbthrift_field_resourcePools, __isset.at(1), __isset.bit(1)};
  }

  /** Glean { "field": "resourcePools" } */
  template <typename..., typename fbthrift_T = ::std::vector<::apache::thrift::serverdbginfo::ResourcePoolDbgInfo>>
  FOLLY_ERASE ::apache::thrift::optional_field_ref<fbthrift_T&&> resourcePools() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_resourcePools), __isset.at(1), __isset.bit(1)};
  }

  /** Glean { "field": "enabled" } */
  [[deprecated("Use `FOO.enabled().value()` instead of `FOO.get_enabled()`")]]
  bool get_enabled() const;

  /** Glean { "field": "enabled" } */
  [[deprecated("Use `FOO.enabled() = BAR` instead of `FOO.set_enabled(BAR)`")]]
  bool& set_enabled(bool enabled_);

  /** Glean { "field": "resourcePools" } */
  [[deprecated("Use `FOO.resourcePools().value()` instead of `FOO.get_resourcePools()`")]]
  const ::std::vector<::apache::thrift::serverdbginfo::ResourcePoolDbgInfo>* get_resourcePools() const&;

  /** Glean { "field": "resourcePools" } */
  [[deprecated("Use `FOO.resourcePools().value()` instead of `FOO.get_resourcePools()`")]]
  ::std::vector<::apache::thrift::serverdbginfo::ResourcePoolDbgInfo>* get_resourcePools() &;

  ::std::vector<::apache::thrift::serverdbginfo::ResourcePoolDbgInfo>* get_resourcePools() && = delete;

  /** Glean { "field": "resourcePools" } */
  template <typename T_ResourcePoolsDbgInfo_resourcePools_struct_setter = ::std::vector<::apache::thrift::serverdbginfo::ResourcePoolDbgInfo>>
  [[deprecated("Use `FOO.resourcePools() = BAR` instead of `FOO.set_resourcePools(BAR)`")]]
  ::std::vector<::apache::thrift::serverdbginfo::ResourcePoolDbgInfo>& set_resourcePools(T_ResourcePoolsDbgInfo_resourcePools_struct_setter&& resourcePools_) {
    resourcePools_ref() = std::forward<T_ResourcePoolsDbgInfo_resourcePools_struct_setter>(resourcePools_);
    return __fbthrift_field_resourcePools;
  }

  template <class Protocol_>
  unsigned long read(Protocol_* iprot);
  template <class Protocol_>
  uint32_t serializedSize(Protocol_ const* prot_) const;
  template <class Protocol_>
  uint32_t serializedSizeZC(Protocol_ const* prot_) const;
  template <class Protocol_>
  uint32_t write(Protocol_* prot_) const;

 private:
  template <class Protocol_>
  void readNoXfer(Protocol_* iprot);

  friend class ::apache::thrift::Cpp2Ops<ResourcePoolsDbgInfo>;
  friend void swap(ResourcePoolsDbgInfo& a, ResourcePoolsDbgInfo& b);
};

template <class Protocol_>
unsigned long ResourcePoolsDbgInfo::read(Protocol_* iprot) {
  auto _xferStart = iprot->getCursorPosition();
  readNoXfer(iprot);
  return iprot->getCursorPosition() - _xferStart;
}


} // namespace apache::thrift::serverdbginfo

namespace apache::thrift::detail {
template <> struct TSchemaAssociation<::apache::thrift::serverdbginfo::RequestPileDbgInfo, false> {
  static ::folly::Range<const ::std::string_view*>(*bundle)();
  static constexpr int64_t programId = -8301918761558276764;
  static constexpr ::std::string_view definitionKey = {"\xae\x3a\x44\xd7\x9f\x36\x16\xe8\x44\x16\xb5\xd7\x1c\x23\x6d\xe1", 16};
};
template <> struct TSchemaAssociation<::apache::thrift::serverdbginfo::ConcurrencyControllerDbgInfo, false> {
  static ::folly::Range<const ::std::string_view*>(*bundle)();
  static constexpr int64_t programId = -8301918761558276764;
  static constexpr ::std::string_view definitionKey = {"\x89\x47\xbb\xc8\xbc\x53\xd7\x6a\x58\xec\x37\x90\x70\x89\x0f\x45", 16};
};
template <> struct TSchemaAssociation<::apache::thrift::serverdbginfo::ExecutorDbgInfo, false> {
  static ::folly::Range<const ::std::string_view*>(*bundle)();
  static constexpr int64_t programId = -8301918761558276764;
  static constexpr ::std::string_view definitionKey = {"\xe5\x0e\xb7\x47\x28\x6c\x79\x83\x01\x86\xdb\x66\x4b\x94\xc4\x53", 16};
};
template <> struct TSchemaAssociation<::apache::thrift::serverdbginfo::ResourcePoolDbgInfo, false> {
  static ::folly::Range<const ::std::string_view*>(*bundle)();
  static constexpr int64_t programId = -8301918761558276764;
  static constexpr ::std::string_view definitionKey = {"\x93\x2d\x07\xf6\xf2\x77\x8b\xeb\x8e\x50\x02\x4b\x60\x56\x29\x4a", 16};
};
template <> struct TSchemaAssociation<::apache::thrift::serverdbginfo::CPUConcurrencyControllerDbgInfo, false> {
  static ::folly::Range<const ::std::string_view*>(*bundle)();
  static constexpr int64_t programId = -8301918761558276764;
  static constexpr ::std::string_view definitionKey = {"\x83\x9e\xb6\x43\xb6\xbd\xef\x34\x6d\x79\xf5\xcc\x8d\x39\xb0\x1b", 16};
};
template <> struct TSchemaAssociation<::apache::thrift::serverdbginfo::ResourcePoolsDbgInfo, false> {
  static ::folly::Range<const ::std::string_view*>(*bundle)();
  static constexpr int64_t programId = -8301918761558276764;
  static constexpr ::std::string_view definitionKey = {"\xd9\x99\xba\xb2\x64\x59\x4d\x9b\xc1\x7d\xc8\x53\x63\x29\x7b\x15", 16};
};
} // namespace apache::thrift::detail
