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

#ifndef prediction_5fservice_5fmessages_2eproto_2epb_2eh
#define prediction_5fservice_5fmessages_2eproto_2epb_2eh

#include <limits>
#include <string>
#include <type_traits>
#include <utility>

// clang-format off
#include "google/protobuf/runtime_version.h"
#if PROTOBUF_VERSION != 7035001
#error "Protobuf C++ gencode is built with an incompatible version of"
#error "Protobuf C++ headers/runtime. See"
#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
#endif
#include "google/protobuf/io/coded_stream.h"
#include "google/protobuf/arena.h"
#include "google/protobuf/arenastring.h"
#include "google/protobuf/generated_message_tctable_decl.h"
#include "google/protobuf/generated_message_util.h"
#include "google/protobuf/metadata_lite.h"
#include "google/protobuf/message_lite.h"
#include "google/protobuf/repeated_field.h"  // IWYU pragma: export
#include "google/protobuf/extension_set.h"  // IWYU pragma: export
#include "google/protobuf/generated_enum_util.h"
// @@protoc_insertion_point(includes)

// Must be included last.
#include "google/protobuf/port_def.inc"

#define PROTOBUF_INTERNAL_EXPORT_prediction_5fservice_5fmessages_2eproto

namespace google {
namespace protobuf {
namespace internal {
template <typename T>
::absl::string_view GetAnyMessageName();
}  // namespace internal
}  // namespace protobuf
}  // namespace google

// Internal implementation detail -- do not use these members.
struct TableStruct_prediction_5fservice_5fmessages_2eproto {
  static const ::uint32_t offsets[];
};
namespace permissions {
enum ClientFeatures_Gesture : int;
extern const uint32_t ClientFeatures_Gesture_internal_data_[];
enum ClientFeatures_GestureEnum : int;
extern const uint32_t ClientFeatures_GestureEnum_internal_data_[];
enum ClientFeatures_Platform : int;
extern const uint32_t ClientFeatures_Platform_internal_data_[];
enum ClientFeatures_PlatformEnum : int;
extern const uint32_t ClientFeatures_PlatformEnum_internal_data_[];
enum PermissionFeatures_Relevance : int;
extern const uint32_t PermissionFeatures_Relevance_internal_data_[];
enum PermissionPrediction_GeolocationPrediction_Accuracy : int;
extern const uint32_t PermissionPrediction_GeolocationPrediction_Accuracy_internal_data_[];
enum PermissionPrediction_Likelihood_DiscretizedLikelihood : int;
extern const uint32_t PermissionPrediction_Likelihood_DiscretizedLikelihood_internal_data_[];
class ClientFeatures;
struct ClientFeaturesGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern ClientFeaturesGlobalsTypeInternal ClientFeatures_globals_;
extern const ::google::protobuf::internal::ClassDataLite ClientFeatures_class_data_;
#else
extern const ClientFeaturesGlobalsTypeInternal ClientFeatures_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class ClientFeatures_ExperimentConfig;
struct ClientFeatures_ExperimentConfigGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern ClientFeatures_ExperimentConfigGlobalsTypeInternal ClientFeatures_ExperimentConfig_globals_;
extern const ::google::protobuf::internal::ClassDataLite ClientFeatures_ExperimentConfig_class_data_;
#else
extern const ClientFeatures_ExperimentConfigGlobalsTypeInternal ClientFeatures_ExperimentConfig_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class GeneratePredictionsRequest;
struct GeneratePredictionsRequestGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern GeneratePredictionsRequestGlobalsTypeInternal GeneratePredictionsRequest_globals_;
extern const ::google::protobuf::internal::ClassDataLite GeneratePredictionsRequest_class_data_;
#else
extern const GeneratePredictionsRequestGlobalsTypeInternal GeneratePredictionsRequest_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class GeneratePredictionsResponse;
struct GeneratePredictionsResponseGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern GeneratePredictionsResponseGlobalsTypeInternal GeneratePredictionsResponse_globals_;
extern const ::google::protobuf::internal::ClassDataLite GeneratePredictionsResponse_class_data_;
#else
extern const GeneratePredictionsResponseGlobalsTypeInternal GeneratePredictionsResponse_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class PermissionFeatures;
struct PermissionFeaturesGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern PermissionFeaturesGlobalsTypeInternal PermissionFeatures_globals_;
extern const ::google::protobuf::internal::ClassDataLite PermissionFeatures_class_data_;
#else
extern const PermissionFeaturesGlobalsTypeInternal PermissionFeatures_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class PermissionFeatures_GeolocationPermission;
struct PermissionFeatures_GeolocationPermissionGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern PermissionFeatures_GeolocationPermissionGlobalsTypeInternal PermissionFeatures_GeolocationPermission_globals_;
extern const ::google::protobuf::internal::ClassDataLite PermissionFeatures_GeolocationPermission_class_data_;
#else
extern const PermissionFeatures_GeolocationPermissionGlobalsTypeInternal PermissionFeatures_GeolocationPermission_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class PermissionFeatures_NotificationPermission;
struct PermissionFeatures_NotificationPermissionGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern PermissionFeatures_NotificationPermissionGlobalsTypeInternal PermissionFeatures_NotificationPermission_globals_;
extern const ::google::protobuf::internal::ClassDataLite PermissionFeatures_NotificationPermission_class_data_;
#else
extern const PermissionFeatures_NotificationPermissionGlobalsTypeInternal PermissionFeatures_NotificationPermission_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class PermissionPrediction;
struct PermissionPredictionGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern PermissionPredictionGlobalsTypeInternal PermissionPrediction_globals_;
extern const ::google::protobuf::internal::ClassDataLite PermissionPrediction_class_data_;
#else
extern const PermissionPredictionGlobalsTypeInternal PermissionPrediction_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class PermissionPrediction_GeolocationPrediction;
struct PermissionPrediction_GeolocationPredictionGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern PermissionPrediction_GeolocationPredictionGlobalsTypeInternal PermissionPrediction_GeolocationPrediction_globals_;
extern const ::google::protobuf::internal::ClassDataLite PermissionPrediction_GeolocationPrediction_class_data_;
#else
extern const PermissionPrediction_GeolocationPredictionGlobalsTypeInternal PermissionPrediction_GeolocationPrediction_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class PermissionPrediction_Likelihood;
struct PermissionPrediction_LikelihoodGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern PermissionPrediction_LikelihoodGlobalsTypeInternal PermissionPrediction_Likelihood_globals_;
extern const ::google::protobuf::internal::ClassDataLite PermissionPrediction_Likelihood_class_data_;
#else
extern const PermissionPrediction_LikelihoodGlobalsTypeInternal PermissionPrediction_Likelihood_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class PermissionPrediction_NotificationPrediction;
struct PermissionPrediction_NotificationPredictionGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern PermissionPrediction_NotificationPredictionGlobalsTypeInternal PermissionPrediction_NotificationPrediction_globals_;
extern const ::google::protobuf::internal::ClassDataLite PermissionPrediction_NotificationPrediction_class_data_;
#else
extern const PermissionPrediction_NotificationPredictionGlobalsTypeInternal PermissionPrediction_NotificationPrediction_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class SiteFeatures;
struct SiteFeaturesGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern SiteFeaturesGlobalsTypeInternal SiteFeatures_globals_;
extern const ::google::protobuf::internal::ClassDataLite SiteFeatures_class_data_;
#else
extern const SiteFeaturesGlobalsTypeInternal SiteFeatures_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class StatsFeatures;
struct StatsFeaturesGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern StatsFeaturesGlobalsTypeInternal StatsFeatures_globals_;
extern const ::google::protobuf::internal::ClassDataLite StatsFeatures_class_data_;
#else
extern const StatsFeaturesGlobalsTypeInternal StatsFeatures_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
}  // namespace permissions
namespace google {
namespace protobuf {
template <>
internal::EnumTraitsT<::permissions::ClientFeatures_Gesture_internal_data_>
    internal::EnumTraitsImpl::value<::permissions::ClientFeatures_Gesture>;
template <>
internal::EnumTraitsT<::permissions::ClientFeatures_GestureEnum_internal_data_>
    internal::EnumTraitsImpl::value<::permissions::ClientFeatures_GestureEnum>;
template <>
internal::EnumTraitsT<::permissions::ClientFeatures_Platform_internal_data_>
    internal::EnumTraitsImpl::value<::permissions::ClientFeatures_Platform>;
template <>
internal::EnumTraitsT<::permissions::ClientFeatures_PlatformEnum_internal_data_>
    internal::EnumTraitsImpl::value<::permissions::ClientFeatures_PlatformEnum>;
template <>
internal::EnumTraitsT<::permissions::PermissionFeatures_Relevance_internal_data_>
    internal::EnumTraitsImpl::value<::permissions::PermissionFeatures_Relevance>;
template <>
internal::EnumTraitsT<::permissions::PermissionPrediction_GeolocationPrediction_Accuracy_internal_data_>
    internal::EnumTraitsImpl::value<::permissions::PermissionPrediction_GeolocationPrediction_Accuracy>;
template <>
internal::EnumTraitsT<::permissions::PermissionPrediction_Likelihood_DiscretizedLikelihood_internal_data_>
    internal::EnumTraitsImpl::value<::permissions::PermissionPrediction_Likelihood_DiscretizedLikelihood>;
}  // namespace protobuf
}  // namespace google

namespace permissions {
enum ClientFeatures_Platform : int {
  ClientFeatures_Platform_PLATFORM_UNSPECIFIED = 0,
  ClientFeatures_Platform_PLATFORM_MOBILE = 1,
  ClientFeatures_Platform_PLATFORM_DESKTOP = 2,
};

extern const uint32_t ClientFeatures_Platform_internal_data_[];
inline constexpr ClientFeatures_Platform ClientFeatures_Platform_Platform_MIN =
    static_cast<ClientFeatures_Platform>(0);
inline constexpr ClientFeatures_Platform ClientFeatures_Platform_Platform_MAX =
    static_cast<ClientFeatures_Platform>(2);
inline bool ClientFeatures_Platform_IsValid(int value) {
  return 0 <= value && value <= 2;
}
inline constexpr int ClientFeatures_Platform_Platform_ARRAYSIZE = 2 + 1;
const ::std::string& ClientFeatures_Platform_Name(ClientFeatures_Platform value);
template <typename T>
const ::std::string& ClientFeatures_Platform_Name(T value) {
  static_assert(::std::is_same<T, ClientFeatures_Platform>::value ||
                    ::std::is_integral<T>::value,
                "Incorrect type passed to Platform_Name().");
  return ClientFeatures_Platform_Name(static_cast<ClientFeatures_Platform>(value));
}
bool ClientFeatures_Platform_Parse(
    ::absl::string_view name, ClientFeatures_Platform* PROTOBUF_NONNULL value);
enum ClientFeatures_Gesture : int {
  ClientFeatures_Gesture_GESTURE_UNSPECIFIED = 0,
  ClientFeatures_Gesture_NO_GESTURE = 1,
  ClientFeatures_Gesture_GESTURE = 2,
};

extern const uint32_t ClientFeatures_Gesture_internal_data_[];
inline constexpr ClientFeatures_Gesture ClientFeatures_Gesture_Gesture_MIN =
    static_cast<ClientFeatures_Gesture>(0);
inline constexpr ClientFeatures_Gesture ClientFeatures_Gesture_Gesture_MAX =
    static_cast<ClientFeatures_Gesture>(2);
inline bool ClientFeatures_Gesture_IsValid(int value) {
  return 0 <= value && value <= 2;
}
inline constexpr int ClientFeatures_Gesture_Gesture_ARRAYSIZE = 2 + 1;
const ::std::string& ClientFeatures_Gesture_Name(ClientFeatures_Gesture value);
template <typename T>
const ::std::string& ClientFeatures_Gesture_Name(T value) {
  static_assert(::std::is_same<T, ClientFeatures_Gesture>::value ||
                    ::std::is_integral<T>::value,
                "Incorrect type passed to Gesture_Name().");
  return ClientFeatures_Gesture_Name(static_cast<ClientFeatures_Gesture>(value));
}
bool ClientFeatures_Gesture_Parse(
    ::absl::string_view name, ClientFeatures_Gesture* PROTOBUF_NONNULL value);
enum ClientFeatures_GestureEnum : int {
  ClientFeatures_GestureEnum_GESTURE_V2 = 0,
  ClientFeatures_GestureEnum_GESTURE_UNSPECIFIED_V2 = 1,
};

extern const uint32_t ClientFeatures_GestureEnum_internal_data_[];
inline constexpr ClientFeatures_GestureEnum ClientFeatures_GestureEnum_GestureEnum_MIN =
    static_cast<ClientFeatures_GestureEnum>(0);
inline constexpr ClientFeatures_GestureEnum ClientFeatures_GestureEnum_GestureEnum_MAX =
    static_cast<ClientFeatures_GestureEnum>(1);
inline bool ClientFeatures_GestureEnum_IsValid(int value) {
  return 0 <= value && value <= 1;
}
inline constexpr int ClientFeatures_GestureEnum_GestureEnum_ARRAYSIZE = 1 + 1;
const ::std::string& ClientFeatures_GestureEnum_Name(ClientFeatures_GestureEnum value);
template <typename T>
const ::std::string& ClientFeatures_GestureEnum_Name(T value) {
  static_assert(::std::is_same<T, ClientFeatures_GestureEnum>::value ||
                    ::std::is_integral<T>::value,
                "Incorrect type passed to GestureEnum_Name().");
  return ClientFeatures_GestureEnum_Name(static_cast<ClientFeatures_GestureEnum>(value));
}
bool ClientFeatures_GestureEnum_Parse(
    ::absl::string_view name, ClientFeatures_GestureEnum* PROTOBUF_NONNULL value);
enum ClientFeatures_PlatformEnum : int {
  ClientFeatures_PlatformEnum_PLATFORM_MOBILE_V2 = 0,
  ClientFeatures_PlatformEnum_PLATFORM_DESKTOP_V2 = 1,
  ClientFeatures_PlatformEnum_PLATFORM_UNSPECIFIED_V2 = 3,
};

extern const uint32_t ClientFeatures_PlatformEnum_internal_data_[];
inline constexpr ClientFeatures_PlatformEnum ClientFeatures_PlatformEnum_PlatformEnum_MIN =
    static_cast<ClientFeatures_PlatformEnum>(0);
inline constexpr ClientFeatures_PlatformEnum ClientFeatures_PlatformEnum_PlatformEnum_MAX =
    static_cast<ClientFeatures_PlatformEnum>(3);
inline bool ClientFeatures_PlatformEnum_IsValid(int value) {
  return 0 <= value && value <= 3 && ((11u >> value) & 1) != 0;
}
inline constexpr int ClientFeatures_PlatformEnum_PlatformEnum_ARRAYSIZE = 3 + 1;
const ::std::string& ClientFeatures_PlatformEnum_Name(ClientFeatures_PlatformEnum value);
template <typename T>
const ::std::string& ClientFeatures_PlatformEnum_Name(T value) {
  static_assert(::std::is_same<T, ClientFeatures_PlatformEnum>::value ||
                    ::std::is_integral<T>::value,
                "Incorrect type passed to PlatformEnum_Name().");
  return ClientFeatures_PlatformEnum_Name(static_cast<ClientFeatures_PlatformEnum>(value));
}
bool ClientFeatures_PlatformEnum_Parse(
    ::absl::string_view name, ClientFeatures_PlatformEnum* PROTOBUF_NONNULL value);
enum PermissionFeatures_Relevance : int {
  PermissionFeatures_Relevance_RELEVANCE_UNSPECIFIED = 0,
  PermissionFeatures_Relevance_RELEVANCE_VERY_LOW = 1,
  PermissionFeatures_Relevance_RELEVANCE_LOW = 2,
  PermissionFeatures_Relevance_RELEVANCE_MEDIUM = 3,
  PermissionFeatures_Relevance_RELEVANCE_HIGH = 4,
  PermissionFeatures_Relevance_RELEVANCE_VERY_HIGH = 5,
};

extern const uint32_t PermissionFeatures_Relevance_internal_data_[];
inline constexpr PermissionFeatures_Relevance PermissionFeatures_Relevance_Relevance_MIN =
    static_cast<PermissionFeatures_Relevance>(0);
inline constexpr PermissionFeatures_Relevance PermissionFeatures_Relevance_Relevance_MAX =
    static_cast<PermissionFeatures_Relevance>(5);
inline bool PermissionFeatures_Relevance_IsValid(int value) {
  return 0 <= value && value <= 5;
}
inline constexpr int PermissionFeatures_Relevance_Relevance_ARRAYSIZE = 5 + 1;
const ::std::string& PermissionFeatures_Relevance_Name(PermissionFeatures_Relevance value);
template <typename T>
const ::std::string& PermissionFeatures_Relevance_Name(T value) {
  static_assert(::std::is_same<T, PermissionFeatures_Relevance>::value ||
                    ::std::is_integral<T>::value,
                "Incorrect type passed to Relevance_Name().");
  return PermissionFeatures_Relevance_Name(static_cast<PermissionFeatures_Relevance>(value));
}
bool PermissionFeatures_Relevance_Parse(
    ::absl::string_view name, PermissionFeatures_Relevance* PROTOBUF_NONNULL value);
enum PermissionPrediction_GeolocationPrediction_Accuracy : int {
  PermissionPrediction_GeolocationPrediction_Accuracy_ACCURACY_UNSPECIFIED = 0,
  PermissionPrediction_GeolocationPrediction_Accuracy_ACCURACY_PRECISE = 1,
  PermissionPrediction_GeolocationPrediction_Accuracy_ACCURACY_APPROXIMATE = 2,
};

extern const uint32_t PermissionPrediction_GeolocationPrediction_Accuracy_internal_data_[];
inline constexpr PermissionPrediction_GeolocationPrediction_Accuracy PermissionPrediction_GeolocationPrediction_Accuracy_Accuracy_MIN =
    static_cast<PermissionPrediction_GeolocationPrediction_Accuracy>(0);
inline constexpr PermissionPrediction_GeolocationPrediction_Accuracy PermissionPrediction_GeolocationPrediction_Accuracy_Accuracy_MAX =
    static_cast<PermissionPrediction_GeolocationPrediction_Accuracy>(2);
inline bool PermissionPrediction_GeolocationPrediction_Accuracy_IsValid(int value) {
  return 0 <= value && value <= 2;
}
inline constexpr int PermissionPrediction_GeolocationPrediction_Accuracy_Accuracy_ARRAYSIZE = 2 + 1;
const ::std::string& PermissionPrediction_GeolocationPrediction_Accuracy_Name(PermissionPrediction_GeolocationPrediction_Accuracy value);
template <typename T>
const ::std::string& PermissionPrediction_GeolocationPrediction_Accuracy_Name(T value) {
  static_assert(::std::is_same<T, PermissionPrediction_GeolocationPrediction_Accuracy>::value ||
                    ::std::is_integral<T>::value,
                "Incorrect type passed to Accuracy_Name().");
  return PermissionPrediction_GeolocationPrediction_Accuracy_Name(static_cast<PermissionPrediction_GeolocationPrediction_Accuracy>(value));
}
bool PermissionPrediction_GeolocationPrediction_Accuracy_Parse(
    ::absl::string_view name, PermissionPrediction_GeolocationPrediction_Accuracy* PROTOBUF_NONNULL value);
enum PermissionPrediction_Likelihood_DiscretizedLikelihood : int {
  PermissionPrediction_Likelihood_DiscretizedLikelihood_DISCRETIZED_LIKELIHOOD_UNSPECIFIED = 0,
  PermissionPrediction_Likelihood_DiscretizedLikelihood_VERY_UNLIKELY = 1,
  PermissionPrediction_Likelihood_DiscretizedLikelihood_UNLIKELY = 2,
  PermissionPrediction_Likelihood_DiscretizedLikelihood_NEUTRAL = 3,
  PermissionPrediction_Likelihood_DiscretizedLikelihood_LIKELY = 4,
  PermissionPrediction_Likelihood_DiscretizedLikelihood_VERY_LIKELY = 5,
};

extern const uint32_t PermissionPrediction_Likelihood_DiscretizedLikelihood_internal_data_[];
inline constexpr PermissionPrediction_Likelihood_DiscretizedLikelihood PermissionPrediction_Likelihood_DiscretizedLikelihood_DiscretizedLikelihood_MIN =
    static_cast<PermissionPrediction_Likelihood_DiscretizedLikelihood>(0);
inline constexpr PermissionPrediction_Likelihood_DiscretizedLikelihood PermissionPrediction_Likelihood_DiscretizedLikelihood_DiscretizedLikelihood_MAX =
    static_cast<PermissionPrediction_Likelihood_DiscretizedLikelihood>(5);
inline bool PermissionPrediction_Likelihood_DiscretizedLikelihood_IsValid(int value) {
  return 0 <= value && value <= 5;
}
inline constexpr int PermissionPrediction_Likelihood_DiscretizedLikelihood_DiscretizedLikelihood_ARRAYSIZE = 5 + 1;
const ::std::string& PermissionPrediction_Likelihood_DiscretizedLikelihood_Name(PermissionPrediction_Likelihood_DiscretizedLikelihood value);
template <typename T>
const ::std::string& PermissionPrediction_Likelihood_DiscretizedLikelihood_Name(T value) {
  static_assert(::std::is_same<T, PermissionPrediction_Likelihood_DiscretizedLikelihood>::value ||
                    ::std::is_integral<T>::value,
                "Incorrect type passed to DiscretizedLikelihood_Name().");
  return PermissionPrediction_Likelihood_DiscretizedLikelihood_Name(static_cast<PermissionPrediction_Likelihood_DiscretizedLikelihood>(value));
}
bool PermissionPrediction_Likelihood_DiscretizedLikelihood_Parse(
    ::absl::string_view name, PermissionPrediction_Likelihood_DiscretizedLikelihood* PROTOBUF_NONNULL value);
using ::google::protobuf::internal::generated_enum::AbslParseFlag;
using ::google::protobuf::internal::generated_enum::AbslUnparseFlag;

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


// -------------------------------------------------------------------

class  StatsFeatures final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:permissions.StatsFeatures) */ {
 public:
  inline StatsFeatures() : StatsFeatures(nullptr) {}
  ~StatsFeatures() PROTOBUF_FINAL;

#if defined(PROTOBUF_CUSTOM_VTABLE)
  void operator delete(StatsFeatures* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
    SharedDtor(*msg);
    ::google::protobuf::internal::SizedDelete(msg, sizeof(StatsFeatures));
  }
#endif

  template <typename = void>
  explicit constexpr StatsFeatures(::google::protobuf::internal::ConstantInitialized,
                           const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
                               class_data);

  inline StatsFeatures(const StatsFeatures& from) : StatsFeatures(nullptr, from) {}
  inline StatsFeatures(StatsFeatures&& from) noexcept : StatsFeatures(nullptr, ::std::move(from)) {}
  inline StatsFeatures& operator=(const StatsFeatures& from) {
    CopyFrom(from);
    return *this;
  }
  inline StatsFeatures& operator=(StatsFeatures&& from) noexcept {
    if (this == &from) return *this;
    if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const ::std::string& unknown_fields() const
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
  }
  inline ::std::string* PROTOBUF_NONNULL
  mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.mutable_unknown_fields<::std::string>();
  }

  static const StatsFeatures& default_instance() {
    return *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<StatsFeatures>(&StatsFeatures_globals_);
  }
  static constexpr int kIndexInFileMessages = 1;
  friend void swap(StatsFeatures& a, StatsFeatures& b) { a.Swap(&b); }
  PROTOBUF_NOINLINE void Swap(StatsFeatures* PROTOBUF_NONNULL other) {
    if (other == this) return;
    if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
      InternalSwap(other);
    } else {
      ::google::protobuf::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(StatsFeatures* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  StatsFeatures* PROTOBUF_NONNULL
  New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
    return ::google::protobuf::MessageLite::DefaultConstruct<StatsFeatures>(arena);
  }
  void CopyFrom(const StatsFeatures& from);
  void MergeFrom(const StatsFeatures& from) { StatsFeatures::MergeImpl(*this, from); }

  private:
  static void MergeImpl(::google::protobuf::MessageLite& to_msg,
                        const ::google::protobuf::MessageLite& from_msg);

  public:
  bool IsInitialized() const {
    return true;
  }
  ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
  #if defined(PROTOBUF_CUSTOM_VTABLE)
  private:
  static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
  static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);

  public:
  ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
    return _InternalSerialize(*this, target, stream);
  }
  #else   // PROTOBUF_CUSTOM_VTABLE
  ::size_t ByteSizeLong() const final;
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
  #endif  // PROTOBUF_CUSTOM_VTABLE
  int GetCachedSize() const {
    return _impl_._cached_size_.Get();
  }

  private:
  void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static void SharedDtor(MessageLite& self);
  void InternalSwap(StatsFeatures* PROTOBUF_NONNULL other);
 private:
  template <typename T>
  friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
  static ::absl::string_view FullMessageName() { return "permissions.StatsFeatures"; }

  explicit StatsFeatures(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  StatsFeatures(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const StatsFeatures& from);
  StatsFeatures(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, StatsFeatures&& from) noexcept
      : StatsFeatures(arena) {
    *this = ::std::move(from);
  }
  const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
  static void* PROTOBUF_NONNULL PlacementNew_(
      const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static constexpr auto InternalNewImpl_();

 public:
  static constexpr auto InternalGenerateClassData_(
      const MessageLite& prototype,
      const ::google::protobuf::internal::TcParseTableBase* PROTOBUF_NULLABLE tc_table = nullptr);

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------
  enum : int {
    kAvgDenyRateFieldNumber = 1,
    kAvgGrantRateFieldNumber = 2,
    kAvgDismissRateFieldNumber = 3,
    kAvgIgnoreRateFieldNumber = 4,
    kPromptsCountFieldNumber = 5,
  };
  // optional float avg_deny_rate = 1;
  bool has_avg_deny_rate()
      const;
  void clear_avg_deny_rate() ;
  float avg_deny_rate() const;
  void set_avg_deny_rate(float value);

  private:
  float _internal_avg_deny_rate() const;
  void _internal_set_avg_deny_rate(float value);

  public:
  // optional float avg_grant_rate = 2;
  bool has_avg_grant_rate()
      const;
  void clear_avg_grant_rate() ;
  float avg_grant_rate() const;
  void set_avg_grant_rate(float value);

  private:
  float _internal_avg_grant_rate() const;
  void _internal_set_avg_grant_rate(float value);

  public:
  // optional float avg_dismiss_rate = 3;
  bool has_avg_dismiss_rate()
      const;
  void clear_avg_dismiss_rate() ;
  float avg_dismiss_rate() const;
  void set_avg_dismiss_rate(float value);

  private:
  float _internal_avg_dismiss_rate() const;
  void _internal_set_avg_dismiss_rate(float value);

  public:
  // optional float avg_ignore_rate = 4;
  bool has_avg_ignore_rate()
      const;
  void clear_avg_ignore_rate() ;
  float avg_ignore_rate() const;
  void set_avg_ignore_rate(float value);

  private:
  float _internal_avg_ignore_rate() const;
  void _internal_set_avg_ignore_rate(float value);

  public:
  // optional int32 prompts_count = 5;
  bool has_prompts_count()
      const;
  void clear_prompts_count() ;
  ::int32_t prompts_count() const;
  void set_prompts_count(::int32_t value);

  private:
  ::int32_t _internal_prompts_count() const;
  void _internal_set_prompts_count(::int32_t value);

  public:
  // @@protoc_insertion_point(class_scope:permissions.StatsFeatures)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<3, 5,
                          0, 0,
                          2>;
  static constexpr ParseTableT_ InternalGenerateParseTable_(
      const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data);
  friend class ::google::protobuf::internal::TcParser;
  #ifndef PROTOBUF_MESSAGE_GLOBALS
  static const ParseTableT_ _table_;
  #endif

  friend class ::google::protobuf::MessageLite;
  friend class ::google::protobuf::Arena;
  friend ::google::protobuf::internal::PrivateAccess;
  template <typename T>
  friend class ::google::protobuf::Arena::InternalHelper;
  using InternalArenaConstructable_ = void;
  using DestructorSkippable_ = void;
  struct Impl_ {
    inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility,
                                    ::google::protobuf::internal::ConstantInitialized) noexcept;
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
        const StatsFeatures& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    float avg_deny_rate_;
    float avg_grant_rate_;
    float avg_dismiss_rate_;
    float avg_ignore_rate_;
    ::int32_t prompts_count_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_prediction_5fservice_5fmessages_2eproto;
};
// -------------------------------------------------------------------

class  SiteFeatures final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:permissions.SiteFeatures) */ {
 public:
  inline SiteFeatures() : SiteFeatures(nullptr) {}
  ~SiteFeatures() PROTOBUF_FINAL;

#if defined(PROTOBUF_CUSTOM_VTABLE)
  void operator delete(SiteFeatures* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
    SharedDtor(*msg);
    ::google::protobuf::internal::SizedDelete(msg, sizeof(SiteFeatures));
  }
#endif

  template <typename = void>
  explicit constexpr SiteFeatures(::google::protobuf::internal::ConstantInitialized,
                           const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
                               class_data);

  inline SiteFeatures(const SiteFeatures& from) : SiteFeatures(nullptr, from) {}
  inline SiteFeatures(SiteFeatures&& from) noexcept : SiteFeatures(nullptr, ::std::move(from)) {}
  inline SiteFeatures& operator=(const SiteFeatures& from) {
    CopyFrom(from);
    return *this;
  }
  inline SiteFeatures& operator=(SiteFeatures&& from) noexcept {
    if (this == &from) return *this;
    if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const ::std::string& unknown_fields() const
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
  }
  inline ::std::string* PROTOBUF_NONNULL
  mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.mutable_unknown_fields<::std::string>();
  }

  static const SiteFeatures& default_instance() {
    return *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<SiteFeatures>(&SiteFeatures_globals_);
  }
  static constexpr int kIndexInFileMessages = 0;
  friend void swap(SiteFeatures& a, SiteFeatures& b) { a.Swap(&b); }
  PROTOBUF_NOINLINE void Swap(SiteFeatures* PROTOBUF_NONNULL other) {
    if (other == this) return;
    if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
      InternalSwap(other);
    } else {
      ::google::protobuf::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(SiteFeatures* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  SiteFeatures* PROTOBUF_NONNULL
  New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
    return ::google::protobuf::MessageLite::DefaultConstruct<SiteFeatures>(arena);
  }
  void CopyFrom(const SiteFeatures& from);
  void MergeFrom(const SiteFeatures& from) { SiteFeatures::MergeImpl(*this, from); }

  private:
  static void MergeImpl(::google::protobuf::MessageLite& to_msg,
                        const ::google::protobuf::MessageLite& from_msg);

  public:
  bool IsInitialized() const {
    return true;
  }
  ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
  #if defined(PROTOBUF_CUSTOM_VTABLE)
  private:
  static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
  static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);

  public:
  ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
    return _InternalSerialize(*this, target, stream);
  }
  #else   // PROTOBUF_CUSTOM_VTABLE
  ::size_t ByteSizeLong() const final;
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
  #endif  // PROTOBUF_CUSTOM_VTABLE
  int GetCachedSize() const {
    return _impl_._cached_size_.Get();
  }

  private:
  void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static void SharedDtor(MessageLite& self);
  void InternalSwap(SiteFeatures* PROTOBUF_NONNULL other);
 private:
  template <typename T>
  friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
  static ::absl::string_view FullMessageName() { return "permissions.SiteFeatures"; }

  explicit SiteFeatures(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  SiteFeatures(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SiteFeatures& from);
  SiteFeatures(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SiteFeatures&& from) noexcept
      : SiteFeatures(arena) {
    *this = ::std::move(from);
  }
  const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
  static void* PROTOBUF_NONNULL PlacementNew_(
      const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static constexpr auto InternalNewImpl_();

 public:
  static constexpr auto InternalGenerateClassData_(
      const MessageLite& prototype,
      const ::google::protobuf::internal::TcParseTableBase* PROTOBUF_NULLABLE tc_table = nullptr);

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------
  enum : int {
    kOriginFieldNumber = 1,
  };
  // optional string origin = 1;
  bool has_origin()
      const;
  void clear_origin() ;
  const ::std::string& origin() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_origin(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_origin();
  ::std::string* PROTOBUF_NULLABLE release_origin();
  void set_allocated_origin(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_origin() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_origin(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_origin();

  public:
  // @@protoc_insertion_point(class_scope:permissions.SiteFeatures)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<0, 1,
                          0, 0,
                          2>;
  static constexpr ParseTableT_ InternalGenerateParseTable_(
      const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data);
  friend class ::google::protobuf::internal::TcParser;
  #ifndef PROTOBUF_MESSAGE_GLOBALS
  static const ParseTableT_ _table_;
  #endif

  friend class ::google::protobuf::MessageLite;
  friend class ::google::protobuf::Arena;
  friend ::google::protobuf::internal::PrivateAccess;
  template <typename T>
  friend class ::google::protobuf::Arena::InternalHelper;
  using InternalArenaConstructable_ = void;
  using DestructorSkippable_ = void;
  struct Impl_ {
    inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility,
                                    ::google::protobuf::internal::ConstantInitialized) noexcept;
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
        const SiteFeatures& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::google::protobuf::internal::ArenaStringPtr origin_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_prediction_5fservice_5fmessages_2eproto;
};
// -------------------------------------------------------------------

class  PermissionPrediction_NotificationPrediction final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:permissions.PermissionPrediction.NotificationPrediction) */ {
 public:
  inline PermissionPrediction_NotificationPrediction() : PermissionPrediction_NotificationPrediction(nullptr) {}
  ~PermissionPrediction_NotificationPrediction() PROTOBUF_FINAL;

#if defined(PROTOBUF_CUSTOM_VTABLE)
  void operator delete(PermissionPrediction_NotificationPrediction* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
    SharedDtor(*msg);
    ::google::protobuf::internal::SizedDelete(msg, sizeof(PermissionPrediction_NotificationPrediction));
  }
#endif

  template <typename = void>
  explicit constexpr PermissionPrediction_NotificationPrediction(::google::protobuf::internal::ConstantInitialized,
                           const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
                               class_data);

  inline PermissionPrediction_NotificationPrediction(const PermissionPrediction_NotificationPrediction& from) : PermissionPrediction_NotificationPrediction(nullptr, from) {}
  inline PermissionPrediction_NotificationPrediction(PermissionPrediction_NotificationPrediction&& from) noexcept : PermissionPrediction_NotificationPrediction(nullptr, ::std::move(from)) {}
  inline PermissionPrediction_NotificationPrediction& operator=(const PermissionPrediction_NotificationPrediction& from) {
    CopyFrom(from);
    return *this;
  }
  inline PermissionPrediction_NotificationPrediction& operator=(PermissionPrediction_NotificationPrediction&& from) noexcept {
    if (this == &from) return *this;
    if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const ::std::string& unknown_fields() const
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
  }
  inline ::std::string* PROTOBUF_NONNULL
  mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.mutable_unknown_fields<::std::string>();
  }

  static const PermissionPrediction_NotificationPrediction& default_instance() {
    return *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<PermissionPrediction_NotificationPrediction>(&PermissionPrediction_NotificationPrediction_globals_);
  }
  static constexpr int kIndexInFileMessages = 7;
  friend void swap(PermissionPrediction_NotificationPrediction& a, PermissionPrediction_NotificationPrediction& b) { a.Swap(&b); }
  PROTOBUF_NOINLINE void Swap(PermissionPrediction_NotificationPrediction* PROTOBUF_NONNULL other) {
    if (other == this) return;
    if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
      InternalSwap(other);
    } else {
      ::google::protobuf::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(PermissionPrediction_NotificationPrediction* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  PermissionPrediction_NotificationPrediction* PROTOBUF_NONNULL
  New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
    return ::google::protobuf::MessageLite::DefaultConstruct<PermissionPrediction_NotificationPrediction>(arena);
  }
  void CopyFrom(const PermissionPrediction_NotificationPrediction& from);
  void MergeFrom(const PermissionPrediction_NotificationPrediction& from) { PermissionPrediction_NotificationPrediction::MergeImpl(*this, from); }

  private:
  static void MergeImpl(::google::protobuf::MessageLite& to_msg,
                        const ::google::protobuf::MessageLite& from_msg);

  public:
  bool IsInitialized() const {
    return true;
  }
  ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
  #if defined(PROTOBUF_CUSTOM_VTABLE)
  private:
  static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
  static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);

  public:
  ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
    return _InternalSerialize(*this, target, stream);
  }
  #else   // PROTOBUF_CUSTOM_VTABLE
  ::size_t ByteSizeLong() const final;
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
  #endif  // PROTOBUF_CUSTOM_VTABLE
  int GetCachedSize() const {
    return _impl_._cached_size_.Get();
  }

  private:
  void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static void SharedDtor(MessageLite& self);
  void InternalSwap(PermissionPrediction_NotificationPrediction* PROTOBUF_NONNULL other);
 private:
  template <typename T>
  friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
  static ::absl::string_view FullMessageName() { return "permissions.PermissionPrediction.NotificationPrediction"; }

  explicit PermissionPrediction_NotificationPrediction(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  PermissionPrediction_NotificationPrediction(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const PermissionPrediction_NotificationPrediction& from);
  PermissionPrediction_NotificationPrediction(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, PermissionPrediction_NotificationPrediction&& from) noexcept
      : PermissionPrediction_NotificationPrediction(arena) {
    *this = ::std::move(from);
  }
  const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
  static void* PROTOBUF_NONNULL PlacementNew_(
      const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static constexpr auto InternalNewImpl_();

 public:
  static constexpr auto InternalGenerateClassData_(
      const MessageLite& prototype,
      const ::google::protobuf::internal::TcParseTableBase* PROTOBUF_NULLABLE tc_table = nullptr);

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------
  // @@protoc_insertion_point(class_scope:permissions.PermissionPrediction.NotificationPrediction)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<0, 0,
                          0, 0,
                          2>;
  static constexpr ParseTableT_ InternalGenerateParseTable_(
      const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data);
  friend class ::google::protobuf::internal::TcParser;
  #ifndef PROTOBUF_MESSAGE_GLOBALS
  static const ParseTableT_ _table_;
  #endif

  friend class ::google::protobuf::MessageLite;
  friend class ::google::protobuf::Arena;
  friend ::google::protobuf::internal::PrivateAccess;
  template <typename T>
  friend class ::google::protobuf::Arena::InternalHelper;
  using InternalArenaConstructable_ = void;
  using DestructorSkippable_ = void;
  struct Impl_ {
    inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility,
                                    ::google::protobuf::internal::ConstantInitialized) noexcept;
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
        const PermissionPrediction_NotificationPrediction& from_msg);
    ::google::protobuf::internal::CachedSize _cached_size_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_prediction_5fservice_5fmessages_2eproto;
};
// -------------------------------------------------------------------

class  PermissionPrediction_Likelihood final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:permissions.PermissionPrediction.Likelihood) */ {
 public:
  inline PermissionPrediction_Likelihood() : PermissionPrediction_Likelihood(nullptr) {}
  ~PermissionPrediction_Likelihood() PROTOBUF_FINAL;

#if defined(PROTOBUF_CUSTOM_VTABLE)
  void operator delete(PermissionPrediction_Likelihood* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
    SharedDtor(*msg);
    ::google::protobuf::internal::SizedDelete(msg, sizeof(PermissionPrediction_Likelihood));
  }
#endif

  template <typename = void>
  explicit constexpr PermissionPrediction_Likelihood(::google::protobuf::internal::ConstantInitialized,
                           const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
                               class_data);

  inline PermissionPrediction_Likelihood(const PermissionPrediction_Likelihood& from) : PermissionPrediction_Likelihood(nullptr, from) {}
  inline PermissionPrediction_Likelihood(PermissionPrediction_Likelihood&& from) noexcept : PermissionPrediction_Likelihood(nullptr, ::std::move(from)) {}
  inline PermissionPrediction_Likelihood& operator=(const PermissionPrediction_Likelihood& from) {
    CopyFrom(from);
    return *this;
  }
  inline PermissionPrediction_Likelihood& operator=(PermissionPrediction_Likelihood&& from) noexcept {
    if (this == &from) return *this;
    if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const ::std::string& unknown_fields() const
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
  }
  inline ::std::string* PROTOBUF_NONNULL
  mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.mutable_unknown_fields<::std::string>();
  }

  static const PermissionPrediction_Likelihood& default_instance() {
    return *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<PermissionPrediction_Likelihood>(&PermissionPrediction_Likelihood_globals_);
  }
  static constexpr int kIndexInFileMessages = 9;
  friend void swap(PermissionPrediction_Likelihood& a, PermissionPrediction_Likelihood& b) { a.Swap(&b); }
  PROTOBUF_NOINLINE void Swap(PermissionPrediction_Likelihood* PROTOBUF_NONNULL other) {
    if (other == this) return;
    if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
      InternalSwap(other);
    } else {
      ::google::protobuf::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(PermissionPrediction_Likelihood* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  PermissionPrediction_Likelihood* PROTOBUF_NONNULL
  New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
    return ::google::protobuf::MessageLite::DefaultConstruct<PermissionPrediction_Likelihood>(arena);
  }
  void CopyFrom(const PermissionPrediction_Likelihood& from);
  void MergeFrom(const PermissionPrediction_Likelihood& from) { PermissionPrediction_Likelihood::MergeImpl(*this, from); }

  private:
  static void MergeImpl(::google::protobuf::MessageLite& to_msg,
                        const ::google::protobuf::MessageLite& from_msg);

  public:
  bool IsInitialized() const {
    return true;
  }
  ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
  #if defined(PROTOBUF_CUSTOM_VTABLE)
  private:
  static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
  static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);

  public:
  ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
    return _InternalSerialize(*this, target, stream);
  }
  #else   // PROTOBUF_CUSTOM_VTABLE
  ::size_t ByteSizeLong() const final;
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
  #endif  // PROTOBUF_CUSTOM_VTABLE
  int GetCachedSize() const {
    return _impl_._cached_size_.Get();
  }

  private:
  void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static void SharedDtor(MessageLite& self);
  void InternalSwap(PermissionPrediction_Likelihood* PROTOBUF_NONNULL other);
 private:
  template <typename T>
  friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
  static ::absl::string_view FullMessageName() { return "permissions.PermissionPrediction.Likelihood"; }

  explicit PermissionPrediction_Likelihood(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  PermissionPrediction_Likelihood(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const PermissionPrediction_Likelihood& from);
  PermissionPrediction_Likelihood(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, PermissionPrediction_Likelihood&& from) noexcept
      : PermissionPrediction_Likelihood(arena) {
    *this = ::std::move(from);
  }
  const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
  static void* PROTOBUF_NONNULL PlacementNew_(
      const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static constexpr auto InternalNewImpl_();

 public:
  static constexpr auto InternalGenerateClassData_(
      const MessageLite& prototype,
      const ::google::protobuf::internal::TcParseTableBase* PROTOBUF_NULLABLE tc_table = nullptr);

  // nested types ----------------------------------------------------
  using DiscretizedLikelihood = PermissionPrediction_Likelihood_DiscretizedLikelihood;
  static constexpr DiscretizedLikelihood DISCRETIZED_LIKELIHOOD_UNSPECIFIED = PermissionPrediction_Likelihood_DiscretizedLikelihood_DISCRETIZED_LIKELIHOOD_UNSPECIFIED;
  static constexpr DiscretizedLikelihood VERY_UNLIKELY = PermissionPrediction_Likelihood_DiscretizedLikelihood_VERY_UNLIKELY;
  static constexpr DiscretizedLikelihood UNLIKELY = PermissionPrediction_Likelihood_DiscretizedLikelihood_UNLIKELY;
  static constexpr DiscretizedLikelihood NEUTRAL = PermissionPrediction_Likelihood_DiscretizedLikelihood_NEUTRAL;
  static constexpr DiscretizedLikelihood LIKELY = PermissionPrediction_Likelihood_DiscretizedLikelihood_LIKELY;
  static constexpr DiscretizedLikelihood VERY_LIKELY = PermissionPrediction_Likelihood_DiscretizedLikelihood_VERY_LIKELY;
  static inline bool DiscretizedLikelihood_IsValid(int value) {
    return PermissionPrediction_Likelihood_DiscretizedLikelihood_IsValid(value);
  }
  static constexpr DiscretizedLikelihood DiscretizedLikelihood_MIN = PermissionPrediction_Likelihood_DiscretizedLikelihood_DiscretizedLikelihood_MIN;
  static constexpr DiscretizedLikelihood DiscretizedLikelihood_MAX = PermissionPrediction_Likelihood_DiscretizedLikelihood_DiscretizedLikelihood_MAX;
  static constexpr int DiscretizedLikelihood_ARRAYSIZE = PermissionPrediction_Likelihood_DiscretizedLikelihood_DiscretizedLikelihood_ARRAYSIZE;
  template <typename T>
  static inline const ::std::string& DiscretizedLikelihood_Name(T value) {
    return PermissionPrediction_Likelihood_DiscretizedLikelihood_Name(value);
  }
  static inline bool DiscretizedLikelihood_Parse(
      ::absl::string_view name, DiscretizedLikelihood* PROTOBUF_NONNULL value) {
    return PermissionPrediction_Likelihood_DiscretizedLikelihood_Parse(name, value);
  }

  // accessors -------------------------------------------------------
  enum : int {
    kDiscretizedLikelihoodFieldNumber = 1,
  };
  // optional .permissions.PermissionPrediction.Likelihood.DiscretizedLikelihood discretized_likelihood = 1;
  bool has_discretized_likelihood()
      const;
  void clear_discretized_likelihood() ;
  ::permissions::PermissionPrediction_Likelihood_DiscretizedLikelihood discretized_likelihood() const;
  void set_discretized_likelihood(::permissions::PermissionPrediction_Likelihood_DiscretizedLikelihood value);

  private:
  ::permissions::PermissionPrediction_Likelihood_DiscretizedLikelihood _internal_discretized_likelihood() const;
  void _internal_set_discretized_likelihood(::permissions::PermissionPrediction_Likelihood_DiscretizedLikelihood value);

  public:
  // @@protoc_insertion_point(class_scope:permissions.PermissionPrediction.Likelihood)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<0, 1,
                          1, 0,
                          2>;
  static constexpr ParseTableT_ InternalGenerateParseTable_(
      const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data);
  friend class ::google::protobuf::internal::TcParser;
  #ifndef PROTOBUF_MESSAGE_GLOBALS
  static const ParseTableT_ _table_;
  #endif

  friend class ::google::protobuf::MessageLite;
  friend class ::google::protobuf::Arena;
  friend ::google::protobuf::internal::PrivateAccess;
  template <typename T>
  friend class ::google::protobuf::Arena::InternalHelper;
  using InternalArenaConstructable_ = void;
  using DestructorSkippable_ = void;
  struct Impl_ {
    inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility,
                                    ::google::protobuf::internal::ConstantInitialized) noexcept;
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
        const PermissionPrediction_Likelihood& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    int discretized_likelihood_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_prediction_5fservice_5fmessages_2eproto;
};
// -------------------------------------------------------------------

class  PermissionPrediction_GeolocationPrediction final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:permissions.PermissionPrediction.GeolocationPrediction) */ {
 public:
  inline PermissionPrediction_GeolocationPrediction() : PermissionPrediction_GeolocationPrediction(nullptr) {}
  ~PermissionPrediction_GeolocationPrediction() PROTOBUF_FINAL;

#if defined(PROTOBUF_CUSTOM_VTABLE)
  void operator delete(PermissionPrediction_GeolocationPrediction* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
    SharedDtor(*msg);
    ::google::protobuf::internal::SizedDelete(msg, sizeof(PermissionPrediction_GeolocationPrediction));
  }
#endif

  template <typename = void>
  explicit constexpr PermissionPrediction_GeolocationPrediction(::google::protobuf::internal::ConstantInitialized,
                           const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
                               class_data);

  inline PermissionPrediction_GeolocationPrediction(const PermissionPrediction_GeolocationPrediction& from) : PermissionPrediction_GeolocationPrediction(nullptr, from) {}
  inline PermissionPrediction_GeolocationPrediction(PermissionPrediction_GeolocationPrediction&& from) noexcept : PermissionPrediction_GeolocationPrediction(nullptr, ::std::move(from)) {}
  inline PermissionPrediction_GeolocationPrediction& operator=(const PermissionPrediction_GeolocationPrediction& from) {
    CopyFrom(from);
    return *this;
  }
  inline PermissionPrediction_GeolocationPrediction& operator=(PermissionPrediction_GeolocationPrediction&& from) noexcept {
    if (this == &from) return *this;
    if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const ::std::string& unknown_fields() const
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
  }
  inline ::std::string* PROTOBUF_NONNULL
  mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.mutable_unknown_fields<::std::string>();
  }

  static const PermissionPrediction_GeolocationPrediction& default_instance() {
    return *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<PermissionPrediction_GeolocationPrediction>(&PermissionPrediction_GeolocationPrediction_globals_);
  }
  static constexpr int kIndexInFileMessages = 8;
  friend void swap(PermissionPrediction_GeolocationPrediction& a, PermissionPrediction_GeolocationPrediction& b) { a.Swap(&b); }
  PROTOBUF_NOINLINE void Swap(PermissionPrediction_GeolocationPrediction* PROTOBUF_NONNULL other) {
    if (other == this) return;
    if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
      InternalSwap(other);
    } else {
      ::google::protobuf::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(PermissionPrediction_GeolocationPrediction* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  PermissionPrediction_GeolocationPrediction* PROTOBUF_NONNULL
  New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
    return ::google::protobuf::MessageLite::DefaultConstruct<PermissionPrediction_GeolocationPrediction>(arena);
  }
  void CopyFrom(const PermissionPrediction_GeolocationPrediction& from);
  void MergeFrom(const PermissionPrediction_GeolocationPrediction& from) { PermissionPrediction_GeolocationPrediction::MergeImpl(*this, from); }

  private:
  static void MergeImpl(::google::protobuf::MessageLite& to_msg,
                        const ::google::protobuf::MessageLite& from_msg);

  public:
  bool IsInitialized() const {
    return true;
  }
  ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
  #if defined(PROTOBUF_CUSTOM_VTABLE)
  private:
  static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
  static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);

  public:
  ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
    return _InternalSerialize(*this, target, stream);
  }
  #else   // PROTOBUF_CUSTOM_VTABLE
  ::size_t ByteSizeLong() const final;
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
  #endif  // PROTOBUF_CUSTOM_VTABLE
  int GetCachedSize() const {
    return _impl_._cached_size_.Get();
  }

  private:
  void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static void SharedDtor(MessageLite& self);
  void InternalSwap(PermissionPrediction_GeolocationPrediction* PROTOBUF_NONNULL other);
 private:
  template <typename T>
  friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
  static ::absl::string_view FullMessageName() { return "permissions.PermissionPrediction.GeolocationPrediction"; }

  explicit PermissionPrediction_GeolocationPrediction(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  PermissionPrediction_GeolocationPrediction(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const PermissionPrediction_GeolocationPrediction& from);
  PermissionPrediction_GeolocationPrediction(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, PermissionPrediction_GeolocationPrediction&& from) noexcept
      : PermissionPrediction_GeolocationPrediction(arena) {
    *this = ::std::move(from);
  }
  const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
  static void* PROTOBUF_NONNULL PlacementNew_(
      const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static constexpr auto InternalNewImpl_();

 public:
  static constexpr auto InternalGenerateClassData_(
      const MessageLite& prototype,
      const ::google::protobuf::internal::TcParseTableBase* PROTOBUF_NULLABLE tc_table = nullptr);

  // nested types ----------------------------------------------------
  using Accuracy = PermissionPrediction_GeolocationPrediction_Accuracy;
  static constexpr Accuracy ACCURACY_UNSPECIFIED = PermissionPrediction_GeolocationPrediction_Accuracy_ACCURACY_UNSPECIFIED;
  static constexpr Accuracy ACCURACY_PRECISE = PermissionPrediction_GeolocationPrediction_Accuracy_ACCURACY_PRECISE;
  static constexpr Accuracy ACCURACY_APPROXIMATE = PermissionPrediction_GeolocationPrediction_Accuracy_ACCURACY_APPROXIMATE;
  static inline bool Accuracy_IsValid(int value) {
    return PermissionPrediction_GeolocationPrediction_Accuracy_IsValid(value);
  }
  static constexpr Accuracy Accuracy_MIN = PermissionPrediction_GeolocationPrediction_Accuracy_Accuracy_MIN;
  static constexpr Accuracy Accuracy_MAX = PermissionPrediction_GeolocationPrediction_Accuracy_Accuracy_MAX;
  static constexpr int Accuracy_ARRAYSIZE = PermissionPrediction_GeolocationPrediction_Accuracy_Accuracy_ARRAYSIZE;
  template <typename T>
  static inline const ::std::string& Accuracy_Name(T value) {
    return PermissionPrediction_GeolocationPrediction_Accuracy_Name(value);
  }
  static inline bool Accuracy_Parse(
      ::absl::string_view name, Accuracy* PROTOBUF_NONNULL value) {
    return PermissionPrediction_GeolocationPrediction_Accuracy_Parse(name, value);
  }

  // accessors -------------------------------------------------------
  enum : int {
    kAccuracyFieldNumber = 1,
  };
  // optional .permissions.PermissionPrediction.GeolocationPrediction.Accuracy accuracy = 1;
  bool has_accuracy()
      const;
  void clear_accuracy() ;
  ::permissions::PermissionPrediction_GeolocationPrediction_Accuracy accuracy() const;
  void set_accuracy(::permissions::PermissionPrediction_GeolocationPrediction_Accuracy value);

  private:
  ::permissions::PermissionPrediction_GeolocationPrediction_Accuracy _internal_accuracy() const;
  void _internal_set_accuracy(::permissions::PermissionPrediction_GeolocationPrediction_Accuracy value);

  public:
  // @@protoc_insertion_point(class_scope:permissions.PermissionPrediction.GeolocationPrediction)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<0, 1,
                          1, 0,
                          2>;
  static constexpr ParseTableT_ InternalGenerateParseTable_(
      const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data);
  friend class ::google::protobuf::internal::TcParser;
  #ifndef PROTOBUF_MESSAGE_GLOBALS
  static const ParseTableT_ _table_;
  #endif

  friend class ::google::protobuf::MessageLite;
  friend class ::google::protobuf::Arena;
  friend ::google::protobuf::internal::PrivateAccess;
  template <typename T>
  friend class ::google::protobuf::Arena::InternalHelper;
  using InternalArenaConstructable_ = void;
  using DestructorSkippable_ = void;
  struct Impl_ {
    inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility,
                                    ::google::protobuf::internal::ConstantInitialized) noexcept;
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
        const PermissionPrediction_GeolocationPrediction& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    int accuracy_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_prediction_5fservice_5fmessages_2eproto;
};
// -------------------------------------------------------------------

class  PermissionFeatures_NotificationPermission final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:permissions.PermissionFeatures.NotificationPermission) */ {
 public:
  inline PermissionFeatures_NotificationPermission() : PermissionFeatures_NotificationPermission(nullptr) {}
  ~PermissionFeatures_NotificationPermission() PROTOBUF_FINAL;

#if defined(PROTOBUF_CUSTOM_VTABLE)
  void operator delete(PermissionFeatures_NotificationPermission* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
    SharedDtor(*msg);
    ::google::protobuf::internal::SizedDelete(msg, sizeof(PermissionFeatures_NotificationPermission));
  }
#endif

  template <typename = void>
  explicit constexpr PermissionFeatures_NotificationPermission(::google::protobuf::internal::ConstantInitialized,
                           const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
                               class_data);

  inline PermissionFeatures_NotificationPermission(const PermissionFeatures_NotificationPermission& from) : PermissionFeatures_NotificationPermission(nullptr, from) {}
  inline PermissionFeatures_NotificationPermission(PermissionFeatures_NotificationPermission&& from) noexcept : PermissionFeatures_NotificationPermission(nullptr, ::std::move(from)) {}
  inline PermissionFeatures_NotificationPermission& operator=(const PermissionFeatures_NotificationPermission& from) {
    CopyFrom(from);
    return *this;
  }
  inline PermissionFeatures_NotificationPermission& operator=(PermissionFeatures_NotificationPermission&& from) noexcept {
    if (this == &from) return *this;
    if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const ::std::string& unknown_fields() const
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
  }
  inline ::std::string* PROTOBUF_NONNULL
  mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.mutable_unknown_fields<::std::string>();
  }

  static const PermissionFeatures_NotificationPermission& default_instance() {
    return *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<PermissionFeatures_NotificationPermission>(&PermissionFeatures_NotificationPermission_globals_);
  }
  static constexpr int kIndexInFileMessages = 4;
  friend void swap(PermissionFeatures_NotificationPermission& a, PermissionFeatures_NotificationPermission& b) { a.Swap(&b); }
  PROTOBUF_NOINLINE void Swap(PermissionFeatures_NotificationPermission* PROTOBUF_NONNULL other) {
    if (other == this) return;
    if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
      InternalSwap(other);
    } else {
      ::google::protobuf::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(PermissionFeatures_NotificationPermission* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  PermissionFeatures_NotificationPermission* PROTOBUF_NONNULL
  New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
    return ::google::protobuf::MessageLite::DefaultConstruct<PermissionFeatures_NotificationPermission>(arena);
  }
  void CopyFrom(const PermissionFeatures_NotificationPermission& from);
  void MergeFrom(const PermissionFeatures_NotificationPermission& from) { PermissionFeatures_NotificationPermission::MergeImpl(*this, from); }

  private:
  static void MergeImpl(::google::protobuf::MessageLite& to_msg,
                        const ::google::protobuf::MessageLite& from_msg);

  public:
  bool IsInitialized() const {
    return true;
  }
  ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
  #if defined(PROTOBUF_CUSTOM_VTABLE)
  private:
  static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
  static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);

  public:
  ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
    return _InternalSerialize(*this, target, stream);
  }
  #else   // PROTOBUF_CUSTOM_VTABLE
  ::size_t ByteSizeLong() const final;
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
  #endif  // PROTOBUF_CUSTOM_VTABLE
  int GetCachedSize() const {
    return _impl_._cached_size_.Get();
  }

  private:
  void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static void SharedDtor(MessageLite& self);
  void InternalSwap(PermissionFeatures_NotificationPermission* PROTOBUF_NONNULL other);
 private:
  template <typename T>
  friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
  static ::absl::string_view FullMessageName() { return "permissions.PermissionFeatures.NotificationPermission"; }

  explicit PermissionFeatures_NotificationPermission(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  PermissionFeatures_NotificationPermission(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const PermissionFeatures_NotificationPermission& from);
  PermissionFeatures_NotificationPermission(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, PermissionFeatures_NotificationPermission&& from) noexcept
      : PermissionFeatures_NotificationPermission(arena) {
    *this = ::std::move(from);
  }
  const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
  static void* PROTOBUF_NONNULL PlacementNew_(
      const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static constexpr auto InternalNewImpl_();

 public:
  static constexpr auto InternalGenerateClassData_(
      const MessageLite& prototype,
      const ::google::protobuf::internal::TcParseTableBase* PROTOBUF_NULLABLE tc_table = nullptr);

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------
  // @@protoc_insertion_point(class_scope:permissions.PermissionFeatures.NotificationPermission)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<0, 0,
                          0, 0,
                          2>;
  static constexpr ParseTableT_ InternalGenerateParseTable_(
      const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data);
  friend class ::google::protobuf::internal::TcParser;
  #ifndef PROTOBUF_MESSAGE_GLOBALS
  static const ParseTableT_ _table_;
  #endif

  friend class ::google::protobuf::MessageLite;
  friend class ::google::protobuf::Arena;
  friend ::google::protobuf::internal::PrivateAccess;
  template <typename T>
  friend class ::google::protobuf::Arena::InternalHelper;
  using InternalArenaConstructable_ = void;
  using DestructorSkippable_ = void;
  struct Impl_ {
    inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility,
                                    ::google::protobuf::internal::ConstantInitialized) noexcept;
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
        const PermissionFeatures_NotificationPermission& from_msg);
    ::google::protobuf::internal::CachedSize _cached_size_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_prediction_5fservice_5fmessages_2eproto;
};
// -------------------------------------------------------------------

class  PermissionFeatures_GeolocationPermission final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:permissions.PermissionFeatures.GeolocationPermission) */ {
 public:
  inline PermissionFeatures_GeolocationPermission() : PermissionFeatures_GeolocationPermission(nullptr) {}
  ~PermissionFeatures_GeolocationPermission() PROTOBUF_FINAL;

#if defined(PROTOBUF_CUSTOM_VTABLE)
  void operator delete(PermissionFeatures_GeolocationPermission* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
    SharedDtor(*msg);
    ::google::protobuf::internal::SizedDelete(msg, sizeof(PermissionFeatures_GeolocationPermission));
  }
#endif

  template <typename = void>
  explicit constexpr PermissionFeatures_GeolocationPermission(::google::protobuf::internal::ConstantInitialized,
                           const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
                               class_data);

  inline PermissionFeatures_GeolocationPermission(const PermissionFeatures_GeolocationPermission& from) : PermissionFeatures_GeolocationPermission(nullptr, from) {}
  inline PermissionFeatures_GeolocationPermission(PermissionFeatures_GeolocationPermission&& from) noexcept : PermissionFeatures_GeolocationPermission(nullptr, ::std::move(from)) {}
  inline PermissionFeatures_GeolocationPermission& operator=(const PermissionFeatures_GeolocationPermission& from) {
    CopyFrom(from);
    return *this;
  }
  inline PermissionFeatures_GeolocationPermission& operator=(PermissionFeatures_GeolocationPermission&& from) noexcept {
    if (this == &from) return *this;
    if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const ::std::string& unknown_fields() const
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
  }
  inline ::std::string* PROTOBUF_NONNULL
  mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.mutable_unknown_fields<::std::string>();
  }

  static const PermissionFeatures_GeolocationPermission& default_instance() {
    return *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<PermissionFeatures_GeolocationPermission>(&PermissionFeatures_GeolocationPermission_globals_);
  }
  static constexpr int kIndexInFileMessages = 5;
  friend void swap(PermissionFeatures_GeolocationPermission& a, PermissionFeatures_GeolocationPermission& b) { a.Swap(&b); }
  PROTOBUF_NOINLINE void Swap(PermissionFeatures_GeolocationPermission* PROTOBUF_NONNULL other) {
    if (other == this) return;
    if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
      InternalSwap(other);
    } else {
      ::google::protobuf::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(PermissionFeatures_GeolocationPermission* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  PermissionFeatures_GeolocationPermission* PROTOBUF_NONNULL
  New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
    return ::google::protobuf::MessageLite::DefaultConstruct<PermissionFeatures_GeolocationPermission>(arena);
  }
  void CopyFrom(const PermissionFeatures_GeolocationPermission& from);
  void MergeFrom(const PermissionFeatures_GeolocationPermission& from) { PermissionFeatures_GeolocationPermission::MergeImpl(*this, from); }

  private:
  static void MergeImpl(::google::protobuf::MessageLite& to_msg,
                        const ::google::protobuf::MessageLite& from_msg);

  public:
  bool IsInitialized() const {
    return true;
  }
  ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
  #if defined(PROTOBUF_CUSTOM_VTABLE)
  private:
  static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
  static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);

  public:
  ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
    return _InternalSerialize(*this, target, stream);
  }
  #else   // PROTOBUF_CUSTOM_VTABLE
  ::size_t ByteSizeLong() const final;
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
  #endif  // PROTOBUF_CUSTOM_VTABLE
  int GetCachedSize() const {
    return _impl_._cached_size_.Get();
  }

  private:
  void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static void SharedDtor(MessageLite& self);
  void InternalSwap(PermissionFeatures_GeolocationPermission* PROTOBUF_NONNULL other);
 private:
  template <typename T>
  friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
  static ::absl::string_view FullMessageName() { return "permissions.PermissionFeatures.GeolocationPermission"; }

  explicit PermissionFeatures_GeolocationPermission(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  PermissionFeatures_GeolocationPermission(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const PermissionFeatures_GeolocationPermission& from);
  PermissionFeatures_GeolocationPermission(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, PermissionFeatures_GeolocationPermission&& from) noexcept
      : PermissionFeatures_GeolocationPermission(arena) {
    *this = ::std::move(from);
  }
  const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
  static void* PROTOBUF_NONNULL PlacementNew_(
      const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static constexpr auto InternalNewImpl_();

 public:
  static constexpr auto InternalGenerateClassData_(
      const MessageLite& prototype,
      const ::google::protobuf::internal::TcParseTableBase* PROTOBUF_NULLABLE tc_table = nullptr);

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------
  // @@protoc_insertion_point(class_scope:permissions.PermissionFeatures.GeolocationPermission)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<0, 0,
                          0, 0,
                          2>;
  static constexpr ParseTableT_ InternalGenerateParseTable_(
      const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data);
  friend class ::google::protobuf::internal::TcParser;
  #ifndef PROTOBUF_MESSAGE_GLOBALS
  static const ParseTableT_ _table_;
  #endif

  friend class ::google::protobuf::MessageLite;
  friend class ::google::protobuf::Arena;
  friend ::google::protobuf::internal::PrivateAccess;
  template <typename T>
  friend class ::google::protobuf::Arena::InternalHelper;
  using InternalArenaConstructable_ = void;
  using DestructorSkippable_ = void;
  struct Impl_ {
    inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility,
                                    ::google::protobuf::internal::ConstantInitialized) noexcept;
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
        const PermissionFeatures_GeolocationPermission& from_msg);
    ::google::protobuf::internal::CachedSize _cached_size_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_prediction_5fservice_5fmessages_2eproto;
};
// -------------------------------------------------------------------

class  ClientFeatures_ExperimentConfig final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:permissions.ClientFeatures.ExperimentConfig) */ {
 public:
  inline ClientFeatures_ExperimentConfig() : ClientFeatures_ExperimentConfig(nullptr) {}
  ~ClientFeatures_ExperimentConfig() PROTOBUF_FINAL;

#if defined(PROTOBUF_CUSTOM_VTABLE)
  void operator delete(ClientFeatures_ExperimentConfig* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
    SharedDtor(*msg);
    ::google::protobuf::internal::SizedDelete(msg, sizeof(ClientFeatures_ExperimentConfig));
  }
#endif

  template <typename = void>
  explicit constexpr ClientFeatures_ExperimentConfig(::google::protobuf::internal::ConstantInitialized,
                           const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
                               class_data);

  inline ClientFeatures_ExperimentConfig(const ClientFeatures_ExperimentConfig& from) : ClientFeatures_ExperimentConfig(nullptr, from) {}
  inline ClientFeatures_ExperimentConfig(ClientFeatures_ExperimentConfig&& from) noexcept : ClientFeatures_ExperimentConfig(nullptr, ::std::move(from)) {}
  inline ClientFeatures_ExperimentConfig& operator=(const ClientFeatures_ExperimentConfig& from) {
    CopyFrom(from);
    return *this;
  }
  inline ClientFeatures_ExperimentConfig& operator=(ClientFeatures_ExperimentConfig&& from) noexcept {
    if (this == &from) return *this;
    if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const ::std::string& unknown_fields() const
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
  }
  inline ::std::string* PROTOBUF_NONNULL
  mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.mutable_unknown_fields<::std::string>();
  }

  static const ClientFeatures_ExperimentConfig& default_instance() {
    return *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<ClientFeatures_ExperimentConfig>(&ClientFeatures_ExperimentConfig_globals_);
  }
  static constexpr int kIndexInFileMessages = 2;
  friend void swap(ClientFeatures_ExperimentConfig& a, ClientFeatures_ExperimentConfig& b) { a.Swap(&b); }
  PROTOBUF_NOINLINE void Swap(ClientFeatures_ExperimentConfig* PROTOBUF_NONNULL other) {
    if (other == this) return;
    if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
      InternalSwap(other);
    } else {
      ::google::protobuf::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(ClientFeatures_ExperimentConfig* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  ClientFeatures_ExperimentConfig* PROTOBUF_NONNULL
  New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
    return ::google::protobuf::MessageLite::DefaultConstruct<ClientFeatures_ExperimentConfig>(arena);
  }
  void CopyFrom(const ClientFeatures_ExperimentConfig& from);
  void MergeFrom(const ClientFeatures_ExperimentConfig& from) { ClientFeatures_ExperimentConfig::MergeImpl(*this, from); }

  private:
  static void MergeImpl(::google::protobuf::MessageLite& to_msg,
                        const ::google::protobuf::MessageLite& from_msg);

  public:
  bool IsInitialized() const {
    return true;
  }
  ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
  #if defined(PROTOBUF_CUSTOM_VTABLE)
  private:
  static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
  static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);

  public:
  ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
    return _InternalSerialize(*this, target, stream);
  }
  #else   // PROTOBUF_CUSTOM_VTABLE
  ::size_t ByteSizeLong() const final;
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
  #endif  // PROTOBUF_CUSTOM_VTABLE
  int GetCachedSize() const {
    return _impl_._cached_size_.Get();
  }

  private:
  void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static void SharedDtor(MessageLite& self);
  void InternalSwap(ClientFeatures_ExperimentConfig* PROTOBUF_NONNULL other);
 private:
  template <typename T>
  friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
  static ::absl::string_view FullMessageName() { return "permissions.ClientFeatures.ExperimentConfig"; }

  explicit ClientFeatures_ExperimentConfig(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  ClientFeatures_ExperimentConfig(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ClientFeatures_ExperimentConfig& from);
  ClientFeatures_ExperimentConfig(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ClientFeatures_ExperimentConfig&& from) noexcept
      : ClientFeatures_ExperimentConfig(arena) {
    *this = ::std::move(from);
  }
  const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
  static void* PROTOBUF_NONNULL PlacementNew_(
      const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static constexpr auto InternalNewImpl_();

 public:
  static constexpr auto InternalGenerateClassData_(
      const MessageLite& prototype,
      const ::google::protobuf::internal::TcParseTableBase* PROTOBUF_NULLABLE tc_table = nullptr);

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------
  enum : int {
    kExperimentIdFieldNumber = 1,
  };
  // optional int32 experiment_id = 1;
  bool has_experiment_id()
      const;
  void clear_experiment_id() ;
  ::int32_t experiment_id() const;
  void set_experiment_id(::int32_t value);

  private:
  ::int32_t _internal_experiment_id() const;
  void _internal_set_experiment_id(::int32_t value);

  public:
  // @@protoc_insertion_point(class_scope:permissions.ClientFeatures.ExperimentConfig)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<0, 1,
                          0, 0,
                          2>;
  static constexpr ParseTableT_ InternalGenerateParseTable_(
      const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data);
  friend class ::google::protobuf::internal::TcParser;
  #ifndef PROTOBUF_MESSAGE_GLOBALS
  static const ParseTableT_ _table_;
  #endif

  friend class ::google::protobuf::MessageLite;
  friend class ::google::protobuf::Arena;
  friend ::google::protobuf::internal::PrivateAccess;
  template <typename T>
  friend class ::google::protobuf::Arena::InternalHelper;
  using InternalArenaConstructable_ = void;
  using DestructorSkippable_ = void;
  struct Impl_ {
    inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility,
                                    ::google::protobuf::internal::ConstantInitialized) noexcept;
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
        const ClientFeatures_ExperimentConfig& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::int32_t experiment_id_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_prediction_5fservice_5fmessages_2eproto;
};
// -------------------------------------------------------------------

class  PermissionPrediction final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:permissions.PermissionPrediction) */ {
 public:
  inline PermissionPrediction() : PermissionPrediction(nullptr) {}
  ~PermissionPrediction() PROTOBUF_FINAL;

#if defined(PROTOBUF_CUSTOM_VTABLE)
  void operator delete(PermissionPrediction* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
    SharedDtor(*msg);
    ::google::protobuf::internal::SizedDelete(msg, sizeof(PermissionPrediction));
  }
#endif

  template <typename = void>
  explicit constexpr PermissionPrediction(::google::protobuf::internal::ConstantInitialized,
                           const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
                               class_data);

  inline PermissionPrediction(const PermissionPrediction& from) : PermissionPrediction(nullptr, from) {}
  inline PermissionPrediction(PermissionPrediction&& from) noexcept : PermissionPrediction(nullptr, ::std::move(from)) {}
  inline PermissionPrediction& operator=(const PermissionPrediction& from) {
    CopyFrom(from);
    return *this;
  }
  inline PermissionPrediction& operator=(PermissionPrediction&& from) noexcept {
    if (this == &from) return *this;
    if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const ::std::string& unknown_fields() const
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
  }
  inline ::std::string* PROTOBUF_NONNULL
  mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.mutable_unknown_fields<::std::string>();
  }

  static const PermissionPrediction& default_instance() {
    return *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<PermissionPrediction>(&PermissionPrediction_globals_);
  }
  enum PredictionTypeCase {
    kNotificationPrediction = 1,
    kGeolocationPrediction = 3,
    PREDICTION_TYPE_NOT_SET = 0,
  };
  static constexpr int kIndexInFileMessages = 10;
  friend void swap(PermissionPrediction& a, PermissionPrediction& b) { a.Swap(&b); }
  PROTOBUF_NOINLINE void Swap(PermissionPrediction* PROTOBUF_NONNULL other) {
    if (other == this) return;
    if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
      InternalSwap(other);
    } else {
      ::google::protobuf::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(PermissionPrediction* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  PermissionPrediction* PROTOBUF_NONNULL
  New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
    return ::google::protobuf::MessageLite::DefaultConstruct<PermissionPrediction>(arena);
  }
  void CopyFrom(const PermissionPrediction& from);
  void MergeFrom(const PermissionPrediction& from) { PermissionPrediction::MergeImpl(*this, from); }

  private:
  static void MergeImpl(::google::protobuf::MessageLite& to_msg,
                        const ::google::protobuf::MessageLite& from_msg);

  public:
  bool IsInitialized() const {
    return true;
  }
  ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
  #if defined(PROTOBUF_CUSTOM_VTABLE)
  private:
  static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
  static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);

  public:
  ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
    return _InternalSerialize(*this, target, stream);
  }
  #else   // PROTOBUF_CUSTOM_VTABLE
  ::size_t ByteSizeLong() const final;
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
  #endif  // PROTOBUF_CUSTOM_VTABLE
  int GetCachedSize() const {
    return _impl_._cached_size_.Get();
  }

  private:
  void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static void SharedDtor(MessageLite& self);
  void InternalSwap(PermissionPrediction* PROTOBUF_NONNULL other);
 private:
  template <typename T>
  friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
  static ::absl::string_view FullMessageName() { return "permissions.PermissionPrediction"; }

  explicit PermissionPrediction(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  PermissionPrediction(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const PermissionPrediction& from);
  PermissionPrediction(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, PermissionPrediction&& from) noexcept
      : PermissionPrediction(arena) {
    *this = ::std::move(from);
  }
  const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
  static void* PROTOBUF_NONNULL PlacementNew_(
      const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static constexpr auto InternalNewImpl_();

 public:
  static constexpr auto InternalGenerateClassData_(
      const MessageLite& prototype,
      const ::google::protobuf::internal::TcParseTableBase* PROTOBUF_NULLABLE tc_table = nullptr);

  // nested types ----------------------------------------------------
  using NotificationPrediction = PermissionPrediction_NotificationPrediction;
  using GeolocationPrediction = PermissionPrediction_GeolocationPrediction;
  using Likelihood = PermissionPrediction_Likelihood;

  // accessors -------------------------------------------------------
  enum : int {
    kGrantLikelihoodFieldNumber = 2,
    kNotificationPredictionFieldNumber = 1,
    kGeolocationPredictionFieldNumber = 3,
  };
  // optional .permissions.PermissionPrediction.Likelihood grant_likelihood = 2;
  bool has_grant_likelihood()
      const;
  void clear_grant_likelihood() ;
  const ::permissions::PermissionPrediction_Likelihood& grant_likelihood() const;
  ::permissions::PermissionPrediction_Likelihood* PROTOBUF_NULLABLE release_grant_likelihood();
  ::permissions::PermissionPrediction_Likelihood* PROTOBUF_NONNULL mutable_grant_likelihood();
  void set_allocated_grant_likelihood(::permissions::PermissionPrediction_Likelihood* PROTOBUF_NULLABLE value);
  void unsafe_arena_set_allocated_grant_likelihood(::permissions::PermissionPrediction_Likelihood* PROTOBUF_NULLABLE value);
  ::permissions::PermissionPrediction_Likelihood* PROTOBUF_NULLABLE unsafe_arena_release_grant_likelihood();

  private:
  const ::permissions::PermissionPrediction_Likelihood& _internal_grant_likelihood() const;
  ::permissions::PermissionPrediction_Likelihood* PROTOBUF_NONNULL _internal_mutable_grant_likelihood();

  public:
  // .permissions.PermissionPrediction.NotificationPrediction notification_prediction = 1;
  bool has_notification_prediction()
      const;
  private:
  bool _internal_has_notification_prediction() const;

  public:
  void clear_notification_prediction() ;
  const ::permissions::PermissionPrediction_NotificationPrediction& notification_prediction() const;
  ::permissions::PermissionPrediction_NotificationPrediction* PROTOBUF_NULLABLE release_notification_prediction();
  ::permissions::PermissionPrediction_NotificationPrediction* PROTOBUF_NONNULL mutable_notification_prediction();
  void set_allocated_notification_prediction(::permissions::PermissionPrediction_NotificationPrediction* PROTOBUF_NULLABLE value);
  void unsafe_arena_set_allocated_notification_prediction(::permissions::PermissionPrediction_NotificationPrediction* PROTOBUF_NULLABLE value);
  ::permissions::PermissionPrediction_NotificationPrediction* PROTOBUF_NULLABLE unsafe_arena_release_notification_prediction();

  private:
  const ::permissions::PermissionPrediction_NotificationPrediction& _internal_notification_prediction() const;
  ::permissions::PermissionPrediction_NotificationPrediction* PROTOBUF_NONNULL _internal_mutable_notification_prediction();

  public:
  // .permissions.PermissionPrediction.GeolocationPrediction geolocation_prediction = 3;
  bool has_geolocation_prediction()
      const;
  private:
  bool _internal_has_geolocation_prediction() const;

  public:
  void clear_geolocation_prediction() ;
  const ::permissions::PermissionPrediction_GeolocationPrediction& geolocation_prediction() const;
  ::permissions::PermissionPrediction_GeolocationPrediction* PROTOBUF_NULLABLE release_geolocation_prediction();
  ::permissions::PermissionPrediction_GeolocationPrediction* PROTOBUF_NONNULL mutable_geolocation_prediction();
  void set_allocated_geolocation_prediction(::permissions::PermissionPrediction_GeolocationPrediction* PROTOBUF_NULLABLE value);
  void unsafe_arena_set_allocated_geolocation_prediction(::permissions::PermissionPrediction_GeolocationPrediction* PROTOBUF_NULLABLE value);
  ::permissions::PermissionPrediction_GeolocationPrediction* PROTOBUF_NULLABLE unsafe_arena_release_geolocation_prediction();

  private:
  const ::permissions::PermissionPrediction_GeolocationPrediction& _internal_geolocation_prediction() const;
  ::permissions::PermissionPrediction_GeolocationPrediction* PROTOBUF_NONNULL _internal_mutable_geolocation_prediction();

  public:
  void clear_prediction_type();
  PredictionTypeCase prediction_type_case() const;
  // @@protoc_insertion_point(class_scope:permissions.PermissionPrediction)
 private:
  class _Internal;
  void set_has_notification_prediction();
  void set_has_geolocation_prediction();
  inline bool has_prediction_type() const;
  inline void clear_has_prediction_type();
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<0, 3,
                          3, 0,
                          2>;
  static constexpr ParseTableT_ InternalGenerateParseTable_(
      const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data);
  friend class ::google::protobuf::internal::TcParser;
  #ifndef PROTOBUF_MESSAGE_GLOBALS
  static const ParseTableT_ _table_;
  #endif

  friend class ::google::protobuf::MessageLite;
  friend class ::google::protobuf::Arena;
  friend ::google::protobuf::internal::PrivateAccess;
  template <typename T>
  friend class ::google::protobuf::Arena::InternalHelper;
  using InternalArenaConstructable_ = void;
  using DestructorSkippable_ = void;
  struct Impl_ {
    inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility,
                                    ::google::protobuf::internal::ConstantInitialized) noexcept;
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
        const PermissionPrediction& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::permissions::PermissionPrediction_Likelihood* PROTOBUF_NULLABLE grant_likelihood_;
    union PredictionTypeUnion {
      constexpr PredictionTypeUnion() : _constinit_{} {}
      ::google::protobuf::internal::ConstantInitialized _constinit_;
      ::permissions::PermissionPrediction_NotificationPrediction* PROTOBUF_NULLABLE notification_prediction_;
      ::permissions::PermissionPrediction_GeolocationPrediction* PROTOBUF_NULLABLE geolocation_prediction_;
    } prediction_type_;
    ::uint32_t _oneof_case_[1];
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_prediction_5fservice_5fmessages_2eproto;
};
// -------------------------------------------------------------------

class  PermissionFeatures final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:permissions.PermissionFeatures) */ {
 public:
  inline PermissionFeatures() : PermissionFeatures(nullptr) {}
  ~PermissionFeatures() PROTOBUF_FINAL;

#if defined(PROTOBUF_CUSTOM_VTABLE)
  void operator delete(PermissionFeatures* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
    SharedDtor(*msg);
    ::google::protobuf::internal::SizedDelete(msg, sizeof(PermissionFeatures));
  }
#endif

  template <typename = void>
  explicit constexpr PermissionFeatures(::google::protobuf::internal::ConstantInitialized,
                           const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
                               class_data);

  inline PermissionFeatures(const PermissionFeatures& from) : PermissionFeatures(nullptr, from) {}
  inline PermissionFeatures(PermissionFeatures&& from) noexcept : PermissionFeatures(nullptr, ::std::move(from)) {}
  inline PermissionFeatures& operator=(const PermissionFeatures& from) {
    CopyFrom(from);
    return *this;
  }
  inline PermissionFeatures& operator=(PermissionFeatures&& from) noexcept {
    if (this == &from) return *this;
    if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const ::std::string& unknown_fields() const
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
  }
  inline ::std::string* PROTOBUF_NONNULL
  mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.mutable_unknown_fields<::std::string>();
  }

  static const PermissionFeatures& default_instance() {
    return *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<PermissionFeatures>(&PermissionFeatures_globals_);
  }
  enum PermissionTypeCase {
    kNotificationPermission = 2,
    kGeolocationPermission = 3,
    PERMISSION_TYPE_NOT_SET = 0,
  };
  static constexpr int kIndexInFileMessages = 6;
  friend void swap(PermissionFeatures& a, PermissionFeatures& b) { a.Swap(&b); }
  PROTOBUF_NOINLINE void Swap(PermissionFeatures* PROTOBUF_NONNULL other) {
    if (other == this) return;
    if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
      InternalSwap(other);
    } else {
      ::google::protobuf::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(PermissionFeatures* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  PermissionFeatures* PROTOBUF_NONNULL
  New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
    return ::google::protobuf::MessageLite::DefaultConstruct<PermissionFeatures>(arena);
  }
  void CopyFrom(const PermissionFeatures& from);
  void MergeFrom(const PermissionFeatures& from) { PermissionFeatures::MergeImpl(*this, from); }

  private:
  static void MergeImpl(::google::protobuf::MessageLite& to_msg,
                        const ::google::protobuf::MessageLite& from_msg);

  public:
  bool IsInitialized() const {
    return true;
  }
  ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
  #if defined(PROTOBUF_CUSTOM_VTABLE)
  private:
  static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
  static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);

  public:
  ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
    return _InternalSerialize(*this, target, stream);
  }
  #else   // PROTOBUF_CUSTOM_VTABLE
  ::size_t ByteSizeLong() const final;
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
  #endif  // PROTOBUF_CUSTOM_VTABLE
  int GetCachedSize() const {
    return _impl_._cached_size_.Get();
  }

  private:
  void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static void SharedDtor(MessageLite& self);
  void InternalSwap(PermissionFeatures* PROTOBUF_NONNULL other);
 private:
  template <typename T>
  friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
  static ::absl::string_view FullMessageName() { return "permissions.PermissionFeatures"; }

  explicit PermissionFeatures(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  PermissionFeatures(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const PermissionFeatures& from);
  PermissionFeatures(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, PermissionFeatures&& from) noexcept
      : PermissionFeatures(arena) {
    *this = ::std::move(from);
  }
  const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
  static void* PROTOBUF_NONNULL PlacementNew_(
      const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static constexpr auto InternalNewImpl_();

 public:
  static constexpr auto InternalGenerateClassData_(
      const MessageLite& prototype,
      const ::google::protobuf::internal::TcParseTableBase* PROTOBUF_NULLABLE tc_table = nullptr);

  // nested types ----------------------------------------------------
  using NotificationPermission = PermissionFeatures_NotificationPermission;
  using GeolocationPermission = PermissionFeatures_GeolocationPermission;
  using Relevance = PermissionFeatures_Relevance;
  static constexpr Relevance RELEVANCE_UNSPECIFIED = PermissionFeatures_Relevance_RELEVANCE_UNSPECIFIED;
  static constexpr Relevance RELEVANCE_VERY_LOW = PermissionFeatures_Relevance_RELEVANCE_VERY_LOW;
  static constexpr Relevance RELEVANCE_LOW = PermissionFeatures_Relevance_RELEVANCE_LOW;
  static constexpr Relevance RELEVANCE_MEDIUM = PermissionFeatures_Relevance_RELEVANCE_MEDIUM;
  static constexpr Relevance RELEVANCE_HIGH = PermissionFeatures_Relevance_RELEVANCE_HIGH;
  static constexpr Relevance RELEVANCE_VERY_HIGH = PermissionFeatures_Relevance_RELEVANCE_VERY_HIGH;
  static inline bool Relevance_IsValid(int value) {
    return PermissionFeatures_Relevance_IsValid(value);
  }
  static constexpr Relevance Relevance_MIN = PermissionFeatures_Relevance_Relevance_MIN;
  static constexpr Relevance Relevance_MAX = PermissionFeatures_Relevance_Relevance_MAX;
  static constexpr int Relevance_ARRAYSIZE = PermissionFeatures_Relevance_Relevance_ARRAYSIZE;
  template <typename T>
  static inline const ::std::string& Relevance_Name(T value) {
    return PermissionFeatures_Relevance_Name(value);
  }
  static inline bool Relevance_Parse(
      ::absl::string_view name, Relevance* PROTOBUF_NONNULL value) {
    return PermissionFeatures_Relevance_Parse(name, value);
  }

  // accessors -------------------------------------------------------
  enum : int {
    kPermissionStatsFieldNumber = 1,
    kPermissionRelevanceFieldNumber = 4,
    kNotificationPermissionFieldNumber = 2,
    kGeolocationPermissionFieldNumber = 3,
  };
  // optional .permissions.StatsFeatures permission_stats = 1;
  bool has_permission_stats()
      const;
  void clear_permission_stats() ;
  const ::permissions::StatsFeatures& permission_stats() const;
  ::permissions::StatsFeatures* PROTOBUF_NULLABLE release_permission_stats();
  ::permissions::StatsFeatures* PROTOBUF_NONNULL mutable_permission_stats();
  void set_allocated_permission_stats(::permissions::StatsFeatures* PROTOBUF_NULLABLE value);
  void unsafe_arena_set_allocated_permission_stats(::permissions::StatsFeatures* PROTOBUF_NULLABLE value);
  ::permissions::StatsFeatures* PROTOBUF_NULLABLE unsafe_arena_release_permission_stats();

  private:
  const ::permissions::StatsFeatures& _internal_permission_stats() const;
  ::permissions::StatsFeatures* PROTOBUF_NONNULL _internal_mutable_permission_stats();

  public:
  // optional .permissions.PermissionFeatures.Relevance permission_relevance = 4;
  bool has_permission_relevance()
      const;
  void clear_permission_relevance() ;
  ::permissions::PermissionFeatures_Relevance permission_relevance() const;
  void set_permission_relevance(::permissions::PermissionFeatures_Relevance value);

  private:
  ::permissions::PermissionFeatures_Relevance _internal_permission_relevance() const;
  void _internal_set_permission_relevance(::permissions::PermissionFeatures_Relevance value);

  public:
  // .permissions.PermissionFeatures.NotificationPermission notification_permission = 2;
  bool has_notification_permission()
      const;
  private:
  bool _internal_has_notification_permission() const;

  public:
  void clear_notification_permission() ;
  const ::permissions::PermissionFeatures_NotificationPermission& notification_permission() const;
  ::permissions::PermissionFeatures_NotificationPermission* PROTOBUF_NULLABLE release_notification_permission();
  ::permissions::PermissionFeatures_NotificationPermission* PROTOBUF_NONNULL mutable_notification_permission();
  void set_allocated_notification_permission(::permissions::PermissionFeatures_NotificationPermission* PROTOBUF_NULLABLE value);
  void unsafe_arena_set_allocated_notification_permission(::permissions::PermissionFeatures_NotificationPermission* PROTOBUF_NULLABLE value);
  ::permissions::PermissionFeatures_NotificationPermission* PROTOBUF_NULLABLE unsafe_arena_release_notification_permission();

  private:
  const ::permissions::PermissionFeatures_NotificationPermission& _internal_notification_permission() const;
  ::permissions::PermissionFeatures_NotificationPermission* PROTOBUF_NONNULL _internal_mutable_notification_permission();

  public:
  // .permissions.PermissionFeatures.GeolocationPermission geolocation_permission = 3;
  bool has_geolocation_permission()
      const;
  private:
  bool _internal_has_geolocation_permission() const;

  public:
  void clear_geolocation_permission() ;
  const ::permissions::PermissionFeatures_GeolocationPermission& geolocation_permission() const;
  ::permissions::PermissionFeatures_GeolocationPermission* PROTOBUF_NULLABLE release_geolocation_permission();
  ::permissions::PermissionFeatures_GeolocationPermission* PROTOBUF_NONNULL mutable_geolocation_permission();
  void set_allocated_geolocation_permission(::permissions::PermissionFeatures_GeolocationPermission* PROTOBUF_NULLABLE value);
  void unsafe_arena_set_allocated_geolocation_permission(::permissions::PermissionFeatures_GeolocationPermission* PROTOBUF_NULLABLE value);
  ::permissions::PermissionFeatures_GeolocationPermission* PROTOBUF_NULLABLE unsafe_arena_release_geolocation_permission();

  private:
  const ::permissions::PermissionFeatures_GeolocationPermission& _internal_geolocation_permission() const;
  ::permissions::PermissionFeatures_GeolocationPermission* PROTOBUF_NONNULL _internal_mutable_geolocation_permission();

  public:
  void clear_permission_type();
  PermissionTypeCase permission_type_case() const;
  // @@protoc_insertion_point(class_scope:permissions.PermissionFeatures)
 private:
  class _Internal;
  void set_has_notification_permission();
  void set_has_geolocation_permission();
  inline bool has_permission_type() const;
  inline void clear_has_permission_type();
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<1, 4,
                          4, 0,
                          2>;
  static constexpr ParseTableT_ InternalGenerateParseTable_(
      const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data);
  friend class ::google::protobuf::internal::TcParser;
  #ifndef PROTOBUF_MESSAGE_GLOBALS
  static const ParseTableT_ _table_;
  #endif

  friend class ::google::protobuf::MessageLite;
  friend class ::google::protobuf::Arena;
  friend ::google::protobuf::internal::PrivateAccess;
  template <typename T>
  friend class ::google::protobuf::Arena::InternalHelper;
  using InternalArenaConstructable_ = void;
  using DestructorSkippable_ = void;
  struct Impl_ {
    inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility,
                                    ::google::protobuf::internal::ConstantInitialized) noexcept;
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
        const PermissionFeatures& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::permissions::StatsFeatures* PROTOBUF_NULLABLE permission_stats_;
    int permission_relevance_;
    union PermissionTypeUnion {
      constexpr PermissionTypeUnion() : _constinit_{} {}
      ::google::protobuf::internal::ConstantInitialized _constinit_;
      ::permissions::PermissionFeatures_NotificationPermission* PROTOBUF_NULLABLE notification_permission_;
      ::permissions::PermissionFeatures_GeolocationPermission* PROTOBUF_NULLABLE geolocation_permission_;
    } permission_type_;
    ::uint32_t _oneof_case_[1];
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_prediction_5fservice_5fmessages_2eproto;
};
// -------------------------------------------------------------------

class  ClientFeatures final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:permissions.ClientFeatures) */ {
 public:
  inline ClientFeatures() : ClientFeatures(nullptr) {}
  ~ClientFeatures() PROTOBUF_FINAL;

#if defined(PROTOBUF_CUSTOM_VTABLE)
  void operator delete(ClientFeatures* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
    SharedDtor(*msg);
    ::google::protobuf::internal::SizedDelete(msg, sizeof(ClientFeatures));
  }
#endif

  template <typename = void>
  explicit constexpr ClientFeatures(::google::protobuf::internal::ConstantInitialized,
                           const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
                               class_data);

  inline ClientFeatures(const ClientFeatures& from) : ClientFeatures(nullptr, from) {}
  inline ClientFeatures(ClientFeatures&& from) noexcept : ClientFeatures(nullptr, ::std::move(from)) {}
  inline ClientFeatures& operator=(const ClientFeatures& from) {
    CopyFrom(from);
    return *this;
  }
  inline ClientFeatures& operator=(ClientFeatures&& from) noexcept {
    if (this == &from) return *this;
    if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const ::std::string& unknown_fields() const
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
  }
  inline ::std::string* PROTOBUF_NONNULL
  mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.mutable_unknown_fields<::std::string>();
  }

  static const ClientFeatures& default_instance() {
    return *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<ClientFeatures>(&ClientFeatures_globals_);
  }
  static constexpr int kIndexInFileMessages = 3;
  friend void swap(ClientFeatures& a, ClientFeatures& b) { a.Swap(&b); }
  PROTOBUF_NOINLINE void Swap(ClientFeatures* PROTOBUF_NONNULL other) {
    if (other == this) return;
    if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
      InternalSwap(other);
    } else {
      ::google::protobuf::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(ClientFeatures* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  ClientFeatures* PROTOBUF_NONNULL
  New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
    return ::google::protobuf::MessageLite::DefaultConstruct<ClientFeatures>(arena);
  }
  void CopyFrom(const ClientFeatures& from);
  void MergeFrom(const ClientFeatures& from) { ClientFeatures::MergeImpl(*this, from); }

  private:
  static void MergeImpl(::google::protobuf::MessageLite& to_msg,
                        const ::google::protobuf::MessageLite& from_msg);

  public:
  bool IsInitialized() const {
    return true;
  }
  ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
  #if defined(PROTOBUF_CUSTOM_VTABLE)
  private:
  static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
  static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);

  public:
  ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
    return _InternalSerialize(*this, target, stream);
  }
  #else   // PROTOBUF_CUSTOM_VTABLE
  ::size_t ByteSizeLong() const final;
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
  #endif  // PROTOBUF_CUSTOM_VTABLE
  int GetCachedSize() const {
    return _impl_._cached_size_.Get();
  }

  private:
  void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static void SharedDtor(MessageLite& self);
  void InternalSwap(ClientFeatures* PROTOBUF_NONNULL other);
 private:
  template <typename T>
  friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
  static ::absl::string_view FullMessageName() { return "permissions.ClientFeatures"; }

  explicit ClientFeatures(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  ClientFeatures(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ClientFeatures& from);
  ClientFeatures(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ClientFeatures&& from) noexcept
      : ClientFeatures(arena) {
    *this = ::std::move(from);
  }
  const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
  static void* PROTOBUF_NONNULL PlacementNew_(
      const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static constexpr auto InternalNewImpl_();

 public:
  static constexpr auto InternalGenerateClassData_(
      const MessageLite& prototype,
      const ::google::protobuf::internal::TcParseTableBase* PROTOBUF_NULLABLE tc_table = nullptr);

  // nested types ----------------------------------------------------
  using ExperimentConfig = ClientFeatures_ExperimentConfig;
  using Platform = ClientFeatures_Platform;
  static constexpr Platform PLATFORM_UNSPECIFIED = ClientFeatures_Platform_PLATFORM_UNSPECIFIED;
  static constexpr Platform PLATFORM_MOBILE = ClientFeatures_Platform_PLATFORM_MOBILE;
  static constexpr Platform PLATFORM_DESKTOP = ClientFeatures_Platform_PLATFORM_DESKTOP;
  static inline bool Platform_IsValid(int value) {
    return ClientFeatures_Platform_IsValid(value);
  }
  static constexpr Platform Platform_MIN = ClientFeatures_Platform_Platform_MIN;
  static constexpr Platform Platform_MAX = ClientFeatures_Platform_Platform_MAX;
  static constexpr int Platform_ARRAYSIZE = ClientFeatures_Platform_Platform_ARRAYSIZE;
  template <typename T>
  static inline const ::std::string& Platform_Name(T value) {
    return ClientFeatures_Platform_Name(value);
  }
  static inline bool Platform_Parse(
      ::absl::string_view name, Platform* PROTOBUF_NONNULL value) {
    return ClientFeatures_Platform_Parse(name, value);
  }
  using Gesture = ClientFeatures_Gesture;
  static constexpr Gesture GESTURE_UNSPECIFIED = ClientFeatures_Gesture_GESTURE_UNSPECIFIED;
  static constexpr Gesture NO_GESTURE = ClientFeatures_Gesture_NO_GESTURE;
  static constexpr Gesture GESTURE = ClientFeatures_Gesture_GESTURE;
  static inline bool Gesture_IsValid(int value) {
    return ClientFeatures_Gesture_IsValid(value);
  }
  static constexpr Gesture Gesture_MIN = ClientFeatures_Gesture_Gesture_MIN;
  static constexpr Gesture Gesture_MAX = ClientFeatures_Gesture_Gesture_MAX;
  static constexpr int Gesture_ARRAYSIZE = ClientFeatures_Gesture_Gesture_ARRAYSIZE;
  template <typename T>
  static inline const ::std::string& Gesture_Name(T value) {
    return ClientFeatures_Gesture_Name(value);
  }
  static inline bool Gesture_Parse(
      ::absl::string_view name, Gesture* PROTOBUF_NONNULL value) {
    return ClientFeatures_Gesture_Parse(name, value);
  }
  using GestureEnum = ClientFeatures_GestureEnum;
  static constexpr GestureEnum GESTURE_V2 = ClientFeatures_GestureEnum_GESTURE_V2;
  static constexpr GestureEnum GESTURE_UNSPECIFIED_V2 = ClientFeatures_GestureEnum_GESTURE_UNSPECIFIED_V2;
  static inline bool GestureEnum_IsValid(int value) {
    return ClientFeatures_GestureEnum_IsValid(value);
  }
  static constexpr GestureEnum GestureEnum_MIN = ClientFeatures_GestureEnum_GestureEnum_MIN;
  static constexpr GestureEnum GestureEnum_MAX = ClientFeatures_GestureEnum_GestureEnum_MAX;
  static constexpr int GestureEnum_ARRAYSIZE = ClientFeatures_GestureEnum_GestureEnum_ARRAYSIZE;
  template <typename T>
  static inline const ::std::string& GestureEnum_Name(T value) {
    return ClientFeatures_GestureEnum_Name(value);
  }
  static inline bool GestureEnum_Parse(
      ::absl::string_view name, GestureEnum* PROTOBUF_NONNULL value) {
    return ClientFeatures_GestureEnum_Parse(name, value);
  }
  using PlatformEnum = ClientFeatures_PlatformEnum;
  static constexpr PlatformEnum PLATFORM_MOBILE_V2 = ClientFeatures_PlatformEnum_PLATFORM_MOBILE_V2;
  static constexpr PlatformEnum PLATFORM_DESKTOP_V2 = ClientFeatures_PlatformEnum_PLATFORM_DESKTOP_V2;
  static constexpr PlatformEnum PLATFORM_UNSPECIFIED_V2 = ClientFeatures_PlatformEnum_PLATFORM_UNSPECIFIED_V2;
  static inline bool PlatformEnum_IsValid(int value) {
    return ClientFeatures_PlatformEnum_IsValid(value);
  }
  static constexpr PlatformEnum PlatformEnum_MIN = ClientFeatures_PlatformEnum_PlatformEnum_MIN;
  static constexpr PlatformEnum PlatformEnum_MAX = ClientFeatures_PlatformEnum_PlatformEnum_MAX;
  static constexpr int PlatformEnum_ARRAYSIZE = ClientFeatures_PlatformEnum_PlatformEnum_ARRAYSIZE;
  template <typename T>
  static inline const ::std::string& PlatformEnum_Name(T value) {
    return ClientFeatures_PlatformEnum_Name(value);
  }
  static inline bool PlatformEnum_Parse(
      ::absl::string_view name, PlatformEnum* PROTOBUF_NONNULL value) {
    return ClientFeatures_PlatformEnum_Parse(name, value);
  }

  // accessors -------------------------------------------------------
  enum : int {
    kClientStatsFieldNumber = 1,
    kExperimentConfigFieldNumber = 6,
    kPlatformFieldNumber = 2,
    kGestureFieldNumber = 3,
    kGestureEnumFieldNumber = 4,
    kPlatformEnumFieldNumber = 5,
  };
  // optional .permissions.StatsFeatures client_stats = 1;
  bool has_client_stats()
      const;
  void clear_client_stats() ;
  const ::permissions::StatsFeatures& client_stats() const;
  ::permissions::StatsFeatures* PROTOBUF_NULLABLE release_client_stats();
  ::permissions::StatsFeatures* PROTOBUF_NONNULL mutable_client_stats();
  void set_allocated_client_stats(::permissions::StatsFeatures* PROTOBUF_NULLABLE value);
  void unsafe_arena_set_allocated_client_stats(::permissions::StatsFeatures* PROTOBUF_NULLABLE value);
  ::permissions::StatsFeatures* PROTOBUF_NULLABLE unsafe_arena_release_client_stats();

  private:
  const ::permissions::StatsFeatures& _internal_client_stats() const;
  ::permissions::StatsFeatures* PROTOBUF_NONNULL _internal_mutable_client_stats();

  public:
  // optional .permissions.ClientFeatures.ExperimentConfig experiment_config = 6;
  bool has_experiment_config()
      const;
  void clear_experiment_config() ;
  const ::permissions::ClientFeatures_ExperimentConfig& experiment_config() const;
  ::permissions::ClientFeatures_ExperimentConfig* PROTOBUF_NULLABLE release_experiment_config();
  ::permissions::ClientFeatures_ExperimentConfig* PROTOBUF_NONNULL mutable_experiment_config();
  void set_allocated_experiment_config(::permissions::ClientFeatures_ExperimentConfig* PROTOBUF_NULLABLE value);
  void unsafe_arena_set_allocated_experiment_config(::permissions::ClientFeatures_ExperimentConfig* PROTOBUF_NULLABLE value);
  ::permissions::ClientFeatures_ExperimentConfig* PROTOBUF_NULLABLE unsafe_arena_release_experiment_config();

  private:
  const ::permissions::ClientFeatures_ExperimentConfig& _internal_experiment_config() const;
  ::permissions::ClientFeatures_ExperimentConfig* PROTOBUF_NONNULL _internal_mutable_experiment_config();

  public:
  // optional .permissions.ClientFeatures.Platform platform = 2;
  bool has_platform()
      const;
  void clear_platform() ;
  ::permissions::ClientFeatures_Platform platform() const;
  void set_platform(::permissions::ClientFeatures_Platform value);

  private:
  ::permissions::ClientFeatures_Platform _internal_platform() const;
  void _internal_set_platform(::permissions::ClientFeatures_Platform value);

  public:
  // optional .permissions.ClientFeatures.Gesture gesture = 3;
  bool has_gesture()
      const;
  void clear_gesture() ;
  ::permissions::ClientFeatures_Gesture gesture() const;
  void set_gesture(::permissions::ClientFeatures_Gesture value);

  private:
  ::permissions::ClientFeatures_Gesture _internal_gesture() const;
  void _internal_set_gesture(::permissions::ClientFeatures_Gesture value);

  public:
  // optional .permissions.ClientFeatures.GestureEnum gesture_enum = 4;
  bool has_gesture_enum()
      const;
  void clear_gesture_enum() ;
  ::permissions::ClientFeatures_GestureEnum gesture_enum() const;
  void set_gesture_enum(::permissions::ClientFeatures_GestureEnum value);

  private:
  ::permissions::ClientFeatures_GestureEnum _internal_gesture_enum() const;
  void _internal_set_gesture_enum(::permissions::ClientFeatures_GestureEnum value);

  public:
  // optional .permissions.ClientFeatures.PlatformEnum platform_enum = 5;
  bool has_platform_enum()
      const;
  void clear_platform_enum() ;
  ::permissions::ClientFeatures_PlatformEnum platform_enum() const;
  void set_platform_enum(::permissions::ClientFeatures_PlatformEnum value);

  private:
  ::permissions::ClientFeatures_PlatformEnum _internal_platform_enum() const;
  void _internal_set_platform_enum(::permissions::ClientFeatures_PlatformEnum value);

  public:
  // @@protoc_insertion_point(class_scope:permissions.ClientFeatures)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<3, 6,
                          6, 0,
                          2>;
  static constexpr ParseTableT_ InternalGenerateParseTable_(
      const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data);
  friend class ::google::protobuf::internal::TcParser;
  #ifndef PROTOBUF_MESSAGE_GLOBALS
  static const ParseTableT_ _table_;
  #endif

  friend class ::google::protobuf::MessageLite;
  friend class ::google::protobuf::Arena;
  friend ::google::protobuf::internal::PrivateAccess;
  template <typename T>
  friend class ::google::protobuf::Arena::InternalHelper;
  using InternalArenaConstructable_ = void;
  using DestructorSkippable_ = void;
  struct Impl_ {
    inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility,
                                    ::google::protobuf::internal::ConstantInitialized) noexcept;
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
        const ClientFeatures& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::permissions::StatsFeatures* PROTOBUF_NULLABLE client_stats_;
    ::permissions::ClientFeatures_ExperimentConfig* PROTOBUF_NULLABLE experiment_config_;
    int platform_;
    int gesture_;
    int gesture_enum_;
    int platform_enum_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_prediction_5fservice_5fmessages_2eproto;
};
// -------------------------------------------------------------------

class  GeneratePredictionsResponse final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:permissions.GeneratePredictionsResponse) */ {
 public:
  inline GeneratePredictionsResponse() : GeneratePredictionsResponse(nullptr) {}
  ~GeneratePredictionsResponse() PROTOBUF_FINAL;

#if defined(PROTOBUF_CUSTOM_VTABLE)
  void operator delete(GeneratePredictionsResponse* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
    SharedDtor(*msg);
    ::google::protobuf::internal::SizedDelete(msg, sizeof(GeneratePredictionsResponse));
  }
#endif

  template <typename = void>
  explicit constexpr GeneratePredictionsResponse(::google::protobuf::internal::ConstantInitialized,
                           const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
                               class_data);

  inline GeneratePredictionsResponse(const GeneratePredictionsResponse& from) : GeneratePredictionsResponse(nullptr, from) {}
  inline GeneratePredictionsResponse(GeneratePredictionsResponse&& from) noexcept : GeneratePredictionsResponse(nullptr, ::std::move(from)) {}
  inline GeneratePredictionsResponse& operator=(const GeneratePredictionsResponse& from) {
    CopyFrom(from);
    return *this;
  }
  inline GeneratePredictionsResponse& operator=(GeneratePredictionsResponse&& from) noexcept {
    if (this == &from) return *this;
    if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const ::std::string& unknown_fields() const
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
  }
  inline ::std::string* PROTOBUF_NONNULL
  mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.mutable_unknown_fields<::std::string>();
  }

  static const GeneratePredictionsResponse& default_instance() {
    return *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<GeneratePredictionsResponse>(&GeneratePredictionsResponse_globals_);
  }
  static constexpr int kIndexInFileMessages = 12;
  friend void swap(GeneratePredictionsResponse& a, GeneratePredictionsResponse& b) { a.Swap(&b); }
  PROTOBUF_NOINLINE void Swap(GeneratePredictionsResponse* PROTOBUF_NONNULL other) {
    if (other == this) return;
    if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
      InternalSwap(other);
    } else {
      ::google::protobuf::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(GeneratePredictionsResponse* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  GeneratePredictionsResponse* PROTOBUF_NONNULL
  New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
    return ::google::protobuf::MessageLite::DefaultConstruct<GeneratePredictionsResponse>(arena);
  }
  void CopyFrom(const GeneratePredictionsResponse& from);
  void MergeFrom(const GeneratePredictionsResponse& from) { GeneratePredictionsResponse::MergeImpl(*this, from); }

  private:
  static void MergeImpl(::google::protobuf::MessageLite& to_msg,
                        const ::google::protobuf::MessageLite& from_msg);

  public:
  bool IsInitialized() const {
    return true;
  }
  ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
  #if defined(PROTOBUF_CUSTOM_VTABLE)
  private:
  static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
  static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);

  public:
  ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
    return _InternalSerialize(*this, target, stream);
  }
  #else   // PROTOBUF_CUSTOM_VTABLE
  ::size_t ByteSizeLong() const final;
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
  #endif  // PROTOBUF_CUSTOM_VTABLE
  int GetCachedSize() const {
    return _impl_._cached_size_.Get();
  }

  private:
  void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static void SharedDtor(MessageLite& self);
  void InternalSwap(GeneratePredictionsResponse* PROTOBUF_NONNULL other);
 private:
  template <typename T>
  friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
  static ::absl::string_view FullMessageName() { return "permissions.GeneratePredictionsResponse"; }

  explicit GeneratePredictionsResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  GeneratePredictionsResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GeneratePredictionsResponse& from);
  GeneratePredictionsResponse(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, GeneratePredictionsResponse&& from) noexcept
      : GeneratePredictionsResponse(arena) {
    *this = ::std::move(from);
  }
  const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
  static void* PROTOBUF_NONNULL PlacementNew_(
      const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static constexpr auto InternalNewImpl_();

 public:
  static constexpr auto InternalGenerateClassData_(
      const MessageLite& prototype,
      const ::google::protobuf::internal::TcParseTableBase* PROTOBUF_NULLABLE tc_table = nullptr);

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------
  enum : int {
    kPredictionFieldNumber = 1,
  };
  // repeated .permissions.PermissionPrediction prediction = 1;
  int prediction_size()
      const;
  private:
  int _internal_prediction_size() const;

  public:
  void clear_prediction() ;
  const ::permissions::PermissionPrediction& prediction(int index) const;
  ::permissions::PermissionPrediction* PROTOBUF_NONNULL mutable_prediction(int index);
  ::permissions::PermissionPrediction* PROTOBUF_NONNULL add_prediction();
  const ::google::protobuf::RepeatedPtrField<::permissions::PermissionPrediction>&
  prediction() const;
  ::google::protobuf::RepeatedPtrField<::permissions::PermissionPrediction>* PROTOBUF_NONNULL
  mutable_prediction();

  private:
  const ::google::protobuf::RepeatedPtrField<::permissions::PermissionPrediction>& _internal_prediction() const;
  ::google::protobuf::RepeatedPtrField<::permissions::PermissionPrediction>* PROTOBUF_NONNULL _internal_mutable_prediction();

  public:
  // @@protoc_insertion_point(class_scope:permissions.GeneratePredictionsResponse)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<0, 1,
                          1, 0,
                          2>;
  static constexpr ParseTableT_ InternalGenerateParseTable_(
      const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data);
  friend class ::google::protobuf::internal::TcParser;
  #ifndef PROTOBUF_MESSAGE_GLOBALS
  static const ParseTableT_ _table_;
  #endif

  friend class ::google::protobuf::MessageLite;
  friend class ::google::protobuf::Arena;
  friend ::google::protobuf::internal::PrivateAccess;
  template <typename T>
  friend class ::google::protobuf::Arena::InternalHelper;
  using InternalArenaConstructable_ = void;
  using DestructorSkippable_ = void;
  struct Impl_ {
    inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility,
                                    ::google::protobuf::internal::ConstantInitialized) noexcept;
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
        const GeneratePredictionsResponse& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::google::protobuf::RepeatedPtrField< ::permissions::PermissionPrediction > prediction_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_prediction_5fservice_5fmessages_2eproto;
};
// -------------------------------------------------------------------

class  GeneratePredictionsRequest final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:permissions.GeneratePredictionsRequest) */ {
 public:
  inline GeneratePredictionsRequest() : GeneratePredictionsRequest(nullptr) {}
  ~GeneratePredictionsRequest() PROTOBUF_FINAL;

#if defined(PROTOBUF_CUSTOM_VTABLE)
  void operator delete(GeneratePredictionsRequest* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
    SharedDtor(*msg);
    ::google::protobuf::internal::SizedDelete(msg, sizeof(GeneratePredictionsRequest));
  }
#endif

  template <typename = void>
  explicit constexpr GeneratePredictionsRequest(::google::protobuf::internal::ConstantInitialized,
                           const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
                               class_data);

  inline GeneratePredictionsRequest(const GeneratePredictionsRequest& from) : GeneratePredictionsRequest(nullptr, from) {}
  inline GeneratePredictionsRequest(GeneratePredictionsRequest&& from) noexcept : GeneratePredictionsRequest(nullptr, ::std::move(from)) {}
  inline GeneratePredictionsRequest& operator=(const GeneratePredictionsRequest& from) {
    CopyFrom(from);
    return *this;
  }
  inline GeneratePredictionsRequest& operator=(GeneratePredictionsRequest&& from) noexcept {
    if (this == &from) return *this;
    if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const ::std::string& unknown_fields() const
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
  }
  inline ::std::string* PROTOBUF_NONNULL
  mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.mutable_unknown_fields<::std::string>();
  }

  static const GeneratePredictionsRequest& default_instance() {
    return *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<GeneratePredictionsRequest>(&GeneratePredictionsRequest_globals_);
  }
  static constexpr int kIndexInFileMessages = 11;
  friend void swap(GeneratePredictionsRequest& a, GeneratePredictionsRequest& b) { a.Swap(&b); }
  PROTOBUF_NOINLINE void Swap(GeneratePredictionsRequest* PROTOBUF_NONNULL other) {
    if (other == this) return;
    if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
      InternalSwap(other);
    } else {
      ::google::protobuf::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(GeneratePredictionsRequest* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  GeneratePredictionsRequest* PROTOBUF_NONNULL
  New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
    return ::google::protobuf::MessageLite::DefaultConstruct<GeneratePredictionsRequest>(arena);
  }
  void CopyFrom(const GeneratePredictionsRequest& from);
  void MergeFrom(const GeneratePredictionsRequest& from) { GeneratePredictionsRequest::MergeImpl(*this, from); }

  private:
  static void MergeImpl(::google::protobuf::MessageLite& to_msg,
                        const ::google::protobuf::MessageLite& from_msg);

  public:
  bool IsInitialized() const {
    return true;
  }
  ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
  #if defined(PROTOBUF_CUSTOM_VTABLE)
  private:
  static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
  static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);

  public:
  ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
    return _InternalSerialize(*this, target, stream);
  }
  #else   // PROTOBUF_CUSTOM_VTABLE
  ::size_t ByteSizeLong() const final;
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
  #endif  // PROTOBUF_CUSTOM_VTABLE
  int GetCachedSize() const {
    return _impl_._cached_size_.Get();
  }

  private:
  void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static void SharedDtor(MessageLite& self);
  void InternalSwap(GeneratePredictionsRequest* PROTOBUF_NONNULL other);
 private:
  template <typename T>
  friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
  static ::absl::string_view FullMessageName() { return "permissions.GeneratePredictionsRequest"; }

  explicit GeneratePredictionsRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  GeneratePredictionsRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GeneratePredictionsRequest& from);
  GeneratePredictionsRequest(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, GeneratePredictionsRequest&& from) noexcept
      : GeneratePredictionsRequest(arena) {
    *this = ::std::move(from);
  }
  const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
  static void* PROTOBUF_NONNULL PlacementNew_(
      const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static constexpr auto InternalNewImpl_();

 public:
  static constexpr auto InternalGenerateClassData_(
      const MessageLite& prototype,
      const ::google::protobuf::internal::TcParseTableBase* PROTOBUF_NULLABLE tc_table = nullptr);

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------
  enum : int {
    kPermissionFeaturesFieldNumber = 3,
    kClientFeaturesFieldNumber = 1,
    kSiteFeaturesFieldNumber = 2,
  };
  // repeated .permissions.PermissionFeatures permission_features = 3;
  int permission_features_size()
      const;
  private:
  int _internal_permission_features_size() const;

  public:
  void clear_permission_features() ;
  const ::permissions::PermissionFeatures& permission_features(int index) const;
  ::permissions::PermissionFeatures* PROTOBUF_NONNULL mutable_permission_features(int index);
  ::permissions::PermissionFeatures* PROTOBUF_NONNULL add_permission_features();
  const ::google::protobuf::RepeatedPtrField<::permissions::PermissionFeatures>&
  permission_features() const;
  ::google::protobuf::RepeatedPtrField<::permissions::PermissionFeatures>* PROTOBUF_NONNULL
  mutable_permission_features();

  private:
  const ::google::protobuf::RepeatedPtrField<::permissions::PermissionFeatures>& _internal_permission_features() const;
  ::google::protobuf::RepeatedPtrField<::permissions::PermissionFeatures>* PROTOBUF_NONNULL _internal_mutable_permission_features();

  public:
  // optional .permissions.ClientFeatures client_features = 1;
  bool has_client_features()
      const;
  void clear_client_features() ;
  const ::permissions::ClientFeatures& client_features() const;
  ::permissions::ClientFeatures* PROTOBUF_NULLABLE release_client_features();
  ::permissions::ClientFeatures* PROTOBUF_NONNULL mutable_client_features();
  void set_allocated_client_features(::permissions::ClientFeatures* PROTOBUF_NULLABLE value);
  void unsafe_arena_set_allocated_client_features(::permissions::ClientFeatures* PROTOBUF_NULLABLE value);
  ::permissions::ClientFeatures* PROTOBUF_NULLABLE unsafe_arena_release_client_features();

  private:
  const ::permissions::ClientFeatures& _internal_client_features() const;
  ::permissions::ClientFeatures* PROTOBUF_NONNULL _internal_mutable_client_features();

  public:
  // optional .permissions.SiteFeatures site_features = 2;
  bool has_site_features()
      const;
  void clear_site_features() ;
  const ::permissions::SiteFeatures& site_features() const;
  ::permissions::SiteFeatures* PROTOBUF_NULLABLE release_site_features();
  ::permissions::SiteFeatures* PROTOBUF_NONNULL mutable_site_features();
  void set_allocated_site_features(::permissions::SiteFeatures* PROTOBUF_NULLABLE value);
  void unsafe_arena_set_allocated_site_features(::permissions::SiteFeatures* PROTOBUF_NULLABLE value);
  ::permissions::SiteFeatures* PROTOBUF_NULLABLE unsafe_arena_release_site_features();

  private:
  const ::permissions::SiteFeatures& _internal_site_features() const;
  ::permissions::SiteFeatures* PROTOBUF_NONNULL _internal_mutable_site_features();

  public:
  // @@protoc_insertion_point(class_scope:permissions.GeneratePredictionsRequest)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<2, 3,
                          3, 0,
                          2>;
  static constexpr ParseTableT_ InternalGenerateParseTable_(
      const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data);
  friend class ::google::protobuf::internal::TcParser;
  #ifndef PROTOBUF_MESSAGE_GLOBALS
  static const ParseTableT_ _table_;
  #endif

  friend class ::google::protobuf::MessageLite;
  friend class ::google::protobuf::Arena;
  friend ::google::protobuf::internal::PrivateAccess;
  template <typename T>
  friend class ::google::protobuf::Arena::InternalHelper;
  using InternalArenaConstructable_ = void;
  using DestructorSkippable_ = void;
  struct Impl_ {
    inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility,
                                    ::google::protobuf::internal::ConstantInitialized) noexcept;
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
        const GeneratePredictionsRequest& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::google::protobuf::RepeatedPtrField< ::permissions::PermissionFeatures > permission_features_;
    ::permissions::ClientFeatures* PROTOBUF_NULLABLE client_features_;
    ::permissions::SiteFeatures* PROTOBUF_NULLABLE site_features_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_prediction_5fservice_5fmessages_2eproto;
};

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




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


#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif  // __GNUC__
// -------------------------------------------------------------------

// SiteFeatures

// optional string origin = 1;
inline bool SiteFeatures::has_origin() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
  return value;
}
inline void SiteFeatures::clear_origin() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.origin_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline const ::std::string& SiteFeatures::origin() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:permissions.SiteFeatures.origin)
  return _internal_origin();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void SiteFeatures::set_origin(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  _impl_.origin_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:permissions.SiteFeatures.origin)
}
inline ::std::string* PROTOBUF_NONNULL SiteFeatures::mutable_origin()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  ::std::string* _s = _internal_mutable_origin();
  // @@protoc_insertion_point(field_mutable:permissions.SiteFeatures.origin)
  return _s;
}
inline const ::std::string& SiteFeatures::_internal_origin() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.origin_.Get();
}
inline void SiteFeatures::_internal_set_origin(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.origin_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL SiteFeatures::_internal_mutable_origin() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.origin_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE SiteFeatures::release_origin() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:permissions.SiteFeatures.origin)
  if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
    return nullptr;
  }
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  auto* released = _impl_.origin_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.origin_.Set("", GetArena());
  }
  return released;
}
inline void SiteFeatures::set_allocated_origin(::std::string* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  }
  _impl_.origin_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.origin_.IsDefault()) {
    _impl_.origin_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:permissions.SiteFeatures.origin)
}

// -------------------------------------------------------------------

// StatsFeatures

// optional float avg_deny_rate = 1;
inline bool StatsFeatures::has_avg_deny_rate() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
  return value;
}
inline void StatsFeatures::clear_avg_deny_rate() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.avg_deny_rate_ = 0;
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline float StatsFeatures::avg_deny_rate() const {
  // @@protoc_insertion_point(field_get:permissions.StatsFeatures.avg_deny_rate)
  return _internal_avg_deny_rate();
}
inline void StatsFeatures::set_avg_deny_rate(float value) {
  _internal_set_avg_deny_rate(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_set:permissions.StatsFeatures.avg_deny_rate)
}
inline float StatsFeatures::_internal_avg_deny_rate() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.avg_deny_rate_;
}
inline void StatsFeatures::_internal_set_avg_deny_rate(float value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.avg_deny_rate_ = value;
}

// optional float avg_grant_rate = 2;
inline bool StatsFeatures::has_avg_grant_rate() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
  return value;
}
inline void StatsFeatures::clear_avg_grant_rate() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.avg_grant_rate_ = 0;
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
inline float StatsFeatures::avg_grant_rate() const {
  // @@protoc_insertion_point(field_get:permissions.StatsFeatures.avg_grant_rate)
  return _internal_avg_grant_rate();
}
inline void StatsFeatures::set_avg_grant_rate(float value) {
  _internal_set_avg_grant_rate(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  // @@protoc_insertion_point(field_set:permissions.StatsFeatures.avg_grant_rate)
}
inline float StatsFeatures::_internal_avg_grant_rate() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.avg_grant_rate_;
}
inline void StatsFeatures::_internal_set_avg_grant_rate(float value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.avg_grant_rate_ = value;
}

// optional float avg_dismiss_rate = 3;
inline bool StatsFeatures::has_avg_dismiss_rate() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
  return value;
}
inline void StatsFeatures::clear_avg_dismiss_rate() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.avg_dismiss_rate_ = 0;
  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
}
inline float StatsFeatures::avg_dismiss_rate() const {
  // @@protoc_insertion_point(field_get:permissions.StatsFeatures.avg_dismiss_rate)
  return _internal_avg_dismiss_rate();
}
inline void StatsFeatures::set_avg_dismiss_rate(float value) {
  _internal_set_avg_dismiss_rate(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  // @@protoc_insertion_point(field_set:permissions.StatsFeatures.avg_dismiss_rate)
}
inline float StatsFeatures::_internal_avg_dismiss_rate() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.avg_dismiss_rate_;
}
inline void StatsFeatures::_internal_set_avg_dismiss_rate(float value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.avg_dismiss_rate_ = value;
}

// optional float avg_ignore_rate = 4;
inline bool StatsFeatures::has_avg_ignore_rate() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
  return value;
}
inline void StatsFeatures::clear_avg_ignore_rate() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.avg_ignore_rate_ = 0;
  ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
}
inline float StatsFeatures::avg_ignore_rate() const {
  // @@protoc_insertion_point(field_get:permissions.StatsFeatures.avg_ignore_rate)
  return _internal_avg_ignore_rate();
}
inline void StatsFeatures::set_avg_ignore_rate(float value) {
  _internal_set_avg_ignore_rate(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000008U);
  // @@protoc_insertion_point(field_set:permissions.StatsFeatures.avg_ignore_rate)
}
inline float StatsFeatures::_internal_avg_ignore_rate() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.avg_ignore_rate_;
}
inline void StatsFeatures::_internal_set_avg_ignore_rate(float value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.avg_ignore_rate_ = value;
}

// optional int32 prompts_count = 5;
inline bool StatsFeatures::has_prompts_count() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
  return value;
}
inline void StatsFeatures::clear_prompts_count() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.prompts_count_ = 0;
  ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
}
inline ::int32_t StatsFeatures::prompts_count() const {
  // @@protoc_insertion_point(field_get:permissions.StatsFeatures.prompts_count)
  return _internal_prompts_count();
}
inline void StatsFeatures::set_prompts_count(::int32_t value) {
  _internal_set_prompts_count(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000010U);
  // @@protoc_insertion_point(field_set:permissions.StatsFeatures.prompts_count)
}
inline ::int32_t StatsFeatures::_internal_prompts_count() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.prompts_count_;
}
inline void StatsFeatures::_internal_set_prompts_count(::int32_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.prompts_count_ = value;
}

// -------------------------------------------------------------------

// ClientFeatures_ExperimentConfig

// optional int32 experiment_id = 1;
inline bool ClientFeatures_ExperimentConfig::has_experiment_id() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
  return value;
}
inline void ClientFeatures_ExperimentConfig::clear_experiment_id() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.experiment_id_ = 0;
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline ::int32_t ClientFeatures_ExperimentConfig::experiment_id() const {
  // @@protoc_insertion_point(field_get:permissions.ClientFeatures.ExperimentConfig.experiment_id)
  return _internal_experiment_id();
}
inline void ClientFeatures_ExperimentConfig::set_experiment_id(::int32_t value) {
  _internal_set_experiment_id(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_set:permissions.ClientFeatures.ExperimentConfig.experiment_id)
}
inline ::int32_t ClientFeatures_ExperimentConfig::_internal_experiment_id() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.experiment_id_;
}
inline void ClientFeatures_ExperimentConfig::_internal_set_experiment_id(::int32_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.experiment_id_ = value;
}

// -------------------------------------------------------------------

// ClientFeatures

// optional .permissions.StatsFeatures client_stats = 1;
inline bool ClientFeatures::has_client_stats() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
  PROTOBUF_ASSUME(!value || _impl_.client_stats_ != nullptr);
  return value;
}
inline void ClientFeatures::clear_client_stats() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.client_stats_ != nullptr) _impl_.client_stats_->Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline const ::permissions::StatsFeatures& ClientFeatures::_internal_client_stats() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  const ::permissions::StatsFeatures* p = _impl_.client_stats_;
  return p != nullptr ? *p : *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<::permissions::StatsFeatures>(&::permissions::StatsFeatures_globals_);
}
inline const ::permissions::StatsFeatures& ClientFeatures::client_stats() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:permissions.ClientFeatures.client_stats)
  return _internal_client_stats();
}
inline void ClientFeatures::unsafe_arena_set_allocated_client_stats(
    ::permissions::StatsFeatures* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.client_stats_);
  }
  _impl_.client_stats_ = reinterpret_cast<::permissions::StatsFeatures*>(value);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:permissions.ClientFeatures.client_stats)
}
inline ::permissions::StatsFeatures* PROTOBUF_NULLABLE ClientFeatures::release_client_stats() {
  ::google::protobuf::internal::TSanWrite(&_impl_);

  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  ::permissions::StatsFeatures* released = _impl_.client_stats_;
  _impl_.client_stats_ = nullptr;
  if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
    auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
    released = ::google::protobuf::internal::DuplicateIfNonNull(released);
    if (GetArena() == nullptr) {
      delete old;
    }
  } else {
    if (GetArena() != nullptr) {
      released = ::google::protobuf::internal::DuplicateIfNonNull(released);
    }
  }
  return released;
}
inline ::permissions::StatsFeatures* PROTOBUF_NULLABLE ClientFeatures::unsafe_arena_release_client_stats() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:permissions.ClientFeatures.client_stats)

  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  ::permissions::StatsFeatures* temp = _impl_.client_stats_;
  _impl_.client_stats_ = nullptr;
  return temp;
}
inline ::permissions::StatsFeatures* PROTOBUF_NONNULL ClientFeatures::_internal_mutable_client_stats() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.client_stats_ == nullptr) {
    auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::permissions::StatsFeatures>(GetArena());
    _impl_.client_stats_ = reinterpret_cast<::permissions::StatsFeatures*>(p);
  }
  return _impl_.client_stats_;
}
inline ::permissions::StatsFeatures* PROTOBUF_NONNULL ClientFeatures::mutable_client_stats()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  ::permissions::StatsFeatures* _msg = _internal_mutable_client_stats();
  // @@protoc_insertion_point(field_mutable:permissions.ClientFeatures.client_stats)
  return _msg;
}
inline void ClientFeatures::set_allocated_client_stats(::permissions::StatsFeatures* PROTOBUF_NULLABLE value) {
  ::google::protobuf::Arena* message_arena = GetArena();
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (message_arena == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.client_stats_);
  }

  if (value != nullptr) {
    ::google::protobuf::Arena* submessage_arena = value->GetArena();
    if (message_arena != submessage_arena) {
      value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
    }
    SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  }

  _impl_.client_stats_ = reinterpret_cast<::permissions::StatsFeatures*>(value);
  // @@protoc_insertion_point(field_set_allocated:permissions.ClientFeatures.client_stats)
}

// optional .permissions.ClientFeatures.Platform platform = 2;
inline bool ClientFeatures::has_platform() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
  return value;
}
inline void ClientFeatures::clear_platform() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.platform_ = 0;
  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
}
inline ::permissions::ClientFeatures_Platform ClientFeatures::platform() const {
  // @@protoc_insertion_point(field_get:permissions.ClientFeatures.platform)
  return _internal_platform();
}
inline void ClientFeatures::set_platform(::permissions::ClientFeatures_Platform value) {
  _internal_set_platform(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  // @@protoc_insertion_point(field_set:permissions.ClientFeatures.platform)
}
inline ::permissions::ClientFeatures_Platform ClientFeatures::_internal_platform() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return static_cast<::permissions::ClientFeatures_Platform>(_impl_.platform_);
}
inline void ClientFeatures::_internal_set_platform(::permissions::ClientFeatures_Platform value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);

                                          assert(::google::protobuf::internal::ValidateEnum(
                                              value, ::permissions::ClientFeatures_Platform_internal_data_));
                                          _impl_.platform_ = value;
}

// optional .permissions.ClientFeatures.Gesture gesture = 3;
inline bool ClientFeatures::has_gesture() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
  return value;
}
inline void ClientFeatures::clear_gesture() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.gesture_ = 0;
  ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
}
inline ::permissions::ClientFeatures_Gesture ClientFeatures::gesture() const {
  // @@protoc_insertion_point(field_get:permissions.ClientFeatures.gesture)
  return _internal_gesture();
}
inline void ClientFeatures::set_gesture(::permissions::ClientFeatures_Gesture value) {
  _internal_set_gesture(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000008U);
  // @@protoc_insertion_point(field_set:permissions.ClientFeatures.gesture)
}
inline ::permissions::ClientFeatures_Gesture ClientFeatures::_internal_gesture() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return static_cast<::permissions::ClientFeatures_Gesture>(_impl_.gesture_);
}
inline void ClientFeatures::_internal_set_gesture(::permissions::ClientFeatures_Gesture value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);

                                          assert(::google::protobuf::internal::ValidateEnum(
                                              value, ::permissions::ClientFeatures_Gesture_internal_data_));
                                          _impl_.gesture_ = value;
}

// optional .permissions.ClientFeatures.GestureEnum gesture_enum = 4;
inline bool ClientFeatures::has_gesture_enum() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
  return value;
}
inline void ClientFeatures::clear_gesture_enum() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.gesture_enum_ = 0;
  ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
}
inline ::permissions::ClientFeatures_GestureEnum ClientFeatures::gesture_enum() const {
  // @@protoc_insertion_point(field_get:permissions.ClientFeatures.gesture_enum)
  return _internal_gesture_enum();
}
inline void ClientFeatures::set_gesture_enum(::permissions::ClientFeatures_GestureEnum value) {
  _internal_set_gesture_enum(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000010U);
  // @@protoc_insertion_point(field_set:permissions.ClientFeatures.gesture_enum)
}
inline ::permissions::ClientFeatures_GestureEnum ClientFeatures::_internal_gesture_enum() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return static_cast<::permissions::ClientFeatures_GestureEnum>(_impl_.gesture_enum_);
}
inline void ClientFeatures::_internal_set_gesture_enum(::permissions::ClientFeatures_GestureEnum value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);

                                          assert(::google::protobuf::internal::ValidateEnum(
                                              value, ::permissions::ClientFeatures_GestureEnum_internal_data_));
                                          _impl_.gesture_enum_ = value;
}

// optional .permissions.ClientFeatures.PlatformEnum platform_enum = 5;
inline bool ClientFeatures::has_platform_enum() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000020U);
  return value;
}
inline void ClientFeatures::clear_platform_enum() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.platform_enum_ = 0;
  ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
}
inline ::permissions::ClientFeatures_PlatformEnum ClientFeatures::platform_enum() const {
  // @@protoc_insertion_point(field_get:permissions.ClientFeatures.platform_enum)
  return _internal_platform_enum();
}
inline void ClientFeatures::set_platform_enum(::permissions::ClientFeatures_PlatformEnum value) {
  _internal_set_platform_enum(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000020U);
  // @@protoc_insertion_point(field_set:permissions.ClientFeatures.platform_enum)
}
inline ::permissions::ClientFeatures_PlatformEnum ClientFeatures::_internal_platform_enum() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return static_cast<::permissions::ClientFeatures_PlatformEnum>(_impl_.platform_enum_);
}
inline void ClientFeatures::_internal_set_platform_enum(::permissions::ClientFeatures_PlatformEnum value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);

                                          assert(::google::protobuf::internal::ValidateEnum(
                                              value, ::permissions::ClientFeatures_PlatformEnum_internal_data_));
                                          _impl_.platform_enum_ = value;
}

// optional .permissions.ClientFeatures.ExperimentConfig experiment_config = 6;
inline bool ClientFeatures::has_experiment_config() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
  PROTOBUF_ASSUME(!value || _impl_.experiment_config_ != nullptr);
  return value;
}
inline void ClientFeatures::clear_experiment_config() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.experiment_config_ != nullptr) _impl_.experiment_config_->Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
inline const ::permissions::ClientFeatures_ExperimentConfig& ClientFeatures::_internal_experiment_config() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  const ::permissions::ClientFeatures_ExperimentConfig* p = _impl_.experiment_config_;
  return p != nullptr ? *p : *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<::permissions::ClientFeatures_ExperimentConfig>(&::permissions::ClientFeatures_ExperimentConfig_globals_);
}
inline const ::permissions::ClientFeatures_ExperimentConfig& ClientFeatures::experiment_config() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:permissions.ClientFeatures.experiment_config)
  return _internal_experiment_config();
}
inline void ClientFeatures::unsafe_arena_set_allocated_experiment_config(
    ::permissions::ClientFeatures_ExperimentConfig* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.experiment_config_);
  }
  _impl_.experiment_config_ = reinterpret_cast<::permissions::ClientFeatures_ExperimentConfig*>(value);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:permissions.ClientFeatures.experiment_config)
}
inline ::permissions::ClientFeatures_ExperimentConfig* PROTOBUF_NULLABLE ClientFeatures::release_experiment_config() {
  ::google::protobuf::internal::TSanWrite(&_impl_);

  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  ::permissions::ClientFeatures_ExperimentConfig* released = _impl_.experiment_config_;
  _impl_.experiment_config_ = nullptr;
  if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
    auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
    released = ::google::protobuf::internal::DuplicateIfNonNull(released);
    if (GetArena() == nullptr) {
      delete old;
    }
  } else {
    if (GetArena() != nullptr) {
      released = ::google::protobuf::internal::DuplicateIfNonNull(released);
    }
  }
  return released;
}
inline ::permissions::ClientFeatures_ExperimentConfig* PROTOBUF_NULLABLE ClientFeatures::unsafe_arena_release_experiment_config() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:permissions.ClientFeatures.experiment_config)

  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  ::permissions::ClientFeatures_ExperimentConfig* temp = _impl_.experiment_config_;
  _impl_.experiment_config_ = nullptr;
  return temp;
}
inline ::permissions::ClientFeatures_ExperimentConfig* PROTOBUF_NONNULL ClientFeatures::_internal_mutable_experiment_config() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.experiment_config_ == nullptr) {
    auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::permissions::ClientFeatures_ExperimentConfig>(GetArena());
    _impl_.experiment_config_ = reinterpret_cast<::permissions::ClientFeatures_ExperimentConfig*>(p);
  }
  return _impl_.experiment_config_;
}
inline ::permissions::ClientFeatures_ExperimentConfig* PROTOBUF_NONNULL ClientFeatures::mutable_experiment_config()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  ::permissions::ClientFeatures_ExperimentConfig* _msg = _internal_mutable_experiment_config();
  // @@protoc_insertion_point(field_mutable:permissions.ClientFeatures.experiment_config)
  return _msg;
}
inline void ClientFeatures::set_allocated_experiment_config(::permissions::ClientFeatures_ExperimentConfig* PROTOBUF_NULLABLE value) {
  ::google::protobuf::Arena* message_arena = GetArena();
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (message_arena == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.experiment_config_);
  }

  if (value != nullptr) {
    ::google::protobuf::Arena* submessage_arena = value->GetArena();
    if (message_arena != submessage_arena) {
      value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
    }
    SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  }

  _impl_.experiment_config_ = reinterpret_cast<::permissions::ClientFeatures_ExperimentConfig*>(value);
  // @@protoc_insertion_point(field_set_allocated:permissions.ClientFeatures.experiment_config)
}

// -------------------------------------------------------------------

// PermissionFeatures_NotificationPermission

// -------------------------------------------------------------------

// PermissionFeatures_GeolocationPermission

// -------------------------------------------------------------------

// PermissionFeatures

// optional .permissions.StatsFeatures permission_stats = 1;
inline bool PermissionFeatures::has_permission_stats() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
  PROTOBUF_ASSUME(!value || _impl_.permission_stats_ != nullptr);
  return value;
}
inline void PermissionFeatures::clear_permission_stats() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.permission_stats_ != nullptr) _impl_.permission_stats_->Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline const ::permissions::StatsFeatures& PermissionFeatures::_internal_permission_stats() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  const ::permissions::StatsFeatures* p = _impl_.permission_stats_;
  return p != nullptr ? *p : *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<::permissions::StatsFeatures>(&::permissions::StatsFeatures_globals_);
}
inline const ::permissions::StatsFeatures& PermissionFeatures::permission_stats() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:permissions.PermissionFeatures.permission_stats)
  return _internal_permission_stats();
}
inline void PermissionFeatures::unsafe_arena_set_allocated_permission_stats(
    ::permissions::StatsFeatures* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.permission_stats_);
  }
  _impl_.permission_stats_ = reinterpret_cast<::permissions::StatsFeatures*>(value);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:permissions.PermissionFeatures.permission_stats)
}
inline ::permissions::StatsFeatures* PROTOBUF_NULLABLE PermissionFeatures::release_permission_stats() {
  ::google::protobuf::internal::TSanWrite(&_impl_);

  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  ::permissions::StatsFeatures* released = _impl_.permission_stats_;
  _impl_.permission_stats_ = nullptr;
  if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
    auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
    released = ::google::protobuf::internal::DuplicateIfNonNull(released);
    if (GetArena() == nullptr) {
      delete old;
    }
  } else {
    if (GetArena() != nullptr) {
      released = ::google::protobuf::internal::DuplicateIfNonNull(released);
    }
  }
  return released;
}
inline ::permissions::StatsFeatures* PROTOBUF_NULLABLE PermissionFeatures::unsafe_arena_release_permission_stats() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:permissions.PermissionFeatures.permission_stats)

  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  ::permissions::StatsFeatures* temp = _impl_.permission_stats_;
  _impl_.permission_stats_ = nullptr;
  return temp;
}
inline ::permissions::StatsFeatures* PROTOBUF_NONNULL PermissionFeatures::_internal_mutable_permission_stats() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.permission_stats_ == nullptr) {
    auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::permissions::StatsFeatures>(GetArena());
    _impl_.permission_stats_ = reinterpret_cast<::permissions::StatsFeatures*>(p);
  }
  return _impl_.permission_stats_;
}
inline ::permissions::StatsFeatures* PROTOBUF_NONNULL PermissionFeatures::mutable_permission_stats()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  ::permissions::StatsFeatures* _msg = _internal_mutable_permission_stats();
  // @@protoc_insertion_point(field_mutable:permissions.PermissionFeatures.permission_stats)
  return _msg;
}
inline void PermissionFeatures::set_allocated_permission_stats(::permissions::StatsFeatures* PROTOBUF_NULLABLE value) {
  ::google::protobuf::Arena* message_arena = GetArena();
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (message_arena == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.permission_stats_);
  }

  if (value != nullptr) {
    ::google::protobuf::Arena* submessage_arena = value->GetArena();
    if (message_arena != submessage_arena) {
      value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
    }
    SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  }

  _impl_.permission_stats_ = reinterpret_cast<::permissions::StatsFeatures*>(value);
  // @@protoc_insertion_point(field_set_allocated:permissions.PermissionFeatures.permission_stats)
}

// .permissions.PermissionFeatures.NotificationPermission notification_permission = 2;
inline bool PermissionFeatures::has_notification_permission() const {
  return permission_type_case() == kNotificationPermission;
}
inline bool PermissionFeatures::_internal_has_notification_permission() const {
  return permission_type_case() == kNotificationPermission;
}
inline void PermissionFeatures::set_has_notification_permission() {
  _impl_._oneof_case_[0] = kNotificationPermission;
}
inline void PermissionFeatures::clear_notification_permission() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (permission_type_case() == kNotificationPermission) {
    if (GetArena() == nullptr) {
      delete _impl_.permission_type_.notification_permission_;
    } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
      if (_impl_.permission_type_.notification_permission_ != nullptr) {
        _impl_.permission_type_.notification_permission_->Clear();
      }
    }
    clear_has_permission_type();
  }
}
inline ::permissions::PermissionFeatures_NotificationPermission* PROTOBUF_NULLABLE PermissionFeatures::release_notification_permission() {
  // @@protoc_insertion_point(field_release:permissions.PermissionFeatures.notification_permission)
  if (permission_type_case() == kNotificationPermission) {
    clear_has_permission_type();
    auto* temp = _impl_.permission_type_.notification_permission_;
    if (GetArena() != nullptr) {
      temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
    }
    _impl_.permission_type_.notification_permission_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline const ::permissions::PermissionFeatures_NotificationPermission& PermissionFeatures::_internal_notification_permission() const {
  return permission_type_case() == kNotificationPermission ? static_cast<const ::permissions::PermissionFeatures_NotificationPermission&>(*_impl_.permission_type_.notification_permission_)
                     : *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<::permissions::PermissionFeatures_NotificationPermission>(&::permissions::PermissionFeatures_NotificationPermission_globals_);
}
inline const ::permissions::PermissionFeatures_NotificationPermission& PermissionFeatures::notification_permission() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:permissions.PermissionFeatures.notification_permission)
  return _internal_notification_permission();
}
inline ::permissions::PermissionFeatures_NotificationPermission* PROTOBUF_NULLABLE PermissionFeatures::unsafe_arena_release_notification_permission() {
  // @@protoc_insertion_point(field_unsafe_arena_release:permissions.PermissionFeatures.notification_permission)
  if (permission_type_case() == kNotificationPermission) {
    clear_has_permission_type();
    auto* temp = _impl_.permission_type_.notification_permission_;
    _impl_.permission_type_.notification_permission_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline void PermissionFeatures::unsafe_arena_set_allocated_notification_permission(
    ::permissions::PermissionFeatures_NotificationPermission* PROTOBUF_NULLABLE value) {
  // We rely on the oneof clear method to free the earlier contents
  // of this oneof. We can directly use the pointer we're given to
  // set the new value.
  clear_permission_type();
  if (value) {
    set_has_notification_permission();
    _impl_.permission_type_.notification_permission_ = value;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:permissions.PermissionFeatures.notification_permission)
}
inline ::permissions::PermissionFeatures_NotificationPermission* PROTOBUF_NONNULL PermissionFeatures::_internal_mutable_notification_permission() {
  if (permission_type_case() != kNotificationPermission) {
    clear_permission_type();
    set_has_notification_permission();
    _impl_.permission_type_.notification_permission_ = 
        ::google::protobuf::MessageLite::DefaultConstruct<::permissions::PermissionFeatures_NotificationPermission>(GetArena());
  }
  return _impl_.permission_type_.notification_permission_;
}
inline ::permissions::PermissionFeatures_NotificationPermission* PROTOBUF_NONNULL PermissionFeatures::mutable_notification_permission()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  ::permissions::PermissionFeatures_NotificationPermission* _msg = _internal_mutable_notification_permission();
  // @@protoc_insertion_point(field_mutable:permissions.PermissionFeatures.notification_permission)
  return _msg;
}

// .permissions.PermissionFeatures.GeolocationPermission geolocation_permission = 3;
inline bool PermissionFeatures::has_geolocation_permission() const {
  return permission_type_case() == kGeolocationPermission;
}
inline bool PermissionFeatures::_internal_has_geolocation_permission() const {
  return permission_type_case() == kGeolocationPermission;
}
inline void PermissionFeatures::set_has_geolocation_permission() {
  _impl_._oneof_case_[0] = kGeolocationPermission;
}
inline void PermissionFeatures::clear_geolocation_permission() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (permission_type_case() == kGeolocationPermission) {
    if (GetArena() == nullptr) {
      delete _impl_.permission_type_.geolocation_permission_;
    } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
      if (_impl_.permission_type_.geolocation_permission_ != nullptr) {
        _impl_.permission_type_.geolocation_permission_->Clear();
      }
    }
    clear_has_permission_type();
  }
}
inline ::permissions::PermissionFeatures_GeolocationPermission* PROTOBUF_NULLABLE PermissionFeatures::release_geolocation_permission() {
  // @@protoc_insertion_point(field_release:permissions.PermissionFeatures.geolocation_permission)
  if (permission_type_case() == kGeolocationPermission) {
    clear_has_permission_type();
    auto* temp = _impl_.permission_type_.geolocation_permission_;
    if (GetArena() != nullptr) {
      temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
    }
    _impl_.permission_type_.geolocation_permission_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline const ::permissions::PermissionFeatures_GeolocationPermission& PermissionFeatures::_internal_geolocation_permission() const {
  return permission_type_case() == kGeolocationPermission ? static_cast<const ::permissions::PermissionFeatures_GeolocationPermission&>(*_impl_.permission_type_.geolocation_permission_)
                     : *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<::permissions::PermissionFeatures_GeolocationPermission>(&::permissions::PermissionFeatures_GeolocationPermission_globals_);
}
inline const ::permissions::PermissionFeatures_GeolocationPermission& PermissionFeatures::geolocation_permission() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:permissions.PermissionFeatures.geolocation_permission)
  return _internal_geolocation_permission();
}
inline ::permissions::PermissionFeatures_GeolocationPermission* PROTOBUF_NULLABLE PermissionFeatures::unsafe_arena_release_geolocation_permission() {
  // @@protoc_insertion_point(field_unsafe_arena_release:permissions.PermissionFeatures.geolocation_permission)
  if (permission_type_case() == kGeolocationPermission) {
    clear_has_permission_type();
    auto* temp = _impl_.permission_type_.geolocation_permission_;
    _impl_.permission_type_.geolocation_permission_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline void PermissionFeatures::unsafe_arena_set_allocated_geolocation_permission(
    ::permissions::PermissionFeatures_GeolocationPermission* PROTOBUF_NULLABLE value) {
  // We rely on the oneof clear method to free the earlier contents
  // of this oneof. We can directly use the pointer we're given to
  // set the new value.
  clear_permission_type();
  if (value) {
    set_has_geolocation_permission();
    _impl_.permission_type_.geolocation_permission_ = value;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:permissions.PermissionFeatures.geolocation_permission)
}
inline ::permissions::PermissionFeatures_GeolocationPermission* PROTOBUF_NONNULL PermissionFeatures::_internal_mutable_geolocation_permission() {
  if (permission_type_case() != kGeolocationPermission) {
    clear_permission_type();
    set_has_geolocation_permission();
    _impl_.permission_type_.geolocation_permission_ = 
        ::google::protobuf::MessageLite::DefaultConstruct<::permissions::PermissionFeatures_GeolocationPermission>(GetArena());
  }
  return _impl_.permission_type_.geolocation_permission_;
}
inline ::permissions::PermissionFeatures_GeolocationPermission* PROTOBUF_NONNULL PermissionFeatures::mutable_geolocation_permission()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  ::permissions::PermissionFeatures_GeolocationPermission* _msg = _internal_mutable_geolocation_permission();
  // @@protoc_insertion_point(field_mutable:permissions.PermissionFeatures.geolocation_permission)
  return _msg;
}

// optional .permissions.PermissionFeatures.Relevance permission_relevance = 4;
inline bool PermissionFeatures::has_permission_relevance() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
  return value;
}
inline void PermissionFeatures::clear_permission_relevance() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.permission_relevance_ = 0;
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
inline ::permissions::PermissionFeatures_Relevance PermissionFeatures::permission_relevance() const {
  // @@protoc_insertion_point(field_get:permissions.PermissionFeatures.permission_relevance)
  return _internal_permission_relevance();
}
inline void PermissionFeatures::set_permission_relevance(::permissions::PermissionFeatures_Relevance value) {
  _internal_set_permission_relevance(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  // @@protoc_insertion_point(field_set:permissions.PermissionFeatures.permission_relevance)
}
inline ::permissions::PermissionFeatures_Relevance PermissionFeatures::_internal_permission_relevance() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return static_cast<::permissions::PermissionFeatures_Relevance>(_impl_.permission_relevance_);
}
inline void PermissionFeatures::_internal_set_permission_relevance(::permissions::PermissionFeatures_Relevance value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);

                                          assert(::google::protobuf::internal::ValidateEnum(
                                              value, ::permissions::PermissionFeatures_Relevance_internal_data_));
                                          _impl_.permission_relevance_ = value;
}

inline bool PermissionFeatures::has_permission_type() const {
  return permission_type_case() != PERMISSION_TYPE_NOT_SET;
}
inline void PermissionFeatures::clear_has_permission_type() {
  _impl_._oneof_case_[0] = PERMISSION_TYPE_NOT_SET;
}
inline PermissionFeatures::PermissionTypeCase PermissionFeatures::permission_type_case() const {
  return PermissionFeatures::PermissionTypeCase(_impl_._oneof_case_[0]);
}
// -------------------------------------------------------------------

// PermissionPrediction_NotificationPrediction

// -------------------------------------------------------------------

// PermissionPrediction_GeolocationPrediction

// optional .permissions.PermissionPrediction.GeolocationPrediction.Accuracy accuracy = 1;
inline bool PermissionPrediction_GeolocationPrediction::has_accuracy() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
  return value;
}
inline void PermissionPrediction_GeolocationPrediction::clear_accuracy() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.accuracy_ = 0;
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline ::permissions::PermissionPrediction_GeolocationPrediction_Accuracy PermissionPrediction_GeolocationPrediction::accuracy() const {
  // @@protoc_insertion_point(field_get:permissions.PermissionPrediction.GeolocationPrediction.accuracy)
  return _internal_accuracy();
}
inline void PermissionPrediction_GeolocationPrediction::set_accuracy(::permissions::PermissionPrediction_GeolocationPrediction_Accuracy value) {
  _internal_set_accuracy(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_set:permissions.PermissionPrediction.GeolocationPrediction.accuracy)
}
inline ::permissions::PermissionPrediction_GeolocationPrediction_Accuracy PermissionPrediction_GeolocationPrediction::_internal_accuracy() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return static_cast<::permissions::PermissionPrediction_GeolocationPrediction_Accuracy>(_impl_.accuracy_);
}
inline void PermissionPrediction_GeolocationPrediction::_internal_set_accuracy(::permissions::PermissionPrediction_GeolocationPrediction_Accuracy value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);

                                          assert(::google::protobuf::internal::ValidateEnum(
                                              value, ::permissions::PermissionPrediction_GeolocationPrediction_Accuracy_internal_data_));
                                          _impl_.accuracy_ = value;
}

// -------------------------------------------------------------------

// PermissionPrediction_Likelihood

// optional .permissions.PermissionPrediction.Likelihood.DiscretizedLikelihood discretized_likelihood = 1;
inline bool PermissionPrediction_Likelihood::has_discretized_likelihood() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
  return value;
}
inline void PermissionPrediction_Likelihood::clear_discretized_likelihood() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.discretized_likelihood_ = 0;
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline ::permissions::PermissionPrediction_Likelihood_DiscretizedLikelihood PermissionPrediction_Likelihood::discretized_likelihood() const {
  // @@protoc_insertion_point(field_get:permissions.PermissionPrediction.Likelihood.discretized_likelihood)
  return _internal_discretized_likelihood();
}
inline void PermissionPrediction_Likelihood::set_discretized_likelihood(::permissions::PermissionPrediction_Likelihood_DiscretizedLikelihood value) {
  _internal_set_discretized_likelihood(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_set:permissions.PermissionPrediction.Likelihood.discretized_likelihood)
}
inline ::permissions::PermissionPrediction_Likelihood_DiscretizedLikelihood PermissionPrediction_Likelihood::_internal_discretized_likelihood() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return static_cast<::permissions::PermissionPrediction_Likelihood_DiscretizedLikelihood>(_impl_.discretized_likelihood_);
}
inline void PermissionPrediction_Likelihood::_internal_set_discretized_likelihood(::permissions::PermissionPrediction_Likelihood_DiscretizedLikelihood value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);

                                          assert(::google::protobuf::internal::ValidateEnum(
                                              value, ::permissions::PermissionPrediction_Likelihood_DiscretizedLikelihood_internal_data_));
                                          _impl_.discretized_likelihood_ = value;
}

// -------------------------------------------------------------------

// PermissionPrediction

// .permissions.PermissionPrediction.NotificationPrediction notification_prediction = 1;
inline bool PermissionPrediction::has_notification_prediction() const {
  return prediction_type_case() == kNotificationPrediction;
}
inline bool PermissionPrediction::_internal_has_notification_prediction() const {
  return prediction_type_case() == kNotificationPrediction;
}
inline void PermissionPrediction::set_has_notification_prediction() {
  _impl_._oneof_case_[0] = kNotificationPrediction;
}
inline void PermissionPrediction::clear_notification_prediction() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (prediction_type_case() == kNotificationPrediction) {
    if (GetArena() == nullptr) {
      delete _impl_.prediction_type_.notification_prediction_;
    } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
      if (_impl_.prediction_type_.notification_prediction_ != nullptr) {
        _impl_.prediction_type_.notification_prediction_->Clear();
      }
    }
    clear_has_prediction_type();
  }
}
inline ::permissions::PermissionPrediction_NotificationPrediction* PROTOBUF_NULLABLE PermissionPrediction::release_notification_prediction() {
  // @@protoc_insertion_point(field_release:permissions.PermissionPrediction.notification_prediction)
  if (prediction_type_case() == kNotificationPrediction) {
    clear_has_prediction_type();
    auto* temp = _impl_.prediction_type_.notification_prediction_;
    if (GetArena() != nullptr) {
      temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
    }
    _impl_.prediction_type_.notification_prediction_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline const ::permissions::PermissionPrediction_NotificationPrediction& PermissionPrediction::_internal_notification_prediction() const {
  return prediction_type_case() == kNotificationPrediction ? static_cast<const ::permissions::PermissionPrediction_NotificationPrediction&>(*_impl_.prediction_type_.notification_prediction_)
                     : *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<::permissions::PermissionPrediction_NotificationPrediction>(&::permissions::PermissionPrediction_NotificationPrediction_globals_);
}
inline const ::permissions::PermissionPrediction_NotificationPrediction& PermissionPrediction::notification_prediction() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:permissions.PermissionPrediction.notification_prediction)
  return _internal_notification_prediction();
}
inline ::permissions::PermissionPrediction_NotificationPrediction* PROTOBUF_NULLABLE PermissionPrediction::unsafe_arena_release_notification_prediction() {
  // @@protoc_insertion_point(field_unsafe_arena_release:permissions.PermissionPrediction.notification_prediction)
  if (prediction_type_case() == kNotificationPrediction) {
    clear_has_prediction_type();
    auto* temp = _impl_.prediction_type_.notification_prediction_;
    _impl_.prediction_type_.notification_prediction_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline void PermissionPrediction::unsafe_arena_set_allocated_notification_prediction(
    ::permissions::PermissionPrediction_NotificationPrediction* PROTOBUF_NULLABLE value) {
  // We rely on the oneof clear method to free the earlier contents
  // of this oneof. We can directly use the pointer we're given to
  // set the new value.
  clear_prediction_type();
  if (value) {
    set_has_notification_prediction();
    _impl_.prediction_type_.notification_prediction_ = value;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:permissions.PermissionPrediction.notification_prediction)
}
inline ::permissions::PermissionPrediction_NotificationPrediction* PROTOBUF_NONNULL PermissionPrediction::_internal_mutable_notification_prediction() {
  if (prediction_type_case() != kNotificationPrediction) {
    clear_prediction_type();
    set_has_notification_prediction();
    _impl_.prediction_type_.notification_prediction_ = 
        ::google::protobuf::MessageLite::DefaultConstruct<::permissions::PermissionPrediction_NotificationPrediction>(GetArena());
  }
  return _impl_.prediction_type_.notification_prediction_;
}
inline ::permissions::PermissionPrediction_NotificationPrediction* PROTOBUF_NONNULL PermissionPrediction::mutable_notification_prediction()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  ::permissions::PermissionPrediction_NotificationPrediction* _msg = _internal_mutable_notification_prediction();
  // @@protoc_insertion_point(field_mutable:permissions.PermissionPrediction.notification_prediction)
  return _msg;
}

// .permissions.PermissionPrediction.GeolocationPrediction geolocation_prediction = 3;
inline bool PermissionPrediction::has_geolocation_prediction() const {
  return prediction_type_case() == kGeolocationPrediction;
}
inline bool PermissionPrediction::_internal_has_geolocation_prediction() const {
  return prediction_type_case() == kGeolocationPrediction;
}
inline void PermissionPrediction::set_has_geolocation_prediction() {
  _impl_._oneof_case_[0] = kGeolocationPrediction;
}
inline void PermissionPrediction::clear_geolocation_prediction() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (prediction_type_case() == kGeolocationPrediction) {
    if (GetArena() == nullptr) {
      delete _impl_.prediction_type_.geolocation_prediction_;
    } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
      if (_impl_.prediction_type_.geolocation_prediction_ != nullptr) {
        _impl_.prediction_type_.geolocation_prediction_->Clear();
      }
    }
    clear_has_prediction_type();
  }
}
inline ::permissions::PermissionPrediction_GeolocationPrediction* PROTOBUF_NULLABLE PermissionPrediction::release_geolocation_prediction() {
  // @@protoc_insertion_point(field_release:permissions.PermissionPrediction.geolocation_prediction)
  if (prediction_type_case() == kGeolocationPrediction) {
    clear_has_prediction_type();
    auto* temp = _impl_.prediction_type_.geolocation_prediction_;
    if (GetArena() != nullptr) {
      temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
    }
    _impl_.prediction_type_.geolocation_prediction_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline const ::permissions::PermissionPrediction_GeolocationPrediction& PermissionPrediction::_internal_geolocation_prediction() const {
  return prediction_type_case() == kGeolocationPrediction ? static_cast<const ::permissions::PermissionPrediction_GeolocationPrediction&>(*_impl_.prediction_type_.geolocation_prediction_)
                     : *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<::permissions::PermissionPrediction_GeolocationPrediction>(&::permissions::PermissionPrediction_GeolocationPrediction_globals_);
}
inline const ::permissions::PermissionPrediction_GeolocationPrediction& PermissionPrediction::geolocation_prediction() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:permissions.PermissionPrediction.geolocation_prediction)
  return _internal_geolocation_prediction();
}
inline ::permissions::PermissionPrediction_GeolocationPrediction* PROTOBUF_NULLABLE PermissionPrediction::unsafe_arena_release_geolocation_prediction() {
  // @@protoc_insertion_point(field_unsafe_arena_release:permissions.PermissionPrediction.geolocation_prediction)
  if (prediction_type_case() == kGeolocationPrediction) {
    clear_has_prediction_type();
    auto* temp = _impl_.prediction_type_.geolocation_prediction_;
    _impl_.prediction_type_.geolocation_prediction_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline void PermissionPrediction::unsafe_arena_set_allocated_geolocation_prediction(
    ::permissions::PermissionPrediction_GeolocationPrediction* PROTOBUF_NULLABLE value) {
  // We rely on the oneof clear method to free the earlier contents
  // of this oneof. We can directly use the pointer we're given to
  // set the new value.
  clear_prediction_type();
  if (value) {
    set_has_geolocation_prediction();
    _impl_.prediction_type_.geolocation_prediction_ = value;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:permissions.PermissionPrediction.geolocation_prediction)
}
inline ::permissions::PermissionPrediction_GeolocationPrediction* PROTOBUF_NONNULL PermissionPrediction::_internal_mutable_geolocation_prediction() {
  if (prediction_type_case() != kGeolocationPrediction) {
    clear_prediction_type();
    set_has_geolocation_prediction();
    _impl_.prediction_type_.geolocation_prediction_ = 
        ::google::protobuf::MessageLite::DefaultConstruct<::permissions::PermissionPrediction_GeolocationPrediction>(GetArena());
  }
  return _impl_.prediction_type_.geolocation_prediction_;
}
inline ::permissions::PermissionPrediction_GeolocationPrediction* PROTOBUF_NONNULL PermissionPrediction::mutable_geolocation_prediction()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  ::permissions::PermissionPrediction_GeolocationPrediction* _msg = _internal_mutable_geolocation_prediction();
  // @@protoc_insertion_point(field_mutable:permissions.PermissionPrediction.geolocation_prediction)
  return _msg;
}

// optional .permissions.PermissionPrediction.Likelihood grant_likelihood = 2;
inline bool PermissionPrediction::has_grant_likelihood() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
  PROTOBUF_ASSUME(!value || _impl_.grant_likelihood_ != nullptr);
  return value;
}
inline void PermissionPrediction::clear_grant_likelihood() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.grant_likelihood_ != nullptr) _impl_.grant_likelihood_->Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline const ::permissions::PermissionPrediction_Likelihood& PermissionPrediction::_internal_grant_likelihood() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  const ::permissions::PermissionPrediction_Likelihood* p = _impl_.grant_likelihood_;
  return p != nullptr ? *p : *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<::permissions::PermissionPrediction_Likelihood>(&::permissions::PermissionPrediction_Likelihood_globals_);
}
inline const ::permissions::PermissionPrediction_Likelihood& PermissionPrediction::grant_likelihood() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:permissions.PermissionPrediction.grant_likelihood)
  return _internal_grant_likelihood();
}
inline void PermissionPrediction::unsafe_arena_set_allocated_grant_likelihood(
    ::permissions::PermissionPrediction_Likelihood* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.grant_likelihood_);
  }
  _impl_.grant_likelihood_ = reinterpret_cast<::permissions::PermissionPrediction_Likelihood*>(value);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:permissions.PermissionPrediction.grant_likelihood)
}
inline ::permissions::PermissionPrediction_Likelihood* PROTOBUF_NULLABLE PermissionPrediction::release_grant_likelihood() {
  ::google::protobuf::internal::TSanWrite(&_impl_);

  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  ::permissions::PermissionPrediction_Likelihood* released = _impl_.grant_likelihood_;
  _impl_.grant_likelihood_ = nullptr;
  if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
    auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
    released = ::google::protobuf::internal::DuplicateIfNonNull(released);
    if (GetArena() == nullptr) {
      delete old;
    }
  } else {
    if (GetArena() != nullptr) {
      released = ::google::protobuf::internal::DuplicateIfNonNull(released);
    }
  }
  return released;
}
inline ::permissions::PermissionPrediction_Likelihood* PROTOBUF_NULLABLE PermissionPrediction::unsafe_arena_release_grant_likelihood() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:permissions.PermissionPrediction.grant_likelihood)

  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  ::permissions::PermissionPrediction_Likelihood* temp = _impl_.grant_likelihood_;
  _impl_.grant_likelihood_ = nullptr;
  return temp;
}
inline ::permissions::PermissionPrediction_Likelihood* PROTOBUF_NONNULL PermissionPrediction::_internal_mutable_grant_likelihood() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.grant_likelihood_ == nullptr) {
    auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::permissions::PermissionPrediction_Likelihood>(GetArena());
    _impl_.grant_likelihood_ = reinterpret_cast<::permissions::PermissionPrediction_Likelihood*>(p);
  }
  return _impl_.grant_likelihood_;
}
inline ::permissions::PermissionPrediction_Likelihood* PROTOBUF_NONNULL PermissionPrediction::mutable_grant_likelihood()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  ::permissions::PermissionPrediction_Likelihood* _msg = _internal_mutable_grant_likelihood();
  // @@protoc_insertion_point(field_mutable:permissions.PermissionPrediction.grant_likelihood)
  return _msg;
}
inline void PermissionPrediction::set_allocated_grant_likelihood(::permissions::PermissionPrediction_Likelihood* PROTOBUF_NULLABLE value) {
  ::google::protobuf::Arena* message_arena = GetArena();
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (message_arena == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.grant_likelihood_);
  }

  if (value != nullptr) {
    ::google::protobuf::Arena* submessage_arena = value->GetArena();
    if (message_arena != submessage_arena) {
      value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
    }
    SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  }

  _impl_.grant_likelihood_ = reinterpret_cast<::permissions::PermissionPrediction_Likelihood*>(value);
  // @@protoc_insertion_point(field_set_allocated:permissions.PermissionPrediction.grant_likelihood)
}

inline bool PermissionPrediction::has_prediction_type() const {
  return prediction_type_case() != PREDICTION_TYPE_NOT_SET;
}
inline void PermissionPrediction::clear_has_prediction_type() {
  _impl_._oneof_case_[0] = PREDICTION_TYPE_NOT_SET;
}
inline PermissionPrediction::PredictionTypeCase PermissionPrediction::prediction_type_case() const {
  return PermissionPrediction::PredictionTypeCase(_impl_._oneof_case_[0]);
}
// -------------------------------------------------------------------

// GeneratePredictionsRequest

// optional .permissions.ClientFeatures client_features = 1;
inline bool GeneratePredictionsRequest::has_client_features() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
  PROTOBUF_ASSUME(!value || _impl_.client_features_ != nullptr);
  return value;
}
inline void GeneratePredictionsRequest::clear_client_features() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.client_features_ != nullptr) _impl_.client_features_->Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
inline const ::permissions::ClientFeatures& GeneratePredictionsRequest::_internal_client_features() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  const ::permissions::ClientFeatures* p = _impl_.client_features_;
  return p != nullptr ? *p : *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<::permissions::ClientFeatures>(&::permissions::ClientFeatures_globals_);
}
inline const ::permissions::ClientFeatures& GeneratePredictionsRequest::client_features() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:permissions.GeneratePredictionsRequest.client_features)
  return _internal_client_features();
}
inline void GeneratePredictionsRequest::unsafe_arena_set_allocated_client_features(
    ::permissions::ClientFeatures* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.client_features_);
  }
  _impl_.client_features_ = reinterpret_cast<::permissions::ClientFeatures*>(value);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:permissions.GeneratePredictionsRequest.client_features)
}
inline ::permissions::ClientFeatures* PROTOBUF_NULLABLE GeneratePredictionsRequest::release_client_features() {
  ::google::protobuf::internal::TSanWrite(&_impl_);

  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  ::permissions::ClientFeatures* released = _impl_.client_features_;
  _impl_.client_features_ = nullptr;
  if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
    auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
    released = ::google::protobuf::internal::DuplicateIfNonNull(released);
    if (GetArena() == nullptr) {
      delete old;
    }
  } else {
    if (GetArena() != nullptr) {
      released = ::google::protobuf::internal::DuplicateIfNonNull(released);
    }
  }
  return released;
}
inline ::permissions::ClientFeatures* PROTOBUF_NULLABLE GeneratePredictionsRequest::unsafe_arena_release_client_features() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:permissions.GeneratePredictionsRequest.client_features)

  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  ::permissions::ClientFeatures* temp = _impl_.client_features_;
  _impl_.client_features_ = nullptr;
  return temp;
}
inline ::permissions::ClientFeatures* PROTOBUF_NONNULL GeneratePredictionsRequest::_internal_mutable_client_features() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.client_features_ == nullptr) {
    auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::permissions::ClientFeatures>(GetArena());
    _impl_.client_features_ = reinterpret_cast<::permissions::ClientFeatures*>(p);
  }
  return _impl_.client_features_;
}
inline ::permissions::ClientFeatures* PROTOBUF_NONNULL GeneratePredictionsRequest::mutable_client_features()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  ::permissions::ClientFeatures* _msg = _internal_mutable_client_features();
  // @@protoc_insertion_point(field_mutable:permissions.GeneratePredictionsRequest.client_features)
  return _msg;
}
inline void GeneratePredictionsRequest::set_allocated_client_features(::permissions::ClientFeatures* PROTOBUF_NULLABLE value) {
  ::google::protobuf::Arena* message_arena = GetArena();
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (message_arena == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.client_features_);
  }

  if (value != nullptr) {
    ::google::protobuf::Arena* submessage_arena = value->GetArena();
    if (message_arena != submessage_arena) {
      value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
    }
    SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  }

  _impl_.client_features_ = reinterpret_cast<::permissions::ClientFeatures*>(value);
  // @@protoc_insertion_point(field_set_allocated:permissions.GeneratePredictionsRequest.client_features)
}

// optional .permissions.SiteFeatures site_features = 2;
inline bool GeneratePredictionsRequest::has_site_features() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
  PROTOBUF_ASSUME(!value || _impl_.site_features_ != nullptr);
  return value;
}
inline void GeneratePredictionsRequest::clear_site_features() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.site_features_ != nullptr) _impl_.site_features_->Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
}
inline const ::permissions::SiteFeatures& GeneratePredictionsRequest::_internal_site_features() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  const ::permissions::SiteFeatures* p = _impl_.site_features_;
  return p != nullptr ? *p : *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<::permissions::SiteFeatures>(&::permissions::SiteFeatures_globals_);
}
inline const ::permissions::SiteFeatures& GeneratePredictionsRequest::site_features() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:permissions.GeneratePredictionsRequest.site_features)
  return _internal_site_features();
}
inline void GeneratePredictionsRequest::unsafe_arena_set_allocated_site_features(
    ::permissions::SiteFeatures* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.site_features_);
  }
  _impl_.site_features_ = reinterpret_cast<::permissions::SiteFeatures*>(value);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:permissions.GeneratePredictionsRequest.site_features)
}
inline ::permissions::SiteFeatures* PROTOBUF_NULLABLE GeneratePredictionsRequest::release_site_features() {
  ::google::protobuf::internal::TSanWrite(&_impl_);

  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
  ::permissions::SiteFeatures* released = _impl_.site_features_;
  _impl_.site_features_ = nullptr;
  if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
    auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
    released = ::google::protobuf::internal::DuplicateIfNonNull(released);
    if (GetArena() == nullptr) {
      delete old;
    }
  } else {
    if (GetArena() != nullptr) {
      released = ::google::protobuf::internal::DuplicateIfNonNull(released);
    }
  }
  return released;
}
inline ::permissions::SiteFeatures* PROTOBUF_NULLABLE GeneratePredictionsRequest::unsafe_arena_release_site_features() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:permissions.GeneratePredictionsRequest.site_features)

  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
  ::permissions::SiteFeatures* temp = _impl_.site_features_;
  _impl_.site_features_ = nullptr;
  return temp;
}
inline ::permissions::SiteFeatures* PROTOBUF_NONNULL GeneratePredictionsRequest::_internal_mutable_site_features() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.site_features_ == nullptr) {
    auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::permissions::SiteFeatures>(GetArena());
    _impl_.site_features_ = reinterpret_cast<::permissions::SiteFeatures*>(p);
  }
  return _impl_.site_features_;
}
inline ::permissions::SiteFeatures* PROTOBUF_NONNULL GeneratePredictionsRequest::mutable_site_features()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  ::permissions::SiteFeatures* _msg = _internal_mutable_site_features();
  // @@protoc_insertion_point(field_mutable:permissions.GeneratePredictionsRequest.site_features)
  return _msg;
}
inline void GeneratePredictionsRequest::set_allocated_site_features(::permissions::SiteFeatures* PROTOBUF_NULLABLE value) {
  ::google::protobuf::Arena* message_arena = GetArena();
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (message_arena == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.site_features_);
  }

  if (value != nullptr) {
    ::google::protobuf::Arena* submessage_arena = value->GetArena();
    if (message_arena != submessage_arena) {
      value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
    }
    SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
  }

  _impl_.site_features_ = reinterpret_cast<::permissions::SiteFeatures*>(value);
  // @@protoc_insertion_point(field_set_allocated:permissions.GeneratePredictionsRequest.site_features)
}

// repeated .permissions.PermissionFeatures permission_features = 3;
inline int GeneratePredictionsRequest::_internal_permission_features_size() const {
  return _internal_permission_features().size();
}
inline int GeneratePredictionsRequest::permission_features_size() const {
  return _internal_permission_features_size();
}
inline void GeneratePredictionsRequest::clear_permission_features() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.permission_features_.Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline const ::permissions::PermissionFeatures& GeneratePredictionsRequest::permission_features(int index) const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:permissions.GeneratePredictionsRequest.permission_features)
  return _internal_permission_features().Get(index);
}
inline ::permissions::PermissionFeatures* PROTOBUF_NONNULL GeneratePredictionsRequest::mutable_permission_features(int index)
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_mutable:permissions.GeneratePredictionsRequest.permission_features)
  return _internal_mutable_permission_features()->Mutable(index);
}
inline ::permissions::PermissionFeatures* PROTOBUF_NONNULL GeneratePredictionsRequest::add_permission_features()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::permissions::PermissionFeatures* _add =
      _internal_mutable_permission_features()->InternalAddWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), GetArena());
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_add:permissions.GeneratePredictionsRequest.permission_features)
  return _add;
}
inline const ::google::protobuf::RepeatedPtrField<::permissions::PermissionFeatures>& GeneratePredictionsRequest::permission_features() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_list:permissions.GeneratePredictionsRequest.permission_features)
  return _internal_permission_features();
}
inline ::google::protobuf::RepeatedPtrField<::permissions::PermissionFeatures>* PROTOBUF_NONNULL
GeneratePredictionsRequest::mutable_permission_features() ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_mutable_list:permissions.GeneratePredictionsRequest.permission_features)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _internal_mutable_permission_features();
}
inline const ::google::protobuf::RepeatedPtrField<::permissions::PermissionFeatures>&
GeneratePredictionsRequest::_internal_permission_features() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.permission_features_;
}
inline ::google::protobuf::RepeatedPtrField<::permissions::PermissionFeatures>* PROTOBUF_NONNULL
GeneratePredictionsRequest::_internal_mutable_permission_features() {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return &_impl_.permission_features_;
}

// -------------------------------------------------------------------

// GeneratePredictionsResponse

// repeated .permissions.PermissionPrediction prediction = 1;
inline int GeneratePredictionsResponse::_internal_prediction_size() const {
  return _internal_prediction().size();
}
inline int GeneratePredictionsResponse::prediction_size() const {
  return _internal_prediction_size();
}
inline void GeneratePredictionsResponse::clear_prediction() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.prediction_.Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline const ::permissions::PermissionPrediction& GeneratePredictionsResponse::prediction(int index) const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:permissions.GeneratePredictionsResponse.prediction)
  return _internal_prediction().Get(index);
}
inline ::permissions::PermissionPrediction* PROTOBUF_NONNULL GeneratePredictionsResponse::mutable_prediction(int index)
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_mutable:permissions.GeneratePredictionsResponse.prediction)
  return _internal_mutable_prediction()->Mutable(index);
}
inline ::permissions::PermissionPrediction* PROTOBUF_NONNULL GeneratePredictionsResponse::add_prediction()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::permissions::PermissionPrediction* _add =
      _internal_mutable_prediction()->InternalAddWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), GetArena());
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_add:permissions.GeneratePredictionsResponse.prediction)
  return _add;
}
inline const ::google::protobuf::RepeatedPtrField<::permissions::PermissionPrediction>& GeneratePredictionsResponse::prediction() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_list:permissions.GeneratePredictionsResponse.prediction)
  return _internal_prediction();
}
inline ::google::protobuf::RepeatedPtrField<::permissions::PermissionPrediction>* PROTOBUF_NONNULL
GeneratePredictionsResponse::mutable_prediction() ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_mutable_list:permissions.GeneratePredictionsResponse.prediction)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _internal_mutable_prediction();
}
inline const ::google::protobuf::RepeatedPtrField<::permissions::PermissionPrediction>&
GeneratePredictionsResponse::_internal_prediction() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.prediction_;
}
inline ::google::protobuf::RepeatedPtrField<::permissions::PermissionPrediction>* PROTOBUF_NONNULL
GeneratePredictionsResponse::_internal_mutable_prediction() {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return &_impl_.prediction_;
}

#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif  // __GNUC__

// @@protoc_insertion_point(namespace_scope)
}  // namespace permissions


namespace google {
namespace protobuf {

template <>
struct is_proto_enum<::permissions::ClientFeatures_Platform> : std::true_type {};
template <>
struct internal::LiteEnumFuncs<::permissions::ClientFeatures_Platform> {
  static constexpr bool kIsDefined = true;
  static constexpr auto kParseFunc = ::permissions::ClientFeatures_Platform_Parse;
  static constexpr auto kNameFunc = ::permissions::ClientFeatures_Platform_Name<int>;
};
template <>
struct is_proto_enum<::permissions::ClientFeatures_Gesture> : std::true_type {};
template <>
struct internal::LiteEnumFuncs<::permissions::ClientFeatures_Gesture> {
  static constexpr bool kIsDefined = true;
  static constexpr auto kParseFunc = ::permissions::ClientFeatures_Gesture_Parse;
  static constexpr auto kNameFunc = ::permissions::ClientFeatures_Gesture_Name<int>;
};
template <>
struct is_proto_enum<::permissions::ClientFeatures_GestureEnum> : std::true_type {};
template <>
struct internal::LiteEnumFuncs<::permissions::ClientFeatures_GestureEnum> {
  static constexpr bool kIsDefined = true;
  static constexpr auto kParseFunc = ::permissions::ClientFeatures_GestureEnum_Parse;
  static constexpr auto kNameFunc = ::permissions::ClientFeatures_GestureEnum_Name<int>;
};
template <>
struct is_proto_enum<::permissions::ClientFeatures_PlatformEnum> : std::true_type {};
template <>
struct internal::LiteEnumFuncs<::permissions::ClientFeatures_PlatformEnum> {
  static constexpr bool kIsDefined = true;
  static constexpr auto kParseFunc = ::permissions::ClientFeatures_PlatformEnum_Parse;
  static constexpr auto kNameFunc = ::permissions::ClientFeatures_PlatformEnum_Name<int>;
};
template <>
struct is_proto_enum<::permissions::PermissionFeatures_Relevance> : std::true_type {};
template <>
struct internal::LiteEnumFuncs<::permissions::PermissionFeatures_Relevance> {
  static constexpr bool kIsDefined = true;
  static constexpr auto kParseFunc = ::permissions::PermissionFeatures_Relevance_Parse;
  static constexpr auto kNameFunc = ::permissions::PermissionFeatures_Relevance_Name<int>;
};
template <>
struct is_proto_enum<::permissions::PermissionPrediction_GeolocationPrediction_Accuracy> : std::true_type {};
template <>
struct internal::LiteEnumFuncs<::permissions::PermissionPrediction_GeolocationPrediction_Accuracy> {
  static constexpr bool kIsDefined = true;
  static constexpr auto kParseFunc = ::permissions::PermissionPrediction_GeolocationPrediction_Accuracy_Parse;
  static constexpr auto kNameFunc = ::permissions::PermissionPrediction_GeolocationPrediction_Accuracy_Name<int>;
};
template <>
struct is_proto_enum<::permissions::PermissionPrediction_Likelihood_DiscretizedLikelihood> : std::true_type {};
template <>
struct internal::LiteEnumFuncs<::permissions::PermissionPrediction_Likelihood_DiscretizedLikelihood> {
  static constexpr bool kIsDefined = true;
  static constexpr auto kParseFunc = ::permissions::PermissionPrediction_Likelihood_DiscretizedLikelihood_Parse;
  static constexpr auto kNameFunc = ::permissions::PermissionPrediction_Likelihood_DiscretizedLikelihood_Name<int>;
};

}  // namespace protobuf
}  // namespace google

// @@protoc_insertion_point(global_scope)

#include "google/protobuf/port_undef.inc"
// clang-format on

#endif  // prediction_5fservice_5fmessages_2eproto_2epb_2eh
