// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: client/v3beta/dto/user/event/user_event.proto

#ifndef PROTOBUF_client_2fv3beta_2fdto_2fuser_2fevent_2fuser_5fevent_2eproto__INCLUDED
#define PROTOBUF_client_2fv3beta_2fdto_2fuser_2fevent_2fuser_5fevent_2eproto__INCLUDED

#include <limits>
#include <string>


#include <herogoogle/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION < 3018000
#error This file was generated by a newer version of protoc which is
#error incompatible with your Protocol Buffer headers. Please update
#error your headers.
#endif
#if 3018000 < PROTOBUF_MIN_PROTOC_VERSION
#error This file was generated by an older version of protoc which is
#error incompatible with your Protocol Buffer headers. Please
#error regenerate this file with a newer version of protoc.
#endif


#include <herogoogle/protobuf/io/coded_stream.h>
#include <herogoogle/protobuf/arena.h>
#include <herogoogle/protobuf/arenastring.h>
#include <herogoogle/protobuf/generated_message_table_driven.h>
#include <herogoogle/protobuf/generated_message_util.h>
#include <herogoogle/protobuf/metadata_lite.h>
#include <herogoogle/protobuf/generated_message_reflection.h>
#include <herogoogle/protobuf/message.h>
#include <herogoogle/protobuf/repeated_field.h>  // IWYU pragma: export
#include <herogoogle/protobuf/extension_set.h>  // IWYU pragma: export
#include <herogoogle/protobuf/unknown_field_set.h>
#include "client/v3beta/dto/user/model/user_model.pb.h"
// @@protoc_insertion_point(includes)

#define PROTOBUF_INTERNAL_EXPORT_client_2fv3beta_2fdto_2fuser_2fevent_2fuser_5fevent_2eproto
PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
}  // namespace internal
PROTOBUF_NAMESPACE_CLOSE

// Internal implementation detail -- do not use these members.
struct TableStruct_client_2fv3beta_2fdto_2fuser_2fevent_2fuser_5fevent_2eproto {
  static const ::herogoogle::protobuf::internal::ParseTableField entries[]
    PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  static const ::herogoogle::protobuf::internal::AuxiliaryParseTableField aux[]
    PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  static const ::herogoogle::protobuf::internal::ParseTable schema[5]
    PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  static const ::herogoogle::protobuf::internal::FieldMetadata field_metadata[];
  static const ::herogoogle::protobuf::internal::SerializationTable serialization_table[];
  static const ::herogoogle::protobuf::uint32 offsets[];
};
extern const ::herogoogle::protobuf::internal::DescriptorTable descriptor_table_client_2fv3beta_2fdto_2fuser_2fevent_2fuser_5fevent_2eproto;
namespace heroim {
namespace client {
namespace v3beta {
namespace dto {
namespace user {
namespace event {
class UserConnectedEvent;
struct UserConnectedEventDefaultTypeInternal;
extern UserConnectedEventDefaultTypeInternal _UserConnectedEvent_default_instance_;
class UserControlChangedEvent;
struct UserControlChangedEventDefaultTypeInternal;
extern UserControlChangedEventDefaultTypeInternal _UserControlChangedEvent_default_instance_;
class UserDisConnectedEvent;
struct UserDisConnectedEventDefaultTypeInternal;
extern UserDisConnectedEventDefaultTypeInternal _UserDisConnectedEvent_default_instance_;
class UserProfileChangedEvent;
struct UserProfileChangedEventDefaultTypeInternal;
extern UserProfileChangedEventDefaultTypeInternal _UserProfileChangedEvent_default_instance_;
class UserStatusChangedEvent;
struct UserStatusChangedEventDefaultTypeInternal;
extern UserStatusChangedEventDefaultTypeInternal _UserStatusChangedEvent_default_instance_;
}  // namespace event
}  // namespace user
}  // namespace dto
}  // namespace v3beta
}  // namespace client
}  // namespace heroim
PROTOBUF_NAMESPACE_OPEN
template<> ::heroim::client::v3beta::dto::user::event::UserConnectedEvent* Arena::CreateMaybeMessage<::heroim::client::v3beta::dto::user::event::UserConnectedEvent>(Arena*);
template<> ::heroim::client::v3beta::dto::user::event::UserControlChangedEvent* Arena::CreateMaybeMessage<::heroim::client::v3beta::dto::user::event::UserControlChangedEvent>(Arena*);
template<> ::heroim::client::v3beta::dto::user::event::UserDisConnectedEvent* Arena::CreateMaybeMessage<::heroim::client::v3beta::dto::user::event::UserDisConnectedEvent>(Arena*);
template<> ::heroim::client::v3beta::dto::user::event::UserProfileChangedEvent* Arena::CreateMaybeMessage<::heroim::client::v3beta::dto::user::event::UserProfileChangedEvent>(Arena*);
template<> ::heroim::client::v3beta::dto::user::event::UserStatusChangedEvent* Arena::CreateMaybeMessage<::heroim::client::v3beta::dto::user::event::UserStatusChangedEvent>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace heroim {
namespace client {
namespace v3beta {
namespace dto {
namespace user {
namespace event {

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

class UserProfileChangedEvent final :
    public ::herogoogle::protobuf::Message /* @@protoc_insertion_point(class_definition:heroim.client.v3beta.dto.user.event.UserProfileChangedEvent) */ {
 public:
  inline UserProfileChangedEvent() : UserProfileChangedEvent(nullptr) {}
  ~UserProfileChangedEvent() override;
  explicit constexpr UserProfileChangedEvent(::herogoogle::protobuf::internal::ConstantInitialized);

  UserProfileChangedEvent(const UserProfileChangedEvent& from);
  UserProfileChangedEvent(UserProfileChangedEvent&& from) noexcept
    : UserProfileChangedEvent() {
    *this = ::std::move(from);
  }

  inline UserProfileChangedEvent& operator=(const UserProfileChangedEvent& from) {
    CopyFrom(from);
    return *this;
  }
  inline UserProfileChangedEvent& operator=(UserProfileChangedEvent&& from) noexcept {
    if (this == &from) return *this;
    if (GetOwningArena() == from.GetOwningArena()
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
        && GetOwningArena() != nullptr
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
    ) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  static const ::herogoogle::protobuf::Descriptor* descriptor() {
    return GetDescriptor();
  }
  static const ::herogoogle::protobuf::Descriptor* GetDescriptor() {
    return default_instance().GetMetadata().descriptor;
  }
  static const ::herogoogle::protobuf::Reflection* GetReflection() {
    return default_instance().GetMetadata().reflection;
  }
  static const UserProfileChangedEvent& default_instance() {
    return *internal_default_instance();
  }
  static inline const UserProfileChangedEvent* internal_default_instance() {
    return reinterpret_cast<const UserProfileChangedEvent*>(
               &_UserProfileChangedEvent_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    0;

  friend void swap(UserProfileChangedEvent& a, UserProfileChangedEvent& b) {
    a.Swap(&b);
  }
  inline void Swap(UserProfileChangedEvent* other) {
    if (other == this) return;
    if (GetOwningArena() == other->GetOwningArena()) {
      InternalSwap(other);
    } else {
      ::herogoogle::protobuf::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(UserProfileChangedEvent* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

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

  inline UserProfileChangedEvent* New() const final {
    return new UserProfileChangedEvent();
  }

  UserProfileChangedEvent* New(::herogoogle::protobuf::Arena* arena) const final {
    return CreateMaybeMessage<UserProfileChangedEvent>(arena);
  }
  using ::herogoogle::protobuf::Message::CopyFrom;
  void CopyFrom(const UserProfileChangedEvent& from);
  using ::herogoogle::protobuf::Message::MergeFrom;
  void MergeFrom(const UserProfileChangedEvent& from);
  private:
  static void MergeImpl(::herogoogle::protobuf::Message* to, const ::herogoogle::protobuf::Message& from);
  public:
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

  size_t ByteSizeLong() const final;
  const char* _InternalParse(const char* ptr, ::herogoogle::protobuf::internal::ParseContext* ctx) final;
  ::herogoogle::protobuf::uint8* _InternalSerialize(
      ::herogoogle::protobuf::uint8* target, ::herogoogle::protobuf::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _cached_size_.Get(); }

  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(UserProfileChangedEvent* other);
  friend class ::herogoogle::protobuf::internal::AnyMetadata;
  static ::herogoogle::protobuf::StringPiece FullMessageName() {
    return "heroim.client.v3beta.dto.user.event.UserProfileChangedEvent";
  }
  protected:
  explicit UserProfileChangedEvent(::herogoogle::protobuf::Arena* arena,
                       bool is_message_owned = false);
  private:
  static void ArenaDtor(void* object);
  inline void RegisterArenaDtor(::herogoogle::protobuf::Arena* arena);
  public:

  static const ClassData _class_data_;
  const ::herogoogle::protobuf::Message::ClassData*GetClassData() const final;

  ::herogoogle::protobuf::Metadata GetMetadata() const final;

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

  // accessors -------------------------------------------------------

  enum : int {
    kProductIdFieldNumber = 1,
    kUidFieldNumber = 2,
    kUserFieldNumber = 3,
  };
  // string productId = 1;
  void clear_productid();
  const std::string& productid() const;
  template <typename ArgT0 = const std::string&, typename... ArgT>
  void set_productid(ArgT0&& arg0, ArgT... args);
  std::string* mutable_productid();
  PROTOBUF_MUST_USE_RESULT std::string* release_productid();
  void set_allocated_productid(std::string* productid);
  private:
  const std::string& _internal_productid() const;
  inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE void _internal_set_productid(const std::string& value);
  std::string* _internal_mutable_productid();
  public:

  // string uid = 2;
  void clear_uid();
  const std::string& uid() const;
  template <typename ArgT0 = const std::string&, typename... ArgT>
  void set_uid(ArgT0&& arg0, ArgT... args);
  std::string* mutable_uid();
  PROTOBUF_MUST_USE_RESULT std::string* release_uid();
  void set_allocated_uid(std::string* uid);
  private:
  const std::string& _internal_uid() const;
  inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE void _internal_set_uid(const std::string& value);
  std::string* _internal_mutable_uid();
  public:

  // .heroim.client.v3beta.dto.user.model.UserSimple user = 3;
  bool has_user() const;
  private:
  bool _internal_has_user() const;
  public:
  void clear_user();
  const ::heroim::client::v3beta::dto::user::model::UserSimple& user() const;
  PROTOBUF_MUST_USE_RESULT ::heroim::client::v3beta::dto::user::model::UserSimple* release_user();
  ::heroim::client::v3beta::dto::user::model::UserSimple* mutable_user();
  void set_allocated_user(::heroim::client::v3beta::dto::user::model::UserSimple* user);
  private:
  const ::heroim::client::v3beta::dto::user::model::UserSimple& _internal_user() const;
  ::heroim::client::v3beta::dto::user::model::UserSimple* _internal_mutable_user();
  public:
  void unsafe_arena_set_allocated_user(
      ::heroim::client::v3beta::dto::user::model::UserSimple* user);
  ::heroim::client::v3beta::dto::user::model::UserSimple* unsafe_arena_release_user();

  // @@protoc_insertion_point(class_scope:heroim.client.v3beta.dto.user.event.UserProfileChangedEvent)
 private:
  class _Internal;

  template <typename T> friend class ::herogoogle::protobuf::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  ::herogoogle::protobuf::internal::ArenaStringPtr productid_;
  ::herogoogle::protobuf::internal::ArenaStringPtr uid_;
  ::heroim::client::v3beta::dto::user::model::UserSimple* user_;
  mutable ::herogoogle::protobuf::internal::CachedSize _cached_size_;
  friend struct ::TableStruct_client_2fv3beta_2fdto_2fuser_2fevent_2fuser_5fevent_2eproto;
};
// -------------------------------------------------------------------

class UserStatusChangedEvent final :
    public ::herogoogle::protobuf::Message /* @@protoc_insertion_point(class_definition:heroim.client.v3beta.dto.user.event.UserStatusChangedEvent) */ {
 public:
  inline UserStatusChangedEvent() : UserStatusChangedEvent(nullptr) {}
  ~UserStatusChangedEvent() override;
  explicit constexpr UserStatusChangedEvent(::herogoogle::protobuf::internal::ConstantInitialized);

  UserStatusChangedEvent(const UserStatusChangedEvent& from);
  UserStatusChangedEvent(UserStatusChangedEvent&& from) noexcept
    : UserStatusChangedEvent() {
    *this = ::std::move(from);
  }

  inline UserStatusChangedEvent& operator=(const UserStatusChangedEvent& from) {
    CopyFrom(from);
    return *this;
  }
  inline UserStatusChangedEvent& operator=(UserStatusChangedEvent&& from) noexcept {
    if (this == &from) return *this;
    if (GetOwningArena() == from.GetOwningArena()
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
        && GetOwningArena() != nullptr
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
    ) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  static const ::herogoogle::protobuf::Descriptor* descriptor() {
    return GetDescriptor();
  }
  static const ::herogoogle::protobuf::Descriptor* GetDescriptor() {
    return default_instance().GetMetadata().descriptor;
  }
  static const ::herogoogle::protobuf::Reflection* GetReflection() {
    return default_instance().GetMetadata().reflection;
  }
  static const UserStatusChangedEvent& default_instance() {
    return *internal_default_instance();
  }
  static inline const UserStatusChangedEvent* internal_default_instance() {
    return reinterpret_cast<const UserStatusChangedEvent*>(
               &_UserStatusChangedEvent_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    1;

  friend void swap(UserStatusChangedEvent& a, UserStatusChangedEvent& b) {
    a.Swap(&b);
  }
  inline void Swap(UserStatusChangedEvent* other) {
    if (other == this) return;
    if (GetOwningArena() == other->GetOwningArena()) {
      InternalSwap(other);
    } else {
      ::herogoogle::protobuf::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(UserStatusChangedEvent* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

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

  inline UserStatusChangedEvent* New() const final {
    return new UserStatusChangedEvent();
  }

  UserStatusChangedEvent* New(::herogoogle::protobuf::Arena* arena) const final {
    return CreateMaybeMessage<UserStatusChangedEvent>(arena);
  }
  using ::herogoogle::protobuf::Message::CopyFrom;
  void CopyFrom(const UserStatusChangedEvent& from);
  using ::herogoogle::protobuf::Message::MergeFrom;
  void MergeFrom(const UserStatusChangedEvent& from);
  private:
  static void MergeImpl(::herogoogle::protobuf::Message* to, const ::herogoogle::protobuf::Message& from);
  public:
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

  size_t ByteSizeLong() const final;
  const char* _InternalParse(const char* ptr, ::herogoogle::protobuf::internal::ParseContext* ctx) final;
  ::herogoogle::protobuf::uint8* _InternalSerialize(
      ::herogoogle::protobuf::uint8* target, ::herogoogle::protobuf::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _cached_size_.Get(); }

  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(UserStatusChangedEvent* other);
  friend class ::herogoogle::protobuf::internal::AnyMetadata;
  static ::herogoogle::protobuf::StringPiece FullMessageName() {
    return "heroim.client.v3beta.dto.user.event.UserStatusChangedEvent";
  }
  protected:
  explicit UserStatusChangedEvent(::herogoogle::protobuf::Arena* arena,
                       bool is_message_owned = false);
  private:
  static void ArenaDtor(void* object);
  inline void RegisterArenaDtor(::herogoogle::protobuf::Arena* arena);
  public:

  static const ClassData _class_data_;
  const ::herogoogle::protobuf::Message::ClassData*GetClassData() const final;

  ::herogoogle::protobuf::Metadata GetMetadata() const final;

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

  // accessors -------------------------------------------------------

  enum : int {
    kProductIdFieldNumber = 1,
    kUidFieldNumber = 2,
    kUserKeyFieldNumber = 3,
    kStatusFieldNumber = 4,
  };
  // string productId = 1;
  void clear_productid();
  const std::string& productid() const;
  template <typename ArgT0 = const std::string&, typename... ArgT>
  void set_productid(ArgT0&& arg0, ArgT... args);
  std::string* mutable_productid();
  PROTOBUF_MUST_USE_RESULT std::string* release_productid();
  void set_allocated_productid(std::string* productid);
  private:
  const std::string& _internal_productid() const;
  inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE void _internal_set_productid(const std::string& value);
  std::string* _internal_mutable_productid();
  public:

  // string uid = 2;
  void clear_uid();
  const std::string& uid() const;
  template <typename ArgT0 = const std::string&, typename... ArgT>
  void set_uid(ArgT0&& arg0, ArgT... args);
  std::string* mutable_uid();
  PROTOBUF_MUST_USE_RESULT std::string* release_uid();
  void set_allocated_uid(std::string* uid);
  private:
  const std::string& _internal_uid() const;
  inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE void _internal_set_uid(const std::string& value);
  std::string* _internal_mutable_uid();
  public:

  // .heroim.client.v3beta.dto.user.model.UserKey userKey = 3;
  bool has_userkey() const;
  private:
  bool _internal_has_userkey() const;
  public:
  void clear_userkey();
  const ::heroim::client::v3beta::dto::user::model::UserKey& userkey() const;
  PROTOBUF_MUST_USE_RESULT ::heroim::client::v3beta::dto::user::model::UserKey* release_userkey();
  ::heroim::client::v3beta::dto::user::model::UserKey* mutable_userkey();
  void set_allocated_userkey(::heroim::client::v3beta::dto::user::model::UserKey* userkey);
  private:
  const ::heroim::client::v3beta::dto::user::model::UserKey& _internal_userkey() const;
  ::heroim::client::v3beta::dto::user::model::UserKey* _internal_mutable_userkey();
  public:
  void unsafe_arena_set_allocated_userkey(
      ::heroim::client::v3beta::dto::user::model::UserKey* userkey);
  ::heroim::client::v3beta::dto::user::model::UserKey* unsafe_arena_release_userkey();

  // .heroim.client.v3beta.dto.user.model.UserStatus status = 4;
  bool has_status() const;
  private:
  bool _internal_has_status() const;
  public:
  void clear_status();
  const ::heroim::client::v3beta::dto::user::model::UserStatus& status() const;
  PROTOBUF_MUST_USE_RESULT ::heroim::client::v3beta::dto::user::model::UserStatus* release_status();
  ::heroim::client::v3beta::dto::user::model::UserStatus* mutable_status();
  void set_allocated_status(::heroim::client::v3beta::dto::user::model::UserStatus* status);
  private:
  const ::heroim::client::v3beta::dto::user::model::UserStatus& _internal_status() const;
  ::heroim::client::v3beta::dto::user::model::UserStatus* _internal_mutable_status();
  public:
  void unsafe_arena_set_allocated_status(
      ::heroim::client::v3beta::dto::user::model::UserStatus* status);
  ::heroim::client::v3beta::dto::user::model::UserStatus* unsafe_arena_release_status();

  // @@protoc_insertion_point(class_scope:heroim.client.v3beta.dto.user.event.UserStatusChangedEvent)
 private:
  class _Internal;

  template <typename T> friend class ::herogoogle::protobuf::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  ::herogoogle::protobuf::internal::ArenaStringPtr productid_;
  ::herogoogle::protobuf::internal::ArenaStringPtr uid_;
  ::heroim::client::v3beta::dto::user::model::UserKey* userkey_;
  ::heroim::client::v3beta::dto::user::model::UserStatus* status_;
  mutable ::herogoogle::protobuf::internal::CachedSize _cached_size_;
  friend struct ::TableStruct_client_2fv3beta_2fdto_2fuser_2fevent_2fuser_5fevent_2eproto;
};
// -------------------------------------------------------------------

class UserControlChangedEvent final :
    public ::herogoogle::protobuf::Message /* @@protoc_insertion_point(class_definition:heroim.client.v3beta.dto.user.event.UserControlChangedEvent) */ {
 public:
  inline UserControlChangedEvent() : UserControlChangedEvent(nullptr) {}
  ~UserControlChangedEvent() override;
  explicit constexpr UserControlChangedEvent(::herogoogle::protobuf::internal::ConstantInitialized);

  UserControlChangedEvent(const UserControlChangedEvent& from);
  UserControlChangedEvent(UserControlChangedEvent&& from) noexcept
    : UserControlChangedEvent() {
    *this = ::std::move(from);
  }

  inline UserControlChangedEvent& operator=(const UserControlChangedEvent& from) {
    CopyFrom(from);
    return *this;
  }
  inline UserControlChangedEvent& operator=(UserControlChangedEvent&& from) noexcept {
    if (this == &from) return *this;
    if (GetOwningArena() == from.GetOwningArena()
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
        && GetOwningArena() != nullptr
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
    ) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  static const ::herogoogle::protobuf::Descriptor* descriptor() {
    return GetDescriptor();
  }
  static const ::herogoogle::protobuf::Descriptor* GetDescriptor() {
    return default_instance().GetMetadata().descriptor;
  }
  static const ::herogoogle::protobuf::Reflection* GetReflection() {
    return default_instance().GetMetadata().reflection;
  }
  static const UserControlChangedEvent& default_instance() {
    return *internal_default_instance();
  }
  static inline const UserControlChangedEvent* internal_default_instance() {
    return reinterpret_cast<const UserControlChangedEvent*>(
               &_UserControlChangedEvent_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    2;

  friend void swap(UserControlChangedEvent& a, UserControlChangedEvent& b) {
    a.Swap(&b);
  }
  inline void Swap(UserControlChangedEvent* other) {
    if (other == this) return;
    if (GetOwningArena() == other->GetOwningArena()) {
      InternalSwap(other);
    } else {
      ::herogoogle::protobuf::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(UserControlChangedEvent* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

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

  inline UserControlChangedEvent* New() const final {
    return new UserControlChangedEvent();
  }

  UserControlChangedEvent* New(::herogoogle::protobuf::Arena* arena) const final {
    return CreateMaybeMessage<UserControlChangedEvent>(arena);
  }
  using ::herogoogle::protobuf::Message::CopyFrom;
  void CopyFrom(const UserControlChangedEvent& from);
  using ::herogoogle::protobuf::Message::MergeFrom;
  void MergeFrom(const UserControlChangedEvent& from);
  private:
  static void MergeImpl(::herogoogle::protobuf::Message* to, const ::herogoogle::protobuf::Message& from);
  public:
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

  size_t ByteSizeLong() const final;
  const char* _InternalParse(const char* ptr, ::herogoogle::protobuf::internal::ParseContext* ctx) final;
  ::herogoogle::protobuf::uint8* _InternalSerialize(
      ::herogoogle::protobuf::uint8* target, ::herogoogle::protobuf::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _cached_size_.Get(); }

  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(UserControlChangedEvent* other);
  friend class ::herogoogle::protobuf::internal::AnyMetadata;
  static ::herogoogle::protobuf::StringPiece FullMessageName() {
    return "heroim.client.v3beta.dto.user.event.UserControlChangedEvent";
  }
  protected:
  explicit UserControlChangedEvent(::herogoogle::protobuf::Arena* arena,
                       bool is_message_owned = false);
  private:
  static void ArenaDtor(void* object);
  inline void RegisterArenaDtor(::herogoogle::protobuf::Arena* arena);
  public:

  static const ClassData _class_data_;
  const ::herogoogle::protobuf::Message::ClassData*GetClassData() const final;

  ::herogoogle::protobuf::Metadata GetMetadata() const final;

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

  // accessors -------------------------------------------------------

  enum : int {
    kProductIdFieldNumber = 1,
    kUidFieldNumber = 2,
    kStatusFieldNumber = 3,
  };
  // string productId = 1;
  void clear_productid();
  const std::string& productid() const;
  template <typename ArgT0 = const std::string&, typename... ArgT>
  void set_productid(ArgT0&& arg0, ArgT... args);
  std::string* mutable_productid();
  PROTOBUF_MUST_USE_RESULT std::string* release_productid();
  void set_allocated_productid(std::string* productid);
  private:
  const std::string& _internal_productid() const;
  inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE void _internal_set_productid(const std::string& value);
  std::string* _internal_mutable_productid();
  public:

  // string uid = 2;
  void clear_uid();
  const std::string& uid() const;
  template <typename ArgT0 = const std::string&, typename... ArgT>
  void set_uid(ArgT0&& arg0, ArgT... args);
  std::string* mutable_uid();
  PROTOBUF_MUST_USE_RESULT std::string* release_uid();
  void set_allocated_uid(std::string* uid);
  private:
  const std::string& _internal_uid() const;
  inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE void _internal_set_uid(const std::string& value);
  std::string* _internal_mutable_uid();
  public:

  // .heroim.client.v3beta.dto.user.model.UserControl status = 3;
  bool has_status() const;
  private:
  bool _internal_has_status() const;
  public:
  void clear_status();
  const ::heroim::client::v3beta::dto::user::model::UserControl& status() const;
  PROTOBUF_MUST_USE_RESULT ::heroim::client::v3beta::dto::user::model::UserControl* release_status();
  ::heroim::client::v3beta::dto::user::model::UserControl* mutable_status();
  void set_allocated_status(::heroim::client::v3beta::dto::user::model::UserControl* status);
  private:
  const ::heroim::client::v3beta::dto::user::model::UserControl& _internal_status() const;
  ::heroim::client::v3beta::dto::user::model::UserControl* _internal_mutable_status();
  public:
  void unsafe_arena_set_allocated_status(
      ::heroim::client::v3beta::dto::user::model::UserControl* status);
  ::heroim::client::v3beta::dto::user::model::UserControl* unsafe_arena_release_status();

  // @@protoc_insertion_point(class_scope:heroim.client.v3beta.dto.user.event.UserControlChangedEvent)
 private:
  class _Internal;

  template <typename T> friend class ::herogoogle::protobuf::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  ::herogoogle::protobuf::internal::ArenaStringPtr productid_;
  ::herogoogle::protobuf::internal::ArenaStringPtr uid_;
  ::heroim::client::v3beta::dto::user::model::UserControl* status_;
  mutable ::herogoogle::protobuf::internal::CachedSize _cached_size_;
  friend struct ::TableStruct_client_2fv3beta_2fdto_2fuser_2fevent_2fuser_5fevent_2eproto;
};
// -------------------------------------------------------------------

class UserConnectedEvent final :
    public ::herogoogle::protobuf::Message /* @@protoc_insertion_point(class_definition:heroim.client.v3beta.dto.user.event.UserConnectedEvent) */ {
 public:
  inline UserConnectedEvent() : UserConnectedEvent(nullptr) {}
  ~UserConnectedEvent() override;
  explicit constexpr UserConnectedEvent(::herogoogle::protobuf::internal::ConstantInitialized);

  UserConnectedEvent(const UserConnectedEvent& from);
  UserConnectedEvent(UserConnectedEvent&& from) noexcept
    : UserConnectedEvent() {
    *this = ::std::move(from);
  }

  inline UserConnectedEvent& operator=(const UserConnectedEvent& from) {
    CopyFrom(from);
    return *this;
  }
  inline UserConnectedEvent& operator=(UserConnectedEvent&& from) noexcept {
    if (this == &from) return *this;
    if (GetOwningArena() == from.GetOwningArena()
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
        && GetOwningArena() != nullptr
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
    ) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  static const ::herogoogle::protobuf::Descriptor* descriptor() {
    return GetDescriptor();
  }
  static const ::herogoogle::protobuf::Descriptor* GetDescriptor() {
    return default_instance().GetMetadata().descriptor;
  }
  static const ::herogoogle::protobuf::Reflection* GetReflection() {
    return default_instance().GetMetadata().reflection;
  }
  static const UserConnectedEvent& default_instance() {
    return *internal_default_instance();
  }
  static inline const UserConnectedEvent* internal_default_instance() {
    return reinterpret_cast<const UserConnectedEvent*>(
               &_UserConnectedEvent_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    3;

  friend void swap(UserConnectedEvent& a, UserConnectedEvent& b) {
    a.Swap(&b);
  }
  inline void Swap(UserConnectedEvent* other) {
    if (other == this) return;
    if (GetOwningArena() == other->GetOwningArena()) {
      InternalSwap(other);
    } else {
      ::herogoogle::protobuf::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(UserConnectedEvent* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

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

  inline UserConnectedEvent* New() const final {
    return new UserConnectedEvent();
  }

  UserConnectedEvent* New(::herogoogle::protobuf::Arena* arena) const final {
    return CreateMaybeMessage<UserConnectedEvent>(arena);
  }
  using ::herogoogle::protobuf::Message::CopyFrom;
  void CopyFrom(const UserConnectedEvent& from);
  using ::herogoogle::protobuf::Message::MergeFrom;
  void MergeFrom(const UserConnectedEvent& from);
  private:
  static void MergeImpl(::herogoogle::protobuf::Message* to, const ::herogoogle::protobuf::Message& from);
  public:
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

  size_t ByteSizeLong() const final;
  const char* _InternalParse(const char* ptr, ::herogoogle::protobuf::internal::ParseContext* ctx) final;
  ::herogoogle::protobuf::uint8* _InternalSerialize(
      ::herogoogle::protobuf::uint8* target, ::herogoogle::protobuf::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _cached_size_.Get(); }

  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(UserConnectedEvent* other);
  friend class ::herogoogle::protobuf::internal::AnyMetadata;
  static ::herogoogle::protobuf::StringPiece FullMessageName() {
    return "heroim.client.v3beta.dto.user.event.UserConnectedEvent";
  }
  protected:
  explicit UserConnectedEvent(::herogoogle::protobuf::Arena* arena,
                       bool is_message_owned = false);
  private:
  static void ArenaDtor(void* object);
  inline void RegisterArenaDtor(::herogoogle::protobuf::Arena* arena);
  public:

  static const ClassData _class_data_;
  const ::herogoogle::protobuf::Message::ClassData*GetClassData() const final;

  ::herogoogle::protobuf::Metadata GetMetadata() const final;

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

  // accessors -------------------------------------------------------

  enum : int {
    kProductIdFieldNumber = 1,
    kUserFieldNumber = 2,
  };
  // string productId = 1;
  void clear_productid();
  const std::string& productid() const;
  template <typename ArgT0 = const std::string&, typename... ArgT>
  void set_productid(ArgT0&& arg0, ArgT... args);
  std::string* mutable_productid();
  PROTOBUF_MUST_USE_RESULT std::string* release_productid();
  void set_allocated_productid(std::string* productid);
  private:
  const std::string& _internal_productid() const;
  inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE void _internal_set_productid(const std::string& value);
  std::string* _internal_mutable_productid();
  public:

  // .heroim.client.v3beta.dto.user.model.UserSimple user = 2;
  bool has_user() const;
  private:
  bool _internal_has_user() const;
  public:
  void clear_user();
  const ::heroim::client::v3beta::dto::user::model::UserSimple& user() const;
  PROTOBUF_MUST_USE_RESULT ::heroim::client::v3beta::dto::user::model::UserSimple* release_user();
  ::heroim::client::v3beta::dto::user::model::UserSimple* mutable_user();
  void set_allocated_user(::heroim::client::v3beta::dto::user::model::UserSimple* user);
  private:
  const ::heroim::client::v3beta::dto::user::model::UserSimple& _internal_user() const;
  ::heroim::client::v3beta::dto::user::model::UserSimple* _internal_mutable_user();
  public:
  void unsafe_arena_set_allocated_user(
      ::heroim::client::v3beta::dto::user::model::UserSimple* user);
  ::heroim::client::v3beta::dto::user::model::UserSimple* unsafe_arena_release_user();

  // @@protoc_insertion_point(class_scope:heroim.client.v3beta.dto.user.event.UserConnectedEvent)
 private:
  class _Internal;

  template <typename T> friend class ::herogoogle::protobuf::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  ::herogoogle::protobuf::internal::ArenaStringPtr productid_;
  ::heroim::client::v3beta::dto::user::model::UserSimple* user_;
  mutable ::herogoogle::protobuf::internal::CachedSize _cached_size_;
  friend struct ::TableStruct_client_2fv3beta_2fdto_2fuser_2fevent_2fuser_5fevent_2eproto;
};
// -------------------------------------------------------------------

class UserDisConnectedEvent final :
    public ::herogoogle::protobuf::Message /* @@protoc_insertion_point(class_definition:heroim.client.v3beta.dto.user.event.UserDisConnectedEvent) */ {
 public:
  inline UserDisConnectedEvent() : UserDisConnectedEvent(nullptr) {}
  ~UserDisConnectedEvent() override;
  explicit constexpr UserDisConnectedEvent(::herogoogle::protobuf::internal::ConstantInitialized);

  UserDisConnectedEvent(const UserDisConnectedEvent& from);
  UserDisConnectedEvent(UserDisConnectedEvent&& from) noexcept
    : UserDisConnectedEvent() {
    *this = ::std::move(from);
  }

  inline UserDisConnectedEvent& operator=(const UserDisConnectedEvent& from) {
    CopyFrom(from);
    return *this;
  }
  inline UserDisConnectedEvent& operator=(UserDisConnectedEvent&& from) noexcept {
    if (this == &from) return *this;
    if (GetOwningArena() == from.GetOwningArena()
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
        && GetOwningArena() != nullptr
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
    ) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  static const ::herogoogle::protobuf::Descriptor* descriptor() {
    return GetDescriptor();
  }
  static const ::herogoogle::protobuf::Descriptor* GetDescriptor() {
    return default_instance().GetMetadata().descriptor;
  }
  static const ::herogoogle::protobuf::Reflection* GetReflection() {
    return default_instance().GetMetadata().reflection;
  }
  static const UserDisConnectedEvent& default_instance() {
    return *internal_default_instance();
  }
  static inline const UserDisConnectedEvent* internal_default_instance() {
    return reinterpret_cast<const UserDisConnectedEvent*>(
               &_UserDisConnectedEvent_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    4;

  friend void swap(UserDisConnectedEvent& a, UserDisConnectedEvent& b) {
    a.Swap(&b);
  }
  inline void Swap(UserDisConnectedEvent* other) {
    if (other == this) return;
    if (GetOwningArena() == other->GetOwningArena()) {
      InternalSwap(other);
    } else {
      ::herogoogle::protobuf::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(UserDisConnectedEvent* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

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

  inline UserDisConnectedEvent* New() const final {
    return new UserDisConnectedEvent();
  }

  UserDisConnectedEvent* New(::herogoogle::protobuf::Arena* arena) const final {
    return CreateMaybeMessage<UserDisConnectedEvent>(arena);
  }
  using ::herogoogle::protobuf::Message::CopyFrom;
  void CopyFrom(const UserDisConnectedEvent& from);
  using ::herogoogle::protobuf::Message::MergeFrom;
  void MergeFrom(const UserDisConnectedEvent& from);
  private:
  static void MergeImpl(::herogoogle::protobuf::Message* to, const ::herogoogle::protobuf::Message& from);
  public:
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

  size_t ByteSizeLong() const final;
  const char* _InternalParse(const char* ptr, ::herogoogle::protobuf::internal::ParseContext* ctx) final;
  ::herogoogle::protobuf::uint8* _InternalSerialize(
      ::herogoogle::protobuf::uint8* target, ::herogoogle::protobuf::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _cached_size_.Get(); }

  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(UserDisConnectedEvent* other);
  friend class ::herogoogle::protobuf::internal::AnyMetadata;
  static ::herogoogle::protobuf::StringPiece FullMessageName() {
    return "heroim.client.v3beta.dto.user.event.UserDisConnectedEvent";
  }
  protected:
  explicit UserDisConnectedEvent(::herogoogle::protobuf::Arena* arena,
                       bool is_message_owned = false);
  private:
  static void ArenaDtor(void* object);
  inline void RegisterArenaDtor(::herogoogle::protobuf::Arena* arena);
  public:

  static const ClassData _class_data_;
  const ::herogoogle::protobuf::Message::ClassData*GetClassData() const final;

  ::herogoogle::protobuf::Metadata GetMetadata() const final;

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

  // accessors -------------------------------------------------------

  enum : int {
    kProductIdFieldNumber = 1,
    kUserFieldNumber = 2,
  };
  // string productId = 1;
  void clear_productid();
  const std::string& productid() const;
  template <typename ArgT0 = const std::string&, typename... ArgT>
  void set_productid(ArgT0&& arg0, ArgT... args);
  std::string* mutable_productid();
  PROTOBUF_MUST_USE_RESULT std::string* release_productid();
  void set_allocated_productid(std::string* productid);
  private:
  const std::string& _internal_productid() const;
  inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE void _internal_set_productid(const std::string& value);
  std::string* _internal_mutable_productid();
  public:

  // .heroim.client.v3beta.dto.user.model.UserSimple user = 2;
  bool has_user() const;
  private:
  bool _internal_has_user() const;
  public:
  void clear_user();
  const ::heroim::client::v3beta::dto::user::model::UserSimple& user() const;
  PROTOBUF_MUST_USE_RESULT ::heroim::client::v3beta::dto::user::model::UserSimple* release_user();
  ::heroim::client::v3beta::dto::user::model::UserSimple* mutable_user();
  void set_allocated_user(::heroim::client::v3beta::dto::user::model::UserSimple* user);
  private:
  const ::heroim::client::v3beta::dto::user::model::UserSimple& _internal_user() const;
  ::heroim::client::v3beta::dto::user::model::UserSimple* _internal_mutable_user();
  public:
  void unsafe_arena_set_allocated_user(
      ::heroim::client::v3beta::dto::user::model::UserSimple* user);
  ::heroim::client::v3beta::dto::user::model::UserSimple* unsafe_arena_release_user();

  // @@protoc_insertion_point(class_scope:heroim.client.v3beta.dto.user.event.UserDisConnectedEvent)
 private:
  class _Internal;

  template <typename T> friend class ::herogoogle::protobuf::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  ::herogoogle::protobuf::internal::ArenaStringPtr productid_;
  ::heroim::client::v3beta::dto::user::model::UserSimple* user_;
  mutable ::herogoogle::protobuf::internal::CachedSize _cached_size_;
  friend struct ::TableStruct_client_2fv3beta_2fdto_2fuser_2fevent_2fuser_5fevent_2eproto;
};
// ===================================================================


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

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

// string productId = 1;
inline void UserProfileChangedEvent::clear_productid() {
  productid_.ClearToEmpty();
}
inline const std::string& UserProfileChangedEvent::productid() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.user.event.UserProfileChangedEvent.productId)
  return _internal_productid();
}
template <typename ArgT0, typename... ArgT>
inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE
void UserProfileChangedEvent::set_productid(ArgT0&& arg0, ArgT... args) {
 
 productid_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:heroim.client.v3beta.dto.user.event.UserProfileChangedEvent.productId)
}
inline std::string* UserProfileChangedEvent::mutable_productid() {
  std::string* _s = _internal_mutable_productid();
  // @@protoc_insertion_point(field_mutable:heroim.client.v3beta.dto.user.event.UserProfileChangedEvent.productId)
  return _s;
}
inline const std::string& UserProfileChangedEvent::_internal_productid() const {
  return productid_.Get();
}
inline void UserProfileChangedEvent::_internal_set_productid(const std::string& value) {
  
  productid_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* UserProfileChangedEvent::_internal_mutable_productid() {
  
  return productid_.Mutable(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* UserProfileChangedEvent::release_productid() {
  // @@protoc_insertion_point(field_release:heroim.client.v3beta.dto.user.event.UserProfileChangedEvent.productId)
  return productid_.Release(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void UserProfileChangedEvent::set_allocated_productid(std::string* productid) {
  if (productid != nullptr) {
    
  } else {
    
  }
  productid_.SetAllocated(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(), productid,
      GetArenaForAllocation());
  // @@protoc_insertion_point(field_set_allocated:heroim.client.v3beta.dto.user.event.UserProfileChangedEvent.productId)
}

// string uid = 2;
inline void UserProfileChangedEvent::clear_uid() {
  uid_.ClearToEmpty();
}
inline const std::string& UserProfileChangedEvent::uid() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.user.event.UserProfileChangedEvent.uid)
  return _internal_uid();
}
template <typename ArgT0, typename... ArgT>
inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE
void UserProfileChangedEvent::set_uid(ArgT0&& arg0, ArgT... args) {
 
 uid_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:heroim.client.v3beta.dto.user.event.UserProfileChangedEvent.uid)
}
inline std::string* UserProfileChangedEvent::mutable_uid() {
  std::string* _s = _internal_mutable_uid();
  // @@protoc_insertion_point(field_mutable:heroim.client.v3beta.dto.user.event.UserProfileChangedEvent.uid)
  return _s;
}
inline const std::string& UserProfileChangedEvent::_internal_uid() const {
  return uid_.Get();
}
inline void UserProfileChangedEvent::_internal_set_uid(const std::string& value) {
  
  uid_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* UserProfileChangedEvent::_internal_mutable_uid() {
  
  return uid_.Mutable(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* UserProfileChangedEvent::release_uid() {
  // @@protoc_insertion_point(field_release:heroim.client.v3beta.dto.user.event.UserProfileChangedEvent.uid)
  return uid_.Release(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void UserProfileChangedEvent::set_allocated_uid(std::string* uid) {
  if (uid != nullptr) {
    
  } else {
    
  }
  uid_.SetAllocated(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(), uid,
      GetArenaForAllocation());
  // @@protoc_insertion_point(field_set_allocated:heroim.client.v3beta.dto.user.event.UserProfileChangedEvent.uid)
}

// .heroim.client.v3beta.dto.user.model.UserSimple user = 3;
inline bool UserProfileChangedEvent::_internal_has_user() const {
  return this != internal_default_instance() && user_ != nullptr;
}
inline bool UserProfileChangedEvent::has_user() const {
  return _internal_has_user();
}
inline const ::heroim::client::v3beta::dto::user::model::UserSimple& UserProfileChangedEvent::_internal_user() const {
  const ::heroim::client::v3beta::dto::user::model::UserSimple* p = user_;
  return p != nullptr ? *p : reinterpret_cast<const ::heroim::client::v3beta::dto::user::model::UserSimple&>(
      ::heroim::client::v3beta::dto::user::model::_UserSimple_default_instance_);
}
inline const ::heroim::client::v3beta::dto::user::model::UserSimple& UserProfileChangedEvent::user() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.user.event.UserProfileChangedEvent.user)
  return _internal_user();
}
inline void UserProfileChangedEvent::unsafe_arena_set_allocated_user(
    ::heroim::client::v3beta::dto::user::model::UserSimple* user) {
  if (GetArenaForAllocation() == nullptr) {
    delete reinterpret_cast<::herogoogle::protobuf::MessageLite*>(user_);
  }
  user_ = user;
  if (user) {
    
  } else {
    
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:heroim.client.v3beta.dto.user.event.UserProfileChangedEvent.user)
}
inline ::heroim::client::v3beta::dto::user::model::UserSimple* UserProfileChangedEvent::release_user() {
  
  ::heroim::client::v3beta::dto::user::model::UserSimple* temp = user_;
  user_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  auto* old =  reinterpret_cast<::herogoogle::protobuf::MessageLite*>(temp);
  temp = ::herogoogle::protobuf::internal::DuplicateIfNonNull(temp);
  if (GetArenaForAllocation() == nullptr) { delete old; }
#else  // PROTOBUF_FORCE_COPY_IN_RELEASE
  if (GetArenaForAllocation() != nullptr) {
    temp = ::herogoogle::protobuf::internal::DuplicateIfNonNull(temp);
  }
#endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
  return temp;
}
inline ::heroim::client::v3beta::dto::user::model::UserSimple* UserProfileChangedEvent::unsafe_arena_release_user() {
  // @@protoc_insertion_point(field_release:heroim.client.v3beta.dto.user.event.UserProfileChangedEvent.user)
  
  ::heroim::client::v3beta::dto::user::model::UserSimple* temp = user_;
  user_ = nullptr;
  return temp;
}
inline ::heroim::client::v3beta::dto::user::model::UserSimple* UserProfileChangedEvent::_internal_mutable_user() {
  
  if (user_ == nullptr) {
    auto* p = CreateMaybeMessage<::heroim::client::v3beta::dto::user::model::UserSimple>(GetArenaForAllocation());
    user_ = p;
  }
  return user_;
}
inline ::heroim::client::v3beta::dto::user::model::UserSimple* UserProfileChangedEvent::mutable_user() {
  ::heroim::client::v3beta::dto::user::model::UserSimple* _msg = _internal_mutable_user();
  // @@protoc_insertion_point(field_mutable:heroim.client.v3beta.dto.user.event.UserProfileChangedEvent.user)
  return _msg;
}
inline void UserProfileChangedEvent::set_allocated_user(::heroim::client::v3beta::dto::user::model::UserSimple* user) {
  ::herogoogle::protobuf::Arena* message_arena = GetArenaForAllocation();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::herogoogle::protobuf::MessageLite*>(user_);
  }
  if (user) {
    ::herogoogle::protobuf::Arena* submessage_arena =
        ::herogoogle::protobuf::Arena::InternalHelper<
            ::herogoogle::protobuf::MessageLite>::GetOwningArena(
                reinterpret_cast<::herogoogle::protobuf::MessageLite*>(user));
    if (message_arena != submessage_arena) {
      user = ::herogoogle::protobuf::internal::GetOwnedMessage(
          message_arena, user, submessage_arena);
    }
    
  } else {
    
  }
  user_ = user;
  // @@protoc_insertion_point(field_set_allocated:heroim.client.v3beta.dto.user.event.UserProfileChangedEvent.user)
}

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

// UserStatusChangedEvent

// string productId = 1;
inline void UserStatusChangedEvent::clear_productid() {
  productid_.ClearToEmpty();
}
inline const std::string& UserStatusChangedEvent::productid() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.user.event.UserStatusChangedEvent.productId)
  return _internal_productid();
}
template <typename ArgT0, typename... ArgT>
inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE
void UserStatusChangedEvent::set_productid(ArgT0&& arg0, ArgT... args) {
 
 productid_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:heroim.client.v3beta.dto.user.event.UserStatusChangedEvent.productId)
}
inline std::string* UserStatusChangedEvent::mutable_productid() {
  std::string* _s = _internal_mutable_productid();
  // @@protoc_insertion_point(field_mutable:heroim.client.v3beta.dto.user.event.UserStatusChangedEvent.productId)
  return _s;
}
inline const std::string& UserStatusChangedEvent::_internal_productid() const {
  return productid_.Get();
}
inline void UserStatusChangedEvent::_internal_set_productid(const std::string& value) {
  
  productid_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* UserStatusChangedEvent::_internal_mutable_productid() {
  
  return productid_.Mutable(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* UserStatusChangedEvent::release_productid() {
  // @@protoc_insertion_point(field_release:heroim.client.v3beta.dto.user.event.UserStatusChangedEvent.productId)
  return productid_.Release(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void UserStatusChangedEvent::set_allocated_productid(std::string* productid) {
  if (productid != nullptr) {
    
  } else {
    
  }
  productid_.SetAllocated(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(), productid,
      GetArenaForAllocation());
  // @@protoc_insertion_point(field_set_allocated:heroim.client.v3beta.dto.user.event.UserStatusChangedEvent.productId)
}

// string uid = 2;
inline void UserStatusChangedEvent::clear_uid() {
  uid_.ClearToEmpty();
}
inline const std::string& UserStatusChangedEvent::uid() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.user.event.UserStatusChangedEvent.uid)
  return _internal_uid();
}
template <typename ArgT0, typename... ArgT>
inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE
void UserStatusChangedEvent::set_uid(ArgT0&& arg0, ArgT... args) {
 
 uid_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:heroim.client.v3beta.dto.user.event.UserStatusChangedEvent.uid)
}
inline std::string* UserStatusChangedEvent::mutable_uid() {
  std::string* _s = _internal_mutable_uid();
  // @@protoc_insertion_point(field_mutable:heroim.client.v3beta.dto.user.event.UserStatusChangedEvent.uid)
  return _s;
}
inline const std::string& UserStatusChangedEvent::_internal_uid() const {
  return uid_.Get();
}
inline void UserStatusChangedEvent::_internal_set_uid(const std::string& value) {
  
  uid_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* UserStatusChangedEvent::_internal_mutable_uid() {
  
  return uid_.Mutable(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* UserStatusChangedEvent::release_uid() {
  // @@protoc_insertion_point(field_release:heroim.client.v3beta.dto.user.event.UserStatusChangedEvent.uid)
  return uid_.Release(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void UserStatusChangedEvent::set_allocated_uid(std::string* uid) {
  if (uid != nullptr) {
    
  } else {
    
  }
  uid_.SetAllocated(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(), uid,
      GetArenaForAllocation());
  // @@protoc_insertion_point(field_set_allocated:heroim.client.v3beta.dto.user.event.UserStatusChangedEvent.uid)
}

// .heroim.client.v3beta.dto.user.model.UserKey userKey = 3;
inline bool UserStatusChangedEvent::_internal_has_userkey() const {
  return this != internal_default_instance() && userkey_ != nullptr;
}
inline bool UserStatusChangedEvent::has_userkey() const {
  return _internal_has_userkey();
}
inline const ::heroim::client::v3beta::dto::user::model::UserKey& UserStatusChangedEvent::_internal_userkey() const {
  const ::heroim::client::v3beta::dto::user::model::UserKey* p = userkey_;
  return p != nullptr ? *p : reinterpret_cast<const ::heroim::client::v3beta::dto::user::model::UserKey&>(
      ::heroim::client::v3beta::dto::user::model::_UserKey_default_instance_);
}
inline const ::heroim::client::v3beta::dto::user::model::UserKey& UserStatusChangedEvent::userkey() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.user.event.UserStatusChangedEvent.userKey)
  return _internal_userkey();
}
inline void UserStatusChangedEvent::unsafe_arena_set_allocated_userkey(
    ::heroim::client::v3beta::dto::user::model::UserKey* userkey) {
  if (GetArenaForAllocation() == nullptr) {
    delete reinterpret_cast<::herogoogle::protobuf::MessageLite*>(userkey_);
  }
  userkey_ = userkey;
  if (userkey) {
    
  } else {
    
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:heroim.client.v3beta.dto.user.event.UserStatusChangedEvent.userKey)
}
inline ::heroim::client::v3beta::dto::user::model::UserKey* UserStatusChangedEvent::release_userkey() {
  
  ::heroim::client::v3beta::dto::user::model::UserKey* temp = userkey_;
  userkey_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  auto* old =  reinterpret_cast<::herogoogle::protobuf::MessageLite*>(temp);
  temp = ::herogoogle::protobuf::internal::DuplicateIfNonNull(temp);
  if (GetArenaForAllocation() == nullptr) { delete old; }
#else  // PROTOBUF_FORCE_COPY_IN_RELEASE
  if (GetArenaForAllocation() != nullptr) {
    temp = ::herogoogle::protobuf::internal::DuplicateIfNonNull(temp);
  }
#endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
  return temp;
}
inline ::heroim::client::v3beta::dto::user::model::UserKey* UserStatusChangedEvent::unsafe_arena_release_userkey() {
  // @@protoc_insertion_point(field_release:heroim.client.v3beta.dto.user.event.UserStatusChangedEvent.userKey)
  
  ::heroim::client::v3beta::dto::user::model::UserKey* temp = userkey_;
  userkey_ = nullptr;
  return temp;
}
inline ::heroim::client::v3beta::dto::user::model::UserKey* UserStatusChangedEvent::_internal_mutable_userkey() {
  
  if (userkey_ == nullptr) {
    auto* p = CreateMaybeMessage<::heroim::client::v3beta::dto::user::model::UserKey>(GetArenaForAllocation());
    userkey_ = p;
  }
  return userkey_;
}
inline ::heroim::client::v3beta::dto::user::model::UserKey* UserStatusChangedEvent::mutable_userkey() {
  ::heroim::client::v3beta::dto::user::model::UserKey* _msg = _internal_mutable_userkey();
  // @@protoc_insertion_point(field_mutable:heroim.client.v3beta.dto.user.event.UserStatusChangedEvent.userKey)
  return _msg;
}
inline void UserStatusChangedEvent::set_allocated_userkey(::heroim::client::v3beta::dto::user::model::UserKey* userkey) {
  ::herogoogle::protobuf::Arena* message_arena = GetArenaForAllocation();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::herogoogle::protobuf::MessageLite*>(userkey_);
  }
  if (userkey) {
    ::herogoogle::protobuf::Arena* submessage_arena =
        ::herogoogle::protobuf::Arena::InternalHelper<
            ::herogoogle::protobuf::MessageLite>::GetOwningArena(
                reinterpret_cast<::herogoogle::protobuf::MessageLite*>(userkey));
    if (message_arena != submessage_arena) {
      userkey = ::herogoogle::protobuf::internal::GetOwnedMessage(
          message_arena, userkey, submessage_arena);
    }
    
  } else {
    
  }
  userkey_ = userkey;
  // @@protoc_insertion_point(field_set_allocated:heroim.client.v3beta.dto.user.event.UserStatusChangedEvent.userKey)
}

// .heroim.client.v3beta.dto.user.model.UserStatus status = 4;
inline bool UserStatusChangedEvent::_internal_has_status() const {
  return this != internal_default_instance() && status_ != nullptr;
}
inline bool UserStatusChangedEvent::has_status() const {
  return _internal_has_status();
}
inline const ::heroim::client::v3beta::dto::user::model::UserStatus& UserStatusChangedEvent::_internal_status() const {
  const ::heroim::client::v3beta::dto::user::model::UserStatus* p = status_;
  return p != nullptr ? *p : reinterpret_cast<const ::heroim::client::v3beta::dto::user::model::UserStatus&>(
      ::heroim::client::v3beta::dto::user::model::_UserStatus_default_instance_);
}
inline const ::heroim::client::v3beta::dto::user::model::UserStatus& UserStatusChangedEvent::status() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.user.event.UserStatusChangedEvent.status)
  return _internal_status();
}
inline void UserStatusChangedEvent::unsafe_arena_set_allocated_status(
    ::heroim::client::v3beta::dto::user::model::UserStatus* status) {
  if (GetArenaForAllocation() == nullptr) {
    delete reinterpret_cast<::herogoogle::protobuf::MessageLite*>(status_);
  }
  status_ = status;
  if (status) {
    
  } else {
    
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:heroim.client.v3beta.dto.user.event.UserStatusChangedEvent.status)
}
inline ::heroim::client::v3beta::dto::user::model::UserStatus* UserStatusChangedEvent::release_status() {
  
  ::heroim::client::v3beta::dto::user::model::UserStatus* temp = status_;
  status_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  auto* old =  reinterpret_cast<::herogoogle::protobuf::MessageLite*>(temp);
  temp = ::herogoogle::protobuf::internal::DuplicateIfNonNull(temp);
  if (GetArenaForAllocation() == nullptr) { delete old; }
#else  // PROTOBUF_FORCE_COPY_IN_RELEASE
  if (GetArenaForAllocation() != nullptr) {
    temp = ::herogoogle::protobuf::internal::DuplicateIfNonNull(temp);
  }
#endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
  return temp;
}
inline ::heroim::client::v3beta::dto::user::model::UserStatus* UserStatusChangedEvent::unsafe_arena_release_status() {
  // @@protoc_insertion_point(field_release:heroim.client.v3beta.dto.user.event.UserStatusChangedEvent.status)
  
  ::heroim::client::v3beta::dto::user::model::UserStatus* temp = status_;
  status_ = nullptr;
  return temp;
}
inline ::heroim::client::v3beta::dto::user::model::UserStatus* UserStatusChangedEvent::_internal_mutable_status() {
  
  if (status_ == nullptr) {
    auto* p = CreateMaybeMessage<::heroim::client::v3beta::dto::user::model::UserStatus>(GetArenaForAllocation());
    status_ = p;
  }
  return status_;
}
inline ::heroim::client::v3beta::dto::user::model::UserStatus* UserStatusChangedEvent::mutable_status() {
  ::heroim::client::v3beta::dto::user::model::UserStatus* _msg = _internal_mutable_status();
  // @@protoc_insertion_point(field_mutable:heroim.client.v3beta.dto.user.event.UserStatusChangedEvent.status)
  return _msg;
}
inline void UserStatusChangedEvent::set_allocated_status(::heroim::client::v3beta::dto::user::model::UserStatus* status) {
  ::herogoogle::protobuf::Arena* message_arena = GetArenaForAllocation();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::herogoogle::protobuf::MessageLite*>(status_);
  }
  if (status) {
    ::herogoogle::protobuf::Arena* submessage_arena =
        ::herogoogle::protobuf::Arena::InternalHelper<
            ::herogoogle::protobuf::MessageLite>::GetOwningArena(
                reinterpret_cast<::herogoogle::protobuf::MessageLite*>(status));
    if (message_arena != submessage_arena) {
      status = ::herogoogle::protobuf::internal::GetOwnedMessage(
          message_arena, status, submessage_arena);
    }
    
  } else {
    
  }
  status_ = status;
  // @@protoc_insertion_point(field_set_allocated:heroim.client.v3beta.dto.user.event.UserStatusChangedEvent.status)
}

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

// UserControlChangedEvent

// string productId = 1;
inline void UserControlChangedEvent::clear_productid() {
  productid_.ClearToEmpty();
}
inline const std::string& UserControlChangedEvent::productid() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.user.event.UserControlChangedEvent.productId)
  return _internal_productid();
}
template <typename ArgT0, typename... ArgT>
inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE
void UserControlChangedEvent::set_productid(ArgT0&& arg0, ArgT... args) {
 
 productid_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:heroim.client.v3beta.dto.user.event.UserControlChangedEvent.productId)
}
inline std::string* UserControlChangedEvent::mutable_productid() {
  std::string* _s = _internal_mutable_productid();
  // @@protoc_insertion_point(field_mutable:heroim.client.v3beta.dto.user.event.UserControlChangedEvent.productId)
  return _s;
}
inline const std::string& UserControlChangedEvent::_internal_productid() const {
  return productid_.Get();
}
inline void UserControlChangedEvent::_internal_set_productid(const std::string& value) {
  
  productid_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* UserControlChangedEvent::_internal_mutable_productid() {
  
  return productid_.Mutable(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* UserControlChangedEvent::release_productid() {
  // @@protoc_insertion_point(field_release:heroim.client.v3beta.dto.user.event.UserControlChangedEvent.productId)
  return productid_.Release(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void UserControlChangedEvent::set_allocated_productid(std::string* productid) {
  if (productid != nullptr) {
    
  } else {
    
  }
  productid_.SetAllocated(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(), productid,
      GetArenaForAllocation());
  // @@protoc_insertion_point(field_set_allocated:heroim.client.v3beta.dto.user.event.UserControlChangedEvent.productId)
}

// string uid = 2;
inline void UserControlChangedEvent::clear_uid() {
  uid_.ClearToEmpty();
}
inline const std::string& UserControlChangedEvent::uid() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.user.event.UserControlChangedEvent.uid)
  return _internal_uid();
}
template <typename ArgT0, typename... ArgT>
inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE
void UserControlChangedEvent::set_uid(ArgT0&& arg0, ArgT... args) {
 
 uid_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:heroim.client.v3beta.dto.user.event.UserControlChangedEvent.uid)
}
inline std::string* UserControlChangedEvent::mutable_uid() {
  std::string* _s = _internal_mutable_uid();
  // @@protoc_insertion_point(field_mutable:heroim.client.v3beta.dto.user.event.UserControlChangedEvent.uid)
  return _s;
}
inline const std::string& UserControlChangedEvent::_internal_uid() const {
  return uid_.Get();
}
inline void UserControlChangedEvent::_internal_set_uid(const std::string& value) {
  
  uid_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* UserControlChangedEvent::_internal_mutable_uid() {
  
  return uid_.Mutable(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* UserControlChangedEvent::release_uid() {
  // @@protoc_insertion_point(field_release:heroim.client.v3beta.dto.user.event.UserControlChangedEvent.uid)
  return uid_.Release(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void UserControlChangedEvent::set_allocated_uid(std::string* uid) {
  if (uid != nullptr) {
    
  } else {
    
  }
  uid_.SetAllocated(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(), uid,
      GetArenaForAllocation());
  // @@protoc_insertion_point(field_set_allocated:heroim.client.v3beta.dto.user.event.UserControlChangedEvent.uid)
}

// .heroim.client.v3beta.dto.user.model.UserControl status = 3;
inline bool UserControlChangedEvent::_internal_has_status() const {
  return this != internal_default_instance() && status_ != nullptr;
}
inline bool UserControlChangedEvent::has_status() const {
  return _internal_has_status();
}
inline const ::heroim::client::v3beta::dto::user::model::UserControl& UserControlChangedEvent::_internal_status() const {
  const ::heroim::client::v3beta::dto::user::model::UserControl* p = status_;
  return p != nullptr ? *p : reinterpret_cast<const ::heroim::client::v3beta::dto::user::model::UserControl&>(
      ::heroim::client::v3beta::dto::user::model::_UserControl_default_instance_);
}
inline const ::heroim::client::v3beta::dto::user::model::UserControl& UserControlChangedEvent::status() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.user.event.UserControlChangedEvent.status)
  return _internal_status();
}
inline void UserControlChangedEvent::unsafe_arena_set_allocated_status(
    ::heroim::client::v3beta::dto::user::model::UserControl* status) {
  if (GetArenaForAllocation() == nullptr) {
    delete reinterpret_cast<::herogoogle::protobuf::MessageLite*>(status_);
  }
  status_ = status;
  if (status) {
    
  } else {
    
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:heroim.client.v3beta.dto.user.event.UserControlChangedEvent.status)
}
inline ::heroim::client::v3beta::dto::user::model::UserControl* UserControlChangedEvent::release_status() {
  
  ::heroim::client::v3beta::dto::user::model::UserControl* temp = status_;
  status_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  auto* old =  reinterpret_cast<::herogoogle::protobuf::MessageLite*>(temp);
  temp = ::herogoogle::protobuf::internal::DuplicateIfNonNull(temp);
  if (GetArenaForAllocation() == nullptr) { delete old; }
#else  // PROTOBUF_FORCE_COPY_IN_RELEASE
  if (GetArenaForAllocation() != nullptr) {
    temp = ::herogoogle::protobuf::internal::DuplicateIfNonNull(temp);
  }
#endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
  return temp;
}
inline ::heroim::client::v3beta::dto::user::model::UserControl* UserControlChangedEvent::unsafe_arena_release_status() {
  // @@protoc_insertion_point(field_release:heroim.client.v3beta.dto.user.event.UserControlChangedEvent.status)
  
  ::heroim::client::v3beta::dto::user::model::UserControl* temp = status_;
  status_ = nullptr;
  return temp;
}
inline ::heroim::client::v3beta::dto::user::model::UserControl* UserControlChangedEvent::_internal_mutable_status() {
  
  if (status_ == nullptr) {
    auto* p = CreateMaybeMessage<::heroim::client::v3beta::dto::user::model::UserControl>(GetArenaForAllocation());
    status_ = p;
  }
  return status_;
}
inline ::heroim::client::v3beta::dto::user::model::UserControl* UserControlChangedEvent::mutable_status() {
  ::heroim::client::v3beta::dto::user::model::UserControl* _msg = _internal_mutable_status();
  // @@protoc_insertion_point(field_mutable:heroim.client.v3beta.dto.user.event.UserControlChangedEvent.status)
  return _msg;
}
inline void UserControlChangedEvent::set_allocated_status(::heroim::client::v3beta::dto::user::model::UserControl* status) {
  ::herogoogle::protobuf::Arena* message_arena = GetArenaForAllocation();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::herogoogle::protobuf::MessageLite*>(status_);
  }
  if (status) {
    ::herogoogle::protobuf::Arena* submessage_arena =
        ::herogoogle::protobuf::Arena::InternalHelper<
            ::herogoogle::protobuf::MessageLite>::GetOwningArena(
                reinterpret_cast<::herogoogle::protobuf::MessageLite*>(status));
    if (message_arena != submessage_arena) {
      status = ::herogoogle::protobuf::internal::GetOwnedMessage(
          message_arena, status, submessage_arena);
    }
    
  } else {
    
  }
  status_ = status;
  // @@protoc_insertion_point(field_set_allocated:heroim.client.v3beta.dto.user.event.UserControlChangedEvent.status)
}

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

// UserConnectedEvent

// string productId = 1;
inline void UserConnectedEvent::clear_productid() {
  productid_.ClearToEmpty();
}
inline const std::string& UserConnectedEvent::productid() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.user.event.UserConnectedEvent.productId)
  return _internal_productid();
}
template <typename ArgT0, typename... ArgT>
inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE
void UserConnectedEvent::set_productid(ArgT0&& arg0, ArgT... args) {
 
 productid_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:heroim.client.v3beta.dto.user.event.UserConnectedEvent.productId)
}
inline std::string* UserConnectedEvent::mutable_productid() {
  std::string* _s = _internal_mutable_productid();
  // @@protoc_insertion_point(field_mutable:heroim.client.v3beta.dto.user.event.UserConnectedEvent.productId)
  return _s;
}
inline const std::string& UserConnectedEvent::_internal_productid() const {
  return productid_.Get();
}
inline void UserConnectedEvent::_internal_set_productid(const std::string& value) {
  
  productid_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* UserConnectedEvent::_internal_mutable_productid() {
  
  return productid_.Mutable(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* UserConnectedEvent::release_productid() {
  // @@protoc_insertion_point(field_release:heroim.client.v3beta.dto.user.event.UserConnectedEvent.productId)
  return productid_.Release(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void UserConnectedEvent::set_allocated_productid(std::string* productid) {
  if (productid != nullptr) {
    
  } else {
    
  }
  productid_.SetAllocated(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(), productid,
      GetArenaForAllocation());
  // @@protoc_insertion_point(field_set_allocated:heroim.client.v3beta.dto.user.event.UserConnectedEvent.productId)
}

// .heroim.client.v3beta.dto.user.model.UserSimple user = 2;
inline bool UserConnectedEvent::_internal_has_user() const {
  return this != internal_default_instance() && user_ != nullptr;
}
inline bool UserConnectedEvent::has_user() const {
  return _internal_has_user();
}
inline const ::heroim::client::v3beta::dto::user::model::UserSimple& UserConnectedEvent::_internal_user() const {
  const ::heroim::client::v3beta::dto::user::model::UserSimple* p = user_;
  return p != nullptr ? *p : reinterpret_cast<const ::heroim::client::v3beta::dto::user::model::UserSimple&>(
      ::heroim::client::v3beta::dto::user::model::_UserSimple_default_instance_);
}
inline const ::heroim::client::v3beta::dto::user::model::UserSimple& UserConnectedEvent::user() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.user.event.UserConnectedEvent.user)
  return _internal_user();
}
inline void UserConnectedEvent::unsafe_arena_set_allocated_user(
    ::heroim::client::v3beta::dto::user::model::UserSimple* user) {
  if (GetArenaForAllocation() == nullptr) {
    delete reinterpret_cast<::herogoogle::protobuf::MessageLite*>(user_);
  }
  user_ = user;
  if (user) {
    
  } else {
    
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:heroim.client.v3beta.dto.user.event.UserConnectedEvent.user)
}
inline ::heroim::client::v3beta::dto::user::model::UserSimple* UserConnectedEvent::release_user() {
  
  ::heroim::client::v3beta::dto::user::model::UserSimple* temp = user_;
  user_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  auto* old =  reinterpret_cast<::herogoogle::protobuf::MessageLite*>(temp);
  temp = ::herogoogle::protobuf::internal::DuplicateIfNonNull(temp);
  if (GetArenaForAllocation() == nullptr) { delete old; }
#else  // PROTOBUF_FORCE_COPY_IN_RELEASE
  if (GetArenaForAllocation() != nullptr) {
    temp = ::herogoogle::protobuf::internal::DuplicateIfNonNull(temp);
  }
#endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
  return temp;
}
inline ::heroim::client::v3beta::dto::user::model::UserSimple* UserConnectedEvent::unsafe_arena_release_user() {
  // @@protoc_insertion_point(field_release:heroim.client.v3beta.dto.user.event.UserConnectedEvent.user)
  
  ::heroim::client::v3beta::dto::user::model::UserSimple* temp = user_;
  user_ = nullptr;
  return temp;
}
inline ::heroim::client::v3beta::dto::user::model::UserSimple* UserConnectedEvent::_internal_mutable_user() {
  
  if (user_ == nullptr) {
    auto* p = CreateMaybeMessage<::heroim::client::v3beta::dto::user::model::UserSimple>(GetArenaForAllocation());
    user_ = p;
  }
  return user_;
}
inline ::heroim::client::v3beta::dto::user::model::UserSimple* UserConnectedEvent::mutable_user() {
  ::heroim::client::v3beta::dto::user::model::UserSimple* _msg = _internal_mutable_user();
  // @@protoc_insertion_point(field_mutable:heroim.client.v3beta.dto.user.event.UserConnectedEvent.user)
  return _msg;
}
inline void UserConnectedEvent::set_allocated_user(::heroim::client::v3beta::dto::user::model::UserSimple* user) {
  ::herogoogle::protobuf::Arena* message_arena = GetArenaForAllocation();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::herogoogle::protobuf::MessageLite*>(user_);
  }
  if (user) {
    ::herogoogle::protobuf::Arena* submessage_arena =
        ::herogoogle::protobuf::Arena::InternalHelper<
            ::herogoogle::protobuf::MessageLite>::GetOwningArena(
                reinterpret_cast<::herogoogle::protobuf::MessageLite*>(user));
    if (message_arena != submessage_arena) {
      user = ::herogoogle::protobuf::internal::GetOwnedMessage(
          message_arena, user, submessage_arena);
    }
    
  } else {
    
  }
  user_ = user;
  // @@protoc_insertion_point(field_set_allocated:heroim.client.v3beta.dto.user.event.UserConnectedEvent.user)
}

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

// UserDisConnectedEvent

// string productId = 1;
inline void UserDisConnectedEvent::clear_productid() {
  productid_.ClearToEmpty();
}
inline const std::string& UserDisConnectedEvent::productid() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.user.event.UserDisConnectedEvent.productId)
  return _internal_productid();
}
template <typename ArgT0, typename... ArgT>
inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE
void UserDisConnectedEvent::set_productid(ArgT0&& arg0, ArgT... args) {
 
 productid_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:heroim.client.v3beta.dto.user.event.UserDisConnectedEvent.productId)
}
inline std::string* UserDisConnectedEvent::mutable_productid() {
  std::string* _s = _internal_mutable_productid();
  // @@protoc_insertion_point(field_mutable:heroim.client.v3beta.dto.user.event.UserDisConnectedEvent.productId)
  return _s;
}
inline const std::string& UserDisConnectedEvent::_internal_productid() const {
  return productid_.Get();
}
inline void UserDisConnectedEvent::_internal_set_productid(const std::string& value) {
  
  productid_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* UserDisConnectedEvent::_internal_mutable_productid() {
  
  return productid_.Mutable(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* UserDisConnectedEvent::release_productid() {
  // @@protoc_insertion_point(field_release:heroim.client.v3beta.dto.user.event.UserDisConnectedEvent.productId)
  return productid_.Release(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void UserDisConnectedEvent::set_allocated_productid(std::string* productid) {
  if (productid != nullptr) {
    
  } else {
    
  }
  productid_.SetAllocated(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(), productid,
      GetArenaForAllocation());
  // @@protoc_insertion_point(field_set_allocated:heroim.client.v3beta.dto.user.event.UserDisConnectedEvent.productId)
}

// .heroim.client.v3beta.dto.user.model.UserSimple user = 2;
inline bool UserDisConnectedEvent::_internal_has_user() const {
  return this != internal_default_instance() && user_ != nullptr;
}
inline bool UserDisConnectedEvent::has_user() const {
  return _internal_has_user();
}
inline const ::heroim::client::v3beta::dto::user::model::UserSimple& UserDisConnectedEvent::_internal_user() const {
  const ::heroim::client::v3beta::dto::user::model::UserSimple* p = user_;
  return p != nullptr ? *p : reinterpret_cast<const ::heroim::client::v3beta::dto::user::model::UserSimple&>(
      ::heroim::client::v3beta::dto::user::model::_UserSimple_default_instance_);
}
inline const ::heroim::client::v3beta::dto::user::model::UserSimple& UserDisConnectedEvent::user() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.user.event.UserDisConnectedEvent.user)
  return _internal_user();
}
inline void UserDisConnectedEvent::unsafe_arena_set_allocated_user(
    ::heroim::client::v3beta::dto::user::model::UserSimple* user) {
  if (GetArenaForAllocation() == nullptr) {
    delete reinterpret_cast<::herogoogle::protobuf::MessageLite*>(user_);
  }
  user_ = user;
  if (user) {
    
  } else {
    
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:heroim.client.v3beta.dto.user.event.UserDisConnectedEvent.user)
}
inline ::heroim::client::v3beta::dto::user::model::UserSimple* UserDisConnectedEvent::release_user() {
  
  ::heroim::client::v3beta::dto::user::model::UserSimple* temp = user_;
  user_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  auto* old =  reinterpret_cast<::herogoogle::protobuf::MessageLite*>(temp);
  temp = ::herogoogle::protobuf::internal::DuplicateIfNonNull(temp);
  if (GetArenaForAllocation() == nullptr) { delete old; }
#else  // PROTOBUF_FORCE_COPY_IN_RELEASE
  if (GetArenaForAllocation() != nullptr) {
    temp = ::herogoogle::protobuf::internal::DuplicateIfNonNull(temp);
  }
#endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
  return temp;
}
inline ::heroim::client::v3beta::dto::user::model::UserSimple* UserDisConnectedEvent::unsafe_arena_release_user() {
  // @@protoc_insertion_point(field_release:heroim.client.v3beta.dto.user.event.UserDisConnectedEvent.user)
  
  ::heroim::client::v3beta::dto::user::model::UserSimple* temp = user_;
  user_ = nullptr;
  return temp;
}
inline ::heroim::client::v3beta::dto::user::model::UserSimple* UserDisConnectedEvent::_internal_mutable_user() {
  
  if (user_ == nullptr) {
    auto* p = CreateMaybeMessage<::heroim::client::v3beta::dto::user::model::UserSimple>(GetArenaForAllocation());
    user_ = p;
  }
  return user_;
}
inline ::heroim::client::v3beta::dto::user::model::UserSimple* UserDisConnectedEvent::mutable_user() {
  ::heroim::client::v3beta::dto::user::model::UserSimple* _msg = _internal_mutable_user();
  // @@protoc_insertion_point(field_mutable:heroim.client.v3beta.dto.user.event.UserDisConnectedEvent.user)
  return _msg;
}
inline void UserDisConnectedEvent::set_allocated_user(::heroim::client::v3beta::dto::user::model::UserSimple* user) {
  ::herogoogle::protobuf::Arena* message_arena = GetArenaForAllocation();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::herogoogle::protobuf::MessageLite*>(user_);
  }
  if (user) {
    ::herogoogle::protobuf::Arena* submessage_arena =
        ::herogoogle::protobuf::Arena::InternalHelper<
            ::herogoogle::protobuf::MessageLite>::GetOwningArena(
                reinterpret_cast<::herogoogle::protobuf::MessageLite*>(user));
    if (message_arena != submessage_arena) {
      user = ::herogoogle::protobuf::internal::GetOwnedMessage(
          message_arena, user, submessage_arena);
    }
    
  } else {
    
  }
  user_ = user;
  // @@protoc_insertion_point(field_set_allocated:heroim.client.v3beta.dto.user.event.UserDisConnectedEvent.user)
}

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

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

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

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


// @@protoc_insertion_point(namespace_scope)

}  // namespace event
}  // namespace user
}  // namespace dto
}  // namespace v3beta
}  // namespace client
}  // namespace heroim

// @@protoc_insertion_point(global_scope)


#endif  // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_client_2fv3beta_2fdto_2fuser_2fevent_2fuser_5fevent_2eproto
