/**
 * Autogenerated by Thrift for /opt/local/var/macports/build/fbthrift-07c1dc61/work/fbthrift-2025.12.15.00/thrift/lib/thrift/record.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_data_h.h>

#include "thrift/lib/thrift/gen-cpp2/record_types.h"

namespace apache { namespace thrift {

template <> struct TEnumDataStorage<::apache::thrift::type_system::SerializableRecordUnion::Type> {
  using type = ::apache::thrift::type_system::SerializableRecordUnion::Type;
  static constexpr const std::size_t size = 13;
  static constexpr std::array<type, size> values = { {
      type::boolDatum,
      type::int8Datum,
      type::int16Datum,
      type::int32Datum,
      type::int64Datum,
      type::float32Datum,
      type::float64Datum,
      type::textDatum,
      type::byteArrayDatum,
      type::fieldSetDatum,
      type::listDatum,
      type::setDatum,
      type::mapDatum,
  }};
  static constexpr std::array<std::string_view, size> names = { {
      "boolDatum"sv,
      "int8Datum"sv,
      "int16Datum"sv,
      "int32Datum"sv,
      "int64Datum"sv,
      "float32Datum"sv,
      "float64Datum"sv,
      "textDatum"sv,
      "byteArrayDatum"sv,
      "fieldSetDatum"sv,
      "listDatum"sv,
      "setDatum"sv,
      "mapDatum"sv,
  }};
};

template <> struct TStructDataStorage<::apache::thrift::type_system::SerializableRecordUnion> {
  static constexpr const std::size_t fields_size = 13;
  static const std::string_view name;
  static const std::array<std::string_view, fields_size> fields_names;
  static const std::array<int16_t, fields_size> fields_ids;
  static const std::array<protocol::TType, fields_size> fields_types;

 private:
  // The following fields describe internal storage metadata, and are private to
  // prevent user logic from accessing them, but they can be inspected by
  // debuggers.
  // -1 if the field has no isset.
  static const std::array<int, fields_size> isset_indexes;
};

template <> struct TStructDataStorage<::apache::thrift::type_system::SerializableRecordMapEntry> {
  static constexpr const std::size_t fields_size = 2;
  static const std::string_view name;
  static const std::array<std::string_view, fields_size> fields_names;
  static const std::array<int16_t, fields_size> fields_ids;
  static const std::array<protocol::TType, fields_size> fields_types;

 private:
  // The following fields describe internal storage metadata, and are private to
  // prevent user logic from accessing them, but they can be inspected by
  // debuggers.
  // -1 if the field has no isset.
  static const std::array<int, fields_size> isset_indexes;
};

}} // apache::thrift
