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

#include "notification_entry.pb.h"

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

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

constexpr ScheduleParams::ParseTableT_ ScheduleParams::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(ScheduleParams, _impl_._has_bits_),
      0, // no _extensions_
      5, 56,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967264,  // skipmap
      offsetof(ParseTableT_, field_entries),
      5,  // num_field_entries
      2,  // num_aux_entries
      offsetof(ParseTableT_, aux_entries),
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::notifications::proto::ScheduleParams>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // optional .notifications.proto.ScheduleParams.Priority priority = 1;
      {::_pbi::TcParser::FastEr0S1,
       {8, 4, 1,
        PROTOBUF_FIELD_OFFSET(ScheduleParams, _impl_.priority_)}},
      // repeated .notifications.proto.Impression.ImpressionMapping impression_mapping = 2;
      {::_pbi::TcParser::FastMtR1,
       {18, 0, 0,
        PROTOBUF_FIELD_OFFSET(ScheduleParams, _impl_.impression_mapping_)}},
      // optional int64 deliver_time_start = 3;
      {::_pbi::TcParser::FastV64S1,
       {24, 1, 0,
        PROTOBUF_FIELD_OFFSET(ScheduleParams, _impl_.deliver_time_start_)}},
      // optional int64 deliver_time_end = 4;
      {::_pbi::TcParser::FastV64S1,
       {32, 2, 0,
        PROTOBUF_FIELD_OFFSET(ScheduleParams, _impl_.deliver_time_end_)}},
      // optional int64 ignore_timeout_duration = 5;
      {::_pbi::TcParser::FastV64S1,
       {40, 3, 0,
        PROTOBUF_FIELD_OFFSET(ScheduleParams, _impl_.ignore_timeout_duration_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // optional .notifications.proto.ScheduleParams.Priority priority = 1;
      {PROTOBUF_FIELD_OFFSET(ScheduleParams, _impl_.priority_), _Internal::kHasBitsOffset + 4, 1, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
      // repeated .notifications.proto.Impression.ImpressionMapping impression_mapping = 2;
      {PROTOBUF_FIELD_OFFSET(ScheduleParams, _impl_.impression_mapping_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
      // optional int64 deliver_time_start = 3;
      {PROTOBUF_FIELD_OFFSET(ScheduleParams, _impl_.deliver_time_start_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
      // optional int64 deliver_time_end = 4;
      {PROTOBUF_FIELD_OFFSET(ScheduleParams, _impl_.deliver_time_end_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
      // optional int64 ignore_timeout_duration = 5;
      {PROTOBUF_FIELD_OFFSET(ScheduleParams, _impl_.ignore_timeout_duration_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::notifications::proto::Impression_ImpressionMapping>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::notifications::proto::Impression_ImpressionMapping_globals_},
        #endif
        {0, 1},
    }},
    {{
    }},
  };
}


inline constexpr ScheduleParams::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        impression_mapping_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::notifications::proto::ScheduleParams,
            PROTOBUF_FIELD_OFFSET(::notifications::proto::ScheduleParams, _impl_.impression_mapping_)>()
         }
        ,
        deliver_time_start_{::int64_t{0}},
        deliver_time_end_{::int64_t{0}},
        ignore_timeout_duration_{::int64_t{0}},
        priority_{static_cast< ::notifications::proto::ScheduleParams_Priority >(0)} {}

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

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

constexpr NotificationEntry::ParseTableT_ NotificationEntry::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(NotificationEntry, _impl_._has_bits_),
      0, // no _extensions_
      5, 56,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967264,  // skipmap
      offsetof(ParseTableT_, field_entries),
      5,  // num_field_entries
      3,  // num_aux_entries
      offsetof(ParseTableT_, aux_entries),
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::notifications::proto::NotificationEntry>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // optional .notifications.proto.SchedulerClientType type = 1;
      {::_pbi::TcParser::FastEvS1,
       {8, 4, 2,
        PROTOBUF_FIELD_OFFSET(NotificationEntry, _impl_.type_)}},
      // optional string guid = 2;
      {::_pbi::TcParser::FastBS1,
       {18, 0, 0,
        PROTOBUF_FIELD_OFFSET(NotificationEntry, _impl_.guid_)}},
      // optional int64 create_time = 3;
      {::_pbi::TcParser::FastV64S1,
       {24, 3, 0,
        PROTOBUF_FIELD_OFFSET(NotificationEntry, _impl_.create_time_)}},
      // optional .notifications.proto.NotificationData notification_data = 4;
      {::_pbi::TcParser::FastMtS1,
       {34, 1, 0,
        PROTOBUF_FIELD_OFFSET(NotificationEntry, _impl_.notification_data_)}},
      // optional .notifications.proto.ScheduleParams schedule_params = 5;
      {::_pbi::TcParser::FastMtS1,
       {42, 2, 1,
        PROTOBUF_FIELD_OFFSET(NotificationEntry, _impl_.schedule_params_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // optional .notifications.proto.SchedulerClientType type = 1;
      {PROTOBUF_FIELD_OFFSET(NotificationEntry, _impl_.type_), _Internal::kHasBitsOffset + 4, 2, (0 | ::_fl::kFcOptional | ::_fl::kEnum)},
      // optional string guid = 2;
      {PROTOBUF_FIELD_OFFSET(NotificationEntry, _impl_.guid_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional int64 create_time = 3;
      {PROTOBUF_FIELD_OFFSET(NotificationEntry, _impl_.create_time_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
      // optional .notifications.proto.NotificationData notification_data = 4;
      {PROTOBUF_FIELD_OFFSET(NotificationEntry, _impl_.notification_data_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // optional .notifications.proto.ScheduleParams schedule_params = 5;
      {PROTOBUF_FIELD_OFFSET(NotificationEntry, _impl_.schedule_params_), _Internal::kHasBitsOffset + 2, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::notifications::proto::NotificationData>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::notifications::proto::NotificationData_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::notifications::proto::ScheduleParams>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::notifications::proto::ScheduleParams_globals_},
        #endif
        {::_pbi::FieldAuxEnumData{}, ::notifications::proto::SchedulerClientType_internal_data_},
    }},
    {{
    }},
  };
}


inline constexpr NotificationEntry::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        guid_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        notification_data_{nullptr},
        schedule_params_{nullptr},
        create_time_{::int64_t{0}},
        type_{static_cast< ::notifications::proto::SchedulerClientType >(-1)} {}

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

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST NotificationEntryGlobalsTypeInternal NotificationEntry_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* NotificationEntry_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return NotificationEntry_globals_.GetClassData();
#else
  return NotificationEntry_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
}  // namespace proto
}  // namespace notifications
namespace notifications {
namespace proto {
PROTOBUF_CONSTINIT const uint32_t ScheduleParams_Priority_internal_data_[] = {
    131072u, 0u, };
static const char ScheduleParams_Priority_names[] = {
    "LOW"
    "NO_THROTTLE"
};

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

static const int ScheduleParams_Priority_entries_by_number[] = {
    0,  // 0 -> LOW
    1,  // 1 -> NO_THROTTLE
};

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

const ::std::string& ScheduleParams_Priority_Name(ScheduleParams_Priority value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      ScheduleParams_Priority_entries, ScheduleParams_Priority_entries_by_number, 2,
      ScheduleParams_Priority_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(ScheduleParams_Priority_entries,
                                  ScheduleParams_Priority_entries_by_number,
                                  2, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : ScheduleParams_Priority_strings[idx].get();
}
// ===================================================================

void ScheduleParams::clear_impression_mapping() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.impression_mapping_.Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
ScheduleParams::ScheduleParams(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, ScheduleParams_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:notifications.proto.ScheduleParams)
}
PROTOBUF_NDEBUG_INLINE ScheduleParams::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::notifications::proto::ScheduleParams& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        impression_mapping_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::notifications::proto::ScheduleParams,
              PROTOBUF_FIELD_OFFSET(::notifications::proto::ScheduleParams, _impl_.impression_mapping_)>()
          , from.impression_mapping_
        }
     {}

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

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

  // @@protoc_insertion_point(copy_constructor:notifications.proto.ScheduleParams)
}
PROTOBUF_NDEBUG_INLINE ScheduleParams::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        impression_mapping_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::notifications::proto::ScheduleParams,
            PROTOBUF_FIELD_OFFSET(::notifications::proto::ScheduleParams, _impl_.impression_mapping_)>()
         }
     {}

inline void ScheduleParams::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
  ::memset(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, deliver_time_start_),
           0,
           offsetof(Impl_, priority_) -
               offsetof(Impl_, deliver_time_start_) +
               sizeof(Impl_::priority_));
}
ScheduleParams::~ScheduleParams() {
  // @@protoc_insertion_point(destructor:notifications.proto.ScheduleParams)
  SharedDtor(*this);
}
inline void ScheduleParams::SharedDtor(MessageLite& self) {
  ScheduleParams& this_ = static_cast<ScheduleParams&>(self);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  this_._internal_metadata_.Delete<::std::string>();
  ABSL_DCHECK(this_.GetArena() == nullptr);
  this_._impl_.~Impl_();
}

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite ScheduleParams_class_data_ =
    ScheduleParams::InternalGenerateClassData_(ScheduleParams_globals_._default);

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

  cached_has_bits = _impl_._has_bits_[0];
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    _impl_.impression_mapping_.Clear();
  }
  if (BatchCheckHasBit(cached_has_bits, 0x0000001eU)) {
    ::memset(&_impl_.deliver_time_start_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.priority_) -
        reinterpret_cast<char*>(&_impl_.deliver_time_start_)) + sizeof(_impl_.priority_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // optional .notifications.proto.ScheduleParams.Priority priority = 1;
  if (CheckHasBit(cached_has_bits, 0x00000010U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        1, this_._internal_priority(), target);
  }

  // repeated .notifications.proto.Impression.ImpressionMapping impression_mapping = 2;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    for (unsigned i = 0, n = static_cast<unsigned>(
                             this_._internal_impression_mapping_size());
         i < n; i++) {
      const auto& repfield = this_._internal_impression_mapping().Get(i);
      target =
          ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
              2, repfield, repfield.GetCachedSize(),
              target, stream);
    }
  }

  // optional int64 deliver_time_start = 3;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<3>(
            stream, this_._internal_deliver_time_start(), target);
  }

  // optional int64 deliver_time_end = 4;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<4>(
            stream, this_._internal_deliver_time_end(), target);
  }

  // optional int64 ignore_timeout_duration = 5;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<5>(
            stream, this_._internal_ignore_timeout_duration(), target);
  }

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

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

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

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
  cached_has_bits = this_._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
    // repeated .notifications.proto.Impression.ImpressionMapping impression_mapping = 2;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1UL * this_._internal_impression_mapping_size();
      for (const auto& msg : this_._internal_impression_mapping()) {
        total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
      }
    }
    // optional int64 deliver_time_start = 3;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_deliver_time_start());
    }
    // optional int64 deliver_time_end = 4;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_deliver_time_end());
    }
    // optional int64 ignore_timeout_duration = 5;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_ignore_timeout_duration());
    }
    // optional .notifications.proto.ScheduleParams.Priority priority = 1;
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_priority());
    }
  }
  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
  }
  this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
  return total_size;
}

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

  cached_has_bits = from._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_mutable_impression_mapping()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_impression_mapping());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_impl_.deliver_time_start_ = from._impl_.deliver_time_start_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_impl_.deliver_time_end_ = from._impl_.deliver_time_end_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_impl_.ignore_timeout_duration_ = from._impl_.ignore_timeout_duration_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _this->_impl_.priority_ = from._impl_.priority_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void ScheduleParams::InternalSwap(ScheduleParams* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
  using ::std::swap;
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  _impl_.impression_mapping_.InternalSwap(&other->_impl_.impression_mapping_);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(ScheduleParams, _impl_.priority_)
      + sizeof(ScheduleParams::_impl_.priority_)
      - PROTOBUF_FIELD_OFFSET(ScheduleParams, _impl_.deliver_time_start_)>(
          reinterpret_cast<char*>(&_impl_.deliver_time_start_),
          reinterpret_cast<char*>(&other->_impl_.deliver_time_start_));
}

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

void NotificationEntry::clear_notification_data() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.notification_data_ != nullptr) _impl_.notification_data_->Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
NotificationEntry::NotificationEntry(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, NotificationEntry_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:notifications.proto.NotificationEntry)
}
PROTOBUF_NDEBUG_INLINE NotificationEntry::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::notifications::proto::NotificationEntry& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        guid_(arena, from.guid_) {}

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

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

  // @@protoc_insertion_point(copy_constructor:notifications.proto.NotificationEntry)
}
PROTOBUF_NDEBUG_INLINE NotificationEntry::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        guid_(arena),
        type_{static_cast< ::notifications::proto::SchedulerClientType >(-1)} {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite NotificationEntry_class_data_ =
    NotificationEntry::InternalGenerateClassData_(NotificationEntry_globals_._default);

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

  cached_has_bits = _impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.guid_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      ABSL_DCHECK(_impl_.notification_data_ != nullptr);
      _impl_.notification_data_->Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      ABSL_DCHECK(_impl_.schedule_params_ != nullptr);
      _impl_.schedule_params_->Clear();
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000018U)) {
    _impl_.create_time_ = ::int64_t{0};
    _impl_.type_ = -1;
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // optional .notifications.proto.SchedulerClientType type = 1;
  if (CheckHasBit(cached_has_bits, 0x00000010U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        1, this_._internal_type(), target);
  }

  // optional string guid = 2;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    const ::std::string& _s = this_._internal_guid();
    target = stream->WriteStringMaybeAliased(2, _s, target);
  }

  // optional int64 create_time = 3;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<3>(
            stream, this_._internal_create_time(), target);
  }

  // optional .notifications.proto.NotificationData notification_data = 4;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        4, *this_._impl_.notification_data_, this_._impl_.notification_data_->GetCachedSize(), target,
        stream);
  }

  // optional .notifications.proto.ScheduleParams schedule_params = 5;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        5, *this_._impl_.schedule_params_, this_._impl_.schedule_params_->GetCachedSize(), target,
        stream);
  }

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

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

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

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
  cached_has_bits = this_._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
    // optional string guid = 2;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_guid());
    }
    // optional .notifications.proto.NotificationData notification_data = 4;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.notification_data_);
    }
    // optional .notifications.proto.ScheduleParams schedule_params = 5;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.schedule_params_);
    }
    // optional int64 create_time = 3;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_create_time());
    }
    // optional .notifications.proto.SchedulerClientType type = 1;
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_type());
    }
  }
  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
  }
  this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
  return total_size;
}

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

  cached_has_bits = from._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_set_guid(from._internal_guid());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      ABSL_DCHECK(from._impl_.notification_data_ != nullptr);
      if (_this->_impl_.notification_data_ == nullptr) {
        _this->_impl_.notification_data_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.notification_data_);
      } else {
        _this->_impl_.notification_data_->MergeFrom(*from._impl_.notification_data_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      ABSL_DCHECK(from._impl_.schedule_params_ != nullptr);
      if (_this->_impl_.schedule_params_ == nullptr) {
        _this->_impl_.schedule_params_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.schedule_params_);
      } else {
        _this->_impl_.schedule_params_->MergeFrom(*from._impl_.schedule_params_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_impl_.create_time_ = from._impl_.create_time_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _this->_impl_.type_ = from._impl_.type_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


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

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