/**
 * Autogenerated by Thrift for /opt/local/var/macports/build/_opt_local_ppcports_devel_fbthrift/fbthrift/work/fbthrift-2025.04.28.00/thrift/annotation/thrift.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 ids;
struct id_ranges;
struct field_name;
struct value;
struct level;
struct items;
} // namespace ident
namespace detail {
#ifndef APACHE_THRIFT_ACCESSOR_ids
#define APACHE_THRIFT_ACCESSOR_ids
APACHE_THRIFT_DEFINE_ACCESSOR(ids);
#endif
#ifndef APACHE_THRIFT_ACCESSOR_id_ranges
#define APACHE_THRIFT_ACCESSOR_id_ranges
APACHE_THRIFT_DEFINE_ACCESSOR(id_ranges);
#endif
#ifndef APACHE_THRIFT_ACCESSOR_field_name
#define APACHE_THRIFT_ACCESSOR_field_name
APACHE_THRIFT_DEFINE_ACCESSOR(field_name);
#endif
#ifndef APACHE_THRIFT_ACCESSOR_value
#define APACHE_THRIFT_ACCESSOR_value
APACHE_THRIFT_DEFINE_ACCESSOR(value);
#endif
#ifndef APACHE_THRIFT_ACCESSOR_level
#define APACHE_THRIFT_ACCESSOR_level
APACHE_THRIFT_DEFINE_ACCESSOR(level);
#endif
#ifndef APACHE_THRIFT_ACCESSOR_items
#define APACHE_THRIFT_ACCESSOR_items
APACHE_THRIFT_DEFINE_ACCESSOR(items);
#endif
} // namespace detail
} // namespace apache::thrift

// BEGIN declare_enums
namespace facebook::thrift::annotation {

/** Glean {"file": "/opt/local/var/macports/build/_opt_local_ppcports_devel_fbthrift/fbthrift/work/fbthrift-2025.04.28.00/thrift/annotation/thrift.thrift", "name": "RpcPriority", "kind": "enum" } */
enum class RpcPriority {
  HIGH_IMPORTANT = 0,
  HIGH = 1,
  IMPORTANT = 2,
  NORMAL = 3,
  BEST_EFFORT = 4,
};

} // namespace facebook::thrift::annotation

template<> struct std::hash<::facebook::thrift::annotation::RpcPriority> :
  ::apache::thrift::detail::enum_hash<::facebook::thrift::annotation::RpcPriority> {};

namespace apache::thrift {

template <> struct TEnumDataStorage<::facebook::thrift::annotation::RpcPriority>;

template <> struct TEnumTraits<::facebook::thrift::annotation::RpcPriority> {
  using type = ::facebook::thrift::annotation::RpcPriority;

  static constexpr std::size_t const size = 5;
  static folly::Range<type const*> const values;
  static folly::Range<std::string_view const*> const names;
  static const std::string_view __fbthrift_module_name_internal_do_not_use;

  static bool findName(type value, std::string_view* out) noexcept;
  static bool findValue(std::string_view name, type* out) noexcept;

  FOLLY_ERASE static std::string_view typeName() noexcept {
    return "RpcPriority";
  }

  FOLLY_ERASE static constexpr std::string_view moduleName() noexcept {
    return "thrift";
  }

  static char const* findName(type value) noexcept {
    std::string_view ret;
    (void)findName(value, &ret);
    return ret.data();
  }
  static constexpr type min() { return type::HIGH_IMPORTANT; }
  static constexpr type max() { return type::BEST_EFFORT; }
};

} // namespace apache::thrift
// END declare_enums
// BEGIN forward_declare
namespace facebook::thrift::annotation {
class Experimental;
class ReserveIds;
class RequiresBackwardCompatibility;
class TerseWrite;
class Box;
class Mixin;
class SerializeInFieldIdOrder;
class BitmaskEnum;
class ExceptionMessage;
class InternBox;
class Serial;
class Uri;
class Priority;
class DeprecatedUnvalidatedAnnotations;
class AllowReservedIdentifier;
class AllowReservedFilename;
} // namespace facebook::thrift::annotation
// 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 facebook::thrift::annotation {
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/annotation/thrift.thrift", "name": "Experimental", "kind": "struct" } */
class Experimental 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 = false;
  static constexpr bool __fbthrift_cpp2_is_runtime_annotation = false;
  static const char* __fbthrift_thrift_uri();
  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 "thrift";
  }
  using __fbthrift_reflection_ident_list = folly::tag_t<
  >;

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

  using __fbthrift_reflection_type_tags = folly::tag_t<
  >;

  static constexpr std::size_t __fbthrift_field_size_v = 0;

  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 = Experimental;
  static constexpr bool __fbthrift_cpp2_is_union =
    false;
  static constexpr bool __fbthrift_cpp2_uses_op_encode =
    false;


 public:

  Experimental() {
  }
  // FragileConstructor for use in initialization lists only.
  [[deprecated("This constructor is deprecated")]]
  Experimental(apache::thrift::FragileConstructor);

  Experimental(Experimental&&) = default;

  Experimental(const Experimental&) = default;


  Experimental& operator=(Experimental&&) = default;

  Experimental& operator=(const Experimental&) = default;

 public:

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

  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<Experimental>;
  friend void swap(Experimental& a, Experimental& b);
};

template <class Protocol_>
unsigned long Experimental::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/annotation/thrift.thrift", "name": "ReserveIds", "kind": "struct" } */
class ReserveIds 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 = false;
  static constexpr bool __fbthrift_cpp2_is_runtime_annotation = false;
  static const char* __fbthrift_thrift_uri();
  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 "thrift";
  }
  using __fbthrift_reflection_ident_list = folly::tag_t<
    ::apache::thrift::ident::ids,
    ::apache::thrift::ident::id_ranges
  >;

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

  using __fbthrift_reflection_type_tags = folly::tag_t<
    ::apache::thrift::type::list<::apache::thrift::type::i32_t>,
    ::apache::thrift::type::map<::apache::thrift::type::i32_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 = ReserveIds;
  static constexpr bool __fbthrift_cpp2_is_union =
    false;
  static constexpr bool __fbthrift_cpp2_uses_op_encode =
    false;


 public:

  ReserveIds();

  // FragileConstructor for use in initialization lists only.
  [[deprecated("This constructor is deprecated")]]
  ReserveIds(apache::thrift::FragileConstructor, ::std::vector<::std::int32_t> ids__arg, ::std::map<::std::int32_t, ::std::int32_t> id_ranges__arg);

  ReserveIds(ReserveIds&&) noexcept;

  ReserveIds(const ReserveIds& src);


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

  ~ReserveIds();

 private:
  ::std::vector<::std::int32_t> __fbthrift_field_ids;
 private:
  ::std::map<::std::int32_t, ::std::int32_t> __fbthrift_field_id_ranges;
 private:
  apache::thrift::detail::isset_bitset<2, apache::thrift::detail::IssetBitsetOption::Unpacked> __isset;

 public:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  /** Glean { "field": "ids" } */
  template <typename T_ReserveIds_ids_struct_setter = ::std::vector<::std::int32_t>>
  [[deprecated("Use `FOO.ids() = BAR` instead of `FOO.set_ids(BAR)`")]]
  ::std::vector<::std::int32_t>& set_ids(T_ReserveIds_ids_struct_setter&& ids_) {
    ids_ref() = std::forward<T_ReserveIds_ids_struct_setter>(ids_);
    return __fbthrift_field_ids;
  }

  /** Glean { "field": "id_ranges" } */
  [[deprecated("Use `FOO.id_ranges().value()` instead of `FOO.get_id_ranges()`")]]
  const ::std::map<::std::int32_t, ::std::int32_t>& get_id_ranges() const&;

  /** Glean { "field": "id_ranges" } */
  [[deprecated("Use `FOO.id_ranges().value()` instead of `FOO.get_id_ranges()`")]]
  ::std::map<::std::int32_t, ::std::int32_t> get_id_ranges() &&;

  /** Glean { "field": "id_ranges" } */
  template <typename T_ReserveIds_id_ranges_struct_setter = ::std::map<::std::int32_t, ::std::int32_t>>
  [[deprecated("Use `FOO.id_ranges() = BAR` instead of `FOO.set_id_ranges(BAR)`")]]
  ::std::map<::std::int32_t, ::std::int32_t>& set_id_ranges(T_ReserveIds_id_ranges_struct_setter&& id_ranges_) {
    id_ranges_ref() = std::forward<T_ReserveIds_id_ranges_struct_setter>(id_ranges_);
    return __fbthrift_field_id_ranges;
  }

  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<ReserveIds>;
  friend void swap(ReserveIds& a, ReserveIds& b);
};

template <class Protocol_>
unsigned long ReserveIds::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/annotation/thrift.thrift", "name": "RequiresBackwardCompatibility", "kind": "struct" } */
class RequiresBackwardCompatibility 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 = false;
  static constexpr bool __fbthrift_cpp2_is_runtime_annotation = false;
  static const char* __fbthrift_thrift_uri();
  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 "thrift";
  }
  using __fbthrift_reflection_ident_list = folly::tag_t<
    ::apache::thrift::ident::field_name
  >;

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

  using __fbthrift_reflection_type_tags = folly::tag_t<
    ::apache::thrift::type::bool_t
  >;

  static constexpr std::size_t __fbthrift_field_size_v = 1;

  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 = RequiresBackwardCompatibility;
  static constexpr bool __fbthrift_cpp2_is_union =
    false;
  static constexpr bool __fbthrift_cpp2_uses_op_encode =
    false;


 public:

  RequiresBackwardCompatibility() :
      __fbthrift_field_field_name(false) {
  }
  // FragileConstructor for use in initialization lists only.
  [[deprecated("This constructor is deprecated")]]
  RequiresBackwardCompatibility(apache::thrift::FragileConstructor, bool field_name__arg);

  RequiresBackwardCompatibility(RequiresBackwardCompatibility&&) = default;

  RequiresBackwardCompatibility(const RequiresBackwardCompatibility&) = default;


  RequiresBackwardCompatibility& operator=(RequiresBackwardCompatibility&&) = default;

  RequiresBackwardCompatibility& operator=(const RequiresBackwardCompatibility&) = default;
 private:
  bool __fbthrift_field_field_name;
 private:
  apache::thrift::detail::isset_bitset<1, apache::thrift::detail::IssetBitsetOption::Unpacked> __isset;

 public:

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

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

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

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

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

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

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

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

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

  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<RequiresBackwardCompatibility>;
  friend void swap(RequiresBackwardCompatibility& a, RequiresBackwardCompatibility& b);
};

template <class Protocol_>
unsigned long RequiresBackwardCompatibility::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/annotation/thrift.thrift", "name": "TerseWrite", "kind": "struct" } */
class TerseWrite 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 = false;
  static constexpr bool __fbthrift_cpp2_is_runtime_annotation = false;
  static const char* __fbthrift_thrift_uri();
  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 "thrift";
  }
  using __fbthrift_reflection_ident_list = folly::tag_t<
  >;

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

  using __fbthrift_reflection_type_tags = folly::tag_t<
  >;

  static constexpr std::size_t __fbthrift_field_size_v = 0;

  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 = TerseWrite;
  static constexpr bool __fbthrift_cpp2_is_union =
    false;
  static constexpr bool __fbthrift_cpp2_uses_op_encode =
    false;


 public:

  TerseWrite() {
  }
  // FragileConstructor for use in initialization lists only.
  [[deprecated("This constructor is deprecated")]]
  TerseWrite(apache::thrift::FragileConstructor);

  TerseWrite(TerseWrite&&) = default;

  TerseWrite(const TerseWrite&) = default;


  TerseWrite& operator=(TerseWrite&&) = default;

  TerseWrite& operator=(const TerseWrite&) = default;

 public:

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

  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<TerseWrite>;
  friend void swap(TerseWrite& a, TerseWrite& b);
};

template <class Protocol_>
unsigned long TerseWrite::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/annotation/thrift.thrift", "name": "Box", "kind": "struct" } */
class Box 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 = false;
  static constexpr bool __fbthrift_cpp2_is_runtime_annotation = false;
  static const char* __fbthrift_thrift_uri();
  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 "thrift";
  }
  using __fbthrift_reflection_ident_list = folly::tag_t<
  >;

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

  using __fbthrift_reflection_type_tags = folly::tag_t<
  >;

  static constexpr std::size_t __fbthrift_field_size_v = 0;

  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 = Box;
  static constexpr bool __fbthrift_cpp2_is_union =
    false;
  static constexpr bool __fbthrift_cpp2_uses_op_encode =
    false;


 public:

  Box() {
  }
  // FragileConstructor for use in initialization lists only.
  [[deprecated("This constructor is deprecated")]]
  Box(apache::thrift::FragileConstructor);

  Box(Box&&) = default;

  Box(const Box&) = default;


  Box& operator=(Box&&) = default;

  Box& operator=(const Box&) = default;

 public:

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

  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<Box>;
  friend void swap(Box& a, Box& b);
};

template <class Protocol_>
unsigned long Box::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/annotation/thrift.thrift", "name": "Mixin", "kind": "struct" } */
class Mixin 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 = false;
  static constexpr bool __fbthrift_cpp2_is_runtime_annotation = false;
  static const char* __fbthrift_thrift_uri();
  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 "thrift";
  }
  using __fbthrift_reflection_ident_list = folly::tag_t<
  >;

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

  using __fbthrift_reflection_type_tags = folly::tag_t<
  >;

  static constexpr std::size_t __fbthrift_field_size_v = 0;

  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 = Mixin;
  static constexpr bool __fbthrift_cpp2_is_union =
    false;
  static constexpr bool __fbthrift_cpp2_uses_op_encode =
    false;


 public:

  Mixin() {
  }
  // FragileConstructor for use in initialization lists only.
  [[deprecated("This constructor is deprecated")]]
  Mixin(apache::thrift::FragileConstructor);

  Mixin(Mixin&&) = default;

  Mixin(const Mixin&) = default;


  Mixin& operator=(Mixin&&) = default;

  Mixin& operator=(const Mixin&) = default;

 public:

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

  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<Mixin>;
  friend void swap(Mixin& a, Mixin& b);
};

template <class Protocol_>
unsigned long Mixin::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/annotation/thrift.thrift", "name": "SerializeInFieldIdOrder", "kind": "struct" } */
class SerializeInFieldIdOrder 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 = false;
  static constexpr bool __fbthrift_cpp2_is_runtime_annotation = false;
  static const char* __fbthrift_thrift_uri();
  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 "thrift";
  }
  using __fbthrift_reflection_ident_list = folly::tag_t<
  >;

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

  using __fbthrift_reflection_type_tags = folly::tag_t<
  >;

  static constexpr std::size_t __fbthrift_field_size_v = 0;

  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 = SerializeInFieldIdOrder;
  static constexpr bool __fbthrift_cpp2_is_union =
    false;
  static constexpr bool __fbthrift_cpp2_uses_op_encode =
    false;


 public:

  SerializeInFieldIdOrder() {
  }
  // FragileConstructor for use in initialization lists only.
  [[deprecated("This constructor is deprecated")]]
  SerializeInFieldIdOrder(apache::thrift::FragileConstructor);

  SerializeInFieldIdOrder(SerializeInFieldIdOrder&&) = default;

  SerializeInFieldIdOrder(const SerializeInFieldIdOrder&) = default;


  SerializeInFieldIdOrder& operator=(SerializeInFieldIdOrder&&) = default;

  SerializeInFieldIdOrder& operator=(const SerializeInFieldIdOrder&) = default;

 public:

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

  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<SerializeInFieldIdOrder>;
  friend void swap(SerializeInFieldIdOrder& a, SerializeInFieldIdOrder& b);
};

template <class Protocol_>
unsigned long SerializeInFieldIdOrder::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/annotation/thrift.thrift", "name": "BitmaskEnum", "kind": "struct" } */
class BitmaskEnum 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 = false;
  static constexpr bool __fbthrift_cpp2_is_runtime_annotation = false;
  static const char* __fbthrift_thrift_uri();
  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 "thrift";
  }
  using __fbthrift_reflection_ident_list = folly::tag_t<
  >;

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

  using __fbthrift_reflection_type_tags = folly::tag_t<
  >;

  static constexpr std::size_t __fbthrift_field_size_v = 0;

  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 = BitmaskEnum;
  static constexpr bool __fbthrift_cpp2_is_union =
    false;
  static constexpr bool __fbthrift_cpp2_uses_op_encode =
    false;


 public:

  BitmaskEnum() {
  }
  // FragileConstructor for use in initialization lists only.
  [[deprecated("This constructor is deprecated")]]
  BitmaskEnum(apache::thrift::FragileConstructor);

  BitmaskEnum(BitmaskEnum&&) = default;

  BitmaskEnum(const BitmaskEnum&) = default;


  BitmaskEnum& operator=(BitmaskEnum&&) = default;

  BitmaskEnum& operator=(const BitmaskEnum&) = default;

 public:

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

  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<BitmaskEnum>;
  friend void swap(BitmaskEnum& a, BitmaskEnum& b);
};

template <class Protocol_>
unsigned long BitmaskEnum::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/annotation/thrift.thrift", "name": "ExceptionMessage", "kind": "struct" } */
class ExceptionMessage 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 = false;
  static constexpr bool __fbthrift_cpp2_is_runtime_annotation = false;
  static const char* __fbthrift_thrift_uri();
  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 "thrift";
  }
  using __fbthrift_reflection_ident_list = folly::tag_t<
  >;

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

  using __fbthrift_reflection_type_tags = folly::tag_t<
  >;

  static constexpr std::size_t __fbthrift_field_size_v = 0;

  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 = ExceptionMessage;
  static constexpr bool __fbthrift_cpp2_is_union =
    false;
  static constexpr bool __fbthrift_cpp2_uses_op_encode =
    false;


 public:

  ExceptionMessage() {
  }
  // FragileConstructor for use in initialization lists only.
  [[deprecated("This constructor is deprecated")]]
  ExceptionMessage(apache::thrift::FragileConstructor);

  ExceptionMessage(ExceptionMessage&&) = default;

  ExceptionMessage(const ExceptionMessage&) = default;


  ExceptionMessage& operator=(ExceptionMessage&&) = default;

  ExceptionMessage& operator=(const ExceptionMessage&) = default;

 public:

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

  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<ExceptionMessage>;
  friend void swap(ExceptionMessage& a, ExceptionMessage& b);
};

template <class Protocol_>
unsigned long ExceptionMessage::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/annotation/thrift.thrift", "name": "InternBox", "kind": "struct" } */
class InternBox 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 = false;
  static constexpr bool __fbthrift_cpp2_is_runtime_annotation = false;
  static const char* __fbthrift_thrift_uri();
  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 "thrift";
  }
  using __fbthrift_reflection_ident_list = folly::tag_t<
  >;

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

  using __fbthrift_reflection_type_tags = folly::tag_t<
  >;

  static constexpr std::size_t __fbthrift_field_size_v = 0;

  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 = InternBox;
  static constexpr bool __fbthrift_cpp2_is_union =
    false;
  static constexpr bool __fbthrift_cpp2_uses_op_encode =
    false;


 public:

  InternBox() {
  }
  // FragileConstructor for use in initialization lists only.
  [[deprecated("This constructor is deprecated")]]
  InternBox(apache::thrift::FragileConstructor);

  InternBox(InternBox&&) = default;

  InternBox(const InternBox&) = default;


  InternBox& operator=(InternBox&&) = default;

  InternBox& operator=(const InternBox&) = default;

 public:

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

  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<InternBox>;
  friend void swap(InternBox& a, InternBox& b);
};

template <class Protocol_>
unsigned long InternBox::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/annotation/thrift.thrift", "name": "Serial", "kind": "struct" } */
class Serial 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 = false;
  static constexpr bool __fbthrift_cpp2_is_runtime_annotation = false;
  static const char* __fbthrift_thrift_uri();
  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 "thrift";
  }
  using __fbthrift_reflection_ident_list = folly::tag_t<
  >;

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

  using __fbthrift_reflection_type_tags = folly::tag_t<
  >;

  static constexpr std::size_t __fbthrift_field_size_v = 0;

  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 = Serial;
  static constexpr bool __fbthrift_cpp2_is_union =
    false;
  static constexpr bool __fbthrift_cpp2_uses_op_encode =
    false;


 public:

  Serial() {
  }
  // FragileConstructor for use in initialization lists only.
  [[deprecated("This constructor is deprecated")]]
  Serial(apache::thrift::FragileConstructor);

  Serial(Serial&&) = default;

  Serial(const Serial&) = default;


  Serial& operator=(Serial&&) = default;

  Serial& operator=(const Serial&) = default;

 public:

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

  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<Serial>;
  friend void swap(Serial& a, Serial& b);
};

template <class Protocol_>
unsigned long Serial::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/annotation/thrift.thrift", "name": "Uri", "kind": "struct" } */
class Uri 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 = false;
  static constexpr bool __fbthrift_cpp2_is_runtime_annotation = false;
  static const char* __fbthrift_thrift_uri();
  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 "thrift";
  }
  using __fbthrift_reflection_ident_list = folly::tag_t<
    ::apache::thrift::ident::value
  >;

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

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

  static constexpr std::size_t __fbthrift_field_size_v = 1;

  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 = Uri;
  static constexpr bool __fbthrift_cpp2_is_union =
    false;
  static constexpr bool __fbthrift_cpp2_uses_op_encode =
    false;


 public:

  Uri();

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

  Uri(Uri&&) noexcept;

  Uri(const Uri& src);


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

  ~Uri();

 private:
  ::std::string __fbthrift_field_value;
 private:
  apache::thrift::detail::isset_bitset<1, apache::thrift::detail::IssetBitsetOption::Unpacked> __isset;

 public:

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

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

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

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

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

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

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

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

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

  /** Glean { "field": "value" } */
  template <typename T_Uri_value_struct_setter = ::std::string>
  [[deprecated("Use `FOO.value() = BAR` instead of `FOO.set_value(BAR)`")]]
  ::std::string& set_value(T_Uri_value_struct_setter&& value_) {
    value_ref() = std::forward<T_Uri_value_struct_setter>(value_);
    return __fbthrift_field_value;
  }

  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<Uri>;
  friend void swap(Uri& a, Uri& b);
};

template <class Protocol_>
unsigned long Uri::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/annotation/thrift.thrift", "name": "Priority", "kind": "struct" } */
class Priority 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 = false;
  static constexpr bool __fbthrift_cpp2_is_runtime_annotation = false;
  static const char* __fbthrift_thrift_uri();
  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 "thrift";
  }
  using __fbthrift_reflection_ident_list = folly::tag_t<
    ::apache::thrift::ident::level
  >;

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

  using __fbthrift_reflection_type_tags = folly::tag_t<
    ::apache::thrift::type::enum_t<::facebook::thrift::annotation::RpcPriority>
  >;

  static constexpr std::size_t __fbthrift_field_size_v = 1;

  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 = Priority;
  static constexpr bool __fbthrift_cpp2_is_union =
    false;
  static constexpr bool __fbthrift_cpp2_uses_op_encode =
    false;


 public:

  Priority() :
      __fbthrift_field_level() {
  }
  // FragileConstructor for use in initialization lists only.
  [[deprecated("This constructor is deprecated")]]
  Priority(apache::thrift::FragileConstructor, ::facebook::thrift::annotation::RpcPriority level__arg);

  Priority(Priority&&) = default;

  Priority(const Priority&) = default;


  Priority& operator=(Priority&&) = default;

  Priority& operator=(const Priority&) = default;
 private:
  ::facebook::thrift::annotation::RpcPriority __fbthrift_field_level;
 private:
  apache::thrift::detail::isset_bitset<1, apache::thrift::detail::IssetBitsetOption::Unpacked> __isset;

 public:

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

  /** Glean { "field": "level" } */
  template <typename..., typename fbthrift_T = ::facebook::thrift::annotation::RpcPriority>
  FOLLY_ERASE ::apache::thrift::field_ref<const fbthrift_T&> level_ref() const& {
    return {this->__fbthrift_field_level, __isset.at(0), __isset.bit(0)};
  }

  /** Glean { "field": "level" } */
  template <typename..., typename fbthrift_T = ::facebook::thrift::annotation::RpcPriority>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> level_ref() & {
    return {this->__fbthrift_field_level, __isset.at(0), __isset.bit(0)};
  }

  /** Glean { "field": "level" } */
  template <typename..., typename fbthrift_T = ::facebook::thrift::annotation::RpcPriority>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&&> level_ref() && {
    return {static_cast<fbthrift_T&&>(this->__fbthrift_field_level), __isset.at(0), __isset.bit(0)};
  }

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

  /** Glean { "field": "level" } */
  template <typename..., typename fbthrift_T = ::facebook::thrift::annotation::RpcPriority>
  FOLLY_ERASE ::apache::thrift::field_ref<fbthrift_T&> level() & {
    return {this->__fbthrift_field_level, __isset.at(0), __isset.bit(0)};
  }

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

  /** Glean { "field": "level" } */
  [[deprecated("Use `FOO.level().value()` instead of `FOO.get_level()`")]]
  ::facebook::thrift::annotation::RpcPriority get_level() const;

  /** Glean { "field": "level" } */
  [[deprecated("Use `FOO.level() = BAR` instead of `FOO.set_level(BAR)`")]]
  ::facebook::thrift::annotation::RpcPriority& set_level(::facebook::thrift::annotation::RpcPriority level_);

  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<Priority>;
  friend void swap(Priority& a, Priority& b);
};

template <class Protocol_>
unsigned long Priority::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/annotation/thrift.thrift", "name": "DeprecatedUnvalidatedAnnotations", "kind": "struct" } */
class DeprecatedUnvalidatedAnnotations 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 = false;
  static constexpr bool __fbthrift_cpp2_is_runtime_annotation = false;
  static const char* __fbthrift_thrift_uri();
  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 "thrift";
  }
  using __fbthrift_reflection_ident_list = folly::tag_t<
    ::apache::thrift::ident::items
  >;

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

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

  static constexpr std::size_t __fbthrift_field_size_v = 1;

  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 = DeprecatedUnvalidatedAnnotations;
  static constexpr bool __fbthrift_cpp2_is_union =
    false;
  static constexpr bool __fbthrift_cpp2_uses_op_encode =
    false;


 public:

  DeprecatedUnvalidatedAnnotations();

  // FragileConstructor for use in initialization lists only.
  [[deprecated("This constructor is deprecated")]]
  DeprecatedUnvalidatedAnnotations(apache::thrift::FragileConstructor, ::std::map<::std::string, ::std::string> items__arg);

  DeprecatedUnvalidatedAnnotations(DeprecatedUnvalidatedAnnotations&&) noexcept;

  DeprecatedUnvalidatedAnnotations(const DeprecatedUnvalidatedAnnotations& src);


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

  ~DeprecatedUnvalidatedAnnotations();

 private:
  ::std::map<::std::string, ::std::string> __fbthrift_field_items;
 private:
  apache::thrift::detail::isset_bitset<1, apache::thrift::detail::IssetBitsetOption::Unpacked> __isset;

 public:

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

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

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

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

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

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

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

  /** Glean { "field": "items" } */
  [[deprecated("Use `FOO.items().value()` instead of `FOO.get_items()`")]]
  const ::std::map<::std::string, ::std::string>& get_items() const&;

  /** Glean { "field": "items" } */
  [[deprecated("Use `FOO.items().value()` instead of `FOO.get_items()`")]]
  ::std::map<::std::string, ::std::string> get_items() &&;

  /** Glean { "field": "items" } */
  template <typename T_DeprecatedUnvalidatedAnnotations_items_struct_setter = ::std::map<::std::string, ::std::string>>
  [[deprecated("Use `FOO.items() = BAR` instead of `FOO.set_items(BAR)`")]]
  ::std::map<::std::string, ::std::string>& set_items(T_DeprecatedUnvalidatedAnnotations_items_struct_setter&& items_) {
    items_ref() = std::forward<T_DeprecatedUnvalidatedAnnotations_items_struct_setter>(items_);
    return __fbthrift_field_items;
  }

  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<DeprecatedUnvalidatedAnnotations>;
  friend void swap(DeprecatedUnvalidatedAnnotations& a, DeprecatedUnvalidatedAnnotations& b);
};

template <class Protocol_>
unsigned long DeprecatedUnvalidatedAnnotations::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/annotation/thrift.thrift", "name": "AllowReservedIdentifier", "kind": "struct" } */
class AllowReservedIdentifier 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 = false;
  static constexpr bool __fbthrift_cpp2_is_runtime_annotation = false;
  static const char* __fbthrift_thrift_uri();
  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 "thrift";
  }
  using __fbthrift_reflection_ident_list = folly::tag_t<
  >;

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

  using __fbthrift_reflection_type_tags = folly::tag_t<
  >;

  static constexpr std::size_t __fbthrift_field_size_v = 0;

  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 = AllowReservedIdentifier;
  static constexpr bool __fbthrift_cpp2_is_union =
    false;
  static constexpr bool __fbthrift_cpp2_uses_op_encode =
    false;


 public:

  AllowReservedIdentifier() {
  }
  // FragileConstructor for use in initialization lists only.
  [[deprecated("This constructor is deprecated")]]
  AllowReservedIdentifier(apache::thrift::FragileConstructor);

  AllowReservedIdentifier(AllowReservedIdentifier&&) = default;

  AllowReservedIdentifier(const AllowReservedIdentifier&) = default;


  AllowReservedIdentifier& operator=(AllowReservedIdentifier&&) = default;

  AllowReservedIdentifier& operator=(const AllowReservedIdentifier&) = default;

 public:

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

  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<AllowReservedIdentifier>;
  friend void swap(AllowReservedIdentifier& a, AllowReservedIdentifier& b);
};

template <class Protocol_>
unsigned long AllowReservedIdentifier::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/annotation/thrift.thrift", "name": "AllowReservedFilename", "kind": "struct" } */
class AllowReservedFilename 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 = false;
  static constexpr bool __fbthrift_cpp2_is_runtime_annotation = false;
  static const char* __fbthrift_thrift_uri();
  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 "thrift";
  }
  using __fbthrift_reflection_ident_list = folly::tag_t<
  >;

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

  using __fbthrift_reflection_type_tags = folly::tag_t<
  >;

  static constexpr std::size_t __fbthrift_field_size_v = 0;

  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 = AllowReservedFilename;
  static constexpr bool __fbthrift_cpp2_is_union =
    false;
  static constexpr bool __fbthrift_cpp2_uses_op_encode =
    false;


 public:

  AllowReservedFilename() {
  }
  // FragileConstructor for use in initialization lists only.
  [[deprecated("This constructor is deprecated")]]
  AllowReservedFilename(apache::thrift::FragileConstructor);

  AllowReservedFilename(AllowReservedFilename&&) = default;

  AllowReservedFilename(const AllowReservedFilename&) = default;


  AllowReservedFilename& operator=(AllowReservedFilename&&) = default;

  AllowReservedFilename& operator=(const AllowReservedFilename&) = default;

 public:

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

  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<AllowReservedFilename>;
  friend void swap(AllowReservedFilename& a, AllowReservedFilename& b);
};

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


} // namespace facebook::thrift::annotation

namespace apache::thrift::detail {
template <> struct TSchemaAssociation<::facebook::thrift::annotation::Experimental, false> {
  static ::folly::Range<const ::std::string_view*>(*bundle)();
  static constexpr int64_t programId = -3310715935950622564;
  static constexpr ::std::string_view definitionKey = {"\x3a\xfc\x20\x76\xbc\x52\x76\xb0\xf3\xdc\xdc\x9c\x78\x64\x8a\xe3", 16};
};
template <> struct TSchemaAssociation<::facebook::thrift::annotation::ReserveIds, false> {
  static ::folly::Range<const ::std::string_view*>(*bundle)();
  static constexpr int64_t programId = -3310715935950622564;
  static constexpr ::std::string_view definitionKey = {"\xb5\x00\x06\xfe\xce\x04\x22\x23\x3f\x0e\x26\xd5\xc4\xc4\x16\xc4", 16};
};
template <> struct TSchemaAssociation<::facebook::thrift::annotation::RequiresBackwardCompatibility, false> {
  static ::folly::Range<const ::std::string_view*>(*bundle)();
  static constexpr int64_t programId = -3310715935950622564;
  static constexpr ::std::string_view definitionKey = {"\x55\x9d\x44\x23\x1f\x7a\x06\x37\x1f\xe3\x1f\xcd\x3b\xf8\xb4\x10", 16};
};
template <> struct TSchemaAssociation<::facebook::thrift::annotation::TerseWrite, false> {
  static ::folly::Range<const ::std::string_view*>(*bundle)();
  static constexpr int64_t programId = -3310715935950622564;
  static constexpr ::std::string_view definitionKey = {"\x47\x3b\xfc\xbd\xa9\x97\x22\x07\x09\x0e\x6d\xe8\x6f\x4b\x5c\xcc", 16};
};
template <> struct TSchemaAssociation<::facebook::thrift::annotation::Box, false> {
  static ::folly::Range<const ::std::string_view*>(*bundle)();
  static constexpr int64_t programId = -3310715935950622564;
  static constexpr ::std::string_view definitionKey = {"\x99\xc1\x1f\x79\x00\x2e\xad\x7e\x76\xa1\xbf\x00\xa3\x4b\xdb\x6a", 16};
};
template <> struct TSchemaAssociation<::facebook::thrift::annotation::Mixin, false> {
  static ::folly::Range<const ::std::string_view*>(*bundle)();
  static constexpr int64_t programId = -3310715935950622564;
  static constexpr ::std::string_view definitionKey = {"\x16\x1e\x24\x10\xf6\xff\x6a\xab\x1d\x5e\x79\x3e\xa6\x82\xb3\x97", 16};
};
template <> struct TSchemaAssociation<::facebook::thrift::annotation::SerializeInFieldIdOrder, false> {
  static ::folly::Range<const ::std::string_view*>(*bundle)();
  static constexpr int64_t programId = -3310715935950622564;
  static constexpr ::std::string_view definitionKey = {"\xee\xa5\xa6\xbd\x54\xfa\x19\xa6\x1d\xb4\x75\x3f\x43\x9a\x21\xbc", 16};
};
template <> struct TSchemaAssociation<::facebook::thrift::annotation::BitmaskEnum, false> {
  static ::folly::Range<const ::std::string_view*>(*bundle)();
  static constexpr int64_t programId = -3310715935950622564;
  static constexpr ::std::string_view definitionKey = {"\x6f\x41\x67\x1b\xf6\x45\x4c\xd6\xcf\x04\xae\xe3\xc7\xe2\x70\x48", 16};
};
template <> struct TSchemaAssociation<::facebook::thrift::annotation::ExceptionMessage, false> {
  static ::folly::Range<const ::std::string_view*>(*bundle)();
  static constexpr int64_t programId = -3310715935950622564;
  static constexpr ::std::string_view definitionKey = {"\xea\x44\x82\x4d\x09\x6f\xc3\x8f\xf5\x90\x06\x70\x6b\xc6\x32\xe5", 16};
};
template <> struct TSchemaAssociation<::facebook::thrift::annotation::InternBox, false> {
  static ::folly::Range<const ::std::string_view*>(*bundle)();
  static constexpr int64_t programId = -3310715935950622564;
  static constexpr ::std::string_view definitionKey = {"\x85\xd7\x52\x20\xdf\x64\x4e\xb8\xa1\x89\x6c\xad\xcd\x2e\x05\xfe", 16};
};
template <> struct TSchemaAssociation<::facebook::thrift::annotation::Serial, false> {
  static ::folly::Range<const ::std::string_view*>(*bundle)();
  static constexpr int64_t programId = -3310715935950622564;
  static constexpr ::std::string_view definitionKey = {"\x63\x18\xfc\x22\x1c\x02\x18\x65\xb9\xe3\x0c\x62\xa3\x87\x5c\xff", 16};
};
template <> struct TSchemaAssociation<::facebook::thrift::annotation::Uri, false> {
  static ::folly::Range<const ::std::string_view*>(*bundle)();
  static constexpr int64_t programId = -3310715935950622564;
  static constexpr ::std::string_view definitionKey = {"\x6a\x7c\x5a\xbb\xb7\x74\xee\x4c\x3f\xc0\x8c\x93\x2f\x87\x88\xe3", 16};
};
template <> struct TSchemaAssociation<::facebook::thrift::annotation::Priority, false> {
  static ::folly::Range<const ::std::string_view*>(*bundle)();
  static constexpr int64_t programId = -3310715935950622564;
  static constexpr ::std::string_view definitionKey = {"\x5c\xac\x71\xc4\xed\xbf\x6e\x82\xa1\xa3\x2f\x48\xad\x5c\xf7\x14", 16};
};
template <> struct TSchemaAssociation<::facebook::thrift::annotation::DeprecatedUnvalidatedAnnotations, false> {
  static ::folly::Range<const ::std::string_view*>(*bundle)();
  static constexpr int64_t programId = -3310715935950622564;
  static constexpr ::std::string_view definitionKey = {"\x77\xb3\x22\xb9\xff\xf9\x17\x78\xdc\x85\x62\x01\x48\x34\x14\xf8", 16};
};
template <> struct TSchemaAssociation<::facebook::thrift::annotation::AllowReservedIdentifier, false> {
  static ::folly::Range<const ::std::string_view*>(*bundle)();
  static constexpr int64_t programId = -3310715935950622564;
  static constexpr ::std::string_view definitionKey = {"\xfd\x66\xa5\x6f\xb6\x8b\xfb\x65\x0e\x3b\x3e\x10\x44\xde\x0b\xa0", 16};
};
template <> struct TSchemaAssociation<::facebook::thrift::annotation::AllowReservedFilename, false> {
  static ::folly::Range<const ::std::string_view*>(*bundle)();
  static constexpr int64_t programId = -3310715935950622564;
  static constexpr ::std::string_view definitionKey = {"\x8f\xc4\x5d\xb3\x79\x36\xa5\x40\xa6\x0b\xb2\x3e\x08\xb6\x9e\xdc", 16};
};
template <> struct TSchemaAssociation<::facebook::thrift::annotation::RpcPriority, true> {
  static ::folly::Range<const ::std::string_view*>(*bundle)();
  static constexpr int64_t programId = -3310715935950622564;
  static constexpr ::std::string_view definitionKey = {"\xf0\x02\x71\xaf\xff\x69\x84\x41\x1c\xba\x9c\x47\x26\x6b\x45\x45", 16};
};
} // namespace apache::thrift::detail
