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

#ifndef share_5fhistory_5fmessage_2eproto_2epb_2eh
#define share_5fhistory_5fmessage_2eproto_2epb_2eh

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

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

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

#define PROTOBUF_INTERNAL_EXPORT_share_5fhistory_5fmessage_2eproto

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

// Internal implementation detail -- do not use these members.
struct TableStruct_share_5fhistory_5fmessage_2eproto {
  static const ::uint32_t offsets[];
};
namespace sharing {
namespace mojom {
class DayShareHistory;
struct DayShareHistoryGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern DayShareHistoryGlobalsTypeInternal DayShareHistory_globals_;
extern const ::google::protobuf::internal::ClassDataLite DayShareHistory_class_data_;
#else
extern const DayShareHistoryGlobalsTypeInternal DayShareHistory_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class ShareHistory;
struct ShareHistoryGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern ShareHistoryGlobalsTypeInternal ShareHistory_globals_;
extern const ::google::protobuf::internal::ClassDataLite ShareHistory_class_data_;
#else
extern const ShareHistoryGlobalsTypeInternal ShareHistory_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class Target;
struct TargetGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern TargetGlobalsTypeInternal Target_globals_;
extern const ::google::protobuf::internal::ClassDataLite Target_class_data_;
#else
extern const TargetGlobalsTypeInternal Target_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class TargetShareHistory;
struct TargetShareHistoryGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern TargetShareHistoryGlobalsTypeInternal TargetShareHistory_globals_;
extern const ::google::protobuf::internal::ClassDataLite TargetShareHistory_class_data_;
#else
extern const TargetShareHistoryGlobalsTypeInternal TargetShareHistory_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
}  // namespace mojom
}  // namespace sharing
namespace google {
namespace protobuf {
}  // namespace protobuf
}  // namespace google

namespace sharing {
namespace mojom {

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


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  // accessors -------------------------------------------------------
  enum : int {
    kComponentNameFieldNumber = 1,
  };
  // string component_name = 1;
  void clear_component_name() ;
  const ::std::string& component_name() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_component_name(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_component_name();
  ::std::string* PROTOBUF_NULLABLE release_component_name();
  void set_allocated_component_name(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_component_name() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_component_name(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_component_name();

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  // accessors -------------------------------------------------------
  enum : int {
    kTargetFieldNumber = 1,
    kCountFieldNumber = 2,
  };
  // .sharing.mojom.Target target = 1;
  bool has_target()
      const;
  void clear_target() ;
  const ::sharing::mojom::Target& target() const;
  ::sharing::mojom::Target* PROTOBUF_NULLABLE release_target();
  ::sharing::mojom::Target* PROTOBUF_NONNULL mutable_target();
  void set_allocated_target(::sharing::mojom::Target* PROTOBUF_NULLABLE value);
  void unsafe_arena_set_allocated_target(::sharing::mojom::Target* PROTOBUF_NULLABLE value);
  ::sharing::mojom::Target* PROTOBUF_NULLABLE unsafe_arena_release_target();

  private:
  const ::sharing::mojom::Target& _internal_target() const;
  ::sharing::mojom::Target* PROTOBUF_NONNULL _internal_mutable_target();

  public:
  // int32 count = 2;
  void clear_count() ;
  ::int32_t count() const;
  void set_count(::int32_t value);

  private:
  ::int32_t _internal_count() const;
  void _internal_set_count(::int32_t value);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  // accessors -------------------------------------------------------
  enum : int {
    kTargetHistoriesFieldNumber = 2,
    kDayFieldNumber = 1,
  };
  // repeated .sharing.mojom.TargetShareHistory target_histories = 2;
  int target_histories_size()
      const;
  private:
  int _internal_target_histories_size() const;

  public:
  void clear_target_histories() ;
  const ::sharing::mojom::TargetShareHistory& target_histories(int index) const;
  ::sharing::mojom::TargetShareHistory* PROTOBUF_NONNULL mutable_target_histories(int index);
  ::sharing::mojom::TargetShareHistory* PROTOBUF_NONNULL add_target_histories();
  const ::google::protobuf::RepeatedPtrField<::sharing::mojom::TargetShareHistory>&
  target_histories() const;
  ::google::protobuf::RepeatedPtrField<::sharing::mojom::TargetShareHistory>* PROTOBUF_NONNULL
  mutable_target_histories();

  private:
  const ::google::protobuf::RepeatedPtrField<::sharing::mojom::TargetShareHistory>& _internal_target_histories() const;
  ::google::protobuf::RepeatedPtrField<::sharing::mojom::TargetShareHistory>* PROTOBUF_NONNULL _internal_mutable_target_histories();

  public:
  // int32 day = 1;
  void clear_day() ;
  ::int32_t day() const;
  void set_day(::int32_t value);

  private:
  ::int32_t _internal_day() const;
  void _internal_set_day(::int32_t value);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  // accessors -------------------------------------------------------
  enum : int {
    kDayHistoriesFieldNumber = 1,
  };
  // repeated .sharing.mojom.DayShareHistory day_histories = 1;
  int day_histories_size()
      const;
  private:
  int _internal_day_histories_size() const;

  public:
  void clear_day_histories() ;
  const ::sharing::mojom::DayShareHistory& day_histories(int index) const;
  ::sharing::mojom::DayShareHistory* PROTOBUF_NONNULL mutable_day_histories(int index);
  ::sharing::mojom::DayShareHistory* PROTOBUF_NONNULL add_day_histories();
  const ::google::protobuf::RepeatedPtrField<::sharing::mojom::DayShareHistory>&
  day_histories() const;
  ::google::protobuf::RepeatedPtrField<::sharing::mojom::DayShareHistory>* PROTOBUF_NONNULL
  mutable_day_histories();

  private:
  const ::google::protobuf::RepeatedPtrField<::sharing::mojom::DayShareHistory>& _internal_day_histories() const;
  ::google::protobuf::RepeatedPtrField<::sharing::mojom::DayShareHistory>* PROTOBUF_NONNULL _internal_mutable_day_histories();

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

  friend class ::google::protobuf::MessageLite;
  friend class ::google::protobuf::Arena;
  friend ::google::protobuf::internal::PrivateAccess;
  template <typename T>
  friend class ::google::protobuf::Arena::InternalHelper;
  using InternalArenaConstructable_ = void;
  using DestructorSkippable_ = void;
  struct Impl_ {
    inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility,
                                    ::google::protobuf::internal::ConstantInitialized) noexcept;
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
        const ShareHistory& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::google::protobuf::RepeatedPtrField< ::sharing::mojom::DayShareHistory > day_histories_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_share_5fhistory_5fmessage_2eproto;
};

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




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


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

// Target

// string component_name = 1;
inline void Target::clear_component_name() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.component_name_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline const ::std::string& Target::component_name() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:sharing.mojom.Target.component_name)
  return _internal_component_name();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void Target::set_component_name(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  _impl_.component_name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:sharing.mojom.Target.component_name)
}
inline ::std::string* PROTOBUF_NONNULL Target::mutable_component_name()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  ::std::string* _s = _internal_mutable_component_name();
  // @@protoc_insertion_point(field_mutable:sharing.mojom.Target.component_name)
  return _s;
}
inline const ::std::string& Target::_internal_component_name() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.component_name_.Get();
}
inline void Target::_internal_set_component_name(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.component_name_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL Target::_internal_mutable_component_name() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.component_name_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE Target::release_component_name() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:sharing.mojom.Target.component_name)
  if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
    return nullptr;
  }
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  auto* released = _impl_.component_name_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.component_name_.Set("", GetArena());
  }
  return released;
}
inline void Target::set_allocated_component_name(::std::string* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  }
  _impl_.component_name_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.component_name_.IsDefault()) {
    _impl_.component_name_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:sharing.mojom.Target.component_name)
}

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

// ShareHistory

// repeated .sharing.mojom.DayShareHistory day_histories = 1;
inline int ShareHistory::_internal_day_histories_size() const {
  return _internal_day_histories().size();
}
inline int ShareHistory::day_histories_size() const {
  return _internal_day_histories_size();
}
inline void ShareHistory::clear_day_histories() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.day_histories_.Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline const ::sharing::mojom::DayShareHistory& ShareHistory::day_histories(int index) const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:sharing.mojom.ShareHistory.day_histories)
  return _internal_day_histories().Get(index);
}
inline ::sharing::mojom::DayShareHistory* PROTOBUF_NONNULL ShareHistory::mutable_day_histories(int index)
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_mutable:sharing.mojom.ShareHistory.day_histories)
  return _internal_mutable_day_histories()->Mutable(index);
}
inline ::sharing::mojom::DayShareHistory* PROTOBUF_NONNULL ShareHistory::add_day_histories()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::sharing::mojom::DayShareHistory* _add =
      _internal_mutable_day_histories()->InternalAddWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), GetArena());
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_add:sharing.mojom.ShareHistory.day_histories)
  return _add;
}
inline const ::google::protobuf::RepeatedPtrField<::sharing::mojom::DayShareHistory>& ShareHistory::day_histories() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_list:sharing.mojom.ShareHistory.day_histories)
  return _internal_day_histories();
}
inline ::google::protobuf::RepeatedPtrField<::sharing::mojom::DayShareHistory>* PROTOBUF_NONNULL
ShareHistory::mutable_day_histories() ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_mutable_list:sharing.mojom.ShareHistory.day_histories)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _internal_mutable_day_histories();
}
inline const ::google::protobuf::RepeatedPtrField<::sharing::mojom::DayShareHistory>&
ShareHistory::_internal_day_histories() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.day_histories_;
}
inline ::google::protobuf::RepeatedPtrField<::sharing::mojom::DayShareHistory>* PROTOBUF_NONNULL
ShareHistory::_internal_mutable_day_histories() {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return &_impl_.day_histories_;
}

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

// DayShareHistory

// int32 day = 1;
inline void DayShareHistory::clear_day() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.day_ = 0;
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
inline ::int32_t DayShareHistory::day() const {
  // @@protoc_insertion_point(field_get:sharing.mojom.DayShareHistory.day)
  return _internal_day();
}
inline void DayShareHistory::set_day(::int32_t value) {
  _internal_set_day(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  // @@protoc_insertion_point(field_set:sharing.mojom.DayShareHistory.day)
}
inline ::int32_t DayShareHistory::_internal_day() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.day_;
}
inline void DayShareHistory::_internal_set_day(::int32_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.day_ = value;
}

// repeated .sharing.mojom.TargetShareHistory target_histories = 2;
inline int DayShareHistory::_internal_target_histories_size() const {
  return _internal_target_histories().size();
}
inline int DayShareHistory::target_histories_size() const {
  return _internal_target_histories_size();
}
inline void DayShareHistory::clear_target_histories() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.target_histories_.Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline const ::sharing::mojom::TargetShareHistory& DayShareHistory::target_histories(int index) const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:sharing.mojom.DayShareHistory.target_histories)
  return _internal_target_histories().Get(index);
}
inline ::sharing::mojom::TargetShareHistory* PROTOBUF_NONNULL DayShareHistory::mutable_target_histories(int index)
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_mutable:sharing.mojom.DayShareHistory.target_histories)
  return _internal_mutable_target_histories()->Mutable(index);
}
inline ::sharing::mojom::TargetShareHistory* PROTOBUF_NONNULL DayShareHistory::add_target_histories()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::sharing::mojom::TargetShareHistory* _add =
      _internal_mutable_target_histories()->InternalAddWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), GetArena());
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_add:sharing.mojom.DayShareHistory.target_histories)
  return _add;
}
inline const ::google::protobuf::RepeatedPtrField<::sharing::mojom::TargetShareHistory>& DayShareHistory::target_histories() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_list:sharing.mojom.DayShareHistory.target_histories)
  return _internal_target_histories();
}
inline ::google::protobuf::RepeatedPtrField<::sharing::mojom::TargetShareHistory>* PROTOBUF_NONNULL
DayShareHistory::mutable_target_histories() ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_mutable_list:sharing.mojom.DayShareHistory.target_histories)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _internal_mutable_target_histories();
}
inline const ::google::protobuf::RepeatedPtrField<::sharing::mojom::TargetShareHistory>&
DayShareHistory::_internal_target_histories() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.target_histories_;
}
inline ::google::protobuf::RepeatedPtrField<::sharing::mojom::TargetShareHistory>* PROTOBUF_NONNULL
DayShareHistory::_internal_mutable_target_histories() {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return &_impl_.target_histories_;
}

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

// TargetShareHistory

// .sharing.mojom.Target target = 1;
inline bool TargetShareHistory::has_target() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
  PROTOBUF_ASSUME(!value || _impl_.target_ != nullptr);
  return value;
}
inline void TargetShareHistory::clear_target() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.target_ != nullptr) _impl_.target_->Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline const ::sharing::mojom::Target& TargetShareHistory::_internal_target() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  const ::sharing::mojom::Target* p = _impl_.target_;
  return p != nullptr ? *p : *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<::sharing::mojom::Target>(&::sharing::mojom::Target_globals_);
}
inline const ::sharing::mojom::Target& TargetShareHistory::target() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:sharing.mojom.TargetShareHistory.target)
  return _internal_target();
}
inline void TargetShareHistory::unsafe_arena_set_allocated_target(
    ::sharing::mojom::Target* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.target_);
  }
  _impl_.target_ = reinterpret_cast<::sharing::mojom::Target*>(value);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:sharing.mojom.TargetShareHistory.target)
}
inline ::sharing::mojom::Target* PROTOBUF_NULLABLE TargetShareHistory::release_target() {
  ::google::protobuf::internal::TSanWrite(&_impl_);

  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  ::sharing::mojom::Target* released = _impl_.target_;
  _impl_.target_ = nullptr;
  if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
    auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
    released = ::google::protobuf::internal::DuplicateIfNonNull(released);
    if (GetArena() == nullptr) {
      delete old;
    }
  } else {
    if (GetArena() != nullptr) {
      released = ::google::protobuf::internal::DuplicateIfNonNull(released);
    }
  }
  return released;
}
inline ::sharing::mojom::Target* PROTOBUF_NULLABLE TargetShareHistory::unsafe_arena_release_target() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:sharing.mojom.TargetShareHistory.target)

  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  ::sharing::mojom::Target* temp = _impl_.target_;
  _impl_.target_ = nullptr;
  return temp;
}
inline ::sharing::mojom::Target* PROTOBUF_NONNULL TargetShareHistory::_internal_mutable_target() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.target_ == nullptr) {
    auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::sharing::mojom::Target>(GetArena());
    _impl_.target_ = reinterpret_cast<::sharing::mojom::Target*>(p);
  }
  return _impl_.target_;
}
inline ::sharing::mojom::Target* PROTOBUF_NONNULL TargetShareHistory::mutable_target()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  ::sharing::mojom::Target* _msg = _internal_mutable_target();
  // @@protoc_insertion_point(field_mutable:sharing.mojom.TargetShareHistory.target)
  return _msg;
}
inline void TargetShareHistory::set_allocated_target(::sharing::mojom::Target* PROTOBUF_NULLABLE value) {
  ::google::protobuf::Arena* message_arena = GetArena();
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (message_arena == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.target_);
  }

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

  _impl_.target_ = reinterpret_cast<::sharing::mojom::Target*>(value);
  // @@protoc_insertion_point(field_set_allocated:sharing.mojom.TargetShareHistory.target)
}

// int32 count = 2;
inline void TargetShareHistory::clear_count() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.count_ = 0;
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
inline ::int32_t TargetShareHistory::count() const {
  // @@protoc_insertion_point(field_get:sharing.mojom.TargetShareHistory.count)
  return _internal_count();
}
inline void TargetShareHistory::set_count(::int32_t value) {
  _internal_set_count(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  // @@protoc_insertion_point(field_set:sharing.mojom.TargetShareHistory.count)
}
inline ::int32_t TargetShareHistory::_internal_count() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.count_;
}
inline void TargetShareHistory::_internal_set_count(::int32_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.count_ = value;
}

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

// @@protoc_insertion_point(namespace_scope)
}  // namespace mojom
}  // namespace sharing


// @@protoc_insertion_point(global_scope)

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

#endif  // share_5fhistory_5fmessage_2eproto_2epb_2eh
