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

#include "components/sync/protocol/history_delete_directive_specifics.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 sync_pb {
class UrlDirective::_Internal {
 public:
  using HasBits = decltype(::std::declval<UrlDirective>()._impl_._has_bits_);
  static constexpr ::int32_t kHasBitsOffset =
      8 * PROTOBUF_FIELD_OFFSET(UrlDirective, _impl_._has_bits_);
};

constexpr UrlDirective::ParseTableT_ UrlDirective::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(UrlDirective, _impl_._has_bits_),
      0, // no _extensions_
      3, 24,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967288,  // skipmap
      offsetof(ParseTableT_, field_entries),
      3,  // num_field_entries
      0,  // num_aux_entries
      offsetof(ParseTableT_, field_names),  // no aux_entries
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::sync_pb::UrlDirective>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // optional string url = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(UrlDirective, _impl_.url_)}},
      // optional int64 end_time_usec = 2;
      {::_pbi::TcParser::FastV64S1,
       {16, 2, 0,
        PROTOBUF_FIELD_OFFSET(UrlDirective, _impl_.end_time_usec_)}},
      // optional string app_id = 3;
      {::_pbi::TcParser::FastBS1,
       {26, 1, 0,
        PROTOBUF_FIELD_OFFSET(UrlDirective, _impl_.app_id_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional string url = 1;
      {PROTOBUF_FIELD_OFFSET(UrlDirective, _impl_.url_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional int64 end_time_usec = 2;
      {PROTOBUF_FIELD_OFFSET(UrlDirective, _impl_.end_time_usec_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
      // optional string app_id = 3;
      {PROTOBUF_FIELD_OFFSET(UrlDirective, _impl_.app_id_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
    }},
    // no aux_entries
    {{
    }},
  };
}


inline constexpr UrlDirective::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        url_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        app_id_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        end_time_usec_{::int64_t{0}} {}

template <typename>
constexpr UrlDirective::UrlDirective(::_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 UrlDirective::PlacementNew_(
    const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
  return ::new (mem) UrlDirective(arena);
}
constexpr auto UrlDirective::InternalNewImpl_() {
  return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(UrlDirective), alignof(UrlDirective));
}
constexpr auto UrlDirective::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
          &UrlDirective::MergeImpl,
          ::google::protobuf::MessageLite::GetNewImpl<UrlDirective>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
          &UrlDirective::SharedDtor,
          ::google::protobuf::MessageLite::GetClearImpl<UrlDirective>(), &UrlDirective::ByteSizeLong,
              &UrlDirective::_InternalSerialize,
#endif  // PROTOBUF_CUSTOM_VTABLE
          PROTOBUF_FIELD_OFFSET(UrlDirective, _impl_._cached_size_),
          true,
      },
      "sync_pb.UrlDirective",
  };
}
struct UrlDirectiveGlobalsTypeInternal : ::_pbi::MessageGlobalsBase {
  constexpr UrlDirectiveGlobalsTypeInternal()
      :
#ifndef PROTOBUF_MESSAGE_GLOBALS
        _default(::_pbi::ConstantInitialized{},
                 UrlDirective_class_data_.base())
#else   // !PROTOBUF_MESSAGE_GLOBALS
        MessageGlobalsBase(UrlDirective::InternalGenerateClassData_(
            _default, &UrlDirective_globals_._table.header)),
        _default(::_pbi::ConstantInitialized{}, GetClassData()),
        _table(::_pbi::PrivateAccess::GenerateParseTable<UrlDirective>(
            GetClassData()))
#endif  // PROTOBUF_MESSAGE_GLOBALS
  {
  }
  ~UrlDirectiveGlobalsTypeInternal() {}
  union {
    alignas(::_pbi::kMaxMessageAlignment) UrlDirective _default;
  };
#ifdef PROTOBUF_MESSAGE_GLOBALS
  decltype(::_pbi::PrivateAccess::GenerateParseTable<UrlDirective>(
      ::std::declval<const ::_pbi::ClassData*>())) _table;
#endif
};
#ifdef PROTOBUF_MESSAGE_GLOBALS
static_assert(PROTOBUF_FIELD_OFFSET(UrlDirectiveGlobalsTypeInternal, _default) ==
              ::_pbi::MessageGlobalsBase::OffsetToDefault());
#endif  // PROTOBUF_MESSAGE_GLOBALS

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

constexpr TimeRangeDirective::ParseTableT_ TimeRangeDirective::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(TimeRangeDirective, _impl_._has_bits_),
      0, // no _extensions_
      3, 24,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967288,  // skipmap
      offsetof(ParseTableT_, field_entries),
      3,  // num_field_entries
      0,  // num_aux_entries
      offsetof(ParseTableT_, field_names),  // no aux_entries
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::sync_pb::TimeRangeDirective>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // optional int64 start_time_usec = 1;
      {::_pbi::TcParser::FastV64S1,
       {8, 1, 0,
        PROTOBUF_FIELD_OFFSET(TimeRangeDirective, _impl_.start_time_usec_)}},
      // optional int64 end_time_usec = 2;
      {::_pbi::TcParser::FastV64S1,
       {16, 2, 0,
        PROTOBUF_FIELD_OFFSET(TimeRangeDirective, _impl_.end_time_usec_)}},
      // optional string app_id = 3;
      {::_pbi::TcParser::FastBS1,
       {26, 0, 0,
        PROTOBUF_FIELD_OFFSET(TimeRangeDirective, _impl_.app_id_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional int64 start_time_usec = 1;
      {PROTOBUF_FIELD_OFFSET(TimeRangeDirective, _impl_.start_time_usec_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
      // optional int64 end_time_usec = 2;
      {PROTOBUF_FIELD_OFFSET(TimeRangeDirective, _impl_.end_time_usec_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
      // optional string app_id = 3;
      {PROTOBUF_FIELD_OFFSET(TimeRangeDirective, _impl_.app_id_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
    }},
    // no aux_entries
    {{
    }},
  };
}


inline constexpr TimeRangeDirective::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        app_id_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        start_time_usec_{::int64_t{0}},
        end_time_usec_{::int64_t{0}} {}

template <typename>
constexpr TimeRangeDirective::TimeRangeDirective(::_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 TimeRangeDirective::PlacementNew_(
    const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
  return ::new (mem) TimeRangeDirective(arena);
}
constexpr auto TimeRangeDirective::InternalNewImpl_() {
  return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(TimeRangeDirective), alignof(TimeRangeDirective));
}
constexpr auto TimeRangeDirective::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
          &TimeRangeDirective::MergeImpl,
          ::google::protobuf::MessageLite::GetNewImpl<TimeRangeDirective>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
          &TimeRangeDirective::SharedDtor,
          ::google::protobuf::MessageLite::GetClearImpl<TimeRangeDirective>(), &TimeRangeDirective::ByteSizeLong,
              &TimeRangeDirective::_InternalSerialize,
#endif  // PROTOBUF_CUSTOM_VTABLE
          PROTOBUF_FIELD_OFFSET(TimeRangeDirective, _impl_._cached_size_),
          true,
      },
      "sync_pb.TimeRangeDirective",
  };
}
struct TimeRangeDirectiveGlobalsTypeInternal : ::_pbi::MessageGlobalsBase {
  constexpr TimeRangeDirectiveGlobalsTypeInternal()
      :
#ifndef PROTOBUF_MESSAGE_GLOBALS
        _default(::_pbi::ConstantInitialized{},
                 TimeRangeDirective_class_data_.base())
#else   // !PROTOBUF_MESSAGE_GLOBALS
        MessageGlobalsBase(TimeRangeDirective::InternalGenerateClassData_(
            _default, &TimeRangeDirective_globals_._table.header)),
        _default(::_pbi::ConstantInitialized{}, GetClassData()),
        _table(::_pbi::PrivateAccess::GenerateParseTable<TimeRangeDirective>(
            GetClassData()))
#endif  // PROTOBUF_MESSAGE_GLOBALS
  {
  }
  ~TimeRangeDirectiveGlobalsTypeInternal() {}
  union {
    alignas(::_pbi::kMaxMessageAlignment) TimeRangeDirective _default;
  };
#ifdef PROTOBUF_MESSAGE_GLOBALS
  decltype(::_pbi::PrivateAccess::GenerateParseTable<TimeRangeDirective>(
      ::std::declval<const ::_pbi::ClassData*>())) _table;
#endif
};
#ifdef PROTOBUF_MESSAGE_GLOBALS
static_assert(PROTOBUF_FIELD_OFFSET(TimeRangeDirectiveGlobalsTypeInternal, _default) ==
              ::_pbi::MessageGlobalsBase::OffsetToDefault());
#endif  // PROTOBUF_MESSAGE_GLOBALS

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

constexpr GlobalIdDirective::ParseTableT_ GlobalIdDirective::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(GlobalIdDirective, _impl_._has_bits_),
      0, // no _extensions_
      3, 24,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967288,  // skipmap
      offsetof(ParseTableT_, field_entries),
      3,  // num_field_entries
      0,  // num_aux_entries
      offsetof(ParseTableT_, field_names),  // no aux_entries
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::sync_pb::GlobalIdDirective>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // repeated int64 global_id = 1;
      {::_pbi::TcParser::FastV64R1,
       {8, 0, 0,
        PROTOBUF_FIELD_OFFSET(GlobalIdDirective, _impl_.global_id_)}},
      // optional int64 start_time_usec = 2;
      {::_pbi::TcParser::FastV64S1,
       {16, 1, 0,
        PROTOBUF_FIELD_OFFSET(GlobalIdDirective, _impl_.start_time_usec_)}},
      // optional int64 end_time_usec = 3;
      {::_pbi::TcParser::FastV64S1,
       {24, 2, 0,
        PROTOBUF_FIELD_OFFSET(GlobalIdDirective, _impl_.end_time_usec_)}},
    }}, {{
      65535, 65535
    }}, {{
      // repeated int64 global_id = 1;
      {PROTOBUF_FIELD_OFFSET(GlobalIdDirective, _impl_.global_id_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kInt64)},
      // optional int64 start_time_usec = 2;
      {PROTOBUF_FIELD_OFFSET(GlobalIdDirective, _impl_.start_time_usec_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
      // optional int64 end_time_usec = 3;
      {PROTOBUF_FIELD_OFFSET(GlobalIdDirective, _impl_.end_time_usec_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
    }},
    // no aux_entries
    {{
    }},
  };
}


inline constexpr GlobalIdDirective::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        global_id_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::sync_pb::GlobalIdDirective,
            PROTOBUF_FIELD_OFFSET(::sync_pb::GlobalIdDirective, _impl_.global_id_)>()
         }
        ,
        start_time_usec_{::int64_t{0}},
        end_time_usec_{::int64_t{0}} {}

template <typename>
constexpr GlobalIdDirective::GlobalIdDirective(::_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 GlobalIdDirective::PlacementNew_(
    const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
  return ::new (mem) GlobalIdDirective(arena);
}
constexpr auto GlobalIdDirective::InternalNewImpl_() {
  return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(GlobalIdDirective), alignof(GlobalIdDirective));
}
constexpr auto GlobalIdDirective::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
          &GlobalIdDirective::MergeImpl,
          ::google::protobuf::MessageLite::GetNewImpl<GlobalIdDirective>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
          &GlobalIdDirective::SharedDtor,
          ::google::protobuf::MessageLite::GetClearImpl<GlobalIdDirective>(), &GlobalIdDirective::ByteSizeLong,
              &GlobalIdDirective::_InternalSerialize,
#endif  // PROTOBUF_CUSTOM_VTABLE
          PROTOBUF_FIELD_OFFSET(GlobalIdDirective, _impl_._cached_size_),
          true,
      },
      "sync_pb.GlobalIdDirective",
  };
}
struct GlobalIdDirectiveGlobalsTypeInternal : ::_pbi::MessageGlobalsBase {
  constexpr GlobalIdDirectiveGlobalsTypeInternal()
      :
#ifndef PROTOBUF_MESSAGE_GLOBALS
        _default(::_pbi::ConstantInitialized{},
                 GlobalIdDirective_class_data_.base())
#else   // !PROTOBUF_MESSAGE_GLOBALS
        MessageGlobalsBase(GlobalIdDirective::InternalGenerateClassData_(
            _default, &GlobalIdDirective_globals_._table.header)),
        _default(::_pbi::ConstantInitialized{}, GetClassData()),
        _table(::_pbi::PrivateAccess::GenerateParseTable<GlobalIdDirective>(
            GetClassData()))
#endif  // PROTOBUF_MESSAGE_GLOBALS
  {
  }
  ~GlobalIdDirectiveGlobalsTypeInternal() {}
  union {
    alignas(::_pbi::kMaxMessageAlignment) GlobalIdDirective _default;
  };
#ifdef PROTOBUF_MESSAGE_GLOBALS
  decltype(::_pbi::PrivateAccess::GenerateParseTable<GlobalIdDirective>(
      ::std::declval<const ::_pbi::ClassData*>())) _table;
#endif
};
#ifdef PROTOBUF_MESSAGE_GLOBALS
static_assert(PROTOBUF_FIELD_OFFSET(GlobalIdDirectiveGlobalsTypeInternal, _default) ==
              ::_pbi::MessageGlobalsBase::OffsetToDefault());
#endif  // PROTOBUF_MESSAGE_GLOBALS

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST GlobalIdDirectiveGlobalsTypeInternal GlobalIdDirective_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* GlobalIdDirective_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return GlobalIdDirective_globals_.GetClassData();
#else
  return GlobalIdDirective_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
class HistoryDeleteDirectiveSpecifics::_Internal {
 public:
  static constexpr ::int32_t kOneofCaseOffset =
      PROTOBUF_FIELD_OFFSET(::sync_pb::HistoryDeleteDirectiveSpecifics, _impl_._oneof_case_);
};

constexpr HistoryDeleteDirectiveSpecifics::ParseTableT_ HistoryDeleteDirectiveSpecifics::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(HistoryDeleteDirectiveSpecifics,
                            _impl_._cached_size_),  // no hasbits
      0, // no _extensions_
      3, 0,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967288,  // skipmap
      offsetof(ParseTableT_, field_entries),
      3,  // 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<::sync_pb::HistoryDeleteDirectiveSpecifics>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // .sync_pb.GlobalIdDirective global_id_directive = 1;
      {PROTOBUF_FIELD_OFFSET(HistoryDeleteDirectiveSpecifics, _impl_.directive_type_.global_id_directive_), _Internal::kOneofCaseOffset + 0, 0, (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
      // .sync_pb.TimeRangeDirective time_range_directive = 2;
      {PROTOBUF_FIELD_OFFSET(HistoryDeleteDirectiveSpecifics, _impl_.directive_type_.time_range_directive_), _Internal::kOneofCaseOffset + 0, 1, (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
      // .sync_pb.UrlDirective url_directive = 3;
      {PROTOBUF_FIELD_OFFSET(HistoryDeleteDirectiveSpecifics, _impl_.directive_type_.url_directive_), _Internal::kOneofCaseOffset + 0, 2, (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::GlobalIdDirective>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::GlobalIdDirective_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::TimeRangeDirective>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::TimeRangeDirective_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::UrlDirective>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::UrlDirective_globals_},
        #endif
    }},
    {{
    }},
  };
}


inline constexpr HistoryDeleteDirectiveSpecifics::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : directive_type_{},
        _cached_size_{0},
        _oneof_case_{} {}

template <typename>
constexpr HistoryDeleteDirectiveSpecifics::HistoryDeleteDirectiveSpecifics(::_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 HistoryDeleteDirectiveSpecifics::PlacementNew_(
    const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
  return ::new (mem) HistoryDeleteDirectiveSpecifics(arena);
}
constexpr auto HistoryDeleteDirectiveSpecifics::InternalNewImpl_() {
  return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(HistoryDeleteDirectiveSpecifics), alignof(HistoryDeleteDirectiveSpecifics));
}
constexpr auto HistoryDeleteDirectiveSpecifics::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
          &HistoryDeleteDirectiveSpecifics::MergeImpl,
          ::google::protobuf::MessageLite::GetNewImpl<HistoryDeleteDirectiveSpecifics>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
          &HistoryDeleteDirectiveSpecifics::SharedDtor,
          ::google::protobuf::MessageLite::GetClearImpl<HistoryDeleteDirectiveSpecifics>(), &HistoryDeleteDirectiveSpecifics::ByteSizeLong,
              &HistoryDeleteDirectiveSpecifics::_InternalSerialize,
#endif  // PROTOBUF_CUSTOM_VTABLE
          PROTOBUF_FIELD_OFFSET(HistoryDeleteDirectiveSpecifics, _impl_._cached_size_),
          true,
      },
      "sync_pb.HistoryDeleteDirectiveSpecifics",
  };
}
struct HistoryDeleteDirectiveSpecificsGlobalsTypeInternal : ::_pbi::MessageGlobalsBase {
  constexpr HistoryDeleteDirectiveSpecificsGlobalsTypeInternal()
      :
#ifndef PROTOBUF_MESSAGE_GLOBALS
        _default(::_pbi::ConstantInitialized{},
                 HistoryDeleteDirectiveSpecifics_class_data_.base())
#else   // !PROTOBUF_MESSAGE_GLOBALS
        MessageGlobalsBase(HistoryDeleteDirectiveSpecifics::InternalGenerateClassData_(
            _default, &HistoryDeleteDirectiveSpecifics_globals_._table.header)),
        _default(::_pbi::ConstantInitialized{}, GetClassData()),
        _table(::_pbi::PrivateAccess::GenerateParseTable<HistoryDeleteDirectiveSpecifics>(
            GetClassData()))
#endif  // PROTOBUF_MESSAGE_GLOBALS
  {
  }
  ~HistoryDeleteDirectiveSpecificsGlobalsTypeInternal() {}
  union {
    alignas(::_pbi::kMaxMessageAlignment) HistoryDeleteDirectiveSpecifics _default;
  };
#ifdef PROTOBUF_MESSAGE_GLOBALS
  decltype(::_pbi::PrivateAccess::GenerateParseTable<HistoryDeleteDirectiveSpecifics>(
      ::std::declval<const ::_pbi::ClassData*>())) _table;
#endif
};
#ifdef PROTOBUF_MESSAGE_GLOBALS
static_assert(PROTOBUF_FIELD_OFFSET(HistoryDeleteDirectiveSpecificsGlobalsTypeInternal, _default) ==
              ::_pbi::MessageGlobalsBase::OffsetToDefault());
#endif  // PROTOBUF_MESSAGE_GLOBALS

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST HistoryDeleteDirectiveSpecificsGlobalsTypeInternal HistoryDeleteDirectiveSpecifics_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* HistoryDeleteDirectiveSpecifics_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return HistoryDeleteDirectiveSpecifics_globals_.GetClassData();
#else
  return HistoryDeleteDirectiveSpecifics_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
}  // namespace sync_pb
namespace sync_pb {
// ===================================================================

void HistoryDeleteDirectiveSpecifics::set_allocated_global_id_directive(::sync_pb::GlobalIdDirective* PROTOBUF_NULLABLE global_id_directive) {
  ::google::protobuf::Arena* message_arena = GetArena();
  clear_directive_type();
  if (global_id_directive) {
    ::google::protobuf::Arena* submessage_arena = global_id_directive->GetArena();
    if (message_arena != submessage_arena) {
      global_id_directive = ::google::protobuf::internal::GetOwnedMessage(message_arena, global_id_directive, submessage_arena);
    }
    set_has_global_id_directive();
    _impl_.directive_type_.global_id_directive_ = global_id_directive;
  }
  // @@protoc_insertion_point(field_set_allocated:sync_pb.HistoryDeleteDirectiveSpecifics.global_id_directive)
}
void HistoryDeleteDirectiveSpecifics::set_allocated_time_range_directive(::sync_pb::TimeRangeDirective* PROTOBUF_NULLABLE time_range_directive) {
  ::google::protobuf::Arena* message_arena = GetArena();
  clear_directive_type();
  if (time_range_directive) {
    ::google::protobuf::Arena* submessage_arena = time_range_directive->GetArena();
    if (message_arena != submessage_arena) {
      time_range_directive = ::google::protobuf::internal::GetOwnedMessage(message_arena, time_range_directive, submessage_arena);
    }
    set_has_time_range_directive();
    _impl_.directive_type_.time_range_directive_ = time_range_directive;
  }
  // @@protoc_insertion_point(field_set_allocated:sync_pb.HistoryDeleteDirectiveSpecifics.time_range_directive)
}
void HistoryDeleteDirectiveSpecifics::set_allocated_url_directive(::sync_pb::UrlDirective* PROTOBUF_NULLABLE url_directive) {
  ::google::protobuf::Arena* message_arena = GetArena();
  clear_directive_type();
  if (url_directive) {
    ::google::protobuf::Arena* submessage_arena = url_directive->GetArena();
    if (message_arena != submessage_arena) {
      url_directive = ::google::protobuf::internal::GetOwnedMessage(message_arena, url_directive, submessage_arena);
    }
    set_has_url_directive();
    _impl_.directive_type_.url_directive_ = url_directive;
  }
  // @@protoc_insertion_point(field_set_allocated:sync_pb.HistoryDeleteDirectiveSpecifics.url_directive)
}
HistoryDeleteDirectiveSpecifics::HistoryDeleteDirectiveSpecifics(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, HistoryDeleteDirectiveSpecifics_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:sync_pb.HistoryDeleteDirectiveSpecifics)
}
PROTOBUF_NDEBUG_INLINE HistoryDeleteDirectiveSpecifics::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::sync_pb::HistoryDeleteDirectiveSpecifics& from_msg)
      : directive_type_{},
        _cached_size_{0},
        _oneof_case_{from._oneof_case_[0]} {}

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  HistoryDeleteDirectiveSpecifics* const _this = this;
  (void)_this;
  _internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
  switch (directive_type_case()) {
    case DIRECTIVE_TYPE_NOT_SET:
      break;
      case kGlobalIdDirective:
        _impl_.directive_type_.global_id_directive_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.directive_type_.global_id_directive_);
        break;
      case kTimeRangeDirective:
        _impl_.directive_type_.time_range_directive_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.directive_type_.time_range_directive_);
        break;
      case kUrlDirective:
        _impl_.directive_type_.url_directive_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.directive_type_.url_directive_);
        break;
  }

  // @@protoc_insertion_point(copy_constructor:sync_pb.HistoryDeleteDirectiveSpecifics)
}
PROTOBUF_NDEBUG_INLINE HistoryDeleteDirectiveSpecifics::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : directive_type_{},
        _cached_size_{0},
        _oneof_case_{} {}

inline void HistoryDeleteDirectiveSpecifics::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
}
HistoryDeleteDirectiveSpecifics::~HistoryDeleteDirectiveSpecifics() {
  // @@protoc_insertion_point(destructor:sync_pb.HistoryDeleteDirectiveSpecifics)
  SharedDtor(*this);
}
inline void HistoryDeleteDirectiveSpecifics::SharedDtor(MessageLite& self) {
  HistoryDeleteDirectiveSpecifics& this_ = static_cast<HistoryDeleteDirectiveSpecifics&>(self);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  this_._internal_metadata_.Delete<::std::string>();
  ABSL_DCHECK(this_.GetArena() == nullptr);
  if (this_.has_directive_type()) {
    this_.clear_directive_type();
  }
  this_._impl_.~Impl_();
}

void HistoryDeleteDirectiveSpecifics::clear_directive_type() {
// @@protoc_insertion_point(one_of_clear_start:sync_pb.HistoryDeleteDirectiveSpecifics)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  switch (directive_type_case()) {
    case kGlobalIdDirective: {
      if (GetArena() == nullptr) {
        delete _impl_.directive_type_.global_id_directive_;
      } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
        if (_impl_.directive_type_.global_id_directive_ != nullptr) {
          _impl_.directive_type_.global_id_directive_->Clear();
        }
      }
      break;
    }
    case kTimeRangeDirective: {
      if (GetArena() == nullptr) {
        delete _impl_.directive_type_.time_range_directive_;
      } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
        if (_impl_.directive_type_.time_range_directive_ != nullptr) {
          _impl_.directive_type_.time_range_directive_->Clear();
        }
      }
      break;
    }
    case kUrlDirective: {
      if (GetArena() == nullptr) {
        delete _impl_.directive_type_.url_directive_;
      } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
        if (_impl_.directive_type_.url_directive_ != nullptr) {
          _impl_.directive_type_.url_directive_->Clear();
        }
      }
      break;
    }
    case DIRECTIVE_TYPE_NOT_SET: {
      break;
    }
  }
  _impl_._oneof_case_[0] = DIRECTIVE_TYPE_NOT_SET;
}


#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite HistoryDeleteDirectiveSpecifics_class_data_ =
    HistoryDeleteDirectiveSpecifics::InternalGenerateClassData_(HistoryDeleteDirectiveSpecifics_globals_._default);

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

  clear_directive_type();
  _internal_metadata_.Clear<::std::string>();
}

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

  switch (this_.directive_type_case()) {
    case kGlobalIdDirective: {
      target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
          1, *this_._impl_.directive_type_.global_id_directive_, this_._impl_.directive_type_.global_id_directive_->GetCachedSize(), target,
          stream);
      break;
    }
    case kTimeRangeDirective: {
      target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
          2, *this_._impl_.directive_type_.time_range_directive_, this_._impl_.directive_type_.time_range_directive_->GetCachedSize(), target,
          stream);
      break;
    }
    case kUrlDirective: {
      target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
          3, *this_._impl_.directive_type_.url_directive_, this_._impl_.directive_type_.url_directive_->GetCachedSize(), target,
          stream);
      break;
    }
    default:
      break;
  }
  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:sync_pb.HistoryDeleteDirectiveSpecifics)
  return target;
}

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

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

  switch (this_.directive_type_case()) {
    // .sync_pb.GlobalIdDirective global_id_directive = 1;
    case kGlobalIdDirective: {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.directive_type_.global_id_directive_);
      break;
    }
    // .sync_pb.TimeRangeDirective time_range_directive = 2;
    case kTimeRangeDirective: {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.directive_type_.time_range_directive_);
      break;
    }
    // .sync_pb.UrlDirective url_directive = 3;
    case kUrlDirective: {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.directive_type_.url_directive_);
      break;
    }
    case DIRECTIVE_TYPE_NOT_SET: {
      break;
    }
  }
  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 HistoryDeleteDirectiveSpecifics::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<HistoryDeleteDirectiveSpecifics*>(&to_msg);
  auto& from = static_cast<const HistoryDeleteDirectiveSpecifics&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.HistoryDeleteDirectiveSpecifics)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  if (const uint32_t oneof_from_case =
          from._impl_._oneof_case_[0]) {
    const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0];
    const bool oneof_needs_init = oneof_to_case != oneof_from_case;
    if (oneof_needs_init) {
      if (oneof_to_case != 0) {
        _this->clear_directive_type();
      }
      _this->_impl_._oneof_case_[0] = oneof_from_case;
    }

    switch (oneof_from_case) {
      case kGlobalIdDirective: {
        if (oneof_needs_init) {
          _this->_impl_.directive_type_.global_id_directive_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.directive_type_.global_id_directive_);
        } else {
          _this->_impl_.directive_type_.global_id_directive_->CheckTypeAndMergeFrom(*from._impl_.directive_type_.global_id_directive_);
        }
        break;
      }
      case kTimeRangeDirective: {
        if (oneof_needs_init) {
          _this->_impl_.directive_type_.time_range_directive_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.directive_type_.time_range_directive_);
        } else {
          _this->_impl_.directive_type_.time_range_directive_->CheckTypeAndMergeFrom(*from._impl_.directive_type_.time_range_directive_);
        }
        break;
      }
      case kUrlDirective: {
        if (oneof_needs_init) {
          _this->_impl_.directive_type_.url_directive_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.directive_type_.url_directive_);
        } else {
          _this->_impl_.directive_type_.url_directive_->CheckTypeAndMergeFrom(*from._impl_.directive_type_.url_directive_);
        }
        break;
      }
      case DIRECTIVE_TYPE_NOT_SET:
        break;
    }
  }
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void HistoryDeleteDirectiveSpecifics::InternalSwap(HistoryDeleteDirectiveSpecifics* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
  using ::std::swap;
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_.directive_type_, other->_impl_.directive_type_);
  swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]);
}

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

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

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

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

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

inline void GlobalIdDirective::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
  ::memset(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, start_time_usec_),
           0,
           offsetof(Impl_, end_time_usec_) -
               offsetof(Impl_, start_time_usec_) +
               sizeof(Impl_::end_time_usec_));
}
GlobalIdDirective::~GlobalIdDirective() {
  // @@protoc_insertion_point(destructor:sync_pb.GlobalIdDirective)
  SharedDtor(*this);
}
inline void GlobalIdDirective::SharedDtor(MessageLite& self) {
  GlobalIdDirective& this_ = static_cast<GlobalIdDirective&>(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 GlobalIdDirective_class_data_ =
    GlobalIdDirective::InternalGenerateClassData_(GlobalIdDirective_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
GlobalIdDirective::GetClassData() const {
  return GlobalIdDirective_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
GlobalIdDirective::GetClassData() const {
  return GlobalIdDirective_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const GlobalIdDirective::ParseTableT_
    GlobalIdDirective::_table_ =
        GlobalIdDirective::InternalGenerateParseTable_(GlobalIdDirective_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void GlobalIdDirective::Clear() {
// @@protoc_insertion_point(message_clear_start:sync_pb.GlobalIdDirective)
  ::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_.global_id_.Clear();
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000006U)) {
    ::memset(&_impl_.start_time_usec_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.end_time_usec_) -
        reinterpret_cast<char*>(&_impl_.start_time_usec_)) + sizeof(_impl_.end_time_usec_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // repeated int64 global_id = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    for (int i = 0, n = this_._internal_global_id_size(); i < n; ++i) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteInt64ToArray(
          1, this_._internal_global_id().Get(i), target);
    }
  }

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

  // optional int64 end_time_usec = 3;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<3>(
            stream, this_._internal_end_time_usec(), 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:sync_pb.GlobalIdDirective)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t GlobalIdDirective::ByteSizeLong(const MessageLite& base) {
  const GlobalIdDirective& this_ = static_cast<const GlobalIdDirective&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t GlobalIdDirective::ByteSizeLong() const {
  const GlobalIdDirective& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:sync_pb.GlobalIdDirective)
  ::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, 0x00000007U)) {
    // repeated int64 global_id = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      ::size_t data_size = ::_pbi::WireFormatLite::Int64Size(
          this_._internal_global_id());
      ::size_t tag_size = ::size_t{1} *
          ::_pbi::FromIntSize(this_._internal_global_id_size());
      total_size += tag_size + data_size;
    }
    // optional int64 start_time_usec = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_start_time_usec());
    }
    // optional int64 end_time_usec = 3;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_end_time_usec());
    }
  }
  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 GlobalIdDirective::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<GlobalIdDirective*>(&to_msg);
  auto& from = static_cast<const GlobalIdDirective&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.GlobalIdDirective)
  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, 0x00000007U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_mutable_global_id()->MergeFrom(from._internal_global_id());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_impl_.start_time_usec_ = from._impl_.start_time_usec_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_impl_.end_time_usec_ = from._impl_.end_time_usec_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void GlobalIdDirective::InternalSwap(GlobalIdDirective* 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_.global_id_.InternalSwap(&other->_impl_.global_id_);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(GlobalIdDirective, _impl_.end_time_usec_)
      + sizeof(GlobalIdDirective::_impl_.end_time_usec_)
      - PROTOBUF_FIELD_OFFSET(GlobalIdDirective, _impl_.start_time_usec_)>(
          reinterpret_cast<char*>(&_impl_.start_time_usec_),
          reinterpret_cast<char*>(&other->_impl_.start_time_usec_));
}

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

TimeRangeDirective::TimeRangeDirective(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, TimeRangeDirective_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:sync_pb.TimeRangeDirective)
}
PROTOBUF_NDEBUG_INLINE TimeRangeDirective::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::sync_pb::TimeRangeDirective& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        app_id_(arena, from.app_id_) {}

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

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

  // @@protoc_insertion_point(copy_constructor:sync_pb.TimeRangeDirective)
}
PROTOBUF_NDEBUG_INLINE TimeRangeDirective::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        app_id_(arena) {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite TimeRangeDirective_class_data_ =
    TimeRangeDirective::InternalGenerateClassData_(TimeRangeDirective_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
TimeRangeDirective::GetClassData() const {
  return TimeRangeDirective_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
TimeRangeDirective::GetClassData() const {
  return TimeRangeDirective_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const TimeRangeDirective::ParseTableT_
    TimeRangeDirective::_table_ =
        TimeRangeDirective::InternalGenerateParseTable_(TimeRangeDirective_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void TimeRangeDirective::Clear() {
// @@protoc_insertion_point(message_clear_start:sync_pb.TimeRangeDirective)
  ::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_.app_id_.ClearNonDefaultToEmpty();
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000006U)) {
    ::memset(&_impl_.start_time_usec_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.end_time_usec_) -
        reinterpret_cast<char*>(&_impl_.start_time_usec_)) + sizeof(_impl_.end_time_usec_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

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

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

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

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

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t TimeRangeDirective::ByteSizeLong(const MessageLite& base) {
  const TimeRangeDirective& this_ = static_cast<const TimeRangeDirective&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t TimeRangeDirective::ByteSizeLong() const {
  const TimeRangeDirective& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:sync_pb.TimeRangeDirective)
  ::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, 0x00000007U)) {
    // optional string app_id = 3;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_app_id());
    }
    // optional int64 start_time_usec = 1;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_start_time_usec());
    }
    // optional int64 end_time_usec = 2;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_end_time_usec());
    }
  }
  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 TimeRangeDirective::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<TimeRangeDirective*>(&to_msg);
  auto& from = static_cast<const TimeRangeDirective&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.TimeRangeDirective)
  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, 0x00000007U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_set_app_id(from._internal_app_id());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_impl_.start_time_usec_ = from._impl_.start_time_usec_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_impl_.end_time_usec_ = from._impl_.end_time_usec_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void TimeRangeDirective::InternalSwap(TimeRangeDirective* 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_.app_id_, &other->_impl_.app_id_, arena);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(TimeRangeDirective, _impl_.end_time_usec_)
      + sizeof(TimeRangeDirective::_impl_.end_time_usec_)
      - PROTOBUF_FIELD_OFFSET(TimeRangeDirective, _impl_.start_time_usec_)>(
          reinterpret_cast<char*>(&_impl_.start_time_usec_),
          reinterpret_cast<char*>(&other->_impl_.start_time_usec_));
}

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

UrlDirective::UrlDirective(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, UrlDirective_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:sync_pb.UrlDirective)
}
PROTOBUF_NDEBUG_INLINE UrlDirective::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::sync_pb::UrlDirective& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        url_(arena, from.url_),
        app_id_(arena, from.app_id_) {}

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

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

  // @@protoc_insertion_point(copy_constructor:sync_pb.UrlDirective)
}
PROTOBUF_NDEBUG_INLINE UrlDirective::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        url_(arena),
        app_id_(arena) {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite UrlDirective_class_data_ =
    UrlDirective::InternalGenerateClassData_(UrlDirective_globals_._default);

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

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

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

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

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

  // optional string app_id = 3;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    const ::std::string& _s = this_._internal_app_id();
    target = stream->WriteStringMaybeAliased(3, _s, target);
  }

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

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t UrlDirective::ByteSizeLong(const MessageLite& base) {
  const UrlDirective& this_ = static_cast<const UrlDirective&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t UrlDirective::ByteSizeLong() const {
  const UrlDirective& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:sync_pb.UrlDirective)
  ::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, 0x00000007U)) {
    // optional string url = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_url());
    }
    // optional string app_id = 3;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_app_id());
    }
    // optional int64 end_time_usec = 2;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_end_time_usec());
    }
  }
  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 UrlDirective::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<UrlDirective*>(&to_msg);
  auto& from = static_cast<const UrlDirective&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.UrlDirective)
  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, 0x00000007U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_set_url(from._internal_url());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_app_id(from._internal_app_id());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_impl_.end_time_usec_ = from._impl_.end_time_usec_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void UrlDirective::InternalSwap(UrlDirective* 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_.url_, &other->_impl_.url_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.app_id_, &other->_impl_.app_id_, arena);
  swap(_impl_.end_time_usec_, other->_impl_.end_time_usec_);
}

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