// Generated by the protocol buffer compiler.  DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: components/variations/proto/study.proto
// Protobuf C++ Version: 7.35.1

#include "components/variations/proto/study.pb.h"

#include <algorithm>
#include <type_traits>
#include "google/protobuf/io/coded_stream.h"
#include "google/protobuf/generated_message_tctable_impl.h"
#include "google/protobuf/internal_visibility.h"
#include "google/protobuf/extension_set.h"
#include "google/protobuf/generated_message_util.h"
#include "google/protobuf/wire_format_lite.h"
#include "google/protobuf/io/zero_copy_stream_impl_lite.h"
// @@protoc_insertion_point(includes)

// Must be included last.
#include "google/protobuf/port_def.inc"
PROTOBUF_PRAGMA_INIT_SEG
namespace _pb = ::google::protobuf;
namespace _pbi = ::google::protobuf::internal;
namespace _fl = ::google::protobuf::internal::field_layout;
namespace variations {
class Study_Filter::_Internal {
 public:
  using HasBits = decltype(::std::declval<Study_Filter>()._impl_._has_bits_);
  static constexpr ::int32_t kHasBitsOffset =
      8 * PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_._has_bits_);
};

constexpr Study_Filter::ParseTableT_ Study_Filter::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_._has_bits_),
      0, // no _extensions_
      27, 248,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4160749568,  // skipmap
      offsetof(ParseTableT_, field_entries),
      27,  // num_field_entries
      7,  // num_aux_entries
      offsetof(ParseTableT_, aux_entries),
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::variations::Study_Filter>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // int64 start_date = 1;
      {::_pbi::TcParser::FastV64S1,
       {8, 22, 0,
        PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.start_date_)}},
      // string min_version = 2;
      {::_pbi::TcParser::FastBS1,
       {18, 18, 0,
        PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.min_version_)}},
      // string max_version = 3;
      {::_pbi::TcParser::FastBS1,
       {26, 19, 0,
        PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.max_version_)}},
      // repeated .variations.Study.Channel channel = 4 [features = {
      {::_pbi::TcParser::FastErR1,
       {32, 0, 0,
        PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.channel_)}},
      // repeated .variations.Study.Platform platform = 5 [features = {
      {::_pbi::TcParser::FastEr0R1,
       {40, 1, 7,
        PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.platform_)}},
      // repeated string locale = 6;
      {::_pbi::TcParser::FastBR1,
       {50, 2, 0,
        PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.locale_)}},
      // repeated .variations.Study.FormFactor form_factor = 7 [features = {
      {::_pbi::TcParser::FastEr0R1,
       {56, 3, 7,
        PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.form_factor_)}},
      // repeated string hardware_class = 8;
      {::_pbi::TcParser::FastBR1,
       {66, 4, 0,
        PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.hardware_class_)}},
      // repeated string exclude_hardware_class = 9;
      {::_pbi::TcParser::FastBR1,
       {74, 5, 0,
        PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.exclude_hardware_class_)}},
      // repeated string country = 10;
      {::_pbi::TcParser::FastBR1,
       {82, 6, 0,
        PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.country_)}},
      // repeated string exclude_country = 11;
      {::_pbi::TcParser::FastBR1,
       {90, 7, 0,
        PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.exclude_country_)}},
      // repeated string exclude_locale = 12;
      {::_pbi::TcParser::FastBR1,
       {98, 8, 0,
        PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.exclude_locale_)}},
      // int64 end_date = 13;
      {::_pbi::TcParser::FastV64S1,
       {104, 23, 0,
        PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.end_date_)}},
      // repeated .variations.Study.FormFactor exclude_form_factor = 14 [features = {
      {::_pbi::TcParser::FastEr0R1,
       {112, 9, 7,
        PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.exclude_form_factor_)}},
      // bool is_low_end_device = 15;
      {::_pbi::TcParser::FastV8S1,
       {120, 24, 0,
        PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.is_low_end_device_)}},
      // string min_os_version = 16;
      {::_pbi::TcParser::FastBS2,
       {386, 20, 0,
        PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.min_os_version_)}},
      // string max_os_version = 17;
      {::_pbi::TcParser::FastBS2,
       {394, 21, 0,
        PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.max_os_version_)}},
      // bool is_enterprise = 18;
      {::_pbi::TcParser::FastV8S2,
       {400, 25, 0,
        PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.is_enterprise_)}},
      // .variations.Study.PolicyRestriction policy_restriction = 19 [default = NONE];
      {::_pbi::TcParser::FastEr0S2,
       {408, 26, 2,
        PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.policy_restriction_)}},
      // repeated .variations.Study.CpuArchitecture cpu_architecture = 20 [features = {
      {::_pbi::TcParser::FastEr0R2,
       {416, 10, 4,
        PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.cpu_architecture_)}},
      // repeated .variations.Study.CpuArchitecture exclude_cpu_architecture = 21 [features = {
      {::_pbi::TcParser::FastEr0R2,
       {424, 11, 4,
        PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.exclude_cpu_architecture_)}},
      // repeated int64 google_group = 22;
      {::_pbi::TcParser::FastV64P2,
       {434, 12, 0,
        PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.google_group_)}},
      // repeated int64 exclude_google_group = 23;
      {::_pbi::TcParser::FastV64P2,
       {442, 13, 0,
        PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.exclude_google_group_)}},
      // repeated string hardware_manufacturer = 24;
      {::_pbi::TcParser::FastBR2,
       {450, 14, 0,
        PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.hardware_manufacturer_)}},
      // repeated string exclude_hardware_manufacturer = 25;
      {::_pbi::TcParser::FastBR2,
       {458, 15, 0,
        PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.exclude_hardware_manufacturer_)}},
      // repeated string enterprise_group = 26;
      {::_pbi::TcParser::FastBR2,
       {466, 16, 0,
        PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.enterprise_group_)}},
      // repeated string exclude_enterprise_group = 27;
      {::_pbi::TcParser::FastBR2,
       {474, 17, 0,
        PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.exclude_enterprise_group_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // int64 start_date = 1;
      {PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.start_date_), _Internal::kHasBitsOffset + 22, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
      // string min_version = 2;
      {PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.min_version_), _Internal::kHasBitsOffset + 18, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // string max_version = 3;
      {PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.max_version_), _Internal::kHasBitsOffset + 19, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // repeated .variations.Study.Channel channel = 4 [features = {
      {PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.channel_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kEnumRange)},
      // repeated .variations.Study.Platform platform = 5 [features = {
      {PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.platform_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcRepeated | ::_fl::kEnumRange)},
      // repeated string locale = 6;
      {PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.locale_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcRepeated | ::_fl::kBytes | ::_fl::kRepSString)},
      // repeated .variations.Study.FormFactor form_factor = 7 [features = {
      {PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.form_factor_), _Internal::kHasBitsOffset + 3, 2, (0 | ::_fl::kFcRepeated | ::_fl::kEnumRange)},
      // repeated string hardware_class = 8;
      {PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.hardware_class_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcRepeated | ::_fl::kBytes | ::_fl::kRepSString)},
      // repeated string exclude_hardware_class = 9;
      {PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.exclude_hardware_class_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcRepeated | ::_fl::kBytes | ::_fl::kRepSString)},
      // repeated string country = 10;
      {PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.country_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcRepeated | ::_fl::kBytes | ::_fl::kRepSString)},
      // repeated string exclude_country = 11;
      {PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.exclude_country_), _Internal::kHasBitsOffset + 7, 0, (0 | ::_fl::kFcRepeated | ::_fl::kBytes | ::_fl::kRepSString)},
      // repeated string exclude_locale = 12;
      {PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.exclude_locale_), _Internal::kHasBitsOffset + 8, 0, (0 | ::_fl::kFcRepeated | ::_fl::kBytes | ::_fl::kRepSString)},
      // int64 end_date = 13;
      {PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.end_date_), _Internal::kHasBitsOffset + 23, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
      // repeated .variations.Study.FormFactor exclude_form_factor = 14 [features = {
      {PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.exclude_form_factor_), _Internal::kHasBitsOffset + 9, 3, (0 | ::_fl::kFcRepeated | ::_fl::kEnumRange)},
      // bool is_low_end_device = 15;
      {PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.is_low_end_device_), _Internal::kHasBitsOffset + 24, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // string min_os_version = 16;
      {PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.min_os_version_), _Internal::kHasBitsOffset + 20, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // string max_os_version = 17;
      {PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.max_os_version_), _Internal::kHasBitsOffset + 21, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // bool is_enterprise = 18;
      {PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.is_enterprise_), _Internal::kHasBitsOffset + 25, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // .variations.Study.PolicyRestriction policy_restriction = 19 [default = NONE];
      {PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.policy_restriction_), _Internal::kHasBitsOffset + 26, 4, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
      // repeated .variations.Study.CpuArchitecture cpu_architecture = 20 [features = {
      {PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.cpu_architecture_), _Internal::kHasBitsOffset + 10, 5, (0 | ::_fl::kFcRepeated | ::_fl::kEnumRange)},
      // repeated .variations.Study.CpuArchitecture exclude_cpu_architecture = 21 [features = {
      {PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.exclude_cpu_architecture_), _Internal::kHasBitsOffset + 11, 6, (0 | ::_fl::kFcRepeated | ::_fl::kEnumRange)},
      // repeated int64 google_group = 22;
      {PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.google_group_), _Internal::kHasBitsOffset + 12, 0, (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt64)},
      // repeated int64 exclude_google_group = 23;
      {PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.exclude_google_group_), _Internal::kHasBitsOffset + 13, 0, (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt64)},
      // repeated string hardware_manufacturer = 24;
      {PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.hardware_manufacturer_), _Internal::kHasBitsOffset + 14, 0, (0 | ::_fl::kFcRepeated | ::_fl::kBytes | ::_fl::kRepSString)},
      // repeated string exclude_hardware_manufacturer = 25;
      {PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.exclude_hardware_manufacturer_), _Internal::kHasBitsOffset + 15, 0, (0 | ::_fl::kFcRepeated | ::_fl::kBytes | ::_fl::kRepSString)},
      // repeated string enterprise_group = 26;
      {PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.enterprise_group_), _Internal::kHasBitsOffset + 16, 0, (0 | ::_fl::kFcRepeated | ::_fl::kBytes | ::_fl::kRepSString)},
      // repeated string exclude_enterprise_group = 27;
      {PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.exclude_enterprise_group_), _Internal::kHasBitsOffset + 17, 0, (0 | ::_fl::kFcRepeated | ::_fl::kBytes | ::_fl::kRepSString)},
    }},
    {{
        {-1, 3},
        {0, 7},
        {0, 7},
        {0, 7},
        {0, 2},
        {0, 4},
        {0, 4},
    }},
    {{
    }},
  };
}


inline constexpr Study_Filter::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        channel_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::variations::Study_Filter,
            PROTOBUF_FIELD_OFFSET(::variations::Study_Filter, _impl_.channel_)>()
         }
        ,
        platform_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::variations::Study_Filter,
            PROTOBUF_FIELD_OFFSET(::variations::Study_Filter, _impl_.platform_)>()
         }
        ,
        locale_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::variations::Study_Filter,
            PROTOBUF_FIELD_OFFSET(::variations::Study_Filter, _impl_.locale_)>()
         }
        ,
        form_factor_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::variations::Study_Filter,
            PROTOBUF_FIELD_OFFSET(::variations::Study_Filter, _impl_.form_factor_)>()
         }
        ,
        hardware_class_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::variations::Study_Filter,
            PROTOBUF_FIELD_OFFSET(::variations::Study_Filter, _impl_.hardware_class_)>()
         }
        ,
        exclude_hardware_class_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::variations::Study_Filter,
            PROTOBUF_FIELD_OFFSET(::variations::Study_Filter, _impl_.exclude_hardware_class_)>()
         }
        ,
        country_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::variations::Study_Filter,
            PROTOBUF_FIELD_OFFSET(::variations::Study_Filter, _impl_.country_)>()
         }
        ,
        exclude_country_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::variations::Study_Filter,
            PROTOBUF_FIELD_OFFSET(::variations::Study_Filter, _impl_.exclude_country_)>()
         }
        ,
        exclude_locale_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::variations::Study_Filter,
            PROTOBUF_FIELD_OFFSET(::variations::Study_Filter, _impl_.exclude_locale_)>()
         }
        ,
        exclude_form_factor_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::variations::Study_Filter,
            PROTOBUF_FIELD_OFFSET(::variations::Study_Filter, _impl_.exclude_form_factor_)>()
         }
        ,
        cpu_architecture_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::variations::Study_Filter,
            PROTOBUF_FIELD_OFFSET(::variations::Study_Filter, _impl_.cpu_architecture_)>()
         }
        ,
        exclude_cpu_architecture_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::variations::Study_Filter,
            PROTOBUF_FIELD_OFFSET(::variations::Study_Filter, _impl_.exclude_cpu_architecture_)>()
         }
        ,
        google_group_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::variations::Study_Filter,
            PROTOBUF_FIELD_OFFSET(::variations::Study_Filter, _impl_.google_group_)>()
         }
        ,
        _google_group_cached_byte_size_{0},
        exclude_google_group_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::variations::Study_Filter,
            PROTOBUF_FIELD_OFFSET(::variations::Study_Filter, _impl_.exclude_google_group_)>()
         }
        ,
        _exclude_google_group_cached_byte_size_{0},
        hardware_manufacturer_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::variations::Study_Filter,
            PROTOBUF_FIELD_OFFSET(::variations::Study_Filter, _impl_.hardware_manufacturer_)>()
         }
        ,
        exclude_hardware_manufacturer_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::variations::Study_Filter,
            PROTOBUF_FIELD_OFFSET(::variations::Study_Filter, _impl_.exclude_hardware_manufacturer_)>()
         }
        ,
        enterprise_group_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::variations::Study_Filter,
            PROTOBUF_FIELD_OFFSET(::variations::Study_Filter, _impl_.enterprise_group_)>()
         }
        ,
        exclude_enterprise_group_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::variations::Study_Filter,
            PROTOBUF_FIELD_OFFSET(::variations::Study_Filter, _impl_.exclude_enterprise_group_)>()
         }
        ,
        min_version_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        max_version_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        min_os_version_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        max_os_version_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        start_date_{::int64_t{0}},
        end_date_{::int64_t{0}},
        is_low_end_device_{false},
        is_enterprise_{false},
        policy_restriction_{static_cast< ::variations::Study_PolicyRestriction >(0)} {}

template <typename>
constexpr Study_Filter::Study_Filter(::_pbi::ConstantInitialized,
                       const ::_pbi::ClassData* PROTOBUF_NONNULL class_data)
    : ::google::protobuf::MessageLite(
#if defined(PROTOBUF_CUSTOM_VTABLE)
          class_data
#endif  // PROTOBUF_CUSTOM_VTABLE
          ),
      _impl_(internal_visibility(), ::_pbi::ConstantInitialized()) {
}
inline void* PROTOBUF_NONNULL Study_Filter::PlacementNew_(
    const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
  return ::new (mem) Study_Filter(arena);
}
constexpr auto Study_Filter::InternalNewImpl_() {
  return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Study_Filter), alignof(Study_Filter));
}
constexpr auto Study_Filter::InternalGenerateClassData_(
    const MessageLite& prototype,
    const ::google::protobuf::internal::TcParseTableBase* tc_table) {
  return ::google::protobuf::internal::ClassDataLite{
      {
          &prototype,
#ifndef PROTOBUF_MESSAGE_GLOBALS
          &_table_.header,
#else
          tc_table,
#endif
          nullptr,  // IsInitialized
          &Study_Filter::MergeImpl,
          ::google::protobuf::MessageLite::GetNewImpl<Study_Filter>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
          &Study_Filter::SharedDtor,
          ::google::protobuf::MessageLite::GetClearImpl<Study_Filter>(), &Study_Filter::ByteSizeLong,
              &Study_Filter::_InternalSerialize,
#endif  // PROTOBUF_CUSTOM_VTABLE
          PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_._cached_size_),
          true,
      },
      "variations.Study.Filter",
  };
}
struct Study_FilterGlobalsTypeInternal : ::_pbi::MessageGlobalsBase {
  constexpr Study_FilterGlobalsTypeInternal()
      :
#ifndef PROTOBUF_MESSAGE_GLOBALS
        _default(::_pbi::ConstantInitialized{},
                 Study_Filter_class_data_.base())
#else   // !PROTOBUF_MESSAGE_GLOBALS
        MessageGlobalsBase(Study_Filter::InternalGenerateClassData_(
            _default, &Study_Filter_globals_._table.header)),
        _default(::_pbi::ConstantInitialized{}, GetClassData()),
        _table(::_pbi::PrivateAccess::GenerateParseTable<Study_Filter>(
            GetClassData()))
#endif  // PROTOBUF_MESSAGE_GLOBALS
  {
  }
  ~Study_FilterGlobalsTypeInternal() {}
  union {
    alignas(::_pbi::kMaxMessageAlignment) Study_Filter _default;
  };
#ifdef PROTOBUF_MESSAGE_GLOBALS
  decltype(::_pbi::PrivateAccess::GenerateParseTable<Study_Filter>(
      ::std::declval<const ::_pbi::ClassData*>())) _table;
#endif
};
#ifdef PROTOBUF_MESSAGE_GLOBALS
static_assert(PROTOBUF_FIELD_OFFSET(Study_FilterGlobalsTypeInternal, _default) ==
              ::_pbi::MessageGlobalsBase::OffsetToDefault());
#endif  // PROTOBUF_MESSAGE_GLOBALS

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST Study_FilterGlobalsTypeInternal Study_Filter_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* Study_Filter_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return Study_Filter_globals_.GetClassData();
#else
  return Study_Filter_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
class Study_Experiment_Param::_Internal {
 public:
  using HasBits = decltype(::std::declval<Study_Experiment_Param>()._impl_._has_bits_);
  static constexpr ::int32_t kHasBitsOffset =
      8 * PROTOBUF_FIELD_OFFSET(Study_Experiment_Param, _impl_._has_bits_);
};

constexpr Study_Experiment_Param::ParseTableT_ Study_Experiment_Param::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(Study_Experiment_Param, _impl_._has_bits_),
      0, // no _extensions_
      2, 8,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967292,  // skipmap
      offsetof(ParseTableT_, field_entries),
      2,  // num_field_entries
      0,  // num_aux_entries
      offsetof(ParseTableT_, field_names),  // no aux_entries
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::variations::Study_Experiment_Param>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // string value = 2;
      {::_pbi::TcParser::FastBS1,
       {18, 1, 0,
        PROTOBUF_FIELD_OFFSET(Study_Experiment_Param, _impl_.value_)}},
      // string name = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(Study_Experiment_Param, _impl_.name_)}},
    }}, {{
      65535, 65535
    }}, {{
      // string name = 1;
      {PROTOBUF_FIELD_OFFSET(Study_Experiment_Param, _impl_.name_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // string value = 2;
      {PROTOBUF_FIELD_OFFSET(Study_Experiment_Param, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
    }},
    // no aux_entries
    {{
    }},
  };
}


inline constexpr Study_Experiment_Param::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        name_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        value_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()) {}

template <typename>
constexpr Study_Experiment_Param::Study_Experiment_Param(::_pbi::ConstantInitialized,
                       const ::_pbi::ClassData* PROTOBUF_NONNULL class_data)
    : ::google::protobuf::MessageLite(
#if defined(PROTOBUF_CUSTOM_VTABLE)
          class_data
#endif  // PROTOBUF_CUSTOM_VTABLE
          ),
      _impl_(internal_visibility(), ::_pbi::ConstantInitialized()) {
}
inline void* PROTOBUF_NONNULL Study_Experiment_Param::PlacementNew_(
    const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
  return ::new (mem) Study_Experiment_Param(arena);
}
constexpr auto Study_Experiment_Param::InternalNewImpl_() {
  return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Study_Experiment_Param), alignof(Study_Experiment_Param));
}
constexpr auto Study_Experiment_Param::InternalGenerateClassData_(
    const MessageLite& prototype,
    const ::google::protobuf::internal::TcParseTableBase* tc_table) {
  return ::google::protobuf::internal::ClassDataLite{
      {
          &prototype,
#ifndef PROTOBUF_MESSAGE_GLOBALS
          &_table_.header,
#else
          tc_table,
#endif
          nullptr,  // IsInitialized
          &Study_Experiment_Param::MergeImpl,
          ::google::protobuf::MessageLite::GetNewImpl<Study_Experiment_Param>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
          &Study_Experiment_Param::SharedDtor,
          ::google::protobuf::MessageLite::GetClearImpl<Study_Experiment_Param>(), &Study_Experiment_Param::ByteSizeLong,
              &Study_Experiment_Param::_InternalSerialize,
#endif  // PROTOBUF_CUSTOM_VTABLE
          PROTOBUF_FIELD_OFFSET(Study_Experiment_Param, _impl_._cached_size_),
          true,
      },
      "variations.Study.Experiment.Param",
  };
}
struct Study_Experiment_ParamGlobalsTypeInternal : ::_pbi::MessageGlobalsBase {
  constexpr Study_Experiment_ParamGlobalsTypeInternal()
      :
#ifndef PROTOBUF_MESSAGE_GLOBALS
        _default(::_pbi::ConstantInitialized{},
                 Study_Experiment_Param_class_data_.base())
#else   // !PROTOBUF_MESSAGE_GLOBALS
        MessageGlobalsBase(Study_Experiment_Param::InternalGenerateClassData_(
            _default, &Study_Experiment_Param_globals_._table.header)),
        _default(::_pbi::ConstantInitialized{}, GetClassData()),
        _table(::_pbi::PrivateAccess::GenerateParseTable<Study_Experiment_Param>(
            GetClassData()))
#endif  // PROTOBUF_MESSAGE_GLOBALS
  {
  }
  ~Study_Experiment_ParamGlobalsTypeInternal() {}
  union {
    alignas(::_pbi::kMaxMessageAlignment) Study_Experiment_Param _default;
  };
#ifdef PROTOBUF_MESSAGE_GLOBALS
  decltype(::_pbi::PrivateAccess::GenerateParseTable<Study_Experiment_Param>(
      ::std::declval<const ::_pbi::ClassData*>())) _table;
#endif
};
#ifdef PROTOBUF_MESSAGE_GLOBALS
static_assert(PROTOBUF_FIELD_OFFSET(Study_Experiment_ParamGlobalsTypeInternal, _default) ==
              ::_pbi::MessageGlobalsBase::OffsetToDefault());
#endif  // PROTOBUF_MESSAGE_GLOBALS

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST Study_Experiment_ParamGlobalsTypeInternal Study_Experiment_Param_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* Study_Experiment_Param_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return Study_Experiment_Param_globals_.GetClassData();
#else
  return Study_Experiment_Param_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
class Study_Experiment_FeatureAssociation::_Internal {
 public:
  using HasBits = decltype(::std::declval<Study_Experiment_FeatureAssociation>()._impl_._has_bits_);
  static constexpr ::int32_t kHasBitsOffset =
      8 * PROTOBUF_FIELD_OFFSET(Study_Experiment_FeatureAssociation, _impl_._has_bits_);
};

constexpr Study_Experiment_FeatureAssociation::ParseTableT_ Study_Experiment_FeatureAssociation::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(Study_Experiment_FeatureAssociation, _impl_._has_bits_),
      0, // no _extensions_
      4, 24,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967280,  // skipmap
      offsetof(ParseTableT_, field_entries),
      4,  // num_field_entries
      0,  // num_aux_entries
      offsetof(ParseTableT_, field_names),  // no aux_entries
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::variations::Study_Experiment_FeatureAssociation>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // string forcing_feature_off = 4;
      {::_pbi::TcParser::FastBS1,
       {34, 3, 0,
        PROTOBUF_FIELD_OFFSET(Study_Experiment_FeatureAssociation, _impl_.forcing_feature_off_)}},
      // repeated string enable_feature = 1;
      {::_pbi::TcParser::FastBR1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(Study_Experiment_FeatureAssociation, _impl_.enable_feature_)}},
      // repeated string disable_feature = 2;
      {::_pbi::TcParser::FastBR1,
       {18, 1, 0,
        PROTOBUF_FIELD_OFFSET(Study_Experiment_FeatureAssociation, _impl_.disable_feature_)}},
      // string forcing_feature_on = 3;
      {::_pbi::TcParser::FastBS1,
       {26, 2, 0,
        PROTOBUF_FIELD_OFFSET(Study_Experiment_FeatureAssociation, _impl_.forcing_feature_on_)}},
    }}, {{
      65535, 65535
    }}, {{
      // repeated string enable_feature = 1;
      {PROTOBUF_FIELD_OFFSET(Study_Experiment_FeatureAssociation, _impl_.enable_feature_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kBytes | ::_fl::kRepSString)},
      // repeated string disable_feature = 2;
      {PROTOBUF_FIELD_OFFSET(Study_Experiment_FeatureAssociation, _impl_.disable_feature_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcRepeated | ::_fl::kBytes | ::_fl::kRepSString)},
      // string forcing_feature_on = 3;
      {PROTOBUF_FIELD_OFFSET(Study_Experiment_FeatureAssociation, _impl_.forcing_feature_on_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // string forcing_feature_off = 4;
      {PROTOBUF_FIELD_OFFSET(Study_Experiment_FeatureAssociation, _impl_.forcing_feature_off_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
    }},
    // no aux_entries
    {{
    }},
  };
}


inline constexpr Study_Experiment_FeatureAssociation::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        enable_feature_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::variations::Study_Experiment_FeatureAssociation,
            PROTOBUF_FIELD_OFFSET(::variations::Study_Experiment_FeatureAssociation, _impl_.enable_feature_)>()
         }
        ,
        disable_feature_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::variations::Study_Experiment_FeatureAssociation,
            PROTOBUF_FIELD_OFFSET(::variations::Study_Experiment_FeatureAssociation, _impl_.disable_feature_)>()
         }
        ,
        forcing_feature_on_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        forcing_feature_off_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()) {}

template <typename>
constexpr Study_Experiment_FeatureAssociation::Study_Experiment_FeatureAssociation(::_pbi::ConstantInitialized,
                       const ::_pbi::ClassData* PROTOBUF_NONNULL class_data)
    : ::google::protobuf::MessageLite(
#if defined(PROTOBUF_CUSTOM_VTABLE)
          class_data
#endif  // PROTOBUF_CUSTOM_VTABLE
          ),
      _impl_(internal_visibility(), ::_pbi::ConstantInitialized()) {
}
inline void* PROTOBUF_NONNULL Study_Experiment_FeatureAssociation::PlacementNew_(
    const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
  return ::new (mem) Study_Experiment_FeatureAssociation(arena);
}
constexpr auto Study_Experiment_FeatureAssociation::InternalNewImpl_() {
  return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Study_Experiment_FeatureAssociation), alignof(Study_Experiment_FeatureAssociation));
}
constexpr auto Study_Experiment_FeatureAssociation::InternalGenerateClassData_(
    const MessageLite& prototype,
    const ::google::protobuf::internal::TcParseTableBase* tc_table) {
  return ::google::protobuf::internal::ClassDataLite{
      {
          &prototype,
#ifndef PROTOBUF_MESSAGE_GLOBALS
          &_table_.header,
#else
          tc_table,
#endif
          nullptr,  // IsInitialized
          &Study_Experiment_FeatureAssociation::MergeImpl,
          ::google::protobuf::MessageLite::GetNewImpl<Study_Experiment_FeatureAssociation>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
          &Study_Experiment_FeatureAssociation::SharedDtor,
          ::google::protobuf::MessageLite::GetClearImpl<Study_Experiment_FeatureAssociation>(), &Study_Experiment_FeatureAssociation::ByteSizeLong,
              &Study_Experiment_FeatureAssociation::_InternalSerialize,
#endif  // PROTOBUF_CUSTOM_VTABLE
          PROTOBUF_FIELD_OFFSET(Study_Experiment_FeatureAssociation, _impl_._cached_size_),
          true,
      },
      "variations.Study.Experiment.FeatureAssociation",
  };
}
struct Study_Experiment_FeatureAssociationGlobalsTypeInternal : ::_pbi::MessageGlobalsBase {
  constexpr Study_Experiment_FeatureAssociationGlobalsTypeInternal()
      :
#ifndef PROTOBUF_MESSAGE_GLOBALS
        _default(::_pbi::ConstantInitialized{},
                 Study_Experiment_FeatureAssociation_class_data_.base())
#else   // !PROTOBUF_MESSAGE_GLOBALS
        MessageGlobalsBase(Study_Experiment_FeatureAssociation::InternalGenerateClassData_(
            _default, &Study_Experiment_FeatureAssociation_globals_._table.header)),
        _default(::_pbi::ConstantInitialized{}, GetClassData()),
        _table(::_pbi::PrivateAccess::GenerateParseTable<Study_Experiment_FeatureAssociation>(
            GetClassData()))
#endif  // PROTOBUF_MESSAGE_GLOBALS
  {
  }
  ~Study_Experiment_FeatureAssociationGlobalsTypeInternal() {}
  union {
    alignas(::_pbi::kMaxMessageAlignment) Study_Experiment_FeatureAssociation _default;
  };
#ifdef PROTOBUF_MESSAGE_GLOBALS
  decltype(::_pbi::PrivateAccess::GenerateParseTable<Study_Experiment_FeatureAssociation>(
      ::std::declval<const ::_pbi::ClassData*>())) _table;
#endif
};
#ifdef PROTOBUF_MESSAGE_GLOBALS
static_assert(PROTOBUF_FIELD_OFFSET(Study_Experiment_FeatureAssociationGlobalsTypeInternal, _default) ==
              ::_pbi::MessageGlobalsBase::OffsetToDefault());
#endif  // PROTOBUF_MESSAGE_GLOBALS

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST Study_Experiment_FeatureAssociationGlobalsTypeInternal Study_Experiment_FeatureAssociation_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* Study_Experiment_FeatureAssociation_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return Study_Experiment_FeatureAssociation_globals_.GetClassData();
#else
  return Study_Experiment_FeatureAssociation_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
class Study_Experiment::_Internal {
 public:
  using HasBits = decltype(::std::declval<Study_Experiment>()._impl_._has_bits_);
  static constexpr ::int32_t kHasBitsOffset =
      8 * PROTOBUF_FIELD_OFFSET(Study_Experiment, _impl_._has_bits_);
  static bool MissingRequiredFields(const HasBits& has_bits) {
    return ((has_bits[0] & 0x00000022) ^ 0x00000022) != 0;
  }
};

constexpr Study_Experiment::ParseTableT_ Study_Experiment::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(Study_Experiment, _impl_._has_bits_),
      0, // no _extensions_
      16, 120,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294915848,  // skipmap
      offsetof(ParseTableT_, field_entries),
      10,  // num_field_entries
      4,  // num_aux_entries
      offsetof(ParseTableT_, aux_entries),
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::variations::Study_Experiment>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // .variations.Study.GoogleWebVisibility google_web_visibility = 16 [default = ANY];
      {::_pbi::TcParser::FastEr0S2,
       {384, 9, 1,
        PROTOBUF_FIELD_OFFSET(Study_Experiment, _impl_.google_web_visibility_)}},
      // string name = 1 [features = {
      {::_pbi::TcParser::FastBS1,
       {10, 1, 0,
        PROTOBUF_FIELD_OFFSET(Study_Experiment, _impl_.name_)}},
      // uint32 probability_weight = 2 [features = {
      {::_pbi::TcParser::FastV32S1,
       {16, 5, 0,
        PROTOBUF_FIELD_OFFSET(Study_Experiment, _impl_.probability_weight_)}},
      // uint64 google_web_experiment_id = 3;
      {::_pbi::TcParser::FastV64S1,
       {24, 4, 0,
        PROTOBUF_FIELD_OFFSET(Study_Experiment, _impl_.google_web_experiment_id_)}},
      {::_pbi::TcParser::MiniParse, {}},
      // string forcing_flag = 5;
      {::_pbi::TcParser::FastBS1,
       {42, 2, 0,
        PROTOBUF_FIELD_OFFSET(Study_Experiment, _impl_.forcing_flag_)}},
      // repeated .variations.Study.Experiment.Param param = 6;
      {::_pbi::TcParser::FastMtR1,
       {50, 0, 0,
        PROTOBUF_FIELD_OFFSET(Study_Experiment, _impl_.param_)}},
      // .variations.Study.Experiment.Type type = 7 [default = NORMAL];
      {::_pbi::TcParser::FastEr0S1,
       {56, 6, 3,
        PROTOBUF_FIELD_OFFSET(Study_Experiment, _impl_.type_)}},
      // uint64 google_web_trigger_experiment_id = 8;
      {::_pbi::TcParser::FastV64S1,
       {64, 7, 0,
        PROTOBUF_FIELD_OFFSET(Study_Experiment, _impl_.google_web_trigger_experiment_id_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      // .variations.Study.Experiment.FeatureAssociation feature_association = 12;
      {::_pbi::TcParser::FastMtS1,
       {98, 3, 1,
        PROTOBUF_FIELD_OFFSET(Study_Experiment, _impl_.feature_association_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      // uint64 google_app_experiment_id = 15;
      {::_pbi::TcParser::FastV64S1,
       {120, 8, 0,
        PROTOBUF_FIELD_OFFSET(Study_Experiment, _impl_.google_app_experiment_id_)}},
    }}, {{
      65535, 65535
    }}, {{
      // string name = 1 [features = {
      {PROTOBUF_FIELD_OFFSET(Study_Experiment, _impl_.name_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // uint32 probability_weight = 2 [features = {
      {PROTOBUF_FIELD_OFFSET(Study_Experiment, _impl_.probability_weight_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
      // uint64 google_web_experiment_id = 3;
      {PROTOBUF_FIELD_OFFSET(Study_Experiment, _impl_.google_web_experiment_id_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)},
      // string forcing_flag = 5;
      {PROTOBUF_FIELD_OFFSET(Study_Experiment, _impl_.forcing_flag_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // repeated .variations.Study.Experiment.Param param = 6;
      {PROTOBUF_FIELD_OFFSET(Study_Experiment, _impl_.param_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
      // .variations.Study.Experiment.Type type = 7 [default = NORMAL];
      {PROTOBUF_FIELD_OFFSET(Study_Experiment, _impl_.type_), _Internal::kHasBitsOffset + 6, 2, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
      // uint64 google_web_trigger_experiment_id = 8;
      {PROTOBUF_FIELD_OFFSET(Study_Experiment, _impl_.google_web_trigger_experiment_id_), _Internal::kHasBitsOffset + 7, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)},
      // .variations.Study.Experiment.FeatureAssociation feature_association = 12;
      {PROTOBUF_FIELD_OFFSET(Study_Experiment, _impl_.feature_association_), _Internal::kHasBitsOffset + 3, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // uint64 google_app_experiment_id = 15;
      {PROTOBUF_FIELD_OFFSET(Study_Experiment, _impl_.google_app_experiment_id_), _Internal::kHasBitsOffset + 8, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)},
      // .variations.Study.GoogleWebVisibility google_web_visibility = 16 [default = ANY];
      {PROTOBUF_FIELD_OFFSET(Study_Experiment, _impl_.google_web_visibility_), _Internal::kHasBitsOffset + 9, 3, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::variations::Study_Experiment_Param>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::variations::Study_Experiment_Param_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::variations::Study_Experiment_FeatureAssociation>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::variations::Study_Experiment_FeatureAssociation_globals_},
        #endif
        {0, 3},
        {0, 1},
    }},
    {{
    }},
  };
}


inline constexpr Study_Experiment::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        param_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::variations::Study_Experiment,
            PROTOBUF_FIELD_OFFSET(::variations::Study_Experiment, _impl_.param_)>()
         }
        ,
        name_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        forcing_flag_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        feature_association_{nullptr},
        google_web_experiment_id_{::uint64_t{0u}},
        probability_weight_{0u},
        type_{static_cast< ::variations::Study_Experiment_Type >(0)},
        google_web_trigger_experiment_id_{::uint64_t{0u}},
        google_app_experiment_id_{::uint64_t{0u}},
        google_web_visibility_{static_cast< ::variations::Study_GoogleWebVisibility >(0)} {}

template <typename>
constexpr Study_Experiment::Study_Experiment(::_pbi::ConstantInitialized,
                       const ::_pbi::ClassData* PROTOBUF_NONNULL class_data)
    : ::google::protobuf::MessageLite(
#if defined(PROTOBUF_CUSTOM_VTABLE)
          class_data
#endif  // PROTOBUF_CUSTOM_VTABLE
          ),
      _impl_(internal_visibility(), ::_pbi::ConstantInitialized()) {
}
inline void* PROTOBUF_NONNULL Study_Experiment::PlacementNew_(
    const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
  return ::new (mem) Study_Experiment(arena);
}
constexpr auto Study_Experiment::InternalNewImpl_() {
  return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Study_Experiment), alignof(Study_Experiment));
}
constexpr auto Study_Experiment::InternalGenerateClassData_(
    const MessageLite& prototype,
    const ::google::protobuf::internal::TcParseTableBase* tc_table) {
  return ::google::protobuf::internal::ClassDataLite{
      {
          &prototype,
#ifndef PROTOBUF_MESSAGE_GLOBALS
          &_table_.header,
#else
          tc_table,
#endif
          Study_Experiment::IsInitializedImpl,
          &Study_Experiment::MergeImpl,
          ::google::protobuf::MessageLite::GetNewImpl<Study_Experiment>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
          &Study_Experiment::SharedDtor,
          ::google::protobuf::MessageLite::GetClearImpl<Study_Experiment>(), &Study_Experiment::ByteSizeLong,
              &Study_Experiment::_InternalSerialize,
#endif  // PROTOBUF_CUSTOM_VTABLE
          PROTOBUF_FIELD_OFFSET(Study_Experiment, _impl_._cached_size_),
          true,
      },
      "variations.Study.Experiment",
  };
}
struct Study_ExperimentGlobalsTypeInternal : ::_pbi::MessageGlobalsBase {
  constexpr Study_ExperimentGlobalsTypeInternal()
      :
#ifndef PROTOBUF_MESSAGE_GLOBALS
        _default(::_pbi::ConstantInitialized{},
                 Study_Experiment_class_data_.base())
#else   // !PROTOBUF_MESSAGE_GLOBALS
        MessageGlobalsBase(Study_Experiment::InternalGenerateClassData_(
            _default, &Study_Experiment_globals_._table.header)),
        _default(::_pbi::ConstantInitialized{}, GetClassData()),
        _table(::_pbi::PrivateAccess::GenerateParseTable<Study_Experiment>(
            GetClassData()))
#endif  // PROTOBUF_MESSAGE_GLOBALS
  {
  }
  ~Study_ExperimentGlobalsTypeInternal() {}
  union {
    alignas(::_pbi::kMaxMessageAlignment) Study_Experiment _default;
  };
#ifdef PROTOBUF_MESSAGE_GLOBALS
  decltype(::_pbi::PrivateAccess::GenerateParseTable<Study_Experiment>(
      ::std::declval<const ::_pbi::ClassData*>())) _table;
#endif
};
#ifdef PROTOBUF_MESSAGE_GLOBALS
static_assert(PROTOBUF_FIELD_OFFSET(Study_ExperimentGlobalsTypeInternal, _default) ==
              ::_pbi::MessageGlobalsBase::OffsetToDefault());
#endif  // PROTOBUF_MESSAGE_GLOBALS

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST Study_ExperimentGlobalsTypeInternal Study_Experiment_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* Study_Experiment_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return Study_Experiment_globals_.GetClassData();
#else
  return Study_Experiment_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
class Study::_Internal {
 public:
  using HasBits = decltype(::std::declval<Study>()._impl_._has_bits_);
  static constexpr ::int32_t kHasBitsOffset =
      8 * PROTOBUF_FIELD_OFFSET(Study, _impl_._has_bits_);
  static bool MissingRequiredFields(const HasBits& has_bits) {
    return ((has_bits[0] & 0x00000002) ^ 0x00000002) != 0;
  }
};

constexpr Study::ParseTableT_ Study::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(Study, _impl_._has_bits_),
      0, // no _extensions_
      19, 120,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294471738,  // skipmap
      offsetof(ParseTableT_, field_entries),
      12,  // num_field_entries
      3,  // num_aux_entries
      offsetof(ParseTableT_, aux_entries),
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::variations::Study>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // .variations.LayerMemberReference layer = 16;
      {::_pbi::TcParser::FastMtS2,
       {386, 4, 2,
        PROTOBUF_FIELD_OFFSET(Study, _impl_.layer_)}},
      // string name = 1 [features = {
      {::_pbi::TcParser::FastBS1,
       {10, 1, 0,
        PROTOBUF_FIELD_OFFSET(Study, _impl_.name_)}},
      // int64 google_web_visibility_end_date = 18;
      {::_pbi::TcParser::FastV64S2,
       {400, 11, 0,
        PROTOBUF_FIELD_OFFSET(Study, _impl_.google_web_visibility_end_date_)}},
      // int64 expiry_date = 3;
      {::_pbi::TcParser::FastV64S1,
       {24, 5, 0,
        PROTOBUF_FIELD_OFFSET(Study, _impl_.expiry_date_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      // .variations.Study.Consistency consistency = 7 [default = SESSION];
      {::_pbi::TcParser::FastV32S1,
       {56, 6, 0,
        PROTOBUF_FIELD_OFFSET(Study, _impl_.consistency_)}},
      // string default_experiment_name = 8;
      {::_pbi::TcParser::FastBS1,
       {66, 2, 0,
        PROTOBUF_FIELD_OFFSET(Study, _impl_.default_experiment_name_)}},
      // repeated .variations.Study.Experiment experiment = 9;
      {::_pbi::TcParser::FastMtR1,
       {74, 0, 0,
        PROTOBUF_FIELD_OFFSET(Study, _impl_.experiment_)}},
      // .variations.Study.Filter filter = 10;
      {::_pbi::TcParser::FastMtS1,
       {82, 3, 1,
        PROTOBUF_FIELD_OFFSET(Study, _impl_.filter_)}},
      // uint32 randomization_seed = 11;
      {::_pbi::TcParser::FastV32S1,
       {88, 7, 0,
        PROTOBUF_FIELD_OFFSET(Study, _impl_.randomization_seed_)}},
      // .variations.Study.ActivationType activation_type = 12;
      {::_pbi::TcParser::FastV32S1,
       {96, 8, 0,
        PROTOBUF_FIELD_OFFSET(Study, _impl_.activation_type_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // string name = 1 [features = {
      {PROTOBUF_FIELD_OFFSET(Study, _impl_.name_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // int64 expiry_date = 3;
      {PROTOBUF_FIELD_OFFSET(Study, _impl_.expiry_date_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
      // .variations.Study.Consistency consistency = 7 [default = SESSION];
      {PROTOBUF_FIELD_OFFSET(Study, _impl_.consistency_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
      // string default_experiment_name = 8;
      {PROTOBUF_FIELD_OFFSET(Study, _impl_.default_experiment_name_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // repeated .variations.Study.Experiment experiment = 9;
      {PROTOBUF_FIELD_OFFSET(Study, _impl_.experiment_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
      // .variations.Study.Filter filter = 10;
      {PROTOBUF_FIELD_OFFSET(Study, _impl_.filter_), _Internal::kHasBitsOffset + 3, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // uint32 randomization_seed = 11;
      {PROTOBUF_FIELD_OFFSET(Study, _impl_.randomization_seed_), _Internal::kHasBitsOffset + 7, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
      // .variations.Study.ActivationType activation_type = 12;
      {PROTOBUF_FIELD_OFFSET(Study, _impl_.activation_type_), _Internal::kHasBitsOffset + 8, 0, (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
      // .variations.LayerMemberReference layer = 16;
      {PROTOBUF_FIELD_OFFSET(Study, _impl_.layer_), _Internal::kHasBitsOffset + 4, 2, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // int64 google_web_visibility_start_date = 17;
      {PROTOBUF_FIELD_OFFSET(Study, _impl_.google_web_visibility_start_date_), _Internal::kHasBitsOffset + 10, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
      // int64 google_web_visibility_end_date = 18;
      {PROTOBUF_FIELD_OFFSET(Study, _impl_.google_web_visibility_end_date_), _Internal::kHasBitsOffset + 11, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
      // bool runtime_mutable = 19;
      {PROTOBUF_FIELD_OFFSET(Study, _impl_.runtime_mutable_), _Internal::kHasBitsOffset + 9, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::variations::Study_Experiment>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::variations::Study_Experiment_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::variations::Study_Filter>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::variations::Study_Filter_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::variations::LayerMemberReference>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::variations::LayerMemberReference_globals_},
        #endif
    }},
    {{
    }},
  };
}


inline constexpr Study::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        experiment_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::variations::Study,
            PROTOBUF_FIELD_OFFSET(::variations::Study, _impl_.experiment_)>()
         }
        ,
        name_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        default_experiment_name_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        filter_{nullptr},
        layer_{nullptr},
        expiry_date_{::int64_t{0}},
        consistency_{static_cast< ::variations::Study_Consistency >(0)},
        randomization_seed_{0u},
        activation_type_{static_cast< ::variations::Study_ActivationType >(0)},
        runtime_mutable_{false},
        google_web_visibility_start_date_{::int64_t{0}},
        google_web_visibility_end_date_{::int64_t{0}} {}

template <typename>
constexpr Study::Study(::_pbi::ConstantInitialized,
                       const ::_pbi::ClassData* PROTOBUF_NONNULL class_data)
    : ::google::protobuf::MessageLite(
#if defined(PROTOBUF_CUSTOM_VTABLE)
          class_data
#endif  // PROTOBUF_CUSTOM_VTABLE
          ),
      _impl_(internal_visibility(), ::_pbi::ConstantInitialized()) {
}
inline void* PROTOBUF_NONNULL Study::PlacementNew_(
    const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
  return ::new (mem) Study(arena);
}
constexpr auto Study::InternalNewImpl_() {
  return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Study), alignof(Study));
}
constexpr auto Study::InternalGenerateClassData_(
    const MessageLite& prototype,
    const ::google::protobuf::internal::TcParseTableBase* tc_table) {
  return ::google::protobuf::internal::ClassDataLite{
      {
          &prototype,
#ifndef PROTOBUF_MESSAGE_GLOBALS
          &_table_.header,
#else
          tc_table,
#endif
          Study::IsInitializedImpl,
          &Study::MergeImpl,
          ::google::protobuf::MessageLite::GetNewImpl<Study>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
          &Study::SharedDtor,
          ::google::protobuf::MessageLite::GetClearImpl<Study>(), &Study::ByteSizeLong,
              &Study::_InternalSerialize,
#endif  // PROTOBUF_CUSTOM_VTABLE
          PROTOBUF_FIELD_OFFSET(Study, _impl_._cached_size_),
          true,
      },
      "variations.Study",
  };
}
struct StudyGlobalsTypeInternal : ::_pbi::MessageGlobalsBase {
  constexpr StudyGlobalsTypeInternal()
      :
#ifndef PROTOBUF_MESSAGE_GLOBALS
        _default(::_pbi::ConstantInitialized{},
                 Study_class_data_.base())
#else   // !PROTOBUF_MESSAGE_GLOBALS
        MessageGlobalsBase(Study::InternalGenerateClassData_(
            _default, &Study_globals_._table.header)),
        _default(::_pbi::ConstantInitialized{}, GetClassData()),
        _table(::_pbi::PrivateAccess::GenerateParseTable<Study>(
            GetClassData()))
#endif  // PROTOBUF_MESSAGE_GLOBALS
  {
  }
  ~StudyGlobalsTypeInternal() {}
  union {
    alignas(::_pbi::kMaxMessageAlignment) Study _default;
  };
#ifdef PROTOBUF_MESSAGE_GLOBALS
  decltype(::_pbi::PrivateAccess::GenerateParseTable<Study>(
      ::std::declval<const ::_pbi::ClassData*>())) _table;
#endif
};
#ifdef PROTOBUF_MESSAGE_GLOBALS
static_assert(PROTOBUF_FIELD_OFFSET(StudyGlobalsTypeInternal, _default) ==
              ::_pbi::MessageGlobalsBase::OffsetToDefault());
#endif  // PROTOBUF_MESSAGE_GLOBALS

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST StudyGlobalsTypeInternal Study_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* Study_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return Study_globals_.GetClassData();
#else
  return Study_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
}  // namespace variations
namespace variations {
PROTOBUF_CONSTINIT const uint32_t Study_Experiment_Type_internal_data_[] = {
    262144u, 0u, };
static const char Study_Experiment_Type_names[] = {
    "IGNORE_CHANGE"
    "KILL_BEST_EFFORT"
    "KILL_CRITICAL"
    "NORMAL"
};

static const ::google::protobuf::internal::EnumEntry Study_Experiment_Type_entries[] = {
    {{&Study_Experiment_Type_names[0], 13}, 1},
    {{&Study_Experiment_Type_names[13], 16}, 2},
    {{&Study_Experiment_Type_names[29], 13}, 3},
    {{&Study_Experiment_Type_names[42], 6}, 0},
};

static const int Study_Experiment_Type_entries_by_number[] = {
    3,  // 0 -> NORMAL
    0,  // 1 -> IGNORE_CHANGE
    1,  // 2 -> KILL_BEST_EFFORT
    2,  // 3 -> KILL_CRITICAL
};

bool Study_Experiment_Type_Parse(::absl::string_view name,
                                  Study_Experiment_Type* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      Study_Experiment_Type_entries, 4, name, &int_value);
  if (success) {
    *value = static_cast<Study_Experiment_Type>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    Study_Experiment_Type_strings[4] = {};

const ::std::string& Study_Experiment_Type_Name(Study_Experiment_Type value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      Study_Experiment_Type_entries, Study_Experiment_Type_entries_by_number, 4,
      Study_Experiment_Type_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(Study_Experiment_Type_entries,
                                  Study_Experiment_Type_entries_by_number,
                                  4, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : Study_Experiment_Type_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t Study_Consistency_internal_data_[] = {
    131072u, 0u, };
static const char Study_Consistency_names[] = {
    "PERMANENT"
    "SESSION"
};

static const ::google::protobuf::internal::EnumEntry Study_Consistency_entries[] = {
    {{&Study_Consistency_names[0], 9}, 1},
    {{&Study_Consistency_names[9], 7}, 0},
};

static const int Study_Consistency_entries_by_number[] = {
    1,  // 0 -> SESSION
    0,  // 1 -> PERMANENT
};

bool Study_Consistency_Parse(::absl::string_view name,
                                  Study_Consistency* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      Study_Consistency_entries, 2, name, &int_value);
  if (success) {
    *value = static_cast<Study_Consistency>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    Study_Consistency_strings[2] = {};

const ::std::string& Study_Consistency_Name(Study_Consistency value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      Study_Consistency_entries, Study_Consistency_entries_by_number, 2,
      Study_Consistency_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(Study_Consistency_entries,
                                  Study_Consistency_entries_by_number,
                                  2, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : Study_Consistency_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t Study_GoogleWebVisibility_internal_data_[] = {
    131072u, 0u, };
static const char Study_GoogleWebVisibility_names[] = {
    "ANY"
    "FIRST_PARTY"
};

static const ::google::protobuf::internal::EnumEntry Study_GoogleWebVisibility_entries[] = {
    {{&Study_GoogleWebVisibility_names[0], 3}, 0},
    {{&Study_GoogleWebVisibility_names[3], 11}, 1},
};

static const int Study_GoogleWebVisibility_entries_by_number[] = {
    0,  // 0 -> ANY
    1,  // 1 -> FIRST_PARTY
};

bool Study_GoogleWebVisibility_Parse(::absl::string_view name,
                                  Study_GoogleWebVisibility* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      Study_GoogleWebVisibility_entries, 2, name, &int_value);
  if (success) {
    *value = static_cast<Study_GoogleWebVisibility>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    Study_GoogleWebVisibility_strings[2] = {};

const ::std::string& Study_GoogleWebVisibility_Name(Study_GoogleWebVisibility value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      Study_GoogleWebVisibility_entries, Study_GoogleWebVisibility_entries_by_number, 2,
      Study_GoogleWebVisibility_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(Study_GoogleWebVisibility_entries,
                                  Study_GoogleWebVisibility_entries_by_number,
                                  2, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : Study_GoogleWebVisibility_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t Study_Channel_internal_data_[] = {
    393215u, 0u, };
static const char Study_Channel_names[] = {
    "BETA"
    "CANARY"
    "DEV"
    "STABLE"
    "UNKNOWN"
};

static const ::google::protobuf::internal::EnumEntry Study_Channel_entries[] = {
    {{&Study_Channel_names[0], 4}, 2},
    {{&Study_Channel_names[4], 6}, 0},
    {{&Study_Channel_names[10], 3}, 1},
    {{&Study_Channel_names[13], 6}, 3},
    {{&Study_Channel_names[19], 7}, -1},
};

static const int Study_Channel_entries_by_number[] = {
    4,  // -1 -> UNKNOWN
    1,  // 0 -> CANARY
    2,  // 1 -> DEV
    0,  // 2 -> BETA
    3,  // 3 -> STABLE
};

bool Study_Channel_Parse(::absl::string_view name,
                                  Study_Channel* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      Study_Channel_entries, 5, name, &int_value);
  if (success) {
    *value = static_cast<Study_Channel>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    Study_Channel_strings[5] = {};

const ::std::string& Study_Channel_Name(Study_Channel value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      Study_Channel_entries, Study_Channel_entries_by_number, 5,
      Study_Channel_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(Study_Channel_entries,
                                  Study_Channel_entries_by_number,
                                  5, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : Study_Channel_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t Study_Platform_internal_data_[] = {
    524288u, 0u, };
static const char Study_Platform_names[] = {
    "PLATFORM_ANDROID"
    "PLATFORM_ANDROID_WEBVIEW"
    "PLATFORM_CHROMEOS"
    "PLATFORM_FUCHSIA"
    "PLATFORM_IOS"
    "PLATFORM_LINUX"
    "PLATFORM_MAC"
    "PLATFORM_WINDOWS"
};

static const ::google::protobuf::internal::EnumEntry Study_Platform_entries[] = {
    {{&Study_Platform_names[0], 16}, 4},
    {{&Study_Platform_names[16], 24}, 6},
    {{&Study_Platform_names[40], 17}, 3},
    {{&Study_Platform_names[57], 16}, 7},
    {{&Study_Platform_names[73], 12}, 5},
    {{&Study_Platform_names[85], 14}, 2},
    {{&Study_Platform_names[99], 12}, 1},
    {{&Study_Platform_names[111], 16}, 0},
};

static const int Study_Platform_entries_by_number[] = {
    7,  // 0 -> PLATFORM_WINDOWS
    6,  // 1 -> PLATFORM_MAC
    5,  // 2 -> PLATFORM_LINUX
    2,  // 3 -> PLATFORM_CHROMEOS
    0,  // 4 -> PLATFORM_ANDROID
    4,  // 5 -> PLATFORM_IOS
    1,  // 6 -> PLATFORM_ANDROID_WEBVIEW
    3,  // 7 -> PLATFORM_FUCHSIA
};

bool Study_Platform_Parse(::absl::string_view name,
                                  Study_Platform* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      Study_Platform_entries, 8, name, &int_value);
  if (success) {
    *value = static_cast<Study_Platform>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    Study_Platform_strings[8] = {};

const ::std::string& Study_Platform_Name(Study_Platform value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      Study_Platform_entries, Study_Platform_entries_by_number, 8,
      Study_Platform_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(Study_Platform_entries,
                                  Study_Platform_entries_by_number,
                                  8, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : Study_Platform_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t Study_FormFactor_internal_data_[] = {
    524288u, 0u, };
static const char Study_FormFactor_names[] = {
    "AUTOMOTIVE"
    "DESKTOP"
    "FOLDABLE"
    "KIOSK"
    "MEET_DEVICE"
    "PHONE"
    "TABLET"
    "TV"
};

static const ::google::protobuf::internal::EnumEntry Study_FormFactor_entries[] = {
    {{&Study_FormFactor_names[0], 10}, 6},
    {{&Study_FormFactor_names[10], 7}, 0},
    {{&Study_FormFactor_names[17], 8}, 7},
    {{&Study_FormFactor_names[25], 5}, 3},
    {{&Study_FormFactor_names[30], 11}, 4},
    {{&Study_FormFactor_names[41], 5}, 1},
    {{&Study_FormFactor_names[46], 6}, 2},
    {{&Study_FormFactor_names[52], 2}, 5},
};

static const int Study_FormFactor_entries_by_number[] = {
    1,  // 0 -> DESKTOP
    5,  // 1 -> PHONE
    6,  // 2 -> TABLET
    3,  // 3 -> KIOSK
    4,  // 4 -> MEET_DEVICE
    7,  // 5 -> TV
    0,  // 6 -> AUTOMOTIVE
    2,  // 7 -> FOLDABLE
};

bool Study_FormFactor_Parse(::absl::string_view name,
                                  Study_FormFactor* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      Study_FormFactor_entries, 8, name, &int_value);
  if (success) {
    *value = static_cast<Study_FormFactor>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    Study_FormFactor_strings[8] = {};

const ::std::string& Study_FormFactor_Name(Study_FormFactor value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      Study_FormFactor_entries, Study_FormFactor_entries_by_number, 8,
      Study_FormFactor_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(Study_FormFactor_entries,
                                  Study_FormFactor_entries_by_number,
                                  8, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : Study_FormFactor_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t Study_CpuArchitecture_internal_data_[] = {
    327680u, 0u, };
static const char Study_CpuArchitecture_names[] = {
    "ARM32"
    "ARM64"
    "TRANSLATED_X86_64"
    "X86_32"
    "X86_64"
};

static const ::google::protobuf::internal::EnumEntry Study_CpuArchitecture_entries[] = {
    {{&Study_CpuArchitecture_names[0], 5}, 3},
    {{&Study_CpuArchitecture_names[5], 5}, 1},
    {{&Study_CpuArchitecture_names[10], 17}, 4},
    {{&Study_CpuArchitecture_names[27], 6}, 2},
    {{&Study_CpuArchitecture_names[33], 6}, 0},
};

static const int Study_CpuArchitecture_entries_by_number[] = {
    4,  // 0 -> X86_64
    1,  // 1 -> ARM64
    3,  // 2 -> X86_32
    0,  // 3 -> ARM32
    2,  // 4 -> TRANSLATED_X86_64
};

bool Study_CpuArchitecture_Parse(::absl::string_view name,
                                  Study_CpuArchitecture* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      Study_CpuArchitecture_entries, 5, name, &int_value);
  if (success) {
    *value = static_cast<Study_CpuArchitecture>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    Study_CpuArchitecture_strings[5] = {};

const ::std::string& Study_CpuArchitecture_Name(Study_CpuArchitecture value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      Study_CpuArchitecture_entries, Study_CpuArchitecture_entries_by_number, 5,
      Study_CpuArchitecture_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(Study_CpuArchitecture_entries,
                                  Study_CpuArchitecture_entries_by_number,
                                  5, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : Study_CpuArchitecture_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t Study_PolicyRestriction_internal_data_[] = {
    196608u, 0u, };
static const char Study_PolicyRestriction_names[] = {
    "CRITICAL"
    "CRITICAL_ONLY"
    "NONE"
};

static const ::google::protobuf::internal::EnumEntry Study_PolicyRestriction_entries[] = {
    {{&Study_PolicyRestriction_names[0], 8}, 1},
    {{&Study_PolicyRestriction_names[8], 13}, 2},
    {{&Study_PolicyRestriction_names[21], 4}, 0},
};

static const int Study_PolicyRestriction_entries_by_number[] = {
    2,  // 0 -> NONE
    0,  // 1 -> CRITICAL
    1,  // 2 -> CRITICAL_ONLY
};

bool Study_PolicyRestriction_Parse(::absl::string_view name,
                                  Study_PolicyRestriction* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      Study_PolicyRestriction_entries, 3, name, &int_value);
  if (success) {
    *value = static_cast<Study_PolicyRestriction>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    Study_PolicyRestriction_strings[3] = {};

const ::std::string& Study_PolicyRestriction_Name(Study_PolicyRestriction value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      Study_PolicyRestriction_entries, Study_PolicyRestriction_entries_by_number, 3,
      Study_PolicyRestriction_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(Study_PolicyRestriction_entries,
                                  Study_PolicyRestriction_entries_by_number,
                                  3, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : Study_PolicyRestriction_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t Study_ActivationType_internal_data_[] = {
    196608u, 0u, };
static const char Study_ActivationType_names[] = {
    "ACTIVATE_ON_QUERY"
    "ACTIVATE_ON_STARTUP"
    "STICKY_AFTER_QUERY"
};

static const ::google::protobuf::internal::EnumEntry Study_ActivationType_entries[] = {
    {{&Study_ActivationType_names[0], 17}, 0},
    {{&Study_ActivationType_names[17], 19}, 1},
    {{&Study_ActivationType_names[36], 18}, 2},
};

static const int Study_ActivationType_entries_by_number[] = {
    0,  // 0 -> ACTIVATE_ON_QUERY
    1,  // 1 -> ACTIVATE_ON_STARTUP
    2,  // 2 -> STICKY_AFTER_QUERY
};

bool Study_ActivationType_Parse(::absl::string_view name,
                                  Study_ActivationType* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      Study_ActivationType_entries, 3, name, &int_value);
  if (success) {
    *value = static_cast<Study_ActivationType>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    Study_ActivationType_strings[3] = {};

const ::std::string& Study_ActivationType_Name(Study_ActivationType value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      Study_ActivationType_entries, Study_ActivationType_entries_by_number, 3,
      Study_ActivationType_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(Study_ActivationType_entries,
                                  Study_ActivationType_entries_by_number,
                                  3, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : Study_ActivationType_strings[idx].get();
}
// ===================================================================

Study_Experiment_Param::Study_Experiment_Param(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, Study_Experiment_Param_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:variations.Study.Experiment.Param)
}
PROTOBUF_NDEBUG_INLINE Study_Experiment_Param::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::variations::Study_Experiment_Param& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        name_(arena, from.name_),
        value_(arena, from.value_) {}

Study_Experiment_Param::Study_Experiment_Param(
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
    const Study_Experiment_Param& from)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, Study_Experiment_Param_get_class_data()) {

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  Study_Experiment_Param* const _this = this;
  (void)_this;
  _internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);

  // @@protoc_insertion_point(copy_constructor:variations.Study.Experiment.Param)
}
PROTOBUF_NDEBUG_INLINE Study_Experiment_Param::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        name_(arena),
        value_(arena) {}

inline void Study_Experiment_Param::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
}
Study_Experiment_Param::~Study_Experiment_Param() {
  // @@protoc_insertion_point(destructor:variations.Study.Experiment.Param)
  SharedDtor(*this);
}
inline void Study_Experiment_Param::SharedDtor(MessageLite& self) {
  Study_Experiment_Param& this_ = static_cast<Study_Experiment_Param&>(self);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  this_._internal_metadata_.Delete<::std::string>();
  ABSL_DCHECK(this_.GetArena() == nullptr);
  this_._impl_.name_.Destroy();
  this_._impl_.value_.Destroy();
  this_._impl_.~Impl_();
}

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite Study_Experiment_Param_class_data_ =
    Study_Experiment_Param::InternalGenerateClassData_(Study_Experiment_Param_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
Study_Experiment_Param::GetClassData() const {
  return Study_Experiment_Param_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
Study_Experiment_Param::GetClassData() const {
  return Study_Experiment_Param_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const Study_Experiment_Param::ParseTableT_
    Study_Experiment_Param::_table_ =
        Study_Experiment_Param::InternalGenerateParseTable_(Study_Experiment_Param_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void Study_Experiment_Param::Clear() {
// @@protoc_insertion_point(message_clear_start:variations.Study.Experiment.Param)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  cached_has_bits = _impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.name_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.value_.ClearNonDefaultToEmpty();
    }
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* PROTOBUF_NONNULL Study_Experiment_Param::_InternalSerialize(
    const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
    ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
  const Study_Experiment_Param& this_ = static_cast<const Study_Experiment_Param&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::uint8_t* PROTOBUF_NONNULL Study_Experiment_Param::_InternalSerialize(
    ::uint8_t* PROTOBUF_NONNULL target,
    ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
  const Study_Experiment_Param& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(serialize_to_array_start:variations.Study.Experiment.Param)
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = this_._impl_._has_bits_[0];
  // string name = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    const ::std::string& _s = this_._internal_name();
    target = stream->WriteStringMaybeAliased(1, _s, target);
  }

  // string value = 2;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    const ::std::string& _s = this_._internal_value();
    target = stream->WriteStringMaybeAliased(2, _s, target);
  }

  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    target = stream->WriteRaw(
        this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
        static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
  }
  // @@protoc_insertion_point(serialize_to_array_end:variations.Study.Experiment.Param)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t Study_Experiment_Param::ByteSizeLong(const MessageLite& base) {
  const Study_Experiment_Param& this_ = static_cast<const Study_Experiment_Param&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t Study_Experiment_Param::ByteSizeLong() const {
  const Study_Experiment_Param& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:variations.Study.Experiment.Param)
  ::size_t total_size = 0;

  ::uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void)cached_has_bits;

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
  cached_has_bits = this_._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
    // string name = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_name());
    }
    // string value = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_value());
    }
  }
  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
  }
  this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
  return total_size;
}

void Study_Experiment_Param::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<Study_Experiment_Param*>(&to_msg);
  auto& from = static_cast<const Study_Experiment_Param&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:variations.Study.Experiment.Param)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = from._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_set_name(from._internal_name());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_value(from._internal_value());
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

void Study_Experiment_Param::CopyFrom(const Study_Experiment_Param& from) {
  // @@protoc_insertion_point(class_specific_copy_from_start:variations.Study.Experiment.Param)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}


void Study_Experiment_Param::InternalSwap(Study_Experiment_Param* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
  using ::std::swap;
  auto* arena = GetArena();
  ABSL_DCHECK_EQ(arena, other->GetArena());
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.value_, &other->_impl_.value_, arena);
}

// ===================================================================

Study_Experiment_FeatureAssociation::Study_Experiment_FeatureAssociation(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, Study_Experiment_FeatureAssociation_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:variations.Study.Experiment.FeatureAssociation)
}
PROTOBUF_NDEBUG_INLINE Study_Experiment_FeatureAssociation::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::variations::Study_Experiment_FeatureAssociation& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        enable_feature_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::variations::Study_Experiment_FeatureAssociation,
              PROTOBUF_FIELD_OFFSET(::variations::Study_Experiment_FeatureAssociation, _impl_.enable_feature_)>()
          , from.enable_feature_
        }
        ,
        disable_feature_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::variations::Study_Experiment_FeatureAssociation,
              PROTOBUF_FIELD_OFFSET(::variations::Study_Experiment_FeatureAssociation, _impl_.disable_feature_)>()
          , from.disable_feature_
        }
        ,
        forcing_feature_on_(arena, from.forcing_feature_on_),
        forcing_feature_off_(arena, from.forcing_feature_off_) {}

Study_Experiment_FeatureAssociation::Study_Experiment_FeatureAssociation(
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
    const Study_Experiment_FeatureAssociation& from)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, Study_Experiment_FeatureAssociation_get_class_data()) {

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  Study_Experiment_FeatureAssociation* const _this = this;
  (void)_this;
  _internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);

  // @@protoc_insertion_point(copy_constructor:variations.Study.Experiment.FeatureAssociation)
}
PROTOBUF_NDEBUG_INLINE Study_Experiment_FeatureAssociation::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        enable_feature_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::variations::Study_Experiment_FeatureAssociation,
            PROTOBUF_FIELD_OFFSET(::variations::Study_Experiment_FeatureAssociation, _impl_.enable_feature_)>()
         }
        ,
        disable_feature_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::variations::Study_Experiment_FeatureAssociation,
            PROTOBUF_FIELD_OFFSET(::variations::Study_Experiment_FeatureAssociation, _impl_.disable_feature_)>()
         }
        ,
        forcing_feature_on_(arena),
        forcing_feature_off_(arena) {}

inline void Study_Experiment_FeatureAssociation::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
}
Study_Experiment_FeatureAssociation::~Study_Experiment_FeatureAssociation() {
  // @@protoc_insertion_point(destructor:variations.Study.Experiment.FeatureAssociation)
  SharedDtor(*this);
}
inline void Study_Experiment_FeatureAssociation::SharedDtor(MessageLite& self) {
  Study_Experiment_FeatureAssociation& this_ = static_cast<Study_Experiment_FeatureAssociation&>(self);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  this_._internal_metadata_.Delete<::std::string>();
  ABSL_DCHECK(this_.GetArena() == nullptr);
  this_._impl_.forcing_feature_on_.Destroy();
  this_._impl_.forcing_feature_off_.Destroy();
  this_._impl_.~Impl_();
}

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite Study_Experiment_FeatureAssociation_class_data_ =
    Study_Experiment_FeatureAssociation::InternalGenerateClassData_(Study_Experiment_FeatureAssociation_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
Study_Experiment_FeatureAssociation::GetClassData() const {
  return Study_Experiment_FeatureAssociation_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
Study_Experiment_FeatureAssociation::GetClassData() const {
  return Study_Experiment_FeatureAssociation_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const Study_Experiment_FeatureAssociation::ParseTableT_
    Study_Experiment_FeatureAssociation::_table_ =
        Study_Experiment_FeatureAssociation::InternalGenerateParseTable_(Study_Experiment_FeatureAssociation_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void Study_Experiment_FeatureAssociation::Clear() {
// @@protoc_insertion_point(message_clear_start:variations.Study.Experiment.FeatureAssociation)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  cached_has_bits = _impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.enable_feature_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.disable_feature_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.forcing_feature_on_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _impl_.forcing_feature_off_.ClearNonDefaultToEmpty();
    }
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* PROTOBUF_NONNULL Study_Experiment_FeatureAssociation::_InternalSerialize(
    const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
    ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
  const Study_Experiment_FeatureAssociation& this_ = static_cast<const Study_Experiment_FeatureAssociation&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::uint8_t* PROTOBUF_NONNULL Study_Experiment_FeatureAssociation::_InternalSerialize(
    ::uint8_t* PROTOBUF_NONNULL target,
    ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
  const Study_Experiment_FeatureAssociation& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(serialize_to_array_start:variations.Study.Experiment.FeatureAssociation)
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = this_._impl_._has_bits_[0];
  // repeated string enable_feature = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    for (int i = 0, n = this_._internal_enable_feature_size(); i < n; ++i) {
      const auto& s = this_._internal_enable_feature().Get(i);
      target = stream->WriteString(1, s, target);
    }
  }

  // repeated string disable_feature = 2;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    for (int i = 0, n = this_._internal_disable_feature_size(); i < n; ++i) {
      const auto& s = this_._internal_disable_feature().Get(i);
      target = stream->WriteString(2, s, target);
    }
  }

  // string forcing_feature_on = 3;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    const ::std::string& _s = this_._internal_forcing_feature_on();
    target = stream->WriteStringMaybeAliased(3, _s, target);
  }

  // string forcing_feature_off = 4;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    const ::std::string& _s = this_._internal_forcing_feature_off();
    target = stream->WriteStringMaybeAliased(4, _s, target);
  }

  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    target = stream->WriteRaw(
        this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
        static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
  }
  // @@protoc_insertion_point(serialize_to_array_end:variations.Study.Experiment.FeatureAssociation)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t Study_Experiment_FeatureAssociation::ByteSizeLong(const MessageLite& base) {
  const Study_Experiment_FeatureAssociation& this_ = static_cast<const Study_Experiment_FeatureAssociation&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t Study_Experiment_FeatureAssociation::ByteSizeLong() const {
  const Study_Experiment_FeatureAssociation& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:variations.Study.Experiment.FeatureAssociation)
  ::size_t total_size = 0;

  ::uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void)cached_has_bits;

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
  cached_has_bits = this_._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
    // repeated string enable_feature = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size +=
          1 * ::google::protobuf::internal::FromIntSize(this_._internal_enable_feature().size());
      for (int i = 0, n = this_._internal_enable_feature().size(); i < n; ++i) {
        total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
            this_._internal_enable_feature().Get(i));
      }
    }
    // repeated string disable_feature = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size +=
          1 * ::google::protobuf::internal::FromIntSize(this_._internal_disable_feature().size());
      for (int i = 0, n = this_._internal_disable_feature().size(); i < n; ++i) {
        total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
            this_._internal_disable_feature().Get(i));
      }
    }
    // string forcing_feature_on = 3;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_forcing_feature_on());
    }
    // string forcing_feature_off = 4;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_forcing_feature_off());
    }
  }
  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
  }
  this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
  return total_size;
}

void Study_Experiment_FeatureAssociation::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<Study_Experiment_FeatureAssociation*>(&to_msg);
  auto& from = static_cast<const Study_Experiment_FeatureAssociation&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:variations.Study.Experiment.FeatureAssociation)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = from._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_mutable_enable_feature()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_enable_feature());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_mutable_disable_feature()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_disable_feature());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_internal_set_forcing_feature_on(from._internal_forcing_feature_on());
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_internal_set_forcing_feature_off(from._internal_forcing_feature_off());
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

void Study_Experiment_FeatureAssociation::CopyFrom(const Study_Experiment_FeatureAssociation& from) {
  // @@protoc_insertion_point(class_specific_copy_from_start:variations.Study.Experiment.FeatureAssociation)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}


void Study_Experiment_FeatureAssociation::InternalSwap(Study_Experiment_FeatureAssociation* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
  using ::std::swap;
  auto* arena = GetArena();
  ABSL_DCHECK_EQ(arena, other->GetArena());
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  _impl_.enable_feature_.InternalSwap(&other->_impl_.enable_feature_);
  _impl_.disable_feature_.InternalSwap(&other->_impl_.disable_feature_);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.forcing_feature_on_, &other->_impl_.forcing_feature_on_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.forcing_feature_off_, &other->_impl_.forcing_feature_off_, arena);
}

// ===================================================================

Study_Experiment::Study_Experiment(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, Study_Experiment_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:variations.Study.Experiment)
}
PROTOBUF_NDEBUG_INLINE Study_Experiment::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::variations::Study_Experiment& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        param_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::variations::Study_Experiment,
              PROTOBUF_FIELD_OFFSET(::variations::Study_Experiment, _impl_.param_)>()
          , from.param_
        }
        ,
        name_(arena, from.name_),
        forcing_flag_(arena, from.forcing_flag_) {}

Study_Experiment::Study_Experiment(
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
    const Study_Experiment& from)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, Study_Experiment_get_class_data()) {

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  Study_Experiment* const _this = this;
  (void)_this;
  _internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
  ::uint32_t cached_has_bits = _impl_._has_bits_[0];
  _impl_.feature_association_ = (CheckHasBit(cached_has_bits, 0x00000008U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.feature_association_)
                : nullptr;
  ::memcpy(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, google_web_experiment_id_),
           reinterpret_cast<const char*>(&from._impl_) +
               offsetof(Impl_, google_web_experiment_id_),
           offsetof(Impl_, google_web_visibility_) -
               offsetof(Impl_, google_web_experiment_id_) +
               sizeof(Impl_::google_web_visibility_));

  // @@protoc_insertion_point(copy_constructor:variations.Study.Experiment)
}
PROTOBUF_NDEBUG_INLINE Study_Experiment::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        param_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::variations::Study_Experiment,
            PROTOBUF_FIELD_OFFSET(::variations::Study_Experiment, _impl_.param_)>()
         }
        ,
        name_(arena),
        forcing_flag_(arena) {}

inline void Study_Experiment::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
  ::memset(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, feature_association_),
           0,
           offsetof(Impl_, google_web_visibility_) -
               offsetof(Impl_, feature_association_) +
               sizeof(Impl_::google_web_visibility_));
}
Study_Experiment::~Study_Experiment() {
  // @@protoc_insertion_point(destructor:variations.Study.Experiment)
  SharedDtor(*this);
}
inline void Study_Experiment::SharedDtor(MessageLite& self) {
  Study_Experiment& this_ = static_cast<Study_Experiment&>(self);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  this_._internal_metadata_.Delete<::std::string>();
  ABSL_DCHECK(this_.GetArena() == nullptr);
  this_._impl_.name_.Destroy();
  this_._impl_.forcing_flag_.Destroy();
  delete this_._impl_.feature_association_;
  this_._impl_.~Impl_();
}

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite Study_Experiment_class_data_ =
    Study_Experiment::InternalGenerateClassData_(Study_Experiment_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
Study_Experiment::GetClassData() const {
  return Study_Experiment_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
Study_Experiment::GetClassData() const {
  return Study_Experiment_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const Study_Experiment::ParseTableT_
    Study_Experiment::_table_ =
        Study_Experiment::InternalGenerateParseTable_(Study_Experiment_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void Study_Experiment::Clear() {
// @@protoc_insertion_point(message_clear_start:variations.Study.Experiment)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  cached_has_bits = _impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.param_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.name_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.forcing_flag_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      ABSL_DCHECK(_impl_.feature_association_ != nullptr);
      _impl_.feature_association_->Clear();
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x000000f0U)) {
    ::memset(&_impl_.google_web_experiment_id_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.google_web_trigger_experiment_id_) -
        reinterpret_cast<char*>(&_impl_.google_web_experiment_id_)) + sizeof(_impl_.google_web_trigger_experiment_id_));
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000300U)) {
    ::memset(&_impl_.google_app_experiment_id_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.google_web_visibility_) -
        reinterpret_cast<char*>(&_impl_.google_app_experiment_id_)) + sizeof(_impl_.google_web_visibility_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* PROTOBUF_NONNULL Study_Experiment::_InternalSerialize(
    const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
    ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
  const Study_Experiment& this_ = static_cast<const Study_Experiment&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::uint8_t* PROTOBUF_NONNULL Study_Experiment::_InternalSerialize(
    ::uint8_t* PROTOBUF_NONNULL target,
    ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
  const Study_Experiment& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(serialize_to_array_start:variations.Study.Experiment)
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = this_._impl_._has_bits_[0];
  // string name = 1 [features = {
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    const ::std::string& _s = this_._internal_name();
    target = stream->WriteStringMaybeAliased(1, _s, target);
  }

  // uint32 probability_weight = 2 [features = {
  if (CheckHasBit(cached_has_bits, 0x00000020U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
        2, this_._internal_probability_weight(), target);
  }

  // uint64 google_web_experiment_id = 3;
  if (CheckHasBit(cached_has_bits, 0x00000010U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
        3, this_._internal_google_web_experiment_id(), target);
  }

  // string forcing_flag = 5;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    const ::std::string& _s = this_._internal_forcing_flag();
    target = stream->WriteStringMaybeAliased(5, _s, target);
  }

  // repeated .variations.Study.Experiment.Param param = 6;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    for (unsigned i = 0, n = static_cast<unsigned>(
                             this_._internal_param_size());
         i < n; i++) {
      const auto& repfield = this_._internal_param().Get(i);
      target =
          ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
              6, repfield, repfield.GetCachedSize(),
              target, stream);
    }
  }

  // .variations.Study.Experiment.Type type = 7 [default = NORMAL];
  if (CheckHasBit(cached_has_bits, 0x00000040U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        7, this_._internal_type(), target);
  }

  // uint64 google_web_trigger_experiment_id = 8;
  if (CheckHasBit(cached_has_bits, 0x00000080U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
        8, this_._internal_google_web_trigger_experiment_id(), target);
  }

  // .variations.Study.Experiment.FeatureAssociation feature_association = 12;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        12, *this_._impl_.feature_association_, this_._impl_.feature_association_->GetCachedSize(), target,
        stream);
  }

  // uint64 google_app_experiment_id = 15;
  if (CheckHasBit(cached_has_bits, 0x00000100U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
        15, this_._internal_google_app_experiment_id(), target);
  }

  // .variations.Study.GoogleWebVisibility google_web_visibility = 16 [default = ANY];
  if (CheckHasBit(cached_has_bits, 0x00000200U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        16, this_._internal_google_web_visibility(), target);
  }

  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    target = stream->WriteRaw(
        this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
        static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
  }
  // @@protoc_insertion_point(serialize_to_array_end:variations.Study.Experiment)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t Study_Experiment::ByteSizeLong(const MessageLite& base) {
  const Study_Experiment& this_ = static_cast<const Study_Experiment&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t Study_Experiment::ByteSizeLong() const {
  const Study_Experiment& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:variations.Study.Experiment)
  ::size_t total_size = 0;

  ::uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void)cached_has_bits;

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
   {
    // repeated .variations.Study.Experiment.Param param = 6;
    cached_has_bits = this_._impl_._has_bits_[0];
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1UL * this_._internal_param_size();
      for (const auto& msg : this_._internal_param()) {
        total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
      }
    }
  }
   {
    // string name = 1 [features = {
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_name());
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x0000001cU)) {
    // string forcing_flag = 5;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_forcing_flag());
    }
    // .variations.Study.Experiment.FeatureAssociation feature_association = 12;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.feature_association_);
    }
    // uint64 google_web_experiment_id = 3;
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
          this_._internal_google_web_experiment_id());
    }
  }
   {
    // uint32 probability_weight = 2 [features = {
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
          this_._internal_probability_weight());
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x000000c0U)) {
    // .variations.Study.Experiment.Type type = 7 [default = NORMAL];
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_type());
    }
    // uint64 google_web_trigger_experiment_id = 8;
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
          this_._internal_google_web_trigger_experiment_id());
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000300U)) {
    // uint64 google_app_experiment_id = 15;
    if (CheckHasBit(cached_has_bits, 0x00000100U)) {
      total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
          this_._internal_google_app_experiment_id());
    }
    // .variations.Study.GoogleWebVisibility google_web_visibility = 16 [default = ANY];
    if (CheckHasBit(cached_has_bits, 0x00000200U)) {
      total_size += 2 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_google_web_visibility());
    }
  }
  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
  }
  this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
  return total_size;
}

void Study_Experiment::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<Study_Experiment*>(&to_msg);
  auto& from = static_cast<const Study_Experiment&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:variations.Study.Experiment)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = from._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_mutable_param()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_param());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_name(from._internal_name());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_internal_set_forcing_flag(from._internal_forcing_flag());
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      ABSL_DCHECK(from._impl_.feature_association_ != nullptr);
      if (_this->_impl_.feature_association_ == nullptr) {
        _this->_impl_.feature_association_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.feature_association_);
      } else {
        _this->_impl_.feature_association_->MergeFrom(*from._impl_.feature_association_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _this->_impl_.google_web_experiment_id_ = from._impl_.google_web_experiment_id_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      _this->_impl_.probability_weight_ = from._impl_.probability_weight_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      _this->_impl_.type_ = from._impl_.type_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      _this->_impl_.google_web_trigger_experiment_id_ = from._impl_.google_web_trigger_experiment_id_;
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000300U)) {
    if (CheckHasBit(cached_has_bits, 0x00000100U)) {
      _this->_impl_.google_app_experiment_id_ = from._impl_.google_app_experiment_id_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000200U)) {
      _this->_impl_.google_web_visibility_ = from._impl_.google_web_visibility_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

void Study_Experiment::CopyFrom(const Study_Experiment& from) {
  // @@protoc_insertion_point(class_specific_copy_from_start:variations.Study.Experiment)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

PROTOBUF_NOINLINE bool Study_Experiment::IsInitializedImpl(
    const MessageLite& msg) {
  auto& this_ = static_cast<const Study_Experiment&>(msg);
  if (_Internal::MissingRequiredFields(this_._impl_._has_bits_)) {
    return false;
  }
  return true;
}

void Study_Experiment::InternalSwap(Study_Experiment* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
  using ::std::swap;
  auto* arena = GetArena();
  ABSL_DCHECK_EQ(arena, other->GetArena());
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  _impl_.param_.InternalSwap(&other->_impl_.param_);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.forcing_flag_, &other->_impl_.forcing_flag_, arena);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(Study_Experiment, _impl_.google_web_visibility_)
      + sizeof(Study_Experiment::_impl_.google_web_visibility_)
      - PROTOBUF_FIELD_OFFSET(Study_Experiment, _impl_.feature_association_)>(
          reinterpret_cast<char*>(&_impl_.feature_association_),
          reinterpret_cast<char*>(&other->_impl_.feature_association_));
}

// ===================================================================

Study_Filter::Study_Filter(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, Study_Filter_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:variations.Study.Filter)
}
PROTOBUF_NDEBUG_INLINE Study_Filter::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::variations::Study_Filter& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        channel_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::variations::Study_Filter,
              PROTOBUF_FIELD_OFFSET(::variations::Study_Filter, _impl_.channel_)>()
          , from.channel_
        }
        ,
        platform_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::variations::Study_Filter,
              PROTOBUF_FIELD_OFFSET(::variations::Study_Filter, _impl_.platform_)>()
          , from.platform_
        }
        ,
        locale_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::variations::Study_Filter,
              PROTOBUF_FIELD_OFFSET(::variations::Study_Filter, _impl_.locale_)>()
          , from.locale_
        }
        ,
        form_factor_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::variations::Study_Filter,
              PROTOBUF_FIELD_OFFSET(::variations::Study_Filter, _impl_.form_factor_)>()
          , from.form_factor_
        }
        ,
        hardware_class_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::variations::Study_Filter,
              PROTOBUF_FIELD_OFFSET(::variations::Study_Filter, _impl_.hardware_class_)>()
          , from.hardware_class_
        }
        ,
        exclude_hardware_class_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::variations::Study_Filter,
              PROTOBUF_FIELD_OFFSET(::variations::Study_Filter, _impl_.exclude_hardware_class_)>()
          , from.exclude_hardware_class_
        }
        ,
        country_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::variations::Study_Filter,
              PROTOBUF_FIELD_OFFSET(::variations::Study_Filter, _impl_.country_)>()
          , from.country_
        }
        ,
        exclude_country_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::variations::Study_Filter,
              PROTOBUF_FIELD_OFFSET(::variations::Study_Filter, _impl_.exclude_country_)>()
          , from.exclude_country_
        }
        ,
        exclude_locale_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::variations::Study_Filter,
              PROTOBUF_FIELD_OFFSET(::variations::Study_Filter, _impl_.exclude_locale_)>()
          , from.exclude_locale_
        }
        ,
        exclude_form_factor_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::variations::Study_Filter,
              PROTOBUF_FIELD_OFFSET(::variations::Study_Filter, _impl_.exclude_form_factor_)>()
          , from.exclude_form_factor_
        }
        ,
        cpu_architecture_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::variations::Study_Filter,
              PROTOBUF_FIELD_OFFSET(::variations::Study_Filter, _impl_.cpu_architecture_)>()
          , from.cpu_architecture_
        }
        ,
        exclude_cpu_architecture_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::variations::Study_Filter,
              PROTOBUF_FIELD_OFFSET(::variations::Study_Filter, _impl_.exclude_cpu_architecture_)>()
          , from.exclude_cpu_architecture_
        }
        ,
        google_group_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::variations::Study_Filter,
              PROTOBUF_FIELD_OFFSET(::variations::Study_Filter, _impl_.google_group_)>()
          , from.google_group_
        }
        ,
        _google_group_cached_byte_size_{0},
        exclude_google_group_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::variations::Study_Filter,
              PROTOBUF_FIELD_OFFSET(::variations::Study_Filter, _impl_.exclude_google_group_)>()
          , from.exclude_google_group_
        }
        ,
        _exclude_google_group_cached_byte_size_{0},
        hardware_manufacturer_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::variations::Study_Filter,
              PROTOBUF_FIELD_OFFSET(::variations::Study_Filter, _impl_.hardware_manufacturer_)>()
          , from.hardware_manufacturer_
        }
        ,
        exclude_hardware_manufacturer_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::variations::Study_Filter,
              PROTOBUF_FIELD_OFFSET(::variations::Study_Filter, _impl_.exclude_hardware_manufacturer_)>()
          , from.exclude_hardware_manufacturer_
        }
        ,
        enterprise_group_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::variations::Study_Filter,
              PROTOBUF_FIELD_OFFSET(::variations::Study_Filter, _impl_.enterprise_group_)>()
          , from.enterprise_group_
        }
        ,
        exclude_enterprise_group_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::variations::Study_Filter,
              PROTOBUF_FIELD_OFFSET(::variations::Study_Filter, _impl_.exclude_enterprise_group_)>()
          , from.exclude_enterprise_group_
        }
        ,
        min_version_(arena, from.min_version_),
        max_version_(arena, from.max_version_),
        min_os_version_(arena, from.min_os_version_),
        max_os_version_(arena, from.max_os_version_) {}

Study_Filter::Study_Filter(
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
    const Study_Filter& from)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, Study_Filter_get_class_data()) {

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  Study_Filter* const _this = this;
  (void)_this;
  _internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
  ::memcpy(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, start_date_),
           reinterpret_cast<const char*>(&from._impl_) +
               offsetof(Impl_, start_date_),
           offsetof(Impl_, policy_restriction_) -
               offsetof(Impl_, start_date_) +
               sizeof(Impl_::policy_restriction_));

  // @@protoc_insertion_point(copy_constructor:variations.Study.Filter)
}
PROTOBUF_NDEBUG_INLINE Study_Filter::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        channel_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::variations::Study_Filter,
            PROTOBUF_FIELD_OFFSET(::variations::Study_Filter, _impl_.channel_)>()
         }
        ,
        platform_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::variations::Study_Filter,
            PROTOBUF_FIELD_OFFSET(::variations::Study_Filter, _impl_.platform_)>()
         }
        ,
        locale_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::variations::Study_Filter,
            PROTOBUF_FIELD_OFFSET(::variations::Study_Filter, _impl_.locale_)>()
         }
        ,
        form_factor_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::variations::Study_Filter,
            PROTOBUF_FIELD_OFFSET(::variations::Study_Filter, _impl_.form_factor_)>()
         }
        ,
        hardware_class_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::variations::Study_Filter,
            PROTOBUF_FIELD_OFFSET(::variations::Study_Filter, _impl_.hardware_class_)>()
         }
        ,
        exclude_hardware_class_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::variations::Study_Filter,
            PROTOBUF_FIELD_OFFSET(::variations::Study_Filter, _impl_.exclude_hardware_class_)>()
         }
        ,
        country_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::variations::Study_Filter,
            PROTOBUF_FIELD_OFFSET(::variations::Study_Filter, _impl_.country_)>()
         }
        ,
        exclude_country_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::variations::Study_Filter,
            PROTOBUF_FIELD_OFFSET(::variations::Study_Filter, _impl_.exclude_country_)>()
         }
        ,
        exclude_locale_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::variations::Study_Filter,
            PROTOBUF_FIELD_OFFSET(::variations::Study_Filter, _impl_.exclude_locale_)>()
         }
        ,
        exclude_form_factor_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::variations::Study_Filter,
            PROTOBUF_FIELD_OFFSET(::variations::Study_Filter, _impl_.exclude_form_factor_)>()
         }
        ,
        cpu_architecture_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::variations::Study_Filter,
            PROTOBUF_FIELD_OFFSET(::variations::Study_Filter, _impl_.cpu_architecture_)>()
         }
        ,
        exclude_cpu_architecture_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::variations::Study_Filter,
            PROTOBUF_FIELD_OFFSET(::variations::Study_Filter, _impl_.exclude_cpu_architecture_)>()
         }
        ,
        google_group_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::variations::Study_Filter,
            PROTOBUF_FIELD_OFFSET(::variations::Study_Filter, _impl_.google_group_)>()
         }
        ,
        _google_group_cached_byte_size_{0},
        exclude_google_group_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::variations::Study_Filter,
            PROTOBUF_FIELD_OFFSET(::variations::Study_Filter, _impl_.exclude_google_group_)>()
         }
        ,
        _exclude_google_group_cached_byte_size_{0},
        hardware_manufacturer_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::variations::Study_Filter,
            PROTOBUF_FIELD_OFFSET(::variations::Study_Filter, _impl_.hardware_manufacturer_)>()
         }
        ,
        exclude_hardware_manufacturer_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::variations::Study_Filter,
            PROTOBUF_FIELD_OFFSET(::variations::Study_Filter, _impl_.exclude_hardware_manufacturer_)>()
         }
        ,
        enterprise_group_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::variations::Study_Filter,
            PROTOBUF_FIELD_OFFSET(::variations::Study_Filter, _impl_.enterprise_group_)>()
         }
        ,
        exclude_enterprise_group_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::variations::Study_Filter,
            PROTOBUF_FIELD_OFFSET(::variations::Study_Filter, _impl_.exclude_enterprise_group_)>()
         }
        ,
        min_version_(arena),
        max_version_(arena),
        min_os_version_(arena),
        max_os_version_(arena) {}

inline void Study_Filter::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
  ::memset(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, start_date_),
           0,
           offsetof(Impl_, policy_restriction_) -
               offsetof(Impl_, start_date_) +
               sizeof(Impl_::policy_restriction_));
}
Study_Filter::~Study_Filter() {
  // @@protoc_insertion_point(destructor:variations.Study.Filter)
  SharedDtor(*this);
}
inline void Study_Filter::SharedDtor(MessageLite& self) {
  Study_Filter& this_ = static_cast<Study_Filter&>(self);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  this_._internal_metadata_.Delete<::std::string>();
  ABSL_DCHECK(this_.GetArena() == nullptr);
  this_._impl_.min_version_.Destroy();
  this_._impl_.max_version_.Destroy();
  this_._impl_.min_os_version_.Destroy();
  this_._impl_.max_os_version_.Destroy();
  this_._impl_.~Impl_();
}

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite Study_Filter_class_data_ =
    Study_Filter::InternalGenerateClassData_(Study_Filter_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
Study_Filter::GetClassData() const {
  return Study_Filter_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
Study_Filter::GetClassData() const {
  return Study_Filter_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const Study_Filter::ParseTableT_
    Study_Filter::_table_ =
        Study_Filter::InternalGenerateParseTable_(Study_Filter_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void Study_Filter::Clear() {
// @@protoc_insertion_point(message_clear_start:variations.Study.Filter)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  cached_has_bits = _impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.channel_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.platform_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.locale_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _impl_.form_factor_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _impl_.hardware_class_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      _impl_.exclude_hardware_class_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      _impl_.country_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      _impl_.exclude_country_.Clear();
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x0000ff00U)) {
    if (CheckHasBit(cached_has_bits, 0x00000100U)) {
      _impl_.exclude_locale_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000200U)) {
      _impl_.exclude_form_factor_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000400U)) {
      _impl_.cpu_architecture_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000800U)) {
      _impl_.exclude_cpu_architecture_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00001000U)) {
      _impl_.google_group_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00002000U)) {
      _impl_.exclude_google_group_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00004000U)) {
      _impl_.hardware_manufacturer_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00008000U)) {
      _impl_.exclude_hardware_manufacturer_.Clear();
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x003f0000U)) {
    if (CheckHasBit(cached_has_bits, 0x00010000U)) {
      _impl_.enterprise_group_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00020000U)) {
      _impl_.exclude_enterprise_group_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00040000U)) {
      _impl_.min_version_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00080000U)) {
      _impl_.max_version_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00100000U)) {
      _impl_.min_os_version_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00200000U)) {
      _impl_.max_os_version_.ClearNonDefaultToEmpty();
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00c00000U)) {
    ::memset(&_impl_.start_date_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.end_date_) -
        reinterpret_cast<char*>(&_impl_.start_date_)) + sizeof(_impl_.end_date_));
  }
  if (BatchCheckHasBit(cached_has_bits, 0x07000000U)) {
    ::memset(&_impl_.is_low_end_device_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.policy_restriction_) -
        reinterpret_cast<char*>(&_impl_.is_low_end_device_)) + sizeof(_impl_.policy_restriction_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* PROTOBUF_NONNULL Study_Filter::_InternalSerialize(
    const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
    ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
  const Study_Filter& this_ = static_cast<const Study_Filter&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::uint8_t* PROTOBUF_NONNULL Study_Filter::_InternalSerialize(
    ::uint8_t* PROTOBUF_NONNULL target,
    ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
  const Study_Filter& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(serialize_to_array_start:variations.Study.Filter)
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = this_._impl_._has_bits_[0];
  // int64 start_date = 1;
  if (CheckHasBit(cached_has_bits, 0x00400000U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<1>(
            stream, this_._internal_start_date(), target);
  }

  // string min_version = 2;
  if (CheckHasBit(cached_has_bits, 0x00040000U)) {
    const ::std::string& _s = this_._internal_min_version();
    target = stream->WriteStringMaybeAliased(2, _s, target);
  }

  // string max_version = 3;
  if (CheckHasBit(cached_has_bits, 0x00080000U)) {
    const ::std::string& _s = this_._internal_max_version();
    target = stream->WriteStringMaybeAliased(3, _s, target);
  }

  // repeated .variations.Study.Channel channel = 4 [features = {
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    for (int i = 0, n = this_._internal_channel_size(); i < n; ++i) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteEnumToArray(
          4, static_cast<::variations::Study_Channel>(this_._internal_channel().Get(i)),
          target);
    }
  }

  // repeated .variations.Study.Platform platform = 5 [features = {
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    for (int i = 0, n = this_._internal_platform_size(); i < n; ++i) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteEnumToArray(
          5, static_cast<::variations::Study_Platform>(this_._internal_platform().Get(i)),
          target);
    }
  }

  // repeated string locale = 6;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    for (int i = 0, n = this_._internal_locale_size(); i < n; ++i) {
      const auto& s = this_._internal_locale().Get(i);
      target = stream->WriteString(6, s, target);
    }
  }

  // repeated .variations.Study.FormFactor form_factor = 7 [features = {
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    for (int i = 0, n = this_._internal_form_factor_size(); i < n; ++i) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteEnumToArray(
          7, static_cast<::variations::Study_FormFactor>(this_._internal_form_factor().Get(i)),
          target);
    }
  }

  // repeated string hardware_class = 8;
  if (CheckHasBit(cached_has_bits, 0x00000010U)) {
    for (int i = 0, n = this_._internal_hardware_class_size(); i < n; ++i) {
      const auto& s = this_._internal_hardware_class().Get(i);
      target = stream->WriteString(8, s, target);
    }
  }

  // repeated string exclude_hardware_class = 9;
  if (CheckHasBit(cached_has_bits, 0x00000020U)) {
    for (int i = 0, n = this_._internal_exclude_hardware_class_size(); i < n; ++i) {
      const auto& s = this_._internal_exclude_hardware_class().Get(i);
      target = stream->WriteString(9, s, target);
    }
  }

  // repeated string country = 10;
  if (CheckHasBit(cached_has_bits, 0x00000040U)) {
    for (int i = 0, n = this_._internal_country_size(); i < n; ++i) {
      const auto& s = this_._internal_country().Get(i);
      target = stream->WriteString(10, s, target);
    }
  }

  // repeated string exclude_country = 11;
  if (CheckHasBit(cached_has_bits, 0x00000080U)) {
    for (int i = 0, n = this_._internal_exclude_country_size(); i < n; ++i) {
      const auto& s = this_._internal_exclude_country().Get(i);
      target = stream->WriteString(11, s, target);
    }
  }

  // repeated string exclude_locale = 12;
  if (CheckHasBit(cached_has_bits, 0x00000100U)) {
    for (int i = 0, n = this_._internal_exclude_locale_size(); i < n; ++i) {
      const auto& s = this_._internal_exclude_locale().Get(i);
      target = stream->WriteString(12, s, target);
    }
  }

  // int64 end_date = 13;
  if (CheckHasBit(cached_has_bits, 0x00800000U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<13>(
            stream, this_._internal_end_date(), target);
  }

  // repeated .variations.Study.FormFactor exclude_form_factor = 14 [features = {
  if (CheckHasBit(cached_has_bits, 0x00000200U)) {
    for (int i = 0, n = this_._internal_exclude_form_factor_size(); i < n; ++i) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteEnumToArray(
          14, static_cast<::variations::Study_FormFactor>(this_._internal_exclude_form_factor().Get(i)),
          target);
    }
  }

  // bool is_low_end_device = 15;
  if (CheckHasBit(cached_has_bits, 0x01000000U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        15, this_._internal_is_low_end_device(), target);
  }

  // string min_os_version = 16;
  if (CheckHasBit(cached_has_bits, 0x00100000U)) {
    const ::std::string& _s = this_._internal_min_os_version();
    target = stream->WriteStringMaybeAliased(16, _s, target);
  }

  // string max_os_version = 17;
  if (CheckHasBit(cached_has_bits, 0x00200000U)) {
    const ::std::string& _s = this_._internal_max_os_version();
    target = stream->WriteStringMaybeAliased(17, _s, target);
  }

  // bool is_enterprise = 18;
  if (CheckHasBit(cached_has_bits, 0x02000000U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        18, this_._internal_is_enterprise(), target);
  }

  // .variations.Study.PolicyRestriction policy_restriction = 19 [default = NONE];
  if (CheckHasBit(cached_has_bits, 0x04000000U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        19, this_._internal_policy_restriction(), target);
  }

  // repeated .variations.Study.CpuArchitecture cpu_architecture = 20 [features = {
  if (CheckHasBit(cached_has_bits, 0x00000400U)) {
    for (int i = 0, n = this_._internal_cpu_architecture_size(); i < n; ++i) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteEnumToArray(
          20, static_cast<::variations::Study_CpuArchitecture>(this_._internal_cpu_architecture().Get(i)),
          target);
    }
  }

  // repeated .variations.Study.CpuArchitecture exclude_cpu_architecture = 21 [features = {
  if (CheckHasBit(cached_has_bits, 0x00000800U)) {
    for (int i = 0, n = this_._internal_exclude_cpu_architecture_size(); i < n; ++i) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteEnumToArray(
          21, static_cast<::variations::Study_CpuArchitecture>(this_._internal_exclude_cpu_architecture().Get(i)),
          target);
    }
  }

  // repeated int64 google_group = 22;
  if (CheckHasBit(cached_has_bits, 0x00001000U)) {
    {
      int byte_size = this_._impl_._google_group_cached_byte_size_.Get();
      if (byte_size > 0) {
        target = stream->WriteInt64Packed(
            22, this_._internal_google_group(), byte_size, target);
      }
    }
  }

  // repeated int64 exclude_google_group = 23;
  if (CheckHasBit(cached_has_bits, 0x00002000U)) {
    {
      int byte_size = this_._impl_._exclude_google_group_cached_byte_size_.Get();
      if (byte_size > 0) {
        target = stream->WriteInt64Packed(
            23, this_._internal_exclude_google_group(), byte_size, target);
      }
    }
  }

  // repeated string hardware_manufacturer = 24;
  if (CheckHasBit(cached_has_bits, 0x00004000U)) {
    for (int i = 0, n = this_._internal_hardware_manufacturer_size(); i < n; ++i) {
      const auto& s = this_._internal_hardware_manufacturer().Get(i);
      target = stream->WriteString(24, s, target);
    }
  }

  // repeated string exclude_hardware_manufacturer = 25;
  if (CheckHasBit(cached_has_bits, 0x00008000U)) {
    for (int i = 0, n = this_._internal_exclude_hardware_manufacturer_size(); i < n; ++i) {
      const auto& s = this_._internal_exclude_hardware_manufacturer().Get(i);
      target = stream->WriteString(25, s, target);
    }
  }

  // repeated string enterprise_group = 26;
  if (CheckHasBit(cached_has_bits, 0x00010000U)) {
    for (int i = 0, n = this_._internal_enterprise_group_size(); i < n; ++i) {
      const auto& s = this_._internal_enterprise_group().Get(i);
      target = stream->WriteString(26, s, target);
    }
  }

  // repeated string exclude_enterprise_group = 27;
  if (CheckHasBit(cached_has_bits, 0x00020000U)) {
    for (int i = 0, n = this_._internal_exclude_enterprise_group_size(); i < n; ++i) {
      const auto& s = this_._internal_exclude_enterprise_group().Get(i);
      target = stream->WriteString(27, s, target);
    }
  }

  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    target = stream->WriteRaw(
        this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
        static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
  }
  // @@protoc_insertion_point(serialize_to_array_end:variations.Study.Filter)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t Study_Filter::ByteSizeLong(const MessageLite& base) {
  const Study_Filter& this_ = static_cast<const Study_Filter&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t Study_Filter::ByteSizeLong() const {
  const Study_Filter& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:variations.Study.Filter)
  ::size_t total_size = 0;

  ::uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void)cached_has_bits;

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
  cached_has_bits = this_._impl_._has_bits_[0];
  total_size += static_cast<bool>(0x02000000U & cached_has_bits) * 3;
  total_size += static_cast<bool>(0x01000000U & cached_has_bits) * 2;
  if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
    // repeated .variations.Study.Channel channel = 4 [features = {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      ::size_t data_size =
          ::_pbi::WireFormatLite::EnumSize(this_._internal_channel());
      ::size_t tag_size = ::size_t{1} *
          ::_pbi::FromIntSize(this_._internal_channel_size());
      total_size += data_size + tag_size;
    }
    // repeated .variations.Study.Platform platform = 5 [features = {
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      ::size_t data_size =
          ::_pbi::WireFormatLite::EnumSize(this_._internal_platform());
      ::size_t tag_size = ::size_t{1} *
          ::_pbi::FromIntSize(this_._internal_platform_size());
      total_size += data_size + tag_size;
    }
    // repeated string locale = 6;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size +=
          1 * ::google::protobuf::internal::FromIntSize(this_._internal_locale().size());
      for (int i = 0, n = this_._internal_locale().size(); i < n; ++i) {
        total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
            this_._internal_locale().Get(i));
      }
    }
    // repeated .variations.Study.FormFactor form_factor = 7 [features = {
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      ::size_t data_size =
          ::_pbi::WireFormatLite::EnumSize(this_._internal_form_factor());
      ::size_t tag_size = ::size_t{1} *
          ::_pbi::FromIntSize(this_._internal_form_factor_size());
      total_size += data_size + tag_size;
    }
    // repeated string hardware_class = 8;
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      total_size +=
          1 * ::google::protobuf::internal::FromIntSize(this_._internal_hardware_class().size());
      for (int i = 0, n = this_._internal_hardware_class().size(); i < n; ++i) {
        total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
            this_._internal_hardware_class().Get(i));
      }
    }
    // repeated string exclude_hardware_class = 9;
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      total_size +=
          1 * ::google::protobuf::internal::FromIntSize(this_._internal_exclude_hardware_class().size());
      for (int i = 0, n = this_._internal_exclude_hardware_class().size(); i < n; ++i) {
        total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
            this_._internal_exclude_hardware_class().Get(i));
      }
    }
    // repeated string country = 10;
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      total_size +=
          1 * ::google::protobuf::internal::FromIntSize(this_._internal_country().size());
      for (int i = 0, n = this_._internal_country().size(); i < n; ++i) {
        total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
            this_._internal_country().Get(i));
      }
    }
    // repeated string exclude_country = 11;
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      total_size +=
          1 * ::google::protobuf::internal::FromIntSize(this_._internal_exclude_country().size());
      for (int i = 0, n = this_._internal_exclude_country().size(); i < n; ++i) {
        total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
            this_._internal_exclude_country().Get(i));
      }
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x0000ff00U)) {
    // repeated string exclude_locale = 12;
    if (CheckHasBit(cached_has_bits, 0x00000100U)) {
      total_size +=
          1 * ::google::protobuf::internal::FromIntSize(this_._internal_exclude_locale().size());
      for (int i = 0, n = this_._internal_exclude_locale().size(); i < n; ++i) {
        total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
            this_._internal_exclude_locale().Get(i));
      }
    }
    // repeated .variations.Study.FormFactor exclude_form_factor = 14 [features = {
    if (CheckHasBit(cached_has_bits, 0x00000200U)) {
      ::size_t data_size =
          ::_pbi::WireFormatLite::EnumSize(this_._internal_exclude_form_factor());
      ::size_t tag_size = ::size_t{1} *
          ::_pbi::FromIntSize(this_._internal_exclude_form_factor_size());
      total_size += data_size + tag_size;
    }
    // repeated .variations.Study.CpuArchitecture cpu_architecture = 20 [features = {
    if (CheckHasBit(cached_has_bits, 0x00000400U)) {
      ::size_t data_size =
          ::_pbi::WireFormatLite::EnumSize(this_._internal_cpu_architecture());
      ::size_t tag_size = ::size_t{2} *
          ::_pbi::FromIntSize(this_._internal_cpu_architecture_size());
      total_size += data_size + tag_size;
    }
    // repeated .variations.Study.CpuArchitecture exclude_cpu_architecture = 21 [features = {
    if (CheckHasBit(cached_has_bits, 0x00000800U)) {
      ::size_t data_size =
          ::_pbi::WireFormatLite::EnumSize(this_._internal_exclude_cpu_architecture());
      ::size_t tag_size = ::size_t{2} *
          ::_pbi::FromIntSize(this_._internal_exclude_cpu_architecture_size());
      total_size += data_size + tag_size;
    }
    // repeated int64 google_group = 22;
    if (CheckHasBit(cached_has_bits, 0x00001000U)) {
      total_size +=
          ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
              this_._internal_google_group(), 2,
              this_._impl_._google_group_cached_byte_size_);
    }
    // repeated int64 exclude_google_group = 23;
    if (CheckHasBit(cached_has_bits, 0x00002000U)) {
      total_size +=
          ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
              this_._internal_exclude_google_group(), 2,
              this_._impl_._exclude_google_group_cached_byte_size_);
    }
    // repeated string hardware_manufacturer = 24;
    if (CheckHasBit(cached_has_bits, 0x00004000U)) {
      total_size +=
          2 * ::google::protobuf::internal::FromIntSize(this_._internal_hardware_manufacturer().size());
      for (int i = 0, n = this_._internal_hardware_manufacturer().size(); i < n; ++i) {
        total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
            this_._internal_hardware_manufacturer().Get(i));
      }
    }
    // repeated string exclude_hardware_manufacturer = 25;
    if (CheckHasBit(cached_has_bits, 0x00008000U)) {
      total_size +=
          2 * ::google::protobuf::internal::FromIntSize(this_._internal_exclude_hardware_manufacturer().size());
      for (int i = 0, n = this_._internal_exclude_hardware_manufacturer().size(); i < n; ++i) {
        total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
            this_._internal_exclude_hardware_manufacturer().Get(i));
      }
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00ff0000U)) {
    // repeated string enterprise_group = 26;
    if (CheckHasBit(cached_has_bits, 0x00010000U)) {
      total_size +=
          2 * ::google::protobuf::internal::FromIntSize(this_._internal_enterprise_group().size());
      for (int i = 0, n = this_._internal_enterprise_group().size(); i < n; ++i) {
        total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
            this_._internal_enterprise_group().Get(i));
      }
    }
    // repeated string exclude_enterprise_group = 27;
    if (CheckHasBit(cached_has_bits, 0x00020000U)) {
      total_size +=
          2 * ::google::protobuf::internal::FromIntSize(this_._internal_exclude_enterprise_group().size());
      for (int i = 0, n = this_._internal_exclude_enterprise_group().size(); i < n; ++i) {
        total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
            this_._internal_exclude_enterprise_group().Get(i));
      }
    }
    // string min_version = 2;
    if (CheckHasBit(cached_has_bits, 0x00040000U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_min_version());
    }
    // string max_version = 3;
    if (CheckHasBit(cached_has_bits, 0x00080000U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_max_version());
    }
    // string min_os_version = 16;
    if (CheckHasBit(cached_has_bits, 0x00100000U)) {
      total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_min_os_version());
    }
    // string max_os_version = 17;
    if (CheckHasBit(cached_has_bits, 0x00200000U)) {
      total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_max_os_version());
    }
    // int64 start_date = 1;
    if (CheckHasBit(cached_has_bits, 0x00400000U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_start_date());
    }
    // int64 end_date = 13;
    if (CheckHasBit(cached_has_bits, 0x00800000U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_end_date());
    }
  }
   {
    // .variations.Study.PolicyRestriction policy_restriction = 19 [default = NONE];
    if (CheckHasBit(cached_has_bits, 0x04000000U)) {
      total_size += 2 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_policy_restriction());
    }
  }
  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
  }
  this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
  return total_size;
}

void Study_Filter::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<Study_Filter*>(&to_msg);
  auto& from = static_cast<const Study_Filter&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:variations.Study.Filter)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = from._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_mutable_channel()->MergeFrom(from._internal_channel());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_mutable_platform()->MergeFrom(from._internal_platform());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_internal_mutable_locale()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_locale());
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_internal_mutable_form_factor()->MergeFrom(from._internal_form_factor());
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _this->_internal_mutable_hardware_class()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_hardware_class());
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      _this->_internal_mutable_exclude_hardware_class()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_exclude_hardware_class());
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      _this->_internal_mutable_country()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_country());
    }
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      _this->_internal_mutable_exclude_country()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_exclude_country());
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x0000ff00U)) {
    if (CheckHasBit(cached_has_bits, 0x00000100U)) {
      _this->_internal_mutable_exclude_locale()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_exclude_locale());
    }
    if (CheckHasBit(cached_has_bits, 0x00000200U)) {
      _this->_internal_mutable_exclude_form_factor()->MergeFrom(from._internal_exclude_form_factor());
    }
    if (CheckHasBit(cached_has_bits, 0x00000400U)) {
      _this->_internal_mutable_cpu_architecture()->MergeFrom(from._internal_cpu_architecture());
    }
    if (CheckHasBit(cached_has_bits, 0x00000800U)) {
      _this->_internal_mutable_exclude_cpu_architecture()->MergeFrom(from._internal_exclude_cpu_architecture());
    }
    if (CheckHasBit(cached_has_bits, 0x00001000U)) {
      _this->_internal_mutable_google_group()->MergeFrom(from._internal_google_group());
    }
    if (CheckHasBit(cached_has_bits, 0x00002000U)) {
      _this->_internal_mutable_exclude_google_group()->MergeFrom(from._internal_exclude_google_group());
    }
    if (CheckHasBit(cached_has_bits, 0x00004000U)) {
      _this->_internal_mutable_hardware_manufacturer()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_hardware_manufacturer());
    }
    if (CheckHasBit(cached_has_bits, 0x00008000U)) {
      _this->_internal_mutable_exclude_hardware_manufacturer()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_exclude_hardware_manufacturer());
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00ff0000U)) {
    if (CheckHasBit(cached_has_bits, 0x00010000U)) {
      _this->_internal_mutable_enterprise_group()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_enterprise_group());
    }
    if (CheckHasBit(cached_has_bits, 0x00020000U)) {
      _this->_internal_mutable_exclude_enterprise_group()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_exclude_enterprise_group());
    }
    if (CheckHasBit(cached_has_bits, 0x00040000U)) {
      _this->_internal_set_min_version(from._internal_min_version());
    }
    if (CheckHasBit(cached_has_bits, 0x00080000U)) {
      _this->_internal_set_max_version(from._internal_max_version());
    }
    if (CheckHasBit(cached_has_bits, 0x00100000U)) {
      _this->_internal_set_min_os_version(from._internal_min_os_version());
    }
    if (CheckHasBit(cached_has_bits, 0x00200000U)) {
      _this->_internal_set_max_os_version(from._internal_max_os_version());
    }
    if (CheckHasBit(cached_has_bits, 0x00400000U)) {
      _this->_impl_.start_date_ = from._impl_.start_date_;
    }
    if (CheckHasBit(cached_has_bits, 0x00800000U)) {
      _this->_impl_.end_date_ = from._impl_.end_date_;
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x07000000U)) {
    if (CheckHasBit(cached_has_bits, 0x01000000U)) {
      _this->_impl_.is_low_end_device_ = from._impl_.is_low_end_device_;
    }
    if (CheckHasBit(cached_has_bits, 0x02000000U)) {
      _this->_impl_.is_enterprise_ = from._impl_.is_enterprise_;
    }
    if (CheckHasBit(cached_has_bits, 0x04000000U)) {
      _this->_impl_.policy_restriction_ = from._impl_.policy_restriction_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

void Study_Filter::CopyFrom(const Study_Filter& from) {
  // @@protoc_insertion_point(class_specific_copy_from_start:variations.Study.Filter)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}


void Study_Filter::InternalSwap(Study_Filter* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
  using ::std::swap;
  auto* arena = GetArena();
  ABSL_DCHECK_EQ(arena, other->GetArena());
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  _impl_.channel_.InternalSwap(&other->_impl_.channel_);
  _impl_.platform_.InternalSwap(&other->_impl_.platform_);
  _impl_.locale_.InternalSwap(&other->_impl_.locale_);
  _impl_.form_factor_.InternalSwap(&other->_impl_.form_factor_);
  _impl_.hardware_class_.InternalSwap(&other->_impl_.hardware_class_);
  _impl_.exclude_hardware_class_.InternalSwap(&other->_impl_.exclude_hardware_class_);
  _impl_.country_.InternalSwap(&other->_impl_.country_);
  _impl_.exclude_country_.InternalSwap(&other->_impl_.exclude_country_);
  _impl_.exclude_locale_.InternalSwap(&other->_impl_.exclude_locale_);
  _impl_.exclude_form_factor_.InternalSwap(&other->_impl_.exclude_form_factor_);
  _impl_.cpu_architecture_.InternalSwap(&other->_impl_.cpu_architecture_);
  _impl_.exclude_cpu_architecture_.InternalSwap(&other->_impl_.exclude_cpu_architecture_);
  _impl_.google_group_.InternalSwap(&other->_impl_.google_group_);
  _impl_.exclude_google_group_.InternalSwap(&other->_impl_.exclude_google_group_);
  _impl_.hardware_manufacturer_.InternalSwap(&other->_impl_.hardware_manufacturer_);
  _impl_.exclude_hardware_manufacturer_.InternalSwap(&other->_impl_.exclude_hardware_manufacturer_);
  _impl_.enterprise_group_.InternalSwap(&other->_impl_.enterprise_group_);
  _impl_.exclude_enterprise_group_.InternalSwap(&other->_impl_.exclude_enterprise_group_);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.min_version_, &other->_impl_.min_version_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.max_version_, &other->_impl_.max_version_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.min_os_version_, &other->_impl_.min_os_version_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.max_os_version_, &other->_impl_.max_os_version_, arena);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.policy_restriction_)
      + sizeof(Study_Filter::_impl_.policy_restriction_)
      - PROTOBUF_FIELD_OFFSET(Study_Filter, _impl_.start_date_)>(
          reinterpret_cast<char*>(&_impl_.start_date_),
          reinterpret_cast<char*>(&other->_impl_.start_date_));
}

// ===================================================================

void Study::clear_layer() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.layer_ != nullptr) _impl_.layer_->Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
}
Study::Study(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, Study_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:variations.Study)
}
PROTOBUF_NDEBUG_INLINE Study::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::variations::Study& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        experiment_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::variations::Study,
              PROTOBUF_FIELD_OFFSET(::variations::Study, _impl_.experiment_)>()
          , from.experiment_
        }
        ,
        name_(arena, from.name_),
        default_experiment_name_(arena, from.default_experiment_name_) {}

Study::Study(
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
    const Study& from)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, Study_get_class_data()) {

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  Study* const _this = this;
  (void)_this;
  _internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
  ::uint32_t cached_has_bits = _impl_._has_bits_[0];
  _impl_.filter_ = (CheckHasBit(cached_has_bits, 0x00000008U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.filter_)
                : nullptr;
  _impl_.layer_ = (CheckHasBit(cached_has_bits, 0x00000010U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.layer_)
                : nullptr;
  ::memcpy(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, expiry_date_),
           reinterpret_cast<const char*>(&from._impl_) +
               offsetof(Impl_, expiry_date_),
           offsetof(Impl_, google_web_visibility_end_date_) -
               offsetof(Impl_, expiry_date_) +
               sizeof(Impl_::google_web_visibility_end_date_));

  // @@protoc_insertion_point(copy_constructor:variations.Study)
}
PROTOBUF_NDEBUG_INLINE Study::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        experiment_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::variations::Study,
            PROTOBUF_FIELD_OFFSET(::variations::Study, _impl_.experiment_)>()
         }
        ,
        name_(arena),
        default_experiment_name_(arena) {}

inline void Study::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
  ::memset(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, filter_),
           0,
           offsetof(Impl_, google_web_visibility_end_date_) -
               offsetof(Impl_, filter_) +
               sizeof(Impl_::google_web_visibility_end_date_));
}
Study::~Study() {
  // @@protoc_insertion_point(destructor:variations.Study)
  SharedDtor(*this);
}
inline void Study::SharedDtor(MessageLite& self) {
  Study& this_ = static_cast<Study&>(self);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  this_._internal_metadata_.Delete<::std::string>();
  ABSL_DCHECK(this_.GetArena() == nullptr);
  this_._impl_.name_.Destroy();
  this_._impl_.default_experiment_name_.Destroy();
  delete this_._impl_.filter_;
  delete this_._impl_.layer_;
  this_._impl_.~Impl_();
}

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite Study_class_data_ =
    Study::InternalGenerateClassData_(Study_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
Study::GetClassData() const {
  return Study_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
Study::GetClassData() const {
  return Study_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const Study::ParseTableT_
    Study::_table_ =
        Study::InternalGenerateParseTable_(Study_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void Study::Clear() {
// @@protoc_insertion_point(message_clear_start:variations.Study)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  cached_has_bits = _impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.experiment_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.name_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.default_experiment_name_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      ABSL_DCHECK(_impl_.filter_ != nullptr);
      _impl_.filter_->Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      ABSL_DCHECK(_impl_.layer_ != nullptr);
      _impl_.layer_->Clear();
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x000000e0U)) {
    ::memset(&_impl_.expiry_date_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.randomization_seed_) -
        reinterpret_cast<char*>(&_impl_.expiry_date_)) + sizeof(_impl_.randomization_seed_));
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000f00U)) {
    ::memset(&_impl_.activation_type_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.google_web_visibility_end_date_) -
        reinterpret_cast<char*>(&_impl_.activation_type_)) + sizeof(_impl_.google_web_visibility_end_date_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* PROTOBUF_NONNULL Study::_InternalSerialize(
    const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
    ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
  const Study& this_ = static_cast<const Study&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::uint8_t* PROTOBUF_NONNULL Study::_InternalSerialize(
    ::uint8_t* PROTOBUF_NONNULL target,
    ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
  const Study& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(serialize_to_array_start:variations.Study)
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = this_._impl_._has_bits_[0];
  // string name = 1 [features = {
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    const ::std::string& _s = this_._internal_name();
    target = stream->WriteStringMaybeAliased(1, _s, target);
  }

  // int64 expiry_date = 3;
  if (CheckHasBit(cached_has_bits, 0x00000020U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<3>(
            stream, this_._internal_expiry_date(), target);
  }

  // .variations.Study.Consistency consistency = 7 [default = SESSION];
  if (CheckHasBit(cached_has_bits, 0x00000040U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        7, this_._internal_consistency(), target);
  }

  // string default_experiment_name = 8;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    const ::std::string& _s = this_._internal_default_experiment_name();
    target = stream->WriteStringMaybeAliased(8, _s, target);
  }

  // repeated .variations.Study.Experiment experiment = 9;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    for (unsigned i = 0, n = static_cast<unsigned>(
                             this_._internal_experiment_size());
         i < n; i++) {
      const auto& repfield = this_._internal_experiment().Get(i);
      target =
          ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
              9, repfield, repfield.GetCachedSize(),
              target, stream);
    }
  }

  // .variations.Study.Filter filter = 10;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        10, *this_._impl_.filter_, this_._impl_.filter_->GetCachedSize(), target,
        stream);
  }

  // uint32 randomization_seed = 11;
  if (CheckHasBit(cached_has_bits, 0x00000080U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
        11, this_._internal_randomization_seed(), target);
  }

  // .variations.Study.ActivationType activation_type = 12;
  if (CheckHasBit(cached_has_bits, 0x00000100U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        12, this_._internal_activation_type(), target);
  }

  // .variations.LayerMemberReference layer = 16;
  if (CheckHasBit(cached_has_bits, 0x00000010U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        16, *this_._impl_.layer_, this_._impl_.layer_->GetCachedSize(), target,
        stream);
  }

  // int64 google_web_visibility_start_date = 17;
  if (CheckHasBit(cached_has_bits, 0x00000400U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteInt64ToArray(
        17, this_._internal_google_web_visibility_start_date(), target);
  }

  // int64 google_web_visibility_end_date = 18;
  if (CheckHasBit(cached_has_bits, 0x00000800U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteInt64ToArray(
        18, this_._internal_google_web_visibility_end_date(), target);
  }

  // bool runtime_mutable = 19;
  if (CheckHasBit(cached_has_bits, 0x00000200U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        19, this_._internal_runtime_mutable(), target);
  }

  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    target = stream->WriteRaw(
        this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
        static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
  }
  // @@protoc_insertion_point(serialize_to_array_end:variations.Study)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t Study::ByteSizeLong(const MessageLite& base) {
  const Study& this_ = static_cast<const Study&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t Study::ByteSizeLong() const {
  const Study& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:variations.Study)
  ::size_t total_size = 0;

  ::uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void)cached_has_bits;

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
  cached_has_bits = this_._impl_._has_bits_[0];
  total_size += static_cast<bool>(0x00000200U & cached_has_bits) * 3;
   {
    // repeated .variations.Study.Experiment experiment = 9;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1UL * this_._internal_experiment_size();
      for (const auto& msg : this_._internal_experiment()) {
        total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
      }
    }
  }
   {
    // string name = 1 [features = {
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_name());
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x000000fcU)) {
    // string default_experiment_name = 8;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_default_experiment_name());
    }
    // .variations.Study.Filter filter = 10;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.filter_);
    }
    // .variations.LayerMemberReference layer = 16;
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      total_size += 2 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.layer_);
    }
    // int64 expiry_date = 3;
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_expiry_date());
    }
    // .variations.Study.Consistency consistency = 7 [default = SESSION];
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_consistency());
    }
    // uint32 randomization_seed = 11;
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
          this_._internal_randomization_seed());
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000d00U)) {
    // .variations.Study.ActivationType activation_type = 12;
    if (CheckHasBit(cached_has_bits, 0x00000100U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_activation_type());
    }
    // int64 google_web_visibility_start_date = 17;
    if (CheckHasBit(cached_has_bits, 0x00000400U)) {
      total_size += 2 + ::_pbi::WireFormatLite::Int64Size(
                                      this_._internal_google_web_visibility_start_date());
    }
    // int64 google_web_visibility_end_date = 18;
    if (CheckHasBit(cached_has_bits, 0x00000800U)) {
      total_size += 2 + ::_pbi::WireFormatLite::Int64Size(
                                      this_._internal_google_web_visibility_end_date());
    }
  }
  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
  }
  this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
  return total_size;
}

void Study::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<Study*>(&to_msg);
  auto& from = static_cast<const Study&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:variations.Study)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = from._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_mutable_experiment()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_experiment());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_name(from._internal_name());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_internal_set_default_experiment_name(from._internal_default_experiment_name());
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      ABSL_DCHECK(from._impl_.filter_ != nullptr);
      if (_this->_impl_.filter_ == nullptr) {
        _this->_impl_.filter_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.filter_);
      } else {
        _this->_impl_.filter_->MergeFrom(*from._impl_.filter_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      ABSL_DCHECK(from._impl_.layer_ != nullptr);
      if (_this->_impl_.layer_ == nullptr) {
        _this->_impl_.layer_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.layer_);
      } else {
        _this->_impl_.layer_->MergeFrom(*from._impl_.layer_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      _this->_impl_.expiry_date_ = from._impl_.expiry_date_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      _this->_impl_.consistency_ = from._impl_.consistency_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      _this->_impl_.randomization_seed_ = from._impl_.randomization_seed_;
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000f00U)) {
    if (CheckHasBit(cached_has_bits, 0x00000100U)) {
      _this->_impl_.activation_type_ = from._impl_.activation_type_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000200U)) {
      _this->_impl_.runtime_mutable_ = from._impl_.runtime_mutable_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000400U)) {
      _this->_impl_.google_web_visibility_start_date_ = from._impl_.google_web_visibility_start_date_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000800U)) {
      _this->_impl_.google_web_visibility_end_date_ = from._impl_.google_web_visibility_end_date_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

void Study::CopyFrom(const Study& from) {
  // @@protoc_insertion_point(class_specific_copy_from_start:variations.Study)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

PROTOBUF_NOINLINE bool Study::IsInitializedImpl(
    const MessageLite& msg) {
  auto& this_ = static_cast<const Study&>(msg);
  if (_Internal::MissingRequiredFields(this_._impl_._has_bits_)) {
    return false;
  }
  if (!::google::protobuf::internal::AllAreInitialized(this_._internal_experiment()))
    return false;
  return true;
}

void Study::InternalSwap(Study* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
  using ::std::swap;
  auto* arena = GetArena();
  ABSL_DCHECK_EQ(arena, other->GetArena());
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  _impl_.experiment_.InternalSwap(&other->_impl_.experiment_);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.default_experiment_name_, &other->_impl_.default_experiment_name_, arena);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(Study, _impl_.google_web_visibility_end_date_)
      + sizeof(Study::_impl_.google_web_visibility_end_date_)
      - PROTOBUF_FIELD_OFFSET(Study, _impl_.filter_)>(
          reinterpret_cast<char*>(&_impl_.filter_),
          reinterpret_cast<char*>(&other->_impl_.filter_));
}

// @@protoc_insertion_point(namespace_scope)
}  // namespace variations
namespace google {
namespace protobuf {
}  // namespace protobuf
}  // namespace google
// @@protoc_insertion_point(global_scope)
#include "google/protobuf/port_undef.inc"
