// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: client/v3beta/dto/socket/socket_dto.proto

#ifndef GOOGLE_PROTOBUF_INCLUDED_client_2fv3beta_2fdto_2fsocket_2fsocket_5fdto_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_client_2fv3beta_2fdto_2fsocket_2fsocket_5fdto_2eproto

#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_bases.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/map.h>  // IWYU pragma: export
#include <herogoogle/protobuf/map_entry.h>
#include <herogoogle/protobuf/map_field_inl.h>
#include <herogoogle/protobuf/generated_enum_reflection.h>
#include <herogoogle/protobuf/unknown_field_set.h>
#include "client/v3beta/dto/message/model/message_model.pb.h"
// @@protoc_insertion_point(includes)

#define PROTOBUF_INTERNAL_EXPORT_client_2fv3beta_2fdto_2fsocket_2fsocket_5fdto_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_2fsocket_2fsocket_5fdto_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[6]
    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_2fsocket_2fsocket_5fdto_2eproto;
namespace heroim {
namespace client {
namespace v3beta {
namespace dto {
namespace socket {
class AuthRequest;
struct AuthRequestDefaultTypeInternal;
extern AuthRequestDefaultTypeInternal _AuthRequest_default_instance_;
class AuthRequest_OptionEntry_DoNotUse;
struct AuthRequest_OptionEntry_DoNotUseDefaultTypeInternal;
extern AuthRequest_OptionEntry_DoNotUseDefaultTypeInternal _AuthRequest_OptionEntry_DoNotUse_default_instance_;
class AuthResponse;
struct AuthResponseDefaultTypeInternal;
extern AuthResponseDefaultTypeInternal _AuthResponse_default_instance_;
class AuthResponse_PrivateSession;
struct AuthResponse_PrivateSessionDefaultTypeInternal;
extern AuthResponse_PrivateSessionDefaultTypeInternal _AuthResponse_PrivateSession_default_instance_;
class HeartbeatRequest;
struct HeartbeatRequestDefaultTypeInternal;
extern HeartbeatRequestDefaultTypeInternal _HeartbeatRequest_default_instance_;
class HeartbeatResponse;
struct HeartbeatResponseDefaultTypeInternal;
extern HeartbeatResponseDefaultTypeInternal _HeartbeatResponse_default_instance_;
}  // namespace socket
}  // namespace dto
}  // namespace v3beta
}  // namespace client
}  // namespace heroim
PROTOBUF_NAMESPACE_OPEN
template<> ::heroim::client::v3beta::dto::socket::AuthRequest* Arena::CreateMaybeMessage<::heroim::client::v3beta::dto::socket::AuthRequest>(Arena*);
template<> ::heroim::client::v3beta::dto::socket::AuthRequest_OptionEntry_DoNotUse* Arena::CreateMaybeMessage<::heroim::client::v3beta::dto::socket::AuthRequest_OptionEntry_DoNotUse>(Arena*);
template<> ::heroim::client::v3beta::dto::socket::AuthResponse* Arena::CreateMaybeMessage<::heroim::client::v3beta::dto::socket::AuthResponse>(Arena*);
template<> ::heroim::client::v3beta::dto::socket::AuthResponse_PrivateSession* Arena::CreateMaybeMessage<::heroim::client::v3beta::dto::socket::AuthResponse_PrivateSession>(Arena*);
template<> ::heroim::client::v3beta::dto::socket::HeartbeatRequest* Arena::CreateMaybeMessage<::heroim::client::v3beta::dto::socket::HeartbeatRequest>(Arena*);
template<> ::heroim::client::v3beta::dto::socket::HeartbeatResponse* Arena::CreateMaybeMessage<::heroim::client::v3beta::dto::socket::HeartbeatResponse>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace heroim {
namespace client {
namespace v3beta {
namespace dto {
namespace socket {

enum AuthRequest_Option : int {
  AuthRequest_Option_Compress = 0,
  AuthRequest_Option_AuthRequest_Option_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::herogoogle::protobuf::int32>::min(),
  AuthRequest_Option_AuthRequest_Option_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::herogoogle::protobuf::int32>::max()
};
bool AuthRequest_Option_IsValid(int value);
constexpr AuthRequest_Option AuthRequest_Option_Option_MIN = AuthRequest_Option_Compress;
constexpr AuthRequest_Option AuthRequest_Option_Option_MAX = AuthRequest_Option_Compress;
constexpr int AuthRequest_Option_Option_ARRAYSIZE = AuthRequest_Option_Option_MAX + 1;

const ::herogoogle::protobuf::EnumDescriptor* AuthRequest_Option_descriptor();
template<typename T>
inline const std::string& AuthRequest_Option_Name(T enum_t_value) {
  static_assert(::std::is_same<T, AuthRequest_Option>::value ||
    ::std::is_integral<T>::value,
    "Incorrect type passed to function AuthRequest_Option_Name.");
  return ::herogoogle::protobuf::internal::NameOfEnum(
    AuthRequest_Option_descriptor(), enum_t_value);
}
inline bool AuthRequest_Option_Parse(
    ::herogoogle::protobuf::ConstStringParam name, AuthRequest_Option* value) {
  return ::herogoogle::protobuf::internal::ParseNamedEnum<AuthRequest_Option>(
    AuthRequest_Option_descriptor(), name, value);
}
// ===================================================================

class AuthRequest_OptionEntry_DoNotUse : public ::herogoogle::protobuf::internal::MapEntry<AuthRequest_OptionEntry_DoNotUse, 
    ::herogoogle::protobuf::int32, std::string,
    ::herogoogle::protobuf::internal::WireFormatLite::TYPE_INT32,
    ::herogoogle::protobuf::internal::WireFormatLite::TYPE_STRING> {
public:
  typedef ::herogoogle::protobuf::internal::MapEntry<AuthRequest_OptionEntry_DoNotUse, 
    ::herogoogle::protobuf::int32, std::string,
    ::herogoogle::protobuf::internal::WireFormatLite::TYPE_INT32,
    ::herogoogle::protobuf::internal::WireFormatLite::TYPE_STRING> SuperType;
  AuthRequest_OptionEntry_DoNotUse();
  explicit constexpr AuthRequest_OptionEntry_DoNotUse(
      ::herogoogle::protobuf::internal::ConstantInitialized);
  explicit AuthRequest_OptionEntry_DoNotUse(::herogoogle::protobuf::Arena* arena);
  void MergeFrom(const AuthRequest_OptionEntry_DoNotUse& other);
  static const AuthRequest_OptionEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const AuthRequest_OptionEntry_DoNotUse*>(&_AuthRequest_OptionEntry_DoNotUse_default_instance_); }
  static bool ValidateKey(void*) { return true; }
  static bool ValidateValue(std::string* s) {
    return ::herogoogle::protobuf::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::herogoogle::protobuf::internal::WireFormatLite::PARSE, "heroim.client.v3beta.dto.socket.AuthRequest.OptionEntry.value");
 }
  using ::herogoogle::protobuf::Message::MergeFrom;
  ::herogoogle::protobuf::Metadata GetMetadata() const final;
};

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

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

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

  inline AuthRequest& operator=(const AuthRequest& from) {
    CopyFrom(from);
    return *this;
  }
  inline AuthRequest& operator=(AuthRequest&& 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 AuthRequest& default_instance() {
    return *internal_default_instance();
  }
  static inline const AuthRequest* internal_default_instance() {
    return reinterpret_cast<const AuthRequest*>(
               &_AuthRequest_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    1;

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

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

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

  AuthRequest* New(::herogoogle::protobuf::Arena* arena) const final {
    return CreateMaybeMessage<AuthRequest>(arena);
  }
  using ::herogoogle::protobuf::Message::CopyFrom;
  void CopyFrom(const AuthRequest& from);
  using ::herogoogle::protobuf::Message::MergeFrom;
  void MergeFrom(const AuthRequest& 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(AuthRequest* other);
  friend class ::herogoogle::protobuf::internal::AnyMetadata;
  static ::herogoogle::protobuf::StringPiece FullMessageName() {
    return "heroim.client.v3beta.dto.socket.AuthRequest";
  }
  protected:
  explicit AuthRequest(::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 ----------------------------------------------------


  typedef AuthRequest_Option Option;
  static constexpr Option Compress =
    AuthRequest_Option_Compress;
  static inline bool Option_IsValid(int value) {
    return AuthRequest_Option_IsValid(value);
  }
  static constexpr Option Option_MIN =
    AuthRequest_Option_Option_MIN;
  static constexpr Option Option_MAX =
    AuthRequest_Option_Option_MAX;
  static constexpr int Option_ARRAYSIZE =
    AuthRequest_Option_Option_ARRAYSIZE;
  static inline const ::herogoogle::protobuf::EnumDescriptor*
  Option_descriptor() {
    return AuthRequest_Option_descriptor();
  }
  template<typename T>
  static inline const std::string& Option_Name(T enum_t_value) {
    static_assert(::std::is_same<T, Option>::value ||
      ::std::is_integral<T>::value,
      "Incorrect type passed to function Option_Name.");
    return AuthRequest_Option_Name(enum_t_value);
  }
  static inline bool Option_Parse(::herogoogle::protobuf::ConstStringParam name,
      Option* value) {
    return AuthRequest_Option_Parse(name, value);
  }

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

  enum : int {
    kOptionFieldNumber = 4,
    kProductIdFieldNumber = 1,
    kServerIdFieldNumber = 2,
    kTokenFieldNumber = 3,
  };
  // map<int32, string> option = 4;
  int option_size() const;
  private:
  int _internal_option_size() const;
  public:
  void clear_option();
  private:
  const ::herogoogle::protobuf::Map< ::herogoogle::protobuf::int32, std::string >&
      _internal_option() const;
  ::herogoogle::protobuf::Map< ::herogoogle::protobuf::int32, std::string >*
      _internal_mutable_option();
  public:
  const ::herogoogle::protobuf::Map< ::herogoogle::protobuf::int32, std::string >&
      option() const;
  ::herogoogle::protobuf::Map< ::herogoogle::protobuf::int32, std::string >*
      mutable_option();

  // 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 serverId = 2;
  void clear_serverid();
  const std::string& serverid() const;
  template <typename ArgT0 = const std::string&, typename... ArgT>
  void set_serverid(ArgT0&& arg0, ArgT... args);
  std::string* mutable_serverid();
  PROTOBUF_MUST_USE_RESULT std::string* release_serverid();
  void set_allocated_serverid(std::string* serverid);
  private:
  const std::string& _internal_serverid() const;
  inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE void _internal_set_serverid(const std::string& value);
  std::string* _internal_mutable_serverid();
  public:

  // string token = 3;
  void clear_token();
  const std::string& token() const;
  template <typename ArgT0 = const std::string&, typename... ArgT>
  void set_token(ArgT0&& arg0, ArgT... args);
  std::string* mutable_token();
  PROTOBUF_MUST_USE_RESULT std::string* release_token();
  void set_allocated_token(std::string* token);
  private:
  const std::string& _internal_token() const;
  inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE void _internal_set_token(const std::string& value);
  std::string* _internal_mutable_token();
  public:

  // @@protoc_insertion_point(class_scope:heroim.client.v3beta.dto.socket.AuthRequest)
 private:
  class _Internal;

  template <typename T> friend class ::herogoogle::protobuf::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  ::herogoogle::protobuf::internal::MapField<
      AuthRequest_OptionEntry_DoNotUse,
      ::herogoogle::protobuf::int32, std::string,
      ::herogoogle::protobuf::internal::WireFormatLite::TYPE_INT32,
      ::herogoogle::protobuf::internal::WireFormatLite::TYPE_STRING> option_;
  ::herogoogle::protobuf::internal::ArenaStringPtr productid_;
  ::herogoogle::protobuf::internal::ArenaStringPtr serverid_;
  ::herogoogle::protobuf::internal::ArenaStringPtr token_;
  mutable ::herogoogle::protobuf::internal::CachedSize _cached_size_;
  friend struct ::TableStruct_client_2fv3beta_2fdto_2fsocket_2fsocket_5fdto_2eproto;
};
// -------------------------------------------------------------------

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

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

  inline AuthResponse_PrivateSession& operator=(const AuthResponse_PrivateSession& from) {
    CopyFrom(from);
    return *this;
  }
  inline AuthResponse_PrivateSession& operator=(AuthResponse_PrivateSession&& 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 AuthResponse_PrivateSession& default_instance() {
    return *internal_default_instance();
  }
  static inline const AuthResponse_PrivateSession* internal_default_instance() {
    return reinterpret_cast<const AuthResponse_PrivateSession*>(
               &_AuthResponse_PrivateSession_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    2;

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

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

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

  AuthResponse_PrivateSession* New(::herogoogle::protobuf::Arena* arena) const final {
    return CreateMaybeMessage<AuthResponse_PrivateSession>(arena);
  }
  using ::herogoogle::protobuf::Message::CopyFrom;
  void CopyFrom(const AuthResponse_PrivateSession& from);
  using ::herogoogle::protobuf::Message::MergeFrom;
  void MergeFrom(const AuthResponse_PrivateSession& 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(AuthResponse_PrivateSession* other);
  friend class ::herogoogle::protobuf::internal::AnyMetadata;
  static ::herogoogle::protobuf::StringPiece FullMessageName() {
    return "heroim.client.v3beta.dto.socket.AuthResponse.PrivateSession";
  }
  protected:
  explicit AuthResponse_PrivateSession(::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 {
    kSessionIdFieldNumber = 1,
    kSessionKeyFieldNumber = 2,
    kReadSeqFieldNumber = 3,
    kSendSeqFieldNumber = 4,
  };
  // string sessionId = 1;
  void clear_sessionid();
  const std::string& sessionid() const;
  template <typename ArgT0 = const std::string&, typename... ArgT>
  void set_sessionid(ArgT0&& arg0, ArgT... args);
  std::string* mutable_sessionid();
  PROTOBUF_MUST_USE_RESULT std::string* release_sessionid();
  void set_allocated_sessionid(std::string* sessionid);
  private:
  const std::string& _internal_sessionid() const;
  inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE void _internal_set_sessionid(const std::string& value);
  std::string* _internal_mutable_sessionid();
  public:

  // .heroim.client.v3beta.dto.message.model.SessionKey sessionKey = 2;
  bool has_sessionkey() const;
  private:
  bool _internal_has_sessionkey() const;
  public:
  void clear_sessionkey();
  const ::heroim::client::v3beta::dto::message::model::SessionKey& sessionkey() const;
  PROTOBUF_MUST_USE_RESULT ::heroim::client::v3beta::dto::message::model::SessionKey* release_sessionkey();
  ::heroim::client::v3beta::dto::message::model::SessionKey* mutable_sessionkey();
  void set_allocated_sessionkey(::heroim::client::v3beta::dto::message::model::SessionKey* sessionkey);
  private:
  const ::heroim::client::v3beta::dto::message::model::SessionKey& _internal_sessionkey() const;
  ::heroim::client::v3beta::dto::message::model::SessionKey* _internal_mutable_sessionkey();
  public:
  void unsafe_arena_set_allocated_sessionkey(
      ::heroim::client::v3beta::dto::message::model::SessionKey* sessionkey);
  ::heroim::client::v3beta::dto::message::model::SessionKey* unsafe_arena_release_sessionkey();

  // int64 readSeq = 3;
  void clear_readseq();
  ::herogoogle::protobuf::int64 readseq() const;
  void set_readseq(::herogoogle::protobuf::int64 value);
  private:
  ::herogoogle::protobuf::int64 _internal_readseq() const;
  void _internal_set_readseq(::herogoogle::protobuf::int64 value);
  public:

  // int64 sendSeq = 4;
  void clear_sendseq();
  ::herogoogle::protobuf::int64 sendseq() const;
  void set_sendseq(::herogoogle::protobuf::int64 value);
  private:
  ::herogoogle::protobuf::int64 _internal_sendseq() const;
  void _internal_set_sendseq(::herogoogle::protobuf::int64 value);
  public:

  // @@protoc_insertion_point(class_scope:heroim.client.v3beta.dto.socket.AuthResponse.PrivateSession)
 private:
  class _Internal;

  template <typename T> friend class ::herogoogle::protobuf::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  ::herogoogle::protobuf::internal::ArenaStringPtr sessionid_;
  ::heroim::client::v3beta::dto::message::model::SessionKey* sessionkey_;
  ::herogoogle::protobuf::int64 readseq_;
  ::herogoogle::protobuf::int64 sendseq_;
  mutable ::herogoogle::protobuf::internal::CachedSize _cached_size_;
  friend struct ::TableStruct_client_2fv3beta_2fdto_2fsocket_2fsocket_5fdto_2eproto;
};
// -------------------------------------------------------------------

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

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

  inline AuthResponse& operator=(const AuthResponse& from) {
    CopyFrom(from);
    return *this;
  }
  inline AuthResponse& operator=(AuthResponse&& 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 AuthResponse& default_instance() {
    return *internal_default_instance();
  }
  static inline const AuthResponse* internal_default_instance() {
    return reinterpret_cast<const AuthResponse*>(
               &_AuthResponse_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    3;

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

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

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

  AuthResponse* New(::herogoogle::protobuf::Arena* arena) const final {
    return CreateMaybeMessage<AuthResponse>(arena);
  }
  using ::herogoogle::protobuf::Message::CopyFrom;
  void CopyFrom(const AuthResponse& from);
  using ::herogoogle::protobuf::Message::MergeFrom;
  void MergeFrom(const AuthResponse& 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(AuthResponse* other);
  friend class ::herogoogle::protobuf::internal::AnyMetadata;
  static ::herogoogle::protobuf::StringPiece FullMessageName() {
    return "heroim.client.v3beta.dto.socket.AuthResponse";
  }
  protected:
  explicit AuthResponse(::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 ----------------------------------------------------

  typedef AuthResponse_PrivateSession PrivateSession;

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

  enum : int {
    kPrivateSessionsFieldNumber = 4,
    kProductIdFieldNumber = 1,
    kUidFieldNumber = 2,
    kHeartbeatFieldNumber = 3,
  };
  // repeated .heroim.client.v3beta.dto.socket.AuthResponse.PrivateSession privateSessions = 4;
  int privatesessions_size() const;
  private:
  int _internal_privatesessions_size() const;
  public:
  void clear_privatesessions();
  ::heroim::client::v3beta::dto::socket::AuthResponse_PrivateSession* mutable_privatesessions(int index);
  ::herogoogle::protobuf::RepeatedPtrField< ::heroim::client::v3beta::dto::socket::AuthResponse_PrivateSession >*
      mutable_privatesessions();
  private:
  const ::heroim::client::v3beta::dto::socket::AuthResponse_PrivateSession& _internal_privatesessions(int index) const;
  ::heroim::client::v3beta::dto::socket::AuthResponse_PrivateSession* _internal_add_privatesessions();
  public:
  const ::heroim::client::v3beta::dto::socket::AuthResponse_PrivateSession& privatesessions(int index) const;
  ::heroim::client::v3beta::dto::socket::AuthResponse_PrivateSession* add_privatesessions();
  const ::herogoogle::protobuf::RepeatedPtrField< ::heroim::client::v3beta::dto::socket::AuthResponse_PrivateSession >&
      privatesessions() const;

  // 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:

  // int32 heartbeat = 3;
  void clear_heartbeat();
  ::herogoogle::protobuf::int32 heartbeat() const;
  void set_heartbeat(::herogoogle::protobuf::int32 value);
  private:
  ::herogoogle::protobuf::int32 _internal_heartbeat() const;
  void _internal_set_heartbeat(::herogoogle::protobuf::int32 value);
  public:

  // @@protoc_insertion_point(class_scope:heroim.client.v3beta.dto.socket.AuthResponse)
 private:
  class _Internal;

  template <typename T> friend class ::herogoogle::protobuf::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  ::herogoogle::protobuf::RepeatedPtrField< ::heroim::client::v3beta::dto::socket::AuthResponse_PrivateSession > privatesessions_;
  ::herogoogle::protobuf::internal::ArenaStringPtr productid_;
  ::herogoogle::protobuf::internal::ArenaStringPtr uid_;
  ::herogoogle::protobuf::int32 heartbeat_;
  mutable ::herogoogle::protobuf::internal::CachedSize _cached_size_;
  friend struct ::TableStruct_client_2fv3beta_2fdto_2fsocket_2fsocket_5fdto_2eproto;
};
// -------------------------------------------------------------------

class HeartbeatRequest final :
    public ::herogoogle::protobuf::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:heroim.client.v3beta.dto.socket.HeartbeatRequest) */ {
 public:
  inline HeartbeatRequest() : HeartbeatRequest(nullptr) {}
  explicit constexpr HeartbeatRequest(::herogoogle::protobuf::internal::ConstantInitialized);

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

  inline HeartbeatRequest& operator=(const HeartbeatRequest& from) {
    CopyFrom(from);
    return *this;
  }
  inline HeartbeatRequest& operator=(HeartbeatRequest&& 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 HeartbeatRequest& default_instance() {
    return *internal_default_instance();
  }
  static inline const HeartbeatRequest* internal_default_instance() {
    return reinterpret_cast<const HeartbeatRequest*>(
               &_HeartbeatRequest_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    4;

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

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

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

  HeartbeatRequest* New(::herogoogle::protobuf::Arena* arena) const final {
    return CreateMaybeMessage<HeartbeatRequest>(arena);
  }
  using ::herogoogle::protobuf::internal::ZeroFieldsBase::CopyFrom;
  inline void CopyFrom(const HeartbeatRequest& from) {
    ::herogoogle::protobuf::internal::ZeroFieldsBase::CopyImpl(this, from);
  }
  using ::herogoogle::protobuf::internal::ZeroFieldsBase::MergeFrom;
  void MergeFrom(const HeartbeatRequest& from) {
    ::herogoogle::protobuf::internal::ZeroFieldsBase::MergeImpl(this, from);
  }
  public:
  friend class ::herogoogle::protobuf::internal::AnyMetadata;
  static ::herogoogle::protobuf::StringPiece FullMessageName() {
    return "heroim.client.v3beta.dto.socket.HeartbeatRequest";
  }
  protected:
  explicit HeartbeatRequest(::herogoogle::protobuf::Arena* arena,
                       bool is_message_owned = false);
  private:
  public:

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

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

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

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

  // @@protoc_insertion_point(class_scope:heroim.client.v3beta.dto.socket.HeartbeatRequest)
 private:
  class _Internal;

  template <typename T> friend class ::herogoogle::protobuf::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  mutable ::herogoogle::protobuf::internal::CachedSize _cached_size_;
  friend struct ::TableStruct_client_2fv3beta_2fdto_2fsocket_2fsocket_5fdto_2eproto;
};
// -------------------------------------------------------------------

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

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

  inline HeartbeatResponse& operator=(const HeartbeatResponse& from) {
    CopyFrom(from);
    return *this;
  }
  inline HeartbeatResponse& operator=(HeartbeatResponse&& 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 HeartbeatResponse& default_instance() {
    return *internal_default_instance();
  }
  static inline const HeartbeatResponse* internal_default_instance() {
    return reinterpret_cast<const HeartbeatResponse*>(
               &_HeartbeatResponse_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    5;

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

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

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

  HeartbeatResponse* New(::herogoogle::protobuf::Arena* arena) const final {
    return CreateMaybeMessage<HeartbeatResponse>(arena);
  }
  using ::herogoogle::protobuf::Message::CopyFrom;
  void CopyFrom(const HeartbeatResponse& from);
  using ::herogoogle::protobuf::Message::MergeFrom;
  void MergeFrom(const HeartbeatResponse& 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(HeartbeatResponse* other);
  friend class ::herogoogle::protobuf::internal::AnyMetadata;
  static ::herogoogle::protobuf::StringPiece FullMessageName() {
    return "heroim.client.v3beta.dto.socket.HeartbeatResponse";
  }
  protected:
  explicit HeartbeatResponse(::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 {
    kTimeFieldNumber = 1,
  };
  // int64 time = 1;
  void clear_time();
  ::herogoogle::protobuf::int64 time() const;
  void set_time(::herogoogle::protobuf::int64 value);
  private:
  ::herogoogle::protobuf::int64 _internal_time() const;
  void _internal_set_time(::herogoogle::protobuf::int64 value);
  public:

  // @@protoc_insertion_point(class_scope:heroim.client.v3beta.dto.socket.HeartbeatResponse)
 private:
  class _Internal;

  template <typename T> friend class ::herogoogle::protobuf::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  ::herogoogle::protobuf::int64 time_;
  mutable ::herogoogle::protobuf::internal::CachedSize _cached_size_;
  friend struct ::TableStruct_client_2fv3beta_2fdto_2fsocket_2fsocket_5fdto_2eproto;
};
// ===================================================================


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

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

// AuthRequest

// string productId = 1;
inline void AuthRequest::clear_productid() {
  productid_.ClearToEmpty();
}
inline const std::string& AuthRequest::productid() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.socket.AuthRequest.productId)
  return _internal_productid();
}
template <typename ArgT0, typename... ArgT>
inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE
void AuthRequest::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.socket.AuthRequest.productId)
}
inline std::string* AuthRequest::mutable_productid() {
  std::string* _s = _internal_mutable_productid();
  // @@protoc_insertion_point(field_mutable:heroim.client.v3beta.dto.socket.AuthRequest.productId)
  return _s;
}
inline const std::string& AuthRequest::_internal_productid() const {
  return productid_.Get();
}
inline void AuthRequest::_internal_set_productid(const std::string& value) {
  
  productid_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* AuthRequest::_internal_mutable_productid() {
  
  return productid_.Mutable(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* AuthRequest::release_productid() {
  // @@protoc_insertion_point(field_release:heroim.client.v3beta.dto.socket.AuthRequest.productId)
  return productid_.Release(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void AuthRequest::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.socket.AuthRequest.productId)
}

// string serverId = 2;
inline void AuthRequest::clear_serverid() {
  serverid_.ClearToEmpty();
}
inline const std::string& AuthRequest::serverid() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.socket.AuthRequest.serverId)
  return _internal_serverid();
}
template <typename ArgT0, typename... ArgT>
inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE
void AuthRequest::set_serverid(ArgT0&& arg0, ArgT... args) {
 
 serverid_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:heroim.client.v3beta.dto.socket.AuthRequest.serverId)
}
inline std::string* AuthRequest::mutable_serverid() {
  std::string* _s = _internal_mutable_serverid();
  // @@protoc_insertion_point(field_mutable:heroim.client.v3beta.dto.socket.AuthRequest.serverId)
  return _s;
}
inline const std::string& AuthRequest::_internal_serverid() const {
  return serverid_.Get();
}
inline void AuthRequest::_internal_set_serverid(const std::string& value) {
  
  serverid_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* AuthRequest::_internal_mutable_serverid() {
  
  return serverid_.Mutable(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* AuthRequest::release_serverid() {
  // @@protoc_insertion_point(field_release:heroim.client.v3beta.dto.socket.AuthRequest.serverId)
  return serverid_.Release(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void AuthRequest::set_allocated_serverid(std::string* serverid) {
  if (serverid != nullptr) {
    
  } else {
    
  }
  serverid_.SetAllocated(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(), serverid,
      GetArenaForAllocation());
  // @@protoc_insertion_point(field_set_allocated:heroim.client.v3beta.dto.socket.AuthRequest.serverId)
}

// string token = 3;
inline void AuthRequest::clear_token() {
  token_.ClearToEmpty();
}
inline const std::string& AuthRequest::token() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.socket.AuthRequest.token)
  return _internal_token();
}
template <typename ArgT0, typename... ArgT>
inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE
void AuthRequest::set_token(ArgT0&& arg0, ArgT... args) {
 
 token_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:heroim.client.v3beta.dto.socket.AuthRequest.token)
}
inline std::string* AuthRequest::mutable_token() {
  std::string* _s = _internal_mutable_token();
  // @@protoc_insertion_point(field_mutable:heroim.client.v3beta.dto.socket.AuthRequest.token)
  return _s;
}
inline const std::string& AuthRequest::_internal_token() const {
  return token_.Get();
}
inline void AuthRequest::_internal_set_token(const std::string& value) {
  
  token_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* AuthRequest::_internal_mutable_token() {
  
  return token_.Mutable(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* AuthRequest::release_token() {
  // @@protoc_insertion_point(field_release:heroim.client.v3beta.dto.socket.AuthRequest.token)
  return token_.Release(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void AuthRequest::set_allocated_token(std::string* token) {
  if (token != nullptr) {
    
  } else {
    
  }
  token_.SetAllocated(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(), token,
      GetArenaForAllocation());
  // @@protoc_insertion_point(field_set_allocated:heroim.client.v3beta.dto.socket.AuthRequest.token)
}

// map<int32, string> option = 4;
inline int AuthRequest::_internal_option_size() const {
  return option_.size();
}
inline int AuthRequest::option_size() const {
  return _internal_option_size();
}
inline void AuthRequest::clear_option() {
  option_.Clear();
}
inline const ::herogoogle::protobuf::Map< ::herogoogle::protobuf::int32, std::string >&
AuthRequest::_internal_option() const {
  return option_.GetMap();
}
inline const ::herogoogle::protobuf::Map< ::herogoogle::protobuf::int32, std::string >&
AuthRequest::option() const {
  // @@protoc_insertion_point(field_map:heroim.client.v3beta.dto.socket.AuthRequest.option)
  return _internal_option();
}
inline ::herogoogle::protobuf::Map< ::herogoogle::protobuf::int32, std::string >*
AuthRequest::_internal_mutable_option() {
  return option_.MutableMap();
}
inline ::herogoogle::protobuf::Map< ::herogoogle::protobuf::int32, std::string >*
AuthRequest::mutable_option() {
  // @@protoc_insertion_point(field_mutable_map:heroim.client.v3beta.dto.socket.AuthRequest.option)
  return _internal_mutable_option();
}

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

// AuthResponse_PrivateSession

// string sessionId = 1;
inline void AuthResponse_PrivateSession::clear_sessionid() {
  sessionid_.ClearToEmpty();
}
inline const std::string& AuthResponse_PrivateSession::sessionid() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.socket.AuthResponse.PrivateSession.sessionId)
  return _internal_sessionid();
}
template <typename ArgT0, typename... ArgT>
inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE
void AuthResponse_PrivateSession::set_sessionid(ArgT0&& arg0, ArgT... args) {
 
 sessionid_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:heroim.client.v3beta.dto.socket.AuthResponse.PrivateSession.sessionId)
}
inline std::string* AuthResponse_PrivateSession::mutable_sessionid() {
  std::string* _s = _internal_mutable_sessionid();
  // @@protoc_insertion_point(field_mutable:heroim.client.v3beta.dto.socket.AuthResponse.PrivateSession.sessionId)
  return _s;
}
inline const std::string& AuthResponse_PrivateSession::_internal_sessionid() const {
  return sessionid_.Get();
}
inline void AuthResponse_PrivateSession::_internal_set_sessionid(const std::string& value) {
  
  sessionid_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* AuthResponse_PrivateSession::_internal_mutable_sessionid() {
  
  return sessionid_.Mutable(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* AuthResponse_PrivateSession::release_sessionid() {
  // @@protoc_insertion_point(field_release:heroim.client.v3beta.dto.socket.AuthResponse.PrivateSession.sessionId)
  return sessionid_.Release(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void AuthResponse_PrivateSession::set_allocated_sessionid(std::string* sessionid) {
  if (sessionid != nullptr) {
    
  } else {
    
  }
  sessionid_.SetAllocated(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(), sessionid,
      GetArenaForAllocation());
  // @@protoc_insertion_point(field_set_allocated:heroim.client.v3beta.dto.socket.AuthResponse.PrivateSession.sessionId)
}

// .heroim.client.v3beta.dto.message.model.SessionKey sessionKey = 2;
inline bool AuthResponse_PrivateSession::_internal_has_sessionkey() const {
  return this != internal_default_instance() && sessionkey_ != nullptr;
}
inline bool AuthResponse_PrivateSession::has_sessionkey() const {
  return _internal_has_sessionkey();
}
inline const ::heroim::client::v3beta::dto::message::model::SessionKey& AuthResponse_PrivateSession::_internal_sessionkey() const {
  const ::heroim::client::v3beta::dto::message::model::SessionKey* p = sessionkey_;
  return p != nullptr ? *p : reinterpret_cast<const ::heroim::client::v3beta::dto::message::model::SessionKey&>(
      ::heroim::client::v3beta::dto::message::model::_SessionKey_default_instance_);
}
inline const ::heroim::client::v3beta::dto::message::model::SessionKey& AuthResponse_PrivateSession::sessionkey() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.socket.AuthResponse.PrivateSession.sessionKey)
  return _internal_sessionkey();
}
inline void AuthResponse_PrivateSession::unsafe_arena_set_allocated_sessionkey(
    ::heroim::client::v3beta::dto::message::model::SessionKey* sessionkey) {
  if (GetArenaForAllocation() == nullptr) {
    delete reinterpret_cast<::herogoogle::protobuf::MessageLite*>(sessionkey_);
  }
  sessionkey_ = sessionkey;
  if (sessionkey) {
    
  } else {
    
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:heroim.client.v3beta.dto.socket.AuthResponse.PrivateSession.sessionKey)
}
inline ::heroim::client::v3beta::dto::message::model::SessionKey* AuthResponse_PrivateSession::release_sessionkey() {
  
  ::heroim::client::v3beta::dto::message::model::SessionKey* temp = sessionkey_;
  sessionkey_ = 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::message::model::SessionKey* AuthResponse_PrivateSession::unsafe_arena_release_sessionkey() {
  // @@protoc_insertion_point(field_release:heroim.client.v3beta.dto.socket.AuthResponse.PrivateSession.sessionKey)
  
  ::heroim::client::v3beta::dto::message::model::SessionKey* temp = sessionkey_;
  sessionkey_ = nullptr;
  return temp;
}
inline ::heroim::client::v3beta::dto::message::model::SessionKey* AuthResponse_PrivateSession::_internal_mutable_sessionkey() {
  
  if (sessionkey_ == nullptr) {
    auto* p = CreateMaybeMessage<::heroim::client::v3beta::dto::message::model::SessionKey>(GetArenaForAllocation());
    sessionkey_ = p;
  }
  return sessionkey_;
}
inline ::heroim::client::v3beta::dto::message::model::SessionKey* AuthResponse_PrivateSession::mutable_sessionkey() {
  ::heroim::client::v3beta::dto::message::model::SessionKey* _msg = _internal_mutable_sessionkey();
  // @@protoc_insertion_point(field_mutable:heroim.client.v3beta.dto.socket.AuthResponse.PrivateSession.sessionKey)
  return _msg;
}
inline void AuthResponse_PrivateSession::set_allocated_sessionkey(::heroim::client::v3beta::dto::message::model::SessionKey* sessionkey) {
  ::herogoogle::protobuf::Arena* message_arena = GetArenaForAllocation();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::herogoogle::protobuf::MessageLite*>(sessionkey_);
  }
  if (sessionkey) {
    ::herogoogle::protobuf::Arena* submessage_arena =
        ::herogoogle::protobuf::Arena::InternalHelper<
            ::herogoogle::protobuf::MessageLite>::GetOwningArena(
                reinterpret_cast<::herogoogle::protobuf::MessageLite*>(sessionkey));
    if (message_arena != submessage_arena) {
      sessionkey = ::herogoogle::protobuf::internal::GetOwnedMessage(
          message_arena, sessionkey, submessage_arena);
    }
    
  } else {
    
  }
  sessionkey_ = sessionkey;
  // @@protoc_insertion_point(field_set_allocated:heroim.client.v3beta.dto.socket.AuthResponse.PrivateSession.sessionKey)
}

// int64 readSeq = 3;
inline void AuthResponse_PrivateSession::clear_readseq() {
  readseq_ = int64_t{0};
}
inline ::herogoogle::protobuf::int64 AuthResponse_PrivateSession::_internal_readseq() const {
  return readseq_;
}
inline ::herogoogle::protobuf::int64 AuthResponse_PrivateSession::readseq() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.socket.AuthResponse.PrivateSession.readSeq)
  return _internal_readseq();
}
inline void AuthResponse_PrivateSession::_internal_set_readseq(::herogoogle::protobuf::int64 value) {
  
  readseq_ = value;
}
inline void AuthResponse_PrivateSession::set_readseq(::herogoogle::protobuf::int64 value) {
  _internal_set_readseq(value);
  // @@protoc_insertion_point(field_set:heroim.client.v3beta.dto.socket.AuthResponse.PrivateSession.readSeq)
}

// int64 sendSeq = 4;
inline void AuthResponse_PrivateSession::clear_sendseq() {
  sendseq_ = int64_t{0};
}
inline ::herogoogle::protobuf::int64 AuthResponse_PrivateSession::_internal_sendseq() const {
  return sendseq_;
}
inline ::herogoogle::protobuf::int64 AuthResponse_PrivateSession::sendseq() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.socket.AuthResponse.PrivateSession.sendSeq)
  return _internal_sendseq();
}
inline void AuthResponse_PrivateSession::_internal_set_sendseq(::herogoogle::protobuf::int64 value) {
  
  sendseq_ = value;
}
inline void AuthResponse_PrivateSession::set_sendseq(::herogoogle::protobuf::int64 value) {
  _internal_set_sendseq(value);
  // @@protoc_insertion_point(field_set:heroim.client.v3beta.dto.socket.AuthResponse.PrivateSession.sendSeq)
}

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

// AuthResponse

// string productId = 1;
inline void AuthResponse::clear_productid() {
  productid_.ClearToEmpty();
}
inline const std::string& AuthResponse::productid() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.socket.AuthResponse.productId)
  return _internal_productid();
}
template <typename ArgT0, typename... ArgT>
inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE
void AuthResponse::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.socket.AuthResponse.productId)
}
inline std::string* AuthResponse::mutable_productid() {
  std::string* _s = _internal_mutable_productid();
  // @@protoc_insertion_point(field_mutable:heroim.client.v3beta.dto.socket.AuthResponse.productId)
  return _s;
}
inline const std::string& AuthResponse::_internal_productid() const {
  return productid_.Get();
}
inline void AuthResponse::_internal_set_productid(const std::string& value) {
  
  productid_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* AuthResponse::_internal_mutable_productid() {
  
  return productid_.Mutable(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* AuthResponse::release_productid() {
  // @@protoc_insertion_point(field_release:heroim.client.v3beta.dto.socket.AuthResponse.productId)
  return productid_.Release(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void AuthResponse::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.socket.AuthResponse.productId)
}

// string uid = 2;
inline void AuthResponse::clear_uid() {
  uid_.ClearToEmpty();
}
inline const std::string& AuthResponse::uid() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.socket.AuthResponse.uid)
  return _internal_uid();
}
template <typename ArgT0, typename... ArgT>
inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE
void AuthResponse::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.socket.AuthResponse.uid)
}
inline std::string* AuthResponse::mutable_uid() {
  std::string* _s = _internal_mutable_uid();
  // @@protoc_insertion_point(field_mutable:heroim.client.v3beta.dto.socket.AuthResponse.uid)
  return _s;
}
inline const std::string& AuthResponse::_internal_uid() const {
  return uid_.Get();
}
inline void AuthResponse::_internal_set_uid(const std::string& value) {
  
  uid_.Set(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* AuthResponse::_internal_mutable_uid() {
  
  return uid_.Mutable(::herogoogle::protobuf::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* AuthResponse::release_uid() {
  // @@protoc_insertion_point(field_release:heroim.client.v3beta.dto.socket.AuthResponse.uid)
  return uid_.Release(&::herogoogle::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void AuthResponse::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.socket.AuthResponse.uid)
}

// int32 heartbeat = 3;
inline void AuthResponse::clear_heartbeat() {
  heartbeat_ = 0;
}
inline ::herogoogle::protobuf::int32 AuthResponse::_internal_heartbeat() const {
  return heartbeat_;
}
inline ::herogoogle::protobuf::int32 AuthResponse::heartbeat() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.socket.AuthResponse.heartbeat)
  return _internal_heartbeat();
}
inline void AuthResponse::_internal_set_heartbeat(::herogoogle::protobuf::int32 value) {
  
  heartbeat_ = value;
}
inline void AuthResponse::set_heartbeat(::herogoogle::protobuf::int32 value) {
  _internal_set_heartbeat(value);
  // @@protoc_insertion_point(field_set:heroim.client.v3beta.dto.socket.AuthResponse.heartbeat)
}

// repeated .heroim.client.v3beta.dto.socket.AuthResponse.PrivateSession privateSessions = 4;
inline int AuthResponse::_internal_privatesessions_size() const {
  return privatesessions_.size();
}
inline int AuthResponse::privatesessions_size() const {
  return _internal_privatesessions_size();
}
inline void AuthResponse::clear_privatesessions() {
  privatesessions_.Clear();
}
inline ::heroim::client::v3beta::dto::socket::AuthResponse_PrivateSession* AuthResponse::mutable_privatesessions(int index) {
  // @@protoc_insertion_point(field_mutable:heroim.client.v3beta.dto.socket.AuthResponse.privateSessions)
  return privatesessions_.Mutable(index);
}
inline ::herogoogle::protobuf::RepeatedPtrField< ::heroim::client::v3beta::dto::socket::AuthResponse_PrivateSession >*
AuthResponse::mutable_privatesessions() {
  // @@protoc_insertion_point(field_mutable_list:heroim.client.v3beta.dto.socket.AuthResponse.privateSessions)
  return &privatesessions_;
}
inline const ::heroim::client::v3beta::dto::socket::AuthResponse_PrivateSession& AuthResponse::_internal_privatesessions(int index) const {
  return privatesessions_.Get(index);
}
inline const ::heroim::client::v3beta::dto::socket::AuthResponse_PrivateSession& AuthResponse::privatesessions(int index) const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.socket.AuthResponse.privateSessions)
  return _internal_privatesessions(index);
}
inline ::heroim::client::v3beta::dto::socket::AuthResponse_PrivateSession* AuthResponse::_internal_add_privatesessions() {
  return privatesessions_.Add();
}
inline ::heroim::client::v3beta::dto::socket::AuthResponse_PrivateSession* AuthResponse::add_privatesessions() {
  ::heroim::client::v3beta::dto::socket::AuthResponse_PrivateSession* _add = _internal_add_privatesessions();
  // @@protoc_insertion_point(field_add:heroim.client.v3beta.dto.socket.AuthResponse.privateSessions)
  return _add;
}
inline const ::herogoogle::protobuf::RepeatedPtrField< ::heroim::client::v3beta::dto::socket::AuthResponse_PrivateSession >&
AuthResponse::privatesessions() const {
  // @@protoc_insertion_point(field_list:heroim.client.v3beta.dto.socket.AuthResponse.privateSessions)
  return privatesessions_;
}

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

// HeartbeatRequest

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

// HeartbeatResponse

// int64 time = 1;
inline void HeartbeatResponse::clear_time() {
  time_ = int64_t{0};
}
inline ::herogoogle::protobuf::int64 HeartbeatResponse::_internal_time() const {
  return time_;
}
inline ::herogoogle::protobuf::int64 HeartbeatResponse::time() const {
  // @@protoc_insertion_point(field_get:heroim.client.v3beta.dto.socket.HeartbeatResponse.time)
  return _internal_time();
}
inline void HeartbeatResponse::_internal_set_time(::herogoogle::protobuf::int64 value) {
  
  time_ = value;
}
inline void HeartbeatResponse::set_time(::herogoogle::protobuf::int64 value) {
  _internal_set_time(value);
  // @@protoc_insertion_point(field_set:heroim.client.v3beta.dto.socket.HeartbeatResponse.time)
}

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

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

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

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

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


// @@protoc_insertion_point(namespace_scope)

}  // namespace socket
}  // namespace dto
}  // namespace v3beta
}  // namespace client
}  // namespace heroim

PROTOBUF_NAMESPACE_OPEN

template <> struct is_proto_enum< ::heroim::client::v3beta::dto::socket::AuthRequest_Option> : ::std::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::heroim::client::v3beta::dto::socket::AuthRequest_Option>() {
  return ::heroim::client::v3beta::dto::socket::AuthRequest_Option_descriptor();
}

PROTOBUF_NAMESPACE_CLOSE

// @@protoc_insertion_point(global_scope)


#endif  // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_client_2fv3beta_2fdto_2fsocket_2fsocket_5fdto_2eproto
