/**
 * Autogenerated by Thrift for /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_fbthrift/fbthrift/work/fbthrift-2025.01.13.00/thrift/lib/thrift/field_mask.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/field_mask_types.h"

namespace apache { namespace thrift {

template <> struct TEnumDataStorage<::apache::thrift::protocol::Mask::Type> {
  using type = ::apache::thrift::protocol::Mask::Type;
  static constexpr const std::size_t size = 8;
  static constexpr std::array<type, size> values = { {
      type::excludes,
      type::includes,
      type::excludes_map,
      type::includes_map,
      type::excludes_string_map,
      type::includes_string_map,
      type::excludes_type,
      type::includes_type,
  }};
  static constexpr std::array<std::string_view, size> names = { {
      "excludes"sv,
      "includes"sv,
      "excludes_map"sv,
      "includes_map"sv,
      "excludes_string_map"sv,
      "includes_string_map"sv,
      "excludes_type"sv,
      "includes_type"sv,
  }};
};

template <> struct TStructDataStorage<::apache::thrift::protocol::TypeAndMaskEntry> {
  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.
  static const std::array<std::string_view, fields_size> storage_names;
  // -1 if the field has no isset.
  static const std::array<int, fields_size> isset_indexes;
};

template <> struct TStructDataStorage<::apache::thrift::protocol::Mask> {
  static constexpr const std::size_t fields_size = 8;
  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.
  static const std::array<std::string_view, fields_size> storage_names;
  // -1 if the field has no isset.
  static const std::array<int, fields_size> isset_indexes;
};

}} // apache::thrift
