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

#ifndef scheduling_2eproto_2epb_2eh
#define scheduling_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_scheduling_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_scheduling_2eproto {
  static const ::uint32_t offsets[];
};
namespace protodb {
enum SchedulingParams_BatteryRequirements : int;
extern const uint32_t SchedulingParams_BatteryRequirements_internal_data_[];
enum SchedulingParams_NetworkRequirements : int;
extern const uint32_t SchedulingParams_NetworkRequirements_internal_data_[];
enum SchedulingParams_Priority : int;
extern const uint32_t SchedulingParams_Priority_internal_data_[];
class SchedulingParams;
struct SchedulingParamsGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern SchedulingParamsGlobalsTypeInternal SchedulingParams_globals_;
extern const ::google::protobuf::internal::ClassDataLite SchedulingParams_class_data_;
#else
extern const SchedulingParamsGlobalsTypeInternal SchedulingParams_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
}  // namespace protodb
namespace google {
namespace protobuf {
template <>
internal::EnumTraitsT<::protodb::SchedulingParams_BatteryRequirements_internal_data_>
    internal::EnumTraitsImpl::value<::protodb::SchedulingParams_BatteryRequirements>;
template <>
internal::EnumTraitsT<::protodb::SchedulingParams_NetworkRequirements_internal_data_>
    internal::EnumTraitsImpl::value<::protodb::SchedulingParams_NetworkRequirements>;
template <>
internal::EnumTraitsT<::protodb::SchedulingParams_Priority_internal_data_>
    internal::EnumTraitsImpl::value<::protodb::SchedulingParams_Priority>;
}  // namespace protobuf
}  // namespace google

namespace protodb {
enum SchedulingParams_NetworkRequirements : int {
  SchedulingParams_NetworkRequirements_NONE = 0,
  SchedulingParams_NetworkRequirements_OPTIMISTIC = 1,
  SchedulingParams_NetworkRequirements_UNMETERED = 2,
};

extern const uint32_t SchedulingParams_NetworkRequirements_internal_data_[];
inline constexpr SchedulingParams_NetworkRequirements SchedulingParams_NetworkRequirements_NetworkRequirements_MIN =
    static_cast<SchedulingParams_NetworkRequirements>(0);
inline constexpr SchedulingParams_NetworkRequirements SchedulingParams_NetworkRequirements_NetworkRequirements_MAX =
    static_cast<SchedulingParams_NetworkRequirements>(2);
inline bool SchedulingParams_NetworkRequirements_IsValid(int value) {
  return 0 <= value && value <= 2;
}
inline constexpr int SchedulingParams_NetworkRequirements_NetworkRequirements_ARRAYSIZE = 2 + 1;
const ::std::string& SchedulingParams_NetworkRequirements_Name(SchedulingParams_NetworkRequirements value);
template <typename T>
const ::std::string& SchedulingParams_NetworkRequirements_Name(T value) {
  static_assert(::std::is_same<T, SchedulingParams_NetworkRequirements>::value ||
                    ::std::is_integral<T>::value,
                "Incorrect type passed to NetworkRequirements_Name().");
  return SchedulingParams_NetworkRequirements_Name(static_cast<SchedulingParams_NetworkRequirements>(value));
}
bool SchedulingParams_NetworkRequirements_Parse(
    ::absl::string_view name, SchedulingParams_NetworkRequirements* PROTOBUF_NONNULL value);
enum SchedulingParams_BatteryRequirements : int {
  SchedulingParams_BatteryRequirements_BATTERY_INSENSITIVE = 0,
  SchedulingParams_BatteryRequirements_BATTERY_SENSITIVE = 1,
  SchedulingParams_BatteryRequirements_BATTERY_CHARGING = 2,
};

extern const uint32_t SchedulingParams_BatteryRequirements_internal_data_[];
inline constexpr SchedulingParams_BatteryRequirements SchedulingParams_BatteryRequirements_BatteryRequirements_MIN =
    static_cast<SchedulingParams_BatteryRequirements>(0);
inline constexpr SchedulingParams_BatteryRequirements SchedulingParams_BatteryRequirements_BatteryRequirements_MAX =
    static_cast<SchedulingParams_BatteryRequirements>(2);
inline bool SchedulingParams_BatteryRequirements_IsValid(int value) {
  return 0 <= value && value <= 2;
}
inline constexpr int SchedulingParams_BatteryRequirements_BatteryRequirements_ARRAYSIZE = 2 + 1;
const ::std::string& SchedulingParams_BatteryRequirements_Name(SchedulingParams_BatteryRequirements value);
template <typename T>
const ::std::string& SchedulingParams_BatteryRequirements_Name(T value) {
  static_assert(::std::is_same<T, SchedulingParams_BatteryRequirements>::value ||
                    ::std::is_integral<T>::value,
                "Incorrect type passed to BatteryRequirements_Name().");
  return SchedulingParams_BatteryRequirements_Name(static_cast<SchedulingParams_BatteryRequirements>(value));
}
bool SchedulingParams_BatteryRequirements_Parse(
    ::absl::string_view name, SchedulingParams_BatteryRequirements* PROTOBUF_NONNULL value);
enum SchedulingParams_Priority : int {
  SchedulingParams_Priority_LOW = 0,
  SchedulingParams_Priority_NORMAL = 1,
  SchedulingParams_Priority_HIGH = 2,
  SchedulingParams_Priority_UI = 3,
};

extern const uint32_t SchedulingParams_Priority_internal_data_[];
inline constexpr SchedulingParams_Priority SchedulingParams_Priority_Priority_MIN =
    static_cast<SchedulingParams_Priority>(0);
inline constexpr SchedulingParams_Priority SchedulingParams_Priority_Priority_MAX =
    static_cast<SchedulingParams_Priority>(3);
inline bool SchedulingParams_Priority_IsValid(int value) {
  return 0 <= value && value <= 3;
}
inline constexpr int SchedulingParams_Priority_Priority_ARRAYSIZE = 3 + 1;
const ::std::string& SchedulingParams_Priority_Name(SchedulingParams_Priority value);
template <typename T>
const ::std::string& SchedulingParams_Priority_Name(T value) {
  static_assert(::std::is_same<T, SchedulingParams_Priority>::value ||
                    ::std::is_integral<T>::value,
                "Incorrect type passed to Priority_Name().");
  return SchedulingParams_Priority_Name(static_cast<SchedulingParams_Priority>(value));
}
bool SchedulingParams_Priority_Parse(
    ::absl::string_view name, SchedulingParams_Priority* PROTOBUF_NONNULL value);
using ::google::protobuf::internal::generated_enum::AbslParseFlag;
using ::google::protobuf::internal::generated_enum::AbslUnparseFlag;

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


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

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

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

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

  inline SchedulingParams(const SchedulingParams& from) : SchedulingParams(nullptr, from) {}
  inline SchedulingParams(SchedulingParams&& from) noexcept : SchedulingParams(nullptr, ::std::move(from)) {}
  inline SchedulingParams& operator=(const SchedulingParams& from) {
    CopyFrom(from);
    return *this;
  }
  inline SchedulingParams& operator=(SchedulingParams&& 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 SchedulingParams& default_instance() {
    return *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<SchedulingParams>(&SchedulingParams_globals_);
  }
  static constexpr int kIndexInFileMessages = 0;
  friend void swap(SchedulingParams& a, SchedulingParams& b) { a.Swap(&b); }
  PROTOBUF_NOINLINE void Swap(SchedulingParams* 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(SchedulingParams* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

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

  SchedulingParams* PROTOBUF_NONNULL
  New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
    return ::google::protobuf::MessageLite::DefaultConstruct<SchedulingParams>(arena);
  }
  void CopyFrom(const SchedulingParams& from);
  void MergeFrom(const SchedulingParams& from) { SchedulingParams::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(SchedulingParams* PROTOBUF_NONNULL other);
 private:
  template <typename T>
  friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
  static ::absl::string_view FullMessageName() { return "protodb.SchedulingParams"; }

  explicit SchedulingParams(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  SchedulingParams(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SchedulingParams& from);
  SchedulingParams(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SchedulingParams&& from) noexcept
      : SchedulingParams(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 NetworkRequirements = SchedulingParams_NetworkRequirements;
  static constexpr NetworkRequirements NONE = SchedulingParams_NetworkRequirements_NONE;
  static constexpr NetworkRequirements OPTIMISTIC = SchedulingParams_NetworkRequirements_OPTIMISTIC;
  static constexpr NetworkRequirements UNMETERED = SchedulingParams_NetworkRequirements_UNMETERED;
  static inline bool NetworkRequirements_IsValid(int value) {
    return SchedulingParams_NetworkRequirements_IsValid(value);
  }
  static constexpr NetworkRequirements NetworkRequirements_MIN = SchedulingParams_NetworkRequirements_NetworkRequirements_MIN;
  static constexpr NetworkRequirements NetworkRequirements_MAX = SchedulingParams_NetworkRequirements_NetworkRequirements_MAX;
  static constexpr int NetworkRequirements_ARRAYSIZE = SchedulingParams_NetworkRequirements_NetworkRequirements_ARRAYSIZE;
  template <typename T>
  static inline const ::std::string& NetworkRequirements_Name(T value) {
    return SchedulingParams_NetworkRequirements_Name(value);
  }
  static inline bool NetworkRequirements_Parse(
      ::absl::string_view name, NetworkRequirements* PROTOBUF_NONNULL value) {
    return SchedulingParams_NetworkRequirements_Parse(name, value);
  }
  using BatteryRequirements = SchedulingParams_BatteryRequirements;
  static constexpr BatteryRequirements BATTERY_INSENSITIVE = SchedulingParams_BatteryRequirements_BATTERY_INSENSITIVE;
  static constexpr BatteryRequirements BATTERY_SENSITIVE = SchedulingParams_BatteryRequirements_BATTERY_SENSITIVE;
  static constexpr BatteryRequirements BATTERY_CHARGING = SchedulingParams_BatteryRequirements_BATTERY_CHARGING;
  static inline bool BatteryRequirements_IsValid(int value) {
    return SchedulingParams_BatteryRequirements_IsValid(value);
  }
  static constexpr BatteryRequirements BatteryRequirements_MIN = SchedulingParams_BatteryRequirements_BatteryRequirements_MIN;
  static constexpr BatteryRequirements BatteryRequirements_MAX = SchedulingParams_BatteryRequirements_BatteryRequirements_MAX;
  static constexpr int BatteryRequirements_ARRAYSIZE = SchedulingParams_BatteryRequirements_BatteryRequirements_ARRAYSIZE;
  template <typename T>
  static inline const ::std::string& BatteryRequirements_Name(T value) {
    return SchedulingParams_BatteryRequirements_Name(value);
  }
  static inline bool BatteryRequirements_Parse(
      ::absl::string_view name, BatteryRequirements* PROTOBUF_NONNULL value) {
    return SchedulingParams_BatteryRequirements_Parse(name, value);
  }
  using Priority = SchedulingParams_Priority;
  static constexpr Priority LOW = SchedulingParams_Priority_LOW;
  static constexpr Priority NORMAL = SchedulingParams_Priority_NORMAL;
  static constexpr Priority HIGH = SchedulingParams_Priority_HIGH;
  static constexpr Priority UI = SchedulingParams_Priority_UI;
  static inline bool Priority_IsValid(int value) {
    return SchedulingParams_Priority_IsValid(value);
  }
  static constexpr Priority Priority_MIN = SchedulingParams_Priority_Priority_MIN;
  static constexpr Priority Priority_MAX = SchedulingParams_Priority_Priority_MAX;
  static constexpr int Priority_ARRAYSIZE = SchedulingParams_Priority_Priority_ARRAYSIZE;
  template <typename T>
  static inline const ::std::string& Priority_Name(T value) {
    return SchedulingParams_Priority_Name(value);
  }
  static inline bool Priority_Parse(
      ::absl::string_view name, Priority* PROTOBUF_NONNULL value) {
    return SchedulingParams_Priority_Parse(name, value);
  }

  // accessors -------------------------------------------------------
  enum : int {
    kCancelTimeFieldNumber = 2,
    kPriorityFieldNumber = 3,
    kNetworkRequirementsFieldNumber = 4,
    kBatteryRequirementsFieldNumber = 5,
  };
  // optional int64 cancel_time = 2;
  bool has_cancel_time()
      const;
  void clear_cancel_time() ;
  ::int64_t cancel_time() const;
  void set_cancel_time(::int64_t value);

  private:
  ::int64_t _internal_cancel_time() const;
  void _internal_set_cancel_time(::int64_t value);

  public:
  // optional .protodb.SchedulingParams.Priority priority = 3;
  bool has_priority()
      const;
  void clear_priority() ;
  ::protodb::SchedulingParams_Priority priority() const;
  void set_priority(::protodb::SchedulingParams_Priority value);

  private:
  ::protodb::SchedulingParams_Priority _internal_priority() const;
  void _internal_set_priority(::protodb::SchedulingParams_Priority value);

  public:
  // optional .protodb.SchedulingParams.NetworkRequirements network_requirements = 4;
  bool has_network_requirements()
      const;
  void clear_network_requirements() ;
  ::protodb::SchedulingParams_NetworkRequirements network_requirements() const;
  void set_network_requirements(::protodb::SchedulingParams_NetworkRequirements value);

  private:
  ::protodb::SchedulingParams_NetworkRequirements _internal_network_requirements() const;
  void _internal_set_network_requirements(::protodb::SchedulingParams_NetworkRequirements value);

  public:
  // optional .protodb.SchedulingParams.BatteryRequirements battery_requirements = 5;
  bool has_battery_requirements()
      const;
  void clear_battery_requirements() ;
  ::protodb::SchedulingParams_BatteryRequirements battery_requirements() const;
  void set_battery_requirements(::protodb::SchedulingParams_BatteryRequirements value);

  private:
  ::protodb::SchedulingParams_BatteryRequirements _internal_battery_requirements() const;
  void _internal_set_battery_requirements(::protodb::SchedulingParams_BatteryRequirements value);

  public:
  // @@protoc_insertion_point(class_scope:protodb.SchedulingParams)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<2, 4,
                          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 SchedulingParams& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::int64_t cancel_time_;
    int priority_;
    int network_requirements_;
    int battery_requirements_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_scheduling_2eproto;
};

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




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


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

// SchedulingParams

// optional int64 cancel_time = 2;
inline bool SchedulingParams::has_cancel_time() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
  return value;
}
inline void SchedulingParams::clear_cancel_time() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.cancel_time_ = ::int64_t{0};
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline ::int64_t SchedulingParams::cancel_time() const {
  // @@protoc_insertion_point(field_get:protodb.SchedulingParams.cancel_time)
  return _internal_cancel_time();
}
inline void SchedulingParams::set_cancel_time(::int64_t value) {
  _internal_set_cancel_time(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_set:protodb.SchedulingParams.cancel_time)
}
inline ::int64_t SchedulingParams::_internal_cancel_time() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.cancel_time_;
}
inline void SchedulingParams::_internal_set_cancel_time(::int64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.cancel_time_ = value;
}

// optional .protodb.SchedulingParams.Priority priority = 3;
inline bool SchedulingParams::has_priority() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
  return value;
}
inline void SchedulingParams::clear_priority() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.priority_ = 0;
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
inline ::protodb::SchedulingParams_Priority SchedulingParams::priority() const {
  // @@protoc_insertion_point(field_get:protodb.SchedulingParams.priority)
  return _internal_priority();
}
inline void SchedulingParams::set_priority(::protodb::SchedulingParams_Priority value) {
  _internal_set_priority(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  // @@protoc_insertion_point(field_set:protodb.SchedulingParams.priority)
}
inline ::protodb::SchedulingParams_Priority SchedulingParams::_internal_priority() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return static_cast<::protodb::SchedulingParams_Priority>(_impl_.priority_);
}
inline void SchedulingParams::_internal_set_priority(::protodb::SchedulingParams_Priority value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);

                                          assert(::google::protobuf::internal::ValidateEnum(
                                              value, ::protodb::SchedulingParams_Priority_internal_data_));
                                          _impl_.priority_ = value;
}

// optional .protodb.SchedulingParams.NetworkRequirements network_requirements = 4;
inline bool SchedulingParams::has_network_requirements() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
  return value;
}
inline void SchedulingParams::clear_network_requirements() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.network_requirements_ = 0;
  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
}
inline ::protodb::SchedulingParams_NetworkRequirements SchedulingParams::network_requirements() const {
  // @@protoc_insertion_point(field_get:protodb.SchedulingParams.network_requirements)
  return _internal_network_requirements();
}
inline void SchedulingParams::set_network_requirements(::protodb::SchedulingParams_NetworkRequirements value) {
  _internal_set_network_requirements(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  // @@protoc_insertion_point(field_set:protodb.SchedulingParams.network_requirements)
}
inline ::protodb::SchedulingParams_NetworkRequirements SchedulingParams::_internal_network_requirements() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return static_cast<::protodb::SchedulingParams_NetworkRequirements>(_impl_.network_requirements_);
}
inline void SchedulingParams::_internal_set_network_requirements(::protodb::SchedulingParams_NetworkRequirements value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);

                                          assert(::google::protobuf::internal::ValidateEnum(
                                              value, ::protodb::SchedulingParams_NetworkRequirements_internal_data_));
                                          _impl_.network_requirements_ = value;
}

// optional .protodb.SchedulingParams.BatteryRequirements battery_requirements = 5;
inline bool SchedulingParams::has_battery_requirements() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
  return value;
}
inline void SchedulingParams::clear_battery_requirements() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.battery_requirements_ = 0;
  ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
}
inline ::protodb::SchedulingParams_BatteryRequirements SchedulingParams::battery_requirements() const {
  // @@protoc_insertion_point(field_get:protodb.SchedulingParams.battery_requirements)
  return _internal_battery_requirements();
}
inline void SchedulingParams::set_battery_requirements(::protodb::SchedulingParams_BatteryRequirements value) {
  _internal_set_battery_requirements(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000008U);
  // @@protoc_insertion_point(field_set:protodb.SchedulingParams.battery_requirements)
}
inline ::protodb::SchedulingParams_BatteryRequirements SchedulingParams::_internal_battery_requirements() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return static_cast<::protodb::SchedulingParams_BatteryRequirements>(_impl_.battery_requirements_);
}
inline void SchedulingParams::_internal_set_battery_requirements(::protodb::SchedulingParams_BatteryRequirements value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);

                                          assert(::google::protobuf::internal::ValidateEnum(
                                              value, ::protodb::SchedulingParams_BatteryRequirements_internal_data_));
                                          _impl_.battery_requirements_ = value;
}

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

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


namespace google {
namespace protobuf {

template <>
struct is_proto_enum<::protodb::SchedulingParams_NetworkRequirements> : std::true_type {};
template <>
struct internal::LiteEnumFuncs<::protodb::SchedulingParams_NetworkRequirements> {
  static constexpr bool kIsDefined = true;
  static constexpr auto kParseFunc = ::protodb::SchedulingParams_NetworkRequirements_Parse;
  static constexpr auto kNameFunc = ::protodb::SchedulingParams_NetworkRequirements_Name<int>;
};
template <>
struct is_proto_enum<::protodb::SchedulingParams_BatteryRequirements> : std::true_type {};
template <>
struct internal::LiteEnumFuncs<::protodb::SchedulingParams_BatteryRequirements> {
  static constexpr bool kIsDefined = true;
  static constexpr auto kParseFunc = ::protodb::SchedulingParams_BatteryRequirements_Parse;
  static constexpr auto kNameFunc = ::protodb::SchedulingParams_BatteryRequirements_Name<int>;
};
template <>
struct is_proto_enum<::protodb::SchedulingParams_Priority> : std::true_type {};
template <>
struct internal::LiteEnumFuncs<::protodb::SchedulingParams_Priority> {
  static constexpr bool kIsDefined = true;
  static constexpr auto kParseFunc = ::protodb::SchedulingParams_Priority_Parse;
  static constexpr auto kNameFunc = ::protodb::SchedulingParams_Priority_Name<int>;
};

}  // namespace protobuf
}  // namespace google

// @@protoc_insertion_point(global_scope)

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

#endif  // scheduling_2eproto_2epb_2eh
