/**
 * Autogenerated by Thrift for /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_fb303/fb303/work/fb303-2024.07.29.00/fb303/thrift/fb303_core.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>



// BEGIN declare_enums
namespace facebook::fb303::cpp2 {

enum class fb303_status {
  DEAD = 0,
  STARTING = 1,
  ALIVE = 2,
  STOPPING = 3,
  STOPPED = 4,
  WARNING = 5,
};



} // namespace facebook::fb303::cpp2

namespace std {
template<> struct hash<::facebook::fb303::cpp2::fb303_status> :
  ::apache::thrift::detail::enum_hash<::facebook::fb303::cpp2::fb303_status> {};
} // std

namespace apache { namespace thrift {


template <> struct TEnumDataStorage<::facebook::fb303::cpp2::fb303_status>;

template <> struct TEnumTraits<::facebook::fb303::cpp2::fb303_status> {
  using type = ::facebook::fb303::cpp2::fb303_status;

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

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

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


}} // apache::thrift


// END declare_enums
// BEGIN forward_declare

// 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::fb303::cpp2 {
using ::apache::thrift::detail::operator!=;
using ::apache::thrift::detail::operator>;
using ::apache::thrift::detail::operator<=;
using ::apache::thrift::detail::operator>=;


} // namespace facebook::fb303::cpp2
