/**
 * Autogenerated by Thrift for /opt/local/var/macports/build/fbthrift-07c1dc61/work/fbthrift-2025.08.25.00/thrift/annotation/java.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 java_annotation;
struct adapterClassName;
struct typeClassName;
struct wrapperClassName;
struct typeClassName;
} // namespace ident
namespace detail {
#ifndef APACHE_THRIFT_ACCESSOR_java_annotation
#define APACHE_THRIFT_ACCESSOR_java_annotation
APACHE_THRIFT_DEFINE_ACCESSOR(java_annotation);
#endif
#ifndef APACHE_THRIFT_ACCESSOR_adapterClassName
#define APACHE_THRIFT_ACCESSOR_adapterClassName
APACHE_THRIFT_DEFINE_ACCESSOR(adapterClassName);
#endif
#ifndef APACHE_THRIFT_ACCESSOR_typeClassName
#define APACHE_THRIFT_ACCESSOR_typeClassName
APACHE_THRIFT_DEFINE_ACCESSOR(typeClassName);
#endif
#ifndef APACHE_THRIFT_ACCESSOR_wrapperClassName
#define APACHE_THRIFT_ACCESSOR_wrapperClassName
APACHE_THRIFT_DEFINE_ACCESSOR(wrapperClassName);
#endif
#ifndef APACHE_THRIFT_ACCESSOR_typeClassName
#define APACHE_THRIFT_ACCESSOR_typeClassName
APACHE_THRIFT_DEFINE_ACCESSOR(typeClassName);
#endif
} // namespace detail
} // namespace apache::thrift

// BEGIN declare_enums
// END declare_enums
// BEGIN forward_declare
namespace facebook::thrift::annotation::java {
class Mutable;
class Annotation;
class BinaryString;
class Adapter;
class Wrapper;
class Recursive;
class FieldUseUnmangledName;
class UseIntrinsicDefault;
} // namespace facebook::thrift::annotation::java
// 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::java {
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/fbthrift-07c1dc61/work/fbthrift-2025.08.25.00/thrift/annotation/java.thrift", "name": "Mutable", "kind": "struct" } */
class Mutable 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 std::string_view __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 "java";
  }
  static constexpr std::size_t __fbthrift_num_fields = 0;

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

  using __fbthrift_reflection_idents = folly::tag_t<
  >;

  using __fbthrift_reflection_type_tags = folly::tag_t<
  >;
  void __fbthrift_clear();
  void __fbthrift_clear_terse_fields();
  bool __fbthrift_is_empty() const;

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


 public:

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

  Mutable(Mutable&&) = default;

  Mutable(const Mutable&) = default;


  Mutable& operator=(Mutable&&) = default;

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

 public:

  bool operator==(const Mutable&) const;
  bool operator<(const Mutable&) 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<Mutable>;
  friend void swap(Mutable& a, Mutable& b);
};

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


/** Glean {"file": "/opt/local/var/macports/build/fbthrift-07c1dc61/work/fbthrift-2025.08.25.00/thrift/annotation/java.thrift", "name": "Annotation", "kind": "struct" } */
class Annotation 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 std::string_view __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 "java";
  }
  static constexpr std::size_t __fbthrift_num_fields = 1;

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

  using __fbthrift_reflection_idents = folly::tag_t<
    ::apache::thrift::ident::java_annotation
  >;

  using __fbthrift_reflection_type_tags = folly::tag_t<
    ::apache::thrift::type::string_t
  >;
  void __fbthrift_clear();
  void __fbthrift_clear_terse_fields();
  bool __fbthrift_is_empty() const;

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


 public:

  Annotation();

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

  Annotation(Annotation&&) noexcept;

  Annotation(const Annotation& src);


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

  ~Annotation();

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

 public:

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

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

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

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

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

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

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

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

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

  /** Glean { "field": "java_annotation" } */
  template <typename T_Annotation_java_annotation_struct_setter = ::std::string>
  [[deprecated("Use `FOO.java_annotation() = BAR` instead of `FOO.set_java_annotation(BAR)`")]]
  ::std::string& set_java_annotation(T_Annotation_java_annotation_struct_setter&& java_annotation_) {
    java_annotation_ref() = std::forward<T_Annotation_java_annotation_struct_setter>(java_annotation_);
    return __fbthrift_field_java_annotation;
  }

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

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


/** Glean {"file": "/opt/local/var/macports/build/fbthrift-07c1dc61/work/fbthrift-2025.08.25.00/thrift/annotation/java.thrift", "name": "BinaryString", "kind": "struct" } */
class BinaryString 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 std::string_view __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 "java";
  }
  static constexpr std::size_t __fbthrift_num_fields = 0;

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

  using __fbthrift_reflection_idents = folly::tag_t<
  >;

  using __fbthrift_reflection_type_tags = folly::tag_t<
  >;
  void __fbthrift_clear();
  void __fbthrift_clear_terse_fields();
  bool __fbthrift_is_empty() const;

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


 public:

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

  BinaryString(BinaryString&&) = default;

  BinaryString(const BinaryString&) = default;


  BinaryString& operator=(BinaryString&&) = default;

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

 public:

  bool operator==(const BinaryString&) const;
  bool operator<(const BinaryString&) 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<BinaryString>;
  friend void swap(BinaryString& a, BinaryString& b);
};

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


/** Glean {"file": "/opt/local/var/macports/build/fbthrift-07c1dc61/work/fbthrift-2025.08.25.00/thrift/annotation/java.thrift", "name": "Adapter", "kind": "struct" } */
class Adapter 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 std::string_view __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 "java";
  }
  static constexpr std::size_t __fbthrift_num_fields = 2;

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

  using __fbthrift_reflection_idents = folly::tag_t<
    ::apache::thrift::ident::adapterClassName,
    ::apache::thrift::ident::typeClassName
  >;

  using __fbthrift_reflection_type_tags = folly::tag_t<
    ::apache::thrift::type::string_t,
    ::apache::thrift::type::string_t
  >;
  void __fbthrift_clear();
  void __fbthrift_clear_terse_fields();
  bool __fbthrift_is_empty() const;

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


 public:

  Adapter();

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

  Adapter(Adapter&&) noexcept;

  Adapter(const Adapter& src);


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

  ~Adapter();

 private:
  ::std::string __fbthrift_field_adapterClassName;
 private:
  ::std::string __fbthrift_field_typeClassName;
 private:
  apache::thrift::detail::isset_bitset<2, apache::thrift::detail::IssetBitsetOption::Unpacked> __isset;

 public:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  /** Glean { "field": "adapterClassName" } */
  template <typename T_Adapter_adapterClassName_struct_setter = ::std::string>
  [[deprecated("Use `FOO.adapterClassName() = BAR` instead of `FOO.set_adapterClassName(BAR)`")]]
  ::std::string& set_adapterClassName(T_Adapter_adapterClassName_struct_setter&& adapterClassName_) {
    adapterClassName_ref() = std::forward<T_Adapter_adapterClassName_struct_setter>(adapterClassName_);
    return __fbthrift_field_adapterClassName;
  }

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

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

  /** Glean { "field": "typeClassName" } */
  template <typename T_Adapter_typeClassName_struct_setter = ::std::string>
  [[deprecated("Use `FOO.typeClassName() = BAR` instead of `FOO.set_typeClassName(BAR)`")]]
  ::std::string& set_typeClassName(T_Adapter_typeClassName_struct_setter&& typeClassName_) {
    typeClassName_ref() = std::forward<T_Adapter_typeClassName_struct_setter>(typeClassName_);
    return __fbthrift_field_typeClassName;
  }

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

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


/** Glean {"file": "/opt/local/var/macports/build/fbthrift-07c1dc61/work/fbthrift-2025.08.25.00/thrift/annotation/java.thrift", "name": "Wrapper", "kind": "struct" } */
class Wrapper 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 std::string_view __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 "java";
  }
  static constexpr std::size_t __fbthrift_num_fields = 2;

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

  using __fbthrift_reflection_idents = folly::tag_t<
    ::apache::thrift::ident::wrapperClassName,
    ::apache::thrift::ident::typeClassName
  >;

  using __fbthrift_reflection_type_tags = folly::tag_t<
    ::apache::thrift::type::string_t,
    ::apache::thrift::type::string_t
  >;
  void __fbthrift_clear();
  void __fbthrift_clear_terse_fields();
  bool __fbthrift_is_empty() const;

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


 public:

  Wrapper();

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

  Wrapper(Wrapper&&) noexcept;

  Wrapper(const Wrapper& src);


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

  ~Wrapper();

 private:
  ::std::string __fbthrift_field_wrapperClassName;
 private:
  ::std::string __fbthrift_field_typeClassName;
 private:
  apache::thrift::detail::isset_bitset<2, apache::thrift::detail::IssetBitsetOption::Unpacked> __isset;

 public:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  /** Glean { "field": "wrapperClassName" } */
  template <typename T_Wrapper_wrapperClassName_struct_setter = ::std::string>
  [[deprecated("Use `FOO.wrapperClassName() = BAR` instead of `FOO.set_wrapperClassName(BAR)`")]]
  ::std::string& set_wrapperClassName(T_Wrapper_wrapperClassName_struct_setter&& wrapperClassName_) {
    wrapperClassName_ref() = std::forward<T_Wrapper_wrapperClassName_struct_setter>(wrapperClassName_);
    return __fbthrift_field_wrapperClassName;
  }

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

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

  /** Glean { "field": "typeClassName" } */
  template <typename T_Wrapper_typeClassName_struct_setter = ::std::string>
  [[deprecated("Use `FOO.typeClassName() = BAR` instead of `FOO.set_typeClassName(BAR)`")]]
  ::std::string& set_typeClassName(T_Wrapper_typeClassName_struct_setter&& typeClassName_) {
    typeClassName_ref() = std::forward<T_Wrapper_typeClassName_struct_setter>(typeClassName_);
    return __fbthrift_field_typeClassName;
  }

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

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


/** Glean {"file": "/opt/local/var/macports/build/fbthrift-07c1dc61/work/fbthrift-2025.08.25.00/thrift/annotation/java.thrift", "name": "Recursive", "kind": "struct" } */
class Recursive 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 std::string_view __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 "java";
  }
  static constexpr std::size_t __fbthrift_num_fields = 0;

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

  using __fbthrift_reflection_idents = folly::tag_t<
  >;

  using __fbthrift_reflection_type_tags = folly::tag_t<
  >;
  void __fbthrift_clear();
  void __fbthrift_clear_terse_fields();
  bool __fbthrift_is_empty() const;

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


 public:

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

  Recursive(Recursive&&) = default;

  Recursive(const Recursive&) = default;


  Recursive& operator=(Recursive&&) = default;

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

 public:

  bool operator==(const Recursive&) const;
  bool operator<(const Recursive&) 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<Recursive>;
  friend void swap(Recursive& a, Recursive& b);
};

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


/** Glean {"file": "/opt/local/var/macports/build/fbthrift-07c1dc61/work/fbthrift-2025.08.25.00/thrift/annotation/java.thrift", "name": "FieldUseUnmangledName", "kind": "struct" } */
class FieldUseUnmangledName 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 std::string_view __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 "java";
  }
  static constexpr std::size_t __fbthrift_num_fields = 0;

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

  using __fbthrift_reflection_idents = folly::tag_t<
  >;

  using __fbthrift_reflection_type_tags = folly::tag_t<
  >;
  void __fbthrift_clear();
  void __fbthrift_clear_terse_fields();
  bool __fbthrift_is_empty() const;

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


 public:

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

  FieldUseUnmangledName(FieldUseUnmangledName&&) = default;

  FieldUseUnmangledName(const FieldUseUnmangledName&) = default;


  FieldUseUnmangledName& operator=(FieldUseUnmangledName&&) = default;

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

 public:

  bool operator==(const FieldUseUnmangledName&) const;
  bool operator<(const FieldUseUnmangledName&) 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<FieldUseUnmangledName>;
  friend void swap(FieldUseUnmangledName& a, FieldUseUnmangledName& b);
};

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


/** Glean {"file": "/opt/local/var/macports/build/fbthrift-07c1dc61/work/fbthrift-2025.08.25.00/thrift/annotation/java.thrift", "name": "UseIntrinsicDefault", "kind": "struct" } */
class UseIntrinsicDefault 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 std::string_view __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 "java";
  }
  static constexpr std::size_t __fbthrift_num_fields = 0;

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

  using __fbthrift_reflection_idents = folly::tag_t<
  >;

  using __fbthrift_reflection_type_tags = folly::tag_t<
  >;
  void __fbthrift_clear();
  void __fbthrift_clear_terse_fields();
  bool __fbthrift_is_empty() const;

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


 public:

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

  UseIntrinsicDefault(UseIntrinsicDefault&&) = default;

  UseIntrinsicDefault(const UseIntrinsicDefault&) = default;


  UseIntrinsicDefault& operator=(UseIntrinsicDefault&&) = default;

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

 public:

  bool operator==(const UseIntrinsicDefault&) const;
  bool operator<(const UseIntrinsicDefault&) 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<UseIntrinsicDefault>;
  friend void swap(UseIntrinsicDefault& a, UseIntrinsicDefault& b);
};

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


} // namespace facebook::thrift::annotation::java

namespace apache::thrift::detail {
template <> struct TSchemaAssociation<::facebook::thrift::annotation::java::Mutable, false> {
  static ::folly::Range<const ::std::string_view*>(*bundle)();
  static constexpr int64_t programId = -3939500449326513932;
  static constexpr ::std::string_view definitionKey = {"\xa9\xcd\xb1\x07\xa6\x37\xff\xa6\xde\xb5\xa1\x49\xcb\x25\x7d\xd1", 16};
};
template <> struct TSchemaAssociation<::facebook::thrift::annotation::java::Annotation, false> {
  static ::folly::Range<const ::std::string_view*>(*bundle)();
  static constexpr int64_t programId = -3939500449326513932;
  static constexpr ::std::string_view definitionKey = {"\x00\x3a\x71\xc6\xfd\x0d\xee\xe0\x80\x57\x81\x40\xe0\xe7\x8c\x7f", 16};
};
template <> struct TSchemaAssociation<::facebook::thrift::annotation::java::BinaryString, false> {
  static ::folly::Range<const ::std::string_view*>(*bundle)();
  static constexpr int64_t programId = -3939500449326513932;
  static constexpr ::std::string_view definitionKey = {"\x8e\xce\xa8\x83\x7c\x31\x44\x6b\xad\x21\x2c\xf4\x91\x2f\x3a\x54", 16};
};
template <> struct TSchemaAssociation<::facebook::thrift::annotation::java::Adapter, false> {
  static ::folly::Range<const ::std::string_view*>(*bundle)();
  static constexpr int64_t programId = -3939500449326513932;
  static constexpr ::std::string_view definitionKey = {"\xf8\x94\xf4\xe4\x3c\x65\x4d\xb0\x56\xf0\xc1\x6e\x32\x43\x24\xa0", 16};
};
template <> struct TSchemaAssociation<::facebook::thrift::annotation::java::Wrapper, false> {
  static ::folly::Range<const ::std::string_view*>(*bundle)();
  static constexpr int64_t programId = -3939500449326513932;
  static constexpr ::std::string_view definitionKey = {"\x7f\x83\x3a\x81\x92\x5d\x48\x52\x03\xf6\x1d\xc2\x47\xc9\x4d\xcc", 16};
};
template <> struct TSchemaAssociation<::facebook::thrift::annotation::java::Recursive, false> {
  static ::folly::Range<const ::std::string_view*>(*bundle)();
  static constexpr int64_t programId = -3939500449326513932;
  static constexpr ::std::string_view definitionKey = {"\xcb\xad\x32\x0b\xef\x4e\xac\x85\x28\x1c\x9e\x3d\x25\xb8\x1a\x56", 16};
};
template <> struct TSchemaAssociation<::facebook::thrift::annotation::java::FieldUseUnmangledName, false> {
  static ::folly::Range<const ::std::string_view*>(*bundle)();
  static constexpr int64_t programId = -3939500449326513932;
  static constexpr ::std::string_view definitionKey = {"\xb3\x92\x35\x57\xb9\xfc\x37\x77\x2c\x35\x7a\xeb\x22\x89\xb7\xff", 16};
};
template <> struct TSchemaAssociation<::facebook::thrift::annotation::java::UseIntrinsicDefault, false> {
  static ::folly::Range<const ::std::string_view*>(*bundle)();
  static constexpr int64_t programId = -3939500449326513932;
  static constexpr ::std::string_view definitionKey = {"\xb9\x62\x35\xb4\xae\x6c\x5e\xc7\x68\x9e\xc5\x6c\x7f\x52\xc4\x76", 16};
};
} // namespace apache::thrift::detail
