// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: sns_registry.proto

#ifndef GOOGLE_PROTOBUF_INCLUDED_sns_5fregistry_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_sns_5fregistry_2eproto

#include <limits>
#include <string>

#include <google/protobuf/port_def.inc>
#if PROTOBUF_VERSION < 3021000
#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 3021012 < 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 <google/protobuf/port_undef.inc>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/arena.h>
#include <google/protobuf/arenastring.h>
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/metadata_lite.h>
#include <google/protobuf/generated_message_reflection.h>
#include <google/protobuf/message.h>
#include <google/protobuf/repeated_field.h>  // IWYU pragma: export
#include <google/protobuf/extension_set.h>  // IWYU pragma: export
#include <google/protobuf/generated_enum_reflection.h>
#include <google/protobuf/unknown_field_set.h>
#include "nanopb.pb.h"
#include "sns_std.pb.h"
// @@protoc_insertion_point(includes)
#include <google/protobuf/port_def.inc>
#define PROTOBUF_INTERNAL_EXPORT_sns_5fregistry_2eproto
PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
}  // namespace internal
PROTOBUF_NAMESPACE_CLOSE

// Internal implementation detail -- do not use these members.
struct TableStruct_sns_5fregistry_2eproto {
  static const uint32_t offsets[];
};
extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_sns_5fregistry_2eproto;
class sns_registry_data;
struct sns_registry_dataDefaultTypeInternal;
extern sns_registry_dataDefaultTypeInternal _sns_registry_data_default_instance_;
class sns_registry_data_item;
struct sns_registry_data_itemDefaultTypeInternal;
extern sns_registry_data_itemDefaultTypeInternal _sns_registry_data_item_default_instance_;
class sns_registry_read_event;
struct sns_registry_read_eventDefaultTypeInternal;
extern sns_registry_read_eventDefaultTypeInternal _sns_registry_read_event_default_instance_;
class sns_registry_read_req;
struct sns_registry_read_reqDefaultTypeInternal;
extern sns_registry_read_reqDefaultTypeInternal _sns_registry_read_req_default_instance_;
class sns_registry_write_event;
struct sns_registry_write_eventDefaultTypeInternal;
extern sns_registry_write_eventDefaultTypeInternal _sns_registry_write_event_default_instance_;
class sns_registry_write_req;
struct sns_registry_write_reqDefaultTypeInternal;
extern sns_registry_write_reqDefaultTypeInternal _sns_registry_write_req_default_instance_;
PROTOBUF_NAMESPACE_OPEN
template<> ::sns_registry_data* Arena::CreateMaybeMessage<::sns_registry_data>(Arena*);
template<> ::sns_registry_data_item* Arena::CreateMaybeMessage<::sns_registry_data_item>(Arena*);
template<> ::sns_registry_read_event* Arena::CreateMaybeMessage<::sns_registry_read_event>(Arena*);
template<> ::sns_registry_read_req* Arena::CreateMaybeMessage<::sns_registry_read_req>(Arena*);
template<> ::sns_registry_write_event* Arena::CreateMaybeMessage<::sns_registry_write_event>(Arena*);
template<> ::sns_registry_write_req* Arena::CreateMaybeMessage<::sns_registry_write_req>(Arena*);
PROTOBUF_NAMESPACE_CLOSE

enum sns_registry_msgid : int {
  SNS_REGISTRY_MSGID_SNS_REGISTRY_READ_REQ = 512,
  SNS_REGISTRY_MSGID_SNS_REGISTRY_WRITE_REQ = 513,
  SNS_REGISTRY_MSGID_SNS_REGISTRY_READ_EVENT = 514,
  SNS_REGISTRY_MSGID_SNS_REGISTRY_WRITE_EVENT = 768
};
bool sns_registry_msgid_IsValid(int value);
constexpr sns_registry_msgid sns_registry_msgid_MIN = SNS_REGISTRY_MSGID_SNS_REGISTRY_READ_REQ;
constexpr sns_registry_msgid sns_registry_msgid_MAX = SNS_REGISTRY_MSGID_SNS_REGISTRY_WRITE_EVENT;
constexpr int sns_registry_msgid_ARRAYSIZE = sns_registry_msgid_MAX + 1;

const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* sns_registry_msgid_descriptor();
template<typename T>
inline const std::string& sns_registry_msgid_Name(T enum_t_value) {
  static_assert(::std::is_same<T, sns_registry_msgid>::value ||
    ::std::is_integral<T>::value,
    "Incorrect type passed to function sns_registry_msgid_Name.");
  return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
    sns_registry_msgid_descriptor(), enum_t_value);
}
inline bool sns_registry_msgid_Parse(
    ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, sns_registry_msgid* value) {
  return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<sns_registry_msgid>(
    sns_registry_msgid_descriptor(), name, value);
}
enum sns_registry_write_status : int {
  SNS_REGISTRY_WRITE_STATUS_SUCCESS = 0,
  SNS_REGISTRY_WRITE_STATUS_ERROR_OTHER = 1
};
bool sns_registry_write_status_IsValid(int value);
constexpr sns_registry_write_status sns_registry_write_status_MIN = SNS_REGISTRY_WRITE_STATUS_SUCCESS;
constexpr sns_registry_write_status sns_registry_write_status_MAX = SNS_REGISTRY_WRITE_STATUS_ERROR_OTHER;
constexpr int sns_registry_write_status_ARRAYSIZE = sns_registry_write_status_MAX + 1;

const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* sns_registry_write_status_descriptor();
template<typename T>
inline const std::string& sns_registry_write_status_Name(T enum_t_value) {
  static_assert(::std::is_same<T, sns_registry_write_status>::value ||
    ::std::is_integral<T>::value,
    "Incorrect type passed to function sns_registry_write_status_Name.");
  return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
    sns_registry_write_status_descriptor(), enum_t_value);
}
inline bool sns_registry_write_status_Parse(
    ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, sns_registry_write_status* value) {
  return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<sns_registry_write_status>(
    sns_registry_write_status_descriptor(), name, value);
}
// ===================================================================

class sns_registry_data_item final :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:sns_registry_data.item) */ {
 public:
  inline sns_registry_data_item() : sns_registry_data_item(nullptr) {}
  ~sns_registry_data_item() override;
  explicit PROTOBUF_CONSTEXPR sns_registry_data_item(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

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

  inline sns_registry_data_item& operator=(const sns_registry_data_item& from) {
    CopyFrom(from);
    return *this;
  }
  inline sns_registry_data_item& operator=(sns_registry_data_item&& 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;
  }

  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
    return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  }
  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  }

  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
    return GetDescriptor();
  }
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
    return default_instance().GetMetadata().descriptor;
  }
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
    return default_instance().GetMetadata().reflection;
  }
  static const sns_registry_data_item& default_instance() {
    return *internal_default_instance();
  }
  enum DataCase {
    kSubgroup = 10,
    kStr = 11,
    kFlt = 12,
    kSint = 13,
    DATA_NOT_SET = 0,
  };

  static inline const sns_registry_data_item* internal_default_instance() {
    return reinterpret_cast<const sns_registry_data_item*>(
               &_sns_registry_data_item_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    0;

  friend void swap(sns_registry_data_item& a, sns_registry_data_item& b) {
    a.Swap(&b);
  }
  inline void Swap(sns_registry_data_item* other) {
    if (other == this) return;
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() != nullptr &&
        GetOwningArena() == other->GetOwningArena()) {
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() == other->GetOwningArena()) {
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
      InternalSwap(other);
    } else {
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(sns_registry_data_item* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

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

  sns_registry_data_item* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<sns_registry_data_item>(arena);
  }
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  void CopyFrom(const sns_registry_data_item& from);
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  void MergeFrom( const sns_registry_data_item& from) {
    sns_registry_data_item::MergeImpl(*this, from);
  }
  private:
  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  public:
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

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

  private:
  void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(sns_registry_data_item* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "sns_registry_data.item";
  }
  protected:
  explicit sns_registry_data_item(::PROTOBUF_NAMESPACE_ID::Arena* arena,
                       bool is_message_owned = false);
  public:

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

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;

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

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

  enum : int {
    kNameFieldNumber = 1,
    kVersionFieldNumber = 2,
    kSubgroupFieldNumber = 10,
    kStrFieldNumber = 11,
    kFltFieldNumber = 12,
    kSintFieldNumber = 13,
  };
  // required string name = 1;
  bool has_name() const;
  private:
  bool _internal_has_name() const;
  public:
  void clear_name();
  const std::string& name() const;
  template <typename ArgT0 = const std::string&, typename... ArgT>
  void set_name(ArgT0&& arg0, ArgT... args);
  std::string* mutable_name();
  PROTOBUF_NODISCARD std::string* release_name();
  void set_allocated_name(std::string* name);
  private:
  const std::string& _internal_name() const;
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
  std::string* _internal_mutable_name();
  public:

  // optional fixed32 version = 2;
  bool has_version() const;
  private:
  bool _internal_has_version() const;
  public:
  void clear_version();
  uint32_t version() const;
  void set_version(uint32_t value);
  private:
  uint32_t _internal_version() const;
  void _internal_set_version(uint32_t value);
  public:

  // .sns_registry_data subgroup = 10;
  bool has_subgroup() const;
  private:
  bool _internal_has_subgroup() const;
  public:
  void clear_subgroup();
  const ::sns_registry_data& subgroup() const;
  PROTOBUF_NODISCARD ::sns_registry_data* release_subgroup();
  ::sns_registry_data* mutable_subgroup();
  void set_allocated_subgroup(::sns_registry_data* subgroup);
  private:
  const ::sns_registry_data& _internal_subgroup() const;
  ::sns_registry_data* _internal_mutable_subgroup();
  public:
  void unsafe_arena_set_allocated_subgroup(
      ::sns_registry_data* subgroup);
  ::sns_registry_data* unsafe_arena_release_subgroup();

  // string str = 11;
  bool has_str() const;
  private:
  bool _internal_has_str() const;
  public:
  void clear_str();
  const std::string& str() const;
  template <typename ArgT0 = const std::string&, typename... ArgT>
  void set_str(ArgT0&& arg0, ArgT... args);
  std::string* mutable_str();
  PROTOBUF_NODISCARD std::string* release_str();
  void set_allocated_str(std::string* str);
  private:
  const std::string& _internal_str() const;
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_str(const std::string& value);
  std::string* _internal_mutable_str();
  public:

  // float flt = 12;
  bool has_flt() const;
  private:
  bool _internal_has_flt() const;
  public:
  void clear_flt();
  float flt() const;
  void set_flt(float value);
  private:
  float _internal_flt() const;
  void _internal_set_flt(float value);
  public:

  // sfixed64 sint = 13;
  bool has_sint() const;
  private:
  bool _internal_has_sint() const;
  public:
  void clear_sint();
  int64_t sint() const;
  void set_sint(int64_t value);
  private:
  int64_t _internal_sint() const;
  void _internal_set_sint(int64_t value);
  public:

  void clear_data();
  DataCase data_case() const;
  // @@protoc_insertion_point(class_scope:sns_registry_data.item)
 private:
  class _Internal;
  void set_has_subgroup();
  void set_has_str();
  void set_has_flt();
  void set_has_sint();

  inline bool has_data() const;
  inline void clear_has_data();

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  struct Impl_ {
    ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
    ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
    uint32_t version_;
    union DataUnion {
      constexpr DataUnion() : _constinit_{} {}
        ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
      ::sns_registry_data* subgroup_;
      ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr str_;
      float flt_;
      int64_t sint_;
    } data_;
    uint32_t _oneof_case_[1];

  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_sns_5fregistry_2eproto;
};
// -------------------------------------------------------------------

class sns_registry_data final :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:sns_registry_data) */ {
 public:
  inline sns_registry_data() : sns_registry_data(nullptr) {}
  ~sns_registry_data() override;
  explicit PROTOBUF_CONSTEXPR sns_registry_data(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

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

  inline sns_registry_data& operator=(const sns_registry_data& from) {
    CopyFrom(from);
    return *this;
  }
  inline sns_registry_data& operator=(sns_registry_data&& 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;
  }

  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
    return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  }
  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  }

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

  friend void swap(sns_registry_data& a, sns_registry_data& b) {
    a.Swap(&b);
  }
  inline void Swap(sns_registry_data* other) {
    if (other == this) return;
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() != nullptr &&
        GetOwningArena() == other->GetOwningArena()) {
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() == other->GetOwningArena()) {
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
      InternalSwap(other);
    } else {
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(sns_registry_data* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

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

  sns_registry_data* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<sns_registry_data>(arena);
  }
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  void CopyFrom(const sns_registry_data& from);
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  void MergeFrom( const sns_registry_data& from) {
    sns_registry_data::MergeImpl(*this, from);
  }
  private:
  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  public:
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

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

  private:
  void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(sns_registry_data* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "sns_registry_data";
  }
  protected:
  explicit sns_registry_data(::PROTOBUF_NAMESPACE_ID::Arena* arena,
                       bool is_message_owned = false);
  public:

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

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;

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

  typedef sns_registry_data_item item;

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

  enum : int {
    kItemsFieldNumber = 3,
  };
  // repeated .sns_registry_data.item items = 3;
  int items_size() const;
  private:
  int _internal_items_size() const;
  public:
  void clear_items();
  ::sns_registry_data_item* mutable_items(int index);
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::sns_registry_data_item >*
      mutable_items();
  private:
  const ::sns_registry_data_item& _internal_items(int index) const;
  ::sns_registry_data_item* _internal_add_items();
  public:
  const ::sns_registry_data_item& items(int index) const;
  ::sns_registry_data_item* add_items();
  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::sns_registry_data_item >&
      items() const;

  // @@protoc_insertion_point(class_scope:sns_registry_data)
 private:
  class _Internal;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  struct Impl_ {
    ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::sns_registry_data_item > items_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_sns_5fregistry_2eproto;
};
// -------------------------------------------------------------------

class sns_registry_read_req final :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:sns_registry_read_req) */ {
 public:
  inline sns_registry_read_req() : sns_registry_read_req(nullptr) {}
  ~sns_registry_read_req() override;
  explicit PROTOBUF_CONSTEXPR sns_registry_read_req(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

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

  inline sns_registry_read_req& operator=(const sns_registry_read_req& from) {
    CopyFrom(from);
    return *this;
  }
  inline sns_registry_read_req& operator=(sns_registry_read_req&& 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;
  }

  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
    return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  }
  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  }

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

  friend void swap(sns_registry_read_req& a, sns_registry_read_req& b) {
    a.Swap(&b);
  }
  inline void Swap(sns_registry_read_req* other) {
    if (other == this) return;
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() != nullptr &&
        GetOwningArena() == other->GetOwningArena()) {
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() == other->GetOwningArena()) {
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
      InternalSwap(other);
    } else {
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(sns_registry_read_req* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

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

  sns_registry_read_req* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<sns_registry_read_req>(arena);
  }
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  void CopyFrom(const sns_registry_read_req& from);
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  void MergeFrom( const sns_registry_read_req& from) {
    sns_registry_read_req::MergeImpl(*this, from);
  }
  private:
  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  public:
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

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

  private:
  void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(sns_registry_read_req* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "sns_registry_read_req";
  }
  protected:
  explicit sns_registry_read_req(::PROTOBUF_NAMESPACE_ID::Arena* arena,
                       bool is_message_owned = false);
  public:

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

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;

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

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

  enum : int {
    kNameFieldNumber = 1,
  };
  // required string name = 1;
  bool has_name() const;
  private:
  bool _internal_has_name() const;
  public:
  void clear_name();
  const std::string& name() const;
  template <typename ArgT0 = const std::string&, typename... ArgT>
  void set_name(ArgT0&& arg0, ArgT... args);
  std::string* mutable_name();
  PROTOBUF_NODISCARD std::string* release_name();
  void set_allocated_name(std::string* name);
  private:
  const std::string& _internal_name() const;
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
  std::string* _internal_mutable_name();
  public:

  // @@protoc_insertion_point(class_scope:sns_registry_read_req)
 private:
  class _Internal;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  struct Impl_ {
    ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
    ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_sns_5fregistry_2eproto;
};
// -------------------------------------------------------------------

class sns_registry_read_event final :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:sns_registry_read_event) */ {
 public:
  inline sns_registry_read_event() : sns_registry_read_event(nullptr) {}
  ~sns_registry_read_event() override;
  explicit PROTOBUF_CONSTEXPR sns_registry_read_event(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

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

  inline sns_registry_read_event& operator=(const sns_registry_read_event& from) {
    CopyFrom(from);
    return *this;
  }
  inline sns_registry_read_event& operator=(sns_registry_read_event&& 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;
  }

  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
    return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  }
  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  }

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

  friend void swap(sns_registry_read_event& a, sns_registry_read_event& b) {
    a.Swap(&b);
  }
  inline void Swap(sns_registry_read_event* other) {
    if (other == this) return;
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() != nullptr &&
        GetOwningArena() == other->GetOwningArena()) {
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() == other->GetOwningArena()) {
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
      InternalSwap(other);
    } else {
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(sns_registry_read_event* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

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

  sns_registry_read_event* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<sns_registry_read_event>(arena);
  }
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  void CopyFrom(const sns_registry_read_event& from);
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  void MergeFrom( const sns_registry_read_event& from) {
    sns_registry_read_event::MergeImpl(*this, from);
  }
  private:
  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  public:
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

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

  private:
  void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(sns_registry_read_event* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "sns_registry_read_event";
  }
  protected:
  explicit sns_registry_read_event(::PROTOBUF_NAMESPACE_ID::Arena* arena,
                       bool is_message_owned = false);
  public:

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

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;

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

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

  enum : int {
    kNameFieldNumber = 1,
    kDataFieldNumber = 2,
  };
  // required string name = 1;
  bool has_name() const;
  private:
  bool _internal_has_name() const;
  public:
  void clear_name();
  const std::string& name() const;
  template <typename ArgT0 = const std::string&, typename... ArgT>
  void set_name(ArgT0&& arg0, ArgT... args);
  std::string* mutable_name();
  PROTOBUF_NODISCARD std::string* release_name();
  void set_allocated_name(std::string* name);
  private:
  const std::string& _internal_name() const;
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
  std::string* _internal_mutable_name();
  public:

  // required .sns_registry_data data = 2;
  bool has_data() const;
  private:
  bool _internal_has_data() const;
  public:
  void clear_data();
  const ::sns_registry_data& data() const;
  PROTOBUF_NODISCARD ::sns_registry_data* release_data();
  ::sns_registry_data* mutable_data();
  void set_allocated_data(::sns_registry_data* data);
  private:
  const ::sns_registry_data& _internal_data() const;
  ::sns_registry_data* _internal_mutable_data();
  public:
  void unsafe_arena_set_allocated_data(
      ::sns_registry_data* data);
  ::sns_registry_data* unsafe_arena_release_data();

  // @@protoc_insertion_point(class_scope:sns_registry_read_event)
 private:
  class _Internal;

  // helper for ByteSizeLong()
  size_t RequiredFieldsByteSizeFallback() const;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  struct Impl_ {
    ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
    ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
    ::sns_registry_data* data_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_sns_5fregistry_2eproto;
};
// -------------------------------------------------------------------

class sns_registry_write_req final :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:sns_registry_write_req) */ {
 public:
  inline sns_registry_write_req() : sns_registry_write_req(nullptr) {}
  ~sns_registry_write_req() override;
  explicit PROTOBUF_CONSTEXPR sns_registry_write_req(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

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

  inline sns_registry_write_req& operator=(const sns_registry_write_req& from) {
    CopyFrom(from);
    return *this;
  }
  inline sns_registry_write_req& operator=(sns_registry_write_req&& 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;
  }

  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
    return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  }
  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  }

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

  friend void swap(sns_registry_write_req& a, sns_registry_write_req& b) {
    a.Swap(&b);
  }
  inline void Swap(sns_registry_write_req* other) {
    if (other == this) return;
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() != nullptr &&
        GetOwningArena() == other->GetOwningArena()) {
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() == other->GetOwningArena()) {
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
      InternalSwap(other);
    } else {
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(sns_registry_write_req* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

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

  sns_registry_write_req* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<sns_registry_write_req>(arena);
  }
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  void CopyFrom(const sns_registry_write_req& from);
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  void MergeFrom( const sns_registry_write_req& from) {
    sns_registry_write_req::MergeImpl(*this, from);
  }
  private:
  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  public:
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

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

  private:
  void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(sns_registry_write_req* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "sns_registry_write_req";
  }
  protected:
  explicit sns_registry_write_req(::PROTOBUF_NAMESPACE_ID::Arena* arena,
                       bool is_message_owned = false);
  public:

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

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;

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

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

  enum : int {
    kNameFieldNumber = 1,
    kDataFieldNumber = 2,
    kCookieFieldNumber = 3,
  };
  // required string name = 1;
  bool has_name() const;
  private:
  bool _internal_has_name() const;
  public:
  void clear_name();
  const std::string& name() const;
  template <typename ArgT0 = const std::string&, typename... ArgT>
  void set_name(ArgT0&& arg0, ArgT... args);
  std::string* mutable_name();
  PROTOBUF_NODISCARD std::string* release_name();
  void set_allocated_name(std::string* name);
  private:
  const std::string& _internal_name() const;
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
  std::string* _internal_mutable_name();
  public:

  // required .sns_registry_data data = 2;
  bool has_data() const;
  private:
  bool _internal_has_data() const;
  public:
  void clear_data();
  const ::sns_registry_data& data() const;
  PROTOBUF_NODISCARD ::sns_registry_data* release_data();
  ::sns_registry_data* mutable_data();
  void set_allocated_data(::sns_registry_data* data);
  private:
  const ::sns_registry_data& _internal_data() const;
  ::sns_registry_data* _internal_mutable_data();
  public:
  void unsafe_arena_set_allocated_data(
      ::sns_registry_data* data);
  ::sns_registry_data* unsafe_arena_release_data();

  // optional int64 cookie = 3;
  bool has_cookie() const;
  private:
  bool _internal_has_cookie() const;
  public:
  void clear_cookie();
  int64_t cookie() const;
  void set_cookie(int64_t value);
  private:
  int64_t _internal_cookie() const;
  void _internal_set_cookie(int64_t value);
  public:

  // @@protoc_insertion_point(class_scope:sns_registry_write_req)
 private:
  class _Internal;

  // helper for ByteSizeLong()
  size_t RequiredFieldsByteSizeFallback() const;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  struct Impl_ {
    ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
    ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
    ::sns_registry_data* data_;
    int64_t cookie_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_sns_5fregistry_2eproto;
};
// -------------------------------------------------------------------

class sns_registry_write_event final :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:sns_registry_write_event) */ {
 public:
  inline sns_registry_write_event() : sns_registry_write_event(nullptr) {}
  ~sns_registry_write_event() override;
  explicit PROTOBUF_CONSTEXPR sns_registry_write_event(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

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

  inline sns_registry_write_event& operator=(const sns_registry_write_event& from) {
    CopyFrom(from);
    return *this;
  }
  inline sns_registry_write_event& operator=(sns_registry_write_event&& 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;
  }

  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
    return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  }
  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  }

  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
    return GetDescriptor();
  }
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
    return default_instance().GetMetadata().descriptor;
  }
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
    return default_instance().GetMetadata().reflection;
  }
  static const sns_registry_write_event& default_instance() {
    return *internal_default_instance();
  }
  static inline const sns_registry_write_event* internal_default_instance() {
    return reinterpret_cast<const sns_registry_write_event*>(
               &_sns_registry_write_event_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    5;

  friend void swap(sns_registry_write_event& a, sns_registry_write_event& b) {
    a.Swap(&b);
  }
  inline void Swap(sns_registry_write_event* other) {
    if (other == this) return;
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() != nullptr &&
        GetOwningArena() == other->GetOwningArena()) {
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() == other->GetOwningArena()) {
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
      InternalSwap(other);
    } else {
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(sns_registry_write_event* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

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

  sns_registry_write_event* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<sns_registry_write_event>(arena);
  }
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  void CopyFrom(const sns_registry_write_event& from);
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  void MergeFrom( const sns_registry_write_event& from) {
    sns_registry_write_event::MergeImpl(*this, from);
  }
  private:
  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  public:
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

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

  private:
  void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(sns_registry_write_event* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "sns_registry_write_event";
  }
  protected:
  explicit sns_registry_write_event(::PROTOBUF_NAMESPACE_ID::Arena* arena,
                       bool is_message_owned = false);
  public:

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

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;

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

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

  enum : int {
    kCookieFieldNumber = 2,
    kStatusFieldNumber = 1,
  };
  // optional int64 cookie = 2;
  bool has_cookie() const;
  private:
  bool _internal_has_cookie() const;
  public:
  void clear_cookie();
  int64_t cookie() const;
  void set_cookie(int64_t value);
  private:
  int64_t _internal_cookie() const;
  void _internal_set_cookie(int64_t value);
  public:

  // required .sns_registry_write_status status = 1;
  bool has_status() const;
  private:
  bool _internal_has_status() const;
  public:
  void clear_status();
  ::sns_registry_write_status status() const;
  void set_status(::sns_registry_write_status value);
  private:
  ::sns_registry_write_status _internal_status() const;
  void _internal_set_status(::sns_registry_write_status value);
  public:

  // @@protoc_insertion_point(class_scope:sns_registry_write_event)
 private:
  class _Internal;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  struct Impl_ {
    ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
    int64_t cookie_;
    int status_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_sns_5fregistry_2eproto;
};
// ===================================================================


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

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

// required string name = 1;
inline bool sns_registry_data_item::_internal_has_name() const {
  bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
  return value;
}
inline bool sns_registry_data_item::has_name() const {
  return _internal_has_name();
}
inline void sns_registry_data_item::clear_name() {
  _impl_.name_.ClearToEmpty();
  _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& sns_registry_data_item::name() const {
  // @@protoc_insertion_point(field_get:sns_registry_data.item.name)
  return _internal_name();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void sns_registry_data_item::set_name(ArgT0&& arg0, ArgT... args) {
 _impl_._has_bits_[0] |= 0x00000001u;
 _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:sns_registry_data.item.name)
}
inline std::string* sns_registry_data_item::mutable_name() {
  std::string* _s = _internal_mutable_name();
  // @@protoc_insertion_point(field_mutable:sns_registry_data.item.name)
  return _s;
}
inline const std::string& sns_registry_data_item::_internal_name() const {
  return _impl_.name_.Get();
}
inline void sns_registry_data_item::_internal_set_name(const std::string& value) {
  _impl_._has_bits_[0] |= 0x00000001u;
  _impl_.name_.Set(value, GetArenaForAllocation());
}
inline std::string* sns_registry_data_item::_internal_mutable_name() {
  _impl_._has_bits_[0] |= 0x00000001u;
  return _impl_.name_.Mutable(GetArenaForAllocation());
}
inline std::string* sns_registry_data_item::release_name() {
  // @@protoc_insertion_point(field_release:sns_registry_data.item.name)
  if (!_internal_has_name()) {
    return nullptr;
  }
  _impl_._has_bits_[0] &= ~0x00000001u;
  auto* p = _impl_.name_.Release();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  if (_impl_.name_.IsDefault()) {
    _impl_.name_.Set("", GetArenaForAllocation());
  }
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  return p;
}
inline void sns_registry_data_item::set_allocated_name(std::string* name) {
  if (name != nullptr) {
    _impl_._has_bits_[0] |= 0x00000001u;
  } else {
    _impl_._has_bits_[0] &= ~0x00000001u;
  }
  _impl_.name_.SetAllocated(name, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  if (_impl_.name_.IsDefault()) {
    _impl_.name_.Set("", GetArenaForAllocation());
  }
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  // @@protoc_insertion_point(field_set_allocated:sns_registry_data.item.name)
}

// optional fixed32 version = 2;
inline bool sns_registry_data_item::_internal_has_version() const {
  bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
  return value;
}
inline bool sns_registry_data_item::has_version() const {
  return _internal_has_version();
}
inline void sns_registry_data_item::clear_version() {
  _impl_.version_ = 0u;
  _impl_._has_bits_[0] &= ~0x00000002u;
}
inline uint32_t sns_registry_data_item::_internal_version() const {
  return _impl_.version_;
}
inline uint32_t sns_registry_data_item::version() const {
  // @@protoc_insertion_point(field_get:sns_registry_data.item.version)
  return _internal_version();
}
inline void sns_registry_data_item::_internal_set_version(uint32_t value) {
  _impl_._has_bits_[0] |= 0x00000002u;
  _impl_.version_ = value;
}
inline void sns_registry_data_item::set_version(uint32_t value) {
  _internal_set_version(value);
  // @@protoc_insertion_point(field_set:sns_registry_data.item.version)
}

// .sns_registry_data subgroup = 10;
inline bool sns_registry_data_item::_internal_has_subgroup() const {
  return data_case() == kSubgroup;
}
inline bool sns_registry_data_item::has_subgroup() const {
  return _internal_has_subgroup();
}
inline void sns_registry_data_item::set_has_subgroup() {
  _impl_._oneof_case_[0] = kSubgroup;
}
inline void sns_registry_data_item::clear_subgroup() {
  if (_internal_has_subgroup()) {
    if (GetArenaForAllocation() == nullptr) {
      delete _impl_.data_.subgroup_;
    }
    clear_has_data();
  }
}
inline ::sns_registry_data* sns_registry_data_item::release_subgroup() {
  // @@protoc_insertion_point(field_release:sns_registry_data.item.subgroup)
  if (_internal_has_subgroup()) {
    clear_has_data();
    ::sns_registry_data* temp = _impl_.data_.subgroup_;
    if (GetArenaForAllocation() != nullptr) {
      temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
    }
    _impl_.data_.subgroup_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline const ::sns_registry_data& sns_registry_data_item::_internal_subgroup() const {
  return _internal_has_subgroup()
      ? *_impl_.data_.subgroup_
      : reinterpret_cast< ::sns_registry_data&>(::_sns_registry_data_default_instance_);
}
inline const ::sns_registry_data& sns_registry_data_item::subgroup() const {
  // @@protoc_insertion_point(field_get:sns_registry_data.item.subgroup)
  return _internal_subgroup();
}
inline ::sns_registry_data* sns_registry_data_item::unsafe_arena_release_subgroup() {
  // @@protoc_insertion_point(field_unsafe_arena_release:sns_registry_data.item.subgroup)
  if (_internal_has_subgroup()) {
    clear_has_data();
    ::sns_registry_data* temp = _impl_.data_.subgroup_;
    _impl_.data_.subgroup_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline void sns_registry_data_item::unsafe_arena_set_allocated_subgroup(::sns_registry_data* subgroup) {
  clear_data();
  if (subgroup) {
    set_has_subgroup();
    _impl_.data_.subgroup_ = subgroup;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:sns_registry_data.item.subgroup)
}
inline ::sns_registry_data* sns_registry_data_item::_internal_mutable_subgroup() {
  if (!_internal_has_subgroup()) {
    clear_data();
    set_has_subgroup();
    _impl_.data_.subgroup_ = CreateMaybeMessage< ::sns_registry_data >(GetArenaForAllocation());
  }
  return _impl_.data_.subgroup_;
}
inline ::sns_registry_data* sns_registry_data_item::mutable_subgroup() {
  ::sns_registry_data* _msg = _internal_mutable_subgroup();
  // @@protoc_insertion_point(field_mutable:sns_registry_data.item.subgroup)
  return _msg;
}

// string str = 11;
inline bool sns_registry_data_item::_internal_has_str() const {
  return data_case() == kStr;
}
inline bool sns_registry_data_item::has_str() const {
  return _internal_has_str();
}
inline void sns_registry_data_item::set_has_str() {
  _impl_._oneof_case_[0] = kStr;
}
inline void sns_registry_data_item::clear_str() {
  if (_internal_has_str()) {
    _impl_.data_.str_.Destroy();
    clear_has_data();
  }
}
inline const std::string& sns_registry_data_item::str() const {
  // @@protoc_insertion_point(field_get:sns_registry_data.item.str)
  return _internal_str();
}
template <typename ArgT0, typename... ArgT>
inline void sns_registry_data_item::set_str(ArgT0&& arg0, ArgT... args) {
  if (!_internal_has_str()) {
    clear_data();
    set_has_str();
    _impl_.data_.str_.InitDefault();
  }
  _impl_.data_.str_.Set( static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:sns_registry_data.item.str)
}
inline std::string* sns_registry_data_item::mutable_str() {
  std::string* _s = _internal_mutable_str();
  // @@protoc_insertion_point(field_mutable:sns_registry_data.item.str)
  return _s;
}
inline const std::string& sns_registry_data_item::_internal_str() const {
  if (_internal_has_str()) {
    return _impl_.data_.str_.Get();
  }
  return ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited();
}
inline void sns_registry_data_item::_internal_set_str(const std::string& value) {
  if (!_internal_has_str()) {
    clear_data();
    set_has_str();
    _impl_.data_.str_.InitDefault();
  }
  _impl_.data_.str_.Set(value, GetArenaForAllocation());
}
inline std::string* sns_registry_data_item::_internal_mutable_str() {
  if (!_internal_has_str()) {
    clear_data();
    set_has_str();
    _impl_.data_.str_.InitDefault();
  }
  return _impl_.data_.str_.Mutable(      GetArenaForAllocation());
}
inline std::string* sns_registry_data_item::release_str() {
  // @@protoc_insertion_point(field_release:sns_registry_data.item.str)
  if (_internal_has_str()) {
    clear_has_data();
    return _impl_.data_.str_.Release();
  } else {
    return nullptr;
  }
}
inline void sns_registry_data_item::set_allocated_str(std::string* str) {
  if (has_data()) {
    clear_data();
  }
  if (str != nullptr) {
    set_has_str();
    _impl_.data_.str_.InitAllocated(str, GetArenaForAllocation());
  }
  // @@protoc_insertion_point(field_set_allocated:sns_registry_data.item.str)
}

// float flt = 12;
inline bool sns_registry_data_item::_internal_has_flt() const {
  return data_case() == kFlt;
}
inline bool sns_registry_data_item::has_flt() const {
  return _internal_has_flt();
}
inline void sns_registry_data_item::set_has_flt() {
  _impl_._oneof_case_[0] = kFlt;
}
inline void sns_registry_data_item::clear_flt() {
  if (_internal_has_flt()) {
    _impl_.data_.flt_ = 0;
    clear_has_data();
  }
}
inline float sns_registry_data_item::_internal_flt() const {
  if (_internal_has_flt()) {
    return _impl_.data_.flt_;
  }
  return 0;
}
inline void sns_registry_data_item::_internal_set_flt(float value) {
  if (!_internal_has_flt()) {
    clear_data();
    set_has_flt();
  }
  _impl_.data_.flt_ = value;
}
inline float sns_registry_data_item::flt() const {
  // @@protoc_insertion_point(field_get:sns_registry_data.item.flt)
  return _internal_flt();
}
inline void sns_registry_data_item::set_flt(float value) {
  _internal_set_flt(value);
  // @@protoc_insertion_point(field_set:sns_registry_data.item.flt)
}

// sfixed64 sint = 13;
inline bool sns_registry_data_item::_internal_has_sint() const {
  return data_case() == kSint;
}
inline bool sns_registry_data_item::has_sint() const {
  return _internal_has_sint();
}
inline void sns_registry_data_item::set_has_sint() {
  _impl_._oneof_case_[0] = kSint;
}
inline void sns_registry_data_item::clear_sint() {
  if (_internal_has_sint()) {
    _impl_.data_.sint_ = int64_t{0};
    clear_has_data();
  }
}
inline int64_t sns_registry_data_item::_internal_sint() const {
  if (_internal_has_sint()) {
    return _impl_.data_.sint_;
  }
  return int64_t{0};
}
inline void sns_registry_data_item::_internal_set_sint(int64_t value) {
  if (!_internal_has_sint()) {
    clear_data();
    set_has_sint();
  }
  _impl_.data_.sint_ = value;
}
inline int64_t sns_registry_data_item::sint() const {
  // @@protoc_insertion_point(field_get:sns_registry_data.item.sint)
  return _internal_sint();
}
inline void sns_registry_data_item::set_sint(int64_t value) {
  _internal_set_sint(value);
  // @@protoc_insertion_point(field_set:sns_registry_data.item.sint)
}

inline bool sns_registry_data_item::has_data() const {
  return data_case() != DATA_NOT_SET;
}
inline void sns_registry_data_item::clear_has_data() {
  _impl_._oneof_case_[0] = DATA_NOT_SET;
}
inline sns_registry_data_item::DataCase sns_registry_data_item::data_case() const {
  return sns_registry_data_item::DataCase(_impl_._oneof_case_[0]);
}
// -------------------------------------------------------------------

// sns_registry_data

// repeated .sns_registry_data.item items = 3;
inline int sns_registry_data::_internal_items_size() const {
  return _impl_.items_.size();
}
inline int sns_registry_data::items_size() const {
  return _internal_items_size();
}
inline void sns_registry_data::clear_items() {
  _impl_.items_.Clear();
}
inline ::sns_registry_data_item* sns_registry_data::mutable_items(int index) {
  // @@protoc_insertion_point(field_mutable:sns_registry_data.items)
  return _impl_.items_.Mutable(index);
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::sns_registry_data_item >*
sns_registry_data::mutable_items() {
  // @@protoc_insertion_point(field_mutable_list:sns_registry_data.items)
  return &_impl_.items_;
}
inline const ::sns_registry_data_item& sns_registry_data::_internal_items(int index) const {
  return _impl_.items_.Get(index);
}
inline const ::sns_registry_data_item& sns_registry_data::items(int index) const {
  // @@protoc_insertion_point(field_get:sns_registry_data.items)
  return _internal_items(index);
}
inline ::sns_registry_data_item* sns_registry_data::_internal_add_items() {
  return _impl_.items_.Add();
}
inline ::sns_registry_data_item* sns_registry_data::add_items() {
  ::sns_registry_data_item* _add = _internal_add_items();
  // @@protoc_insertion_point(field_add:sns_registry_data.items)
  return _add;
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::sns_registry_data_item >&
sns_registry_data::items() const {
  // @@protoc_insertion_point(field_list:sns_registry_data.items)
  return _impl_.items_;
}

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

// sns_registry_read_req

// required string name = 1;
inline bool sns_registry_read_req::_internal_has_name() const {
  bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
  return value;
}
inline bool sns_registry_read_req::has_name() const {
  return _internal_has_name();
}
inline void sns_registry_read_req::clear_name() {
  _impl_.name_.ClearToEmpty();
  _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& sns_registry_read_req::name() const {
  // @@protoc_insertion_point(field_get:sns_registry_read_req.name)
  return _internal_name();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void sns_registry_read_req::set_name(ArgT0&& arg0, ArgT... args) {
 _impl_._has_bits_[0] |= 0x00000001u;
 _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:sns_registry_read_req.name)
}
inline std::string* sns_registry_read_req::mutable_name() {
  std::string* _s = _internal_mutable_name();
  // @@protoc_insertion_point(field_mutable:sns_registry_read_req.name)
  return _s;
}
inline const std::string& sns_registry_read_req::_internal_name() const {
  return _impl_.name_.Get();
}
inline void sns_registry_read_req::_internal_set_name(const std::string& value) {
  _impl_._has_bits_[0] |= 0x00000001u;
  _impl_.name_.Set(value, GetArenaForAllocation());
}
inline std::string* sns_registry_read_req::_internal_mutable_name() {
  _impl_._has_bits_[0] |= 0x00000001u;
  return _impl_.name_.Mutable(GetArenaForAllocation());
}
inline std::string* sns_registry_read_req::release_name() {
  // @@protoc_insertion_point(field_release:sns_registry_read_req.name)
  if (!_internal_has_name()) {
    return nullptr;
  }
  _impl_._has_bits_[0] &= ~0x00000001u;
  auto* p = _impl_.name_.Release();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  if (_impl_.name_.IsDefault()) {
    _impl_.name_.Set("", GetArenaForAllocation());
  }
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  return p;
}
inline void sns_registry_read_req::set_allocated_name(std::string* name) {
  if (name != nullptr) {
    _impl_._has_bits_[0] |= 0x00000001u;
  } else {
    _impl_._has_bits_[0] &= ~0x00000001u;
  }
  _impl_.name_.SetAllocated(name, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  if (_impl_.name_.IsDefault()) {
    _impl_.name_.Set("", GetArenaForAllocation());
  }
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  // @@protoc_insertion_point(field_set_allocated:sns_registry_read_req.name)
}

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

// sns_registry_read_event

// required string name = 1;
inline bool sns_registry_read_event::_internal_has_name() const {
  bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
  return value;
}
inline bool sns_registry_read_event::has_name() const {
  return _internal_has_name();
}
inline void sns_registry_read_event::clear_name() {
  _impl_.name_.ClearToEmpty();
  _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& sns_registry_read_event::name() const {
  // @@protoc_insertion_point(field_get:sns_registry_read_event.name)
  return _internal_name();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void sns_registry_read_event::set_name(ArgT0&& arg0, ArgT... args) {
 _impl_._has_bits_[0] |= 0x00000001u;
 _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:sns_registry_read_event.name)
}
inline std::string* sns_registry_read_event::mutable_name() {
  std::string* _s = _internal_mutable_name();
  // @@protoc_insertion_point(field_mutable:sns_registry_read_event.name)
  return _s;
}
inline const std::string& sns_registry_read_event::_internal_name() const {
  return _impl_.name_.Get();
}
inline void sns_registry_read_event::_internal_set_name(const std::string& value) {
  _impl_._has_bits_[0] |= 0x00000001u;
  _impl_.name_.Set(value, GetArenaForAllocation());
}
inline std::string* sns_registry_read_event::_internal_mutable_name() {
  _impl_._has_bits_[0] |= 0x00000001u;
  return _impl_.name_.Mutable(GetArenaForAllocation());
}
inline std::string* sns_registry_read_event::release_name() {
  // @@protoc_insertion_point(field_release:sns_registry_read_event.name)
  if (!_internal_has_name()) {
    return nullptr;
  }
  _impl_._has_bits_[0] &= ~0x00000001u;
  auto* p = _impl_.name_.Release();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  if (_impl_.name_.IsDefault()) {
    _impl_.name_.Set("", GetArenaForAllocation());
  }
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  return p;
}
inline void sns_registry_read_event::set_allocated_name(std::string* name) {
  if (name != nullptr) {
    _impl_._has_bits_[0] |= 0x00000001u;
  } else {
    _impl_._has_bits_[0] &= ~0x00000001u;
  }
  _impl_.name_.SetAllocated(name, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  if (_impl_.name_.IsDefault()) {
    _impl_.name_.Set("", GetArenaForAllocation());
  }
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  // @@protoc_insertion_point(field_set_allocated:sns_registry_read_event.name)
}

// required .sns_registry_data data = 2;
inline bool sns_registry_read_event::_internal_has_data() const {
  bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
  PROTOBUF_ASSUME(!value || _impl_.data_ != nullptr);
  return value;
}
inline bool sns_registry_read_event::has_data() const {
  return _internal_has_data();
}
inline void sns_registry_read_event::clear_data() {
  if (_impl_.data_ != nullptr) _impl_.data_->Clear();
  _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const ::sns_registry_data& sns_registry_read_event::_internal_data() const {
  const ::sns_registry_data* p = _impl_.data_;
  return p != nullptr ? *p : reinterpret_cast<const ::sns_registry_data&>(
      ::_sns_registry_data_default_instance_);
}
inline const ::sns_registry_data& sns_registry_read_event::data() const {
  // @@protoc_insertion_point(field_get:sns_registry_read_event.data)
  return _internal_data();
}
inline void sns_registry_read_event::unsafe_arena_set_allocated_data(
    ::sns_registry_data* data) {
  if (GetArenaForAllocation() == nullptr) {
    delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.data_);
  }
  _impl_.data_ = data;
  if (data) {
    _impl_._has_bits_[0] |= 0x00000002u;
  } else {
    _impl_._has_bits_[0] &= ~0x00000002u;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:sns_registry_read_event.data)
}
inline ::sns_registry_data* sns_registry_read_event::release_data() {
  _impl_._has_bits_[0] &= ~0x00000002u;
  ::sns_registry_data* temp = _impl_.data_;
  _impl_.data_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  if (GetArenaForAllocation() == nullptr) { delete old; }
#else  // PROTOBUF_FORCE_COPY_IN_RELEASE
  if (GetArenaForAllocation() != nullptr) {
    temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  }
#endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
  return temp;
}
inline ::sns_registry_data* sns_registry_read_event::unsafe_arena_release_data() {
  // @@protoc_insertion_point(field_release:sns_registry_read_event.data)
  _impl_._has_bits_[0] &= ~0x00000002u;
  ::sns_registry_data* temp = _impl_.data_;
  _impl_.data_ = nullptr;
  return temp;
}
inline ::sns_registry_data* sns_registry_read_event::_internal_mutable_data() {
  _impl_._has_bits_[0] |= 0x00000002u;
  if (_impl_.data_ == nullptr) {
    auto* p = CreateMaybeMessage<::sns_registry_data>(GetArenaForAllocation());
    _impl_.data_ = p;
  }
  return _impl_.data_;
}
inline ::sns_registry_data* sns_registry_read_event::mutable_data() {
  ::sns_registry_data* _msg = _internal_mutable_data();
  // @@protoc_insertion_point(field_mutable:sns_registry_read_event.data)
  return _msg;
}
inline void sns_registry_read_event::set_allocated_data(::sns_registry_data* data) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  if (message_arena == nullptr) {
    delete _impl_.data_;
  }
  if (data) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
        ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(data);
    if (message_arena != submessage_arena) {
      data = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, data, submessage_arena);
    }
    _impl_._has_bits_[0] |= 0x00000002u;
  } else {
    _impl_._has_bits_[0] &= ~0x00000002u;
  }
  _impl_.data_ = data;
  // @@protoc_insertion_point(field_set_allocated:sns_registry_read_event.data)
}

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

// sns_registry_write_req

// required string name = 1;
inline bool sns_registry_write_req::_internal_has_name() const {
  bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
  return value;
}
inline bool sns_registry_write_req::has_name() const {
  return _internal_has_name();
}
inline void sns_registry_write_req::clear_name() {
  _impl_.name_.ClearToEmpty();
  _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const std::string& sns_registry_write_req::name() const {
  // @@protoc_insertion_point(field_get:sns_registry_write_req.name)
  return _internal_name();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void sns_registry_write_req::set_name(ArgT0&& arg0, ArgT... args) {
 _impl_._has_bits_[0] |= 0x00000001u;
 _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:sns_registry_write_req.name)
}
inline std::string* sns_registry_write_req::mutable_name() {
  std::string* _s = _internal_mutable_name();
  // @@protoc_insertion_point(field_mutable:sns_registry_write_req.name)
  return _s;
}
inline const std::string& sns_registry_write_req::_internal_name() const {
  return _impl_.name_.Get();
}
inline void sns_registry_write_req::_internal_set_name(const std::string& value) {
  _impl_._has_bits_[0] |= 0x00000001u;
  _impl_.name_.Set(value, GetArenaForAllocation());
}
inline std::string* sns_registry_write_req::_internal_mutable_name() {
  _impl_._has_bits_[0] |= 0x00000001u;
  return _impl_.name_.Mutable(GetArenaForAllocation());
}
inline std::string* sns_registry_write_req::release_name() {
  // @@protoc_insertion_point(field_release:sns_registry_write_req.name)
  if (!_internal_has_name()) {
    return nullptr;
  }
  _impl_._has_bits_[0] &= ~0x00000001u;
  auto* p = _impl_.name_.Release();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  if (_impl_.name_.IsDefault()) {
    _impl_.name_.Set("", GetArenaForAllocation());
  }
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  return p;
}
inline void sns_registry_write_req::set_allocated_name(std::string* name) {
  if (name != nullptr) {
    _impl_._has_bits_[0] |= 0x00000001u;
  } else {
    _impl_._has_bits_[0] &= ~0x00000001u;
  }
  _impl_.name_.SetAllocated(name, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  if (_impl_.name_.IsDefault()) {
    _impl_.name_.Set("", GetArenaForAllocation());
  }
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  // @@protoc_insertion_point(field_set_allocated:sns_registry_write_req.name)
}

// required .sns_registry_data data = 2;
inline bool sns_registry_write_req::_internal_has_data() const {
  bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
  PROTOBUF_ASSUME(!value || _impl_.data_ != nullptr);
  return value;
}
inline bool sns_registry_write_req::has_data() const {
  return _internal_has_data();
}
inline void sns_registry_write_req::clear_data() {
  if (_impl_.data_ != nullptr) _impl_.data_->Clear();
  _impl_._has_bits_[0] &= ~0x00000002u;
}
inline const ::sns_registry_data& sns_registry_write_req::_internal_data() const {
  const ::sns_registry_data* p = _impl_.data_;
  return p != nullptr ? *p : reinterpret_cast<const ::sns_registry_data&>(
      ::_sns_registry_data_default_instance_);
}
inline const ::sns_registry_data& sns_registry_write_req::data() const {
  // @@protoc_insertion_point(field_get:sns_registry_write_req.data)
  return _internal_data();
}
inline void sns_registry_write_req::unsafe_arena_set_allocated_data(
    ::sns_registry_data* data) {
  if (GetArenaForAllocation() == nullptr) {
    delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.data_);
  }
  _impl_.data_ = data;
  if (data) {
    _impl_._has_bits_[0] |= 0x00000002u;
  } else {
    _impl_._has_bits_[0] &= ~0x00000002u;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:sns_registry_write_req.data)
}
inline ::sns_registry_data* sns_registry_write_req::release_data() {
  _impl_._has_bits_[0] &= ~0x00000002u;
  ::sns_registry_data* temp = _impl_.data_;
  _impl_.data_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  if (GetArenaForAllocation() == nullptr) { delete old; }
#else  // PROTOBUF_FORCE_COPY_IN_RELEASE
  if (GetArenaForAllocation() != nullptr) {
    temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  }
#endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
  return temp;
}
inline ::sns_registry_data* sns_registry_write_req::unsafe_arena_release_data() {
  // @@protoc_insertion_point(field_release:sns_registry_write_req.data)
  _impl_._has_bits_[0] &= ~0x00000002u;
  ::sns_registry_data* temp = _impl_.data_;
  _impl_.data_ = nullptr;
  return temp;
}
inline ::sns_registry_data* sns_registry_write_req::_internal_mutable_data() {
  _impl_._has_bits_[0] |= 0x00000002u;
  if (_impl_.data_ == nullptr) {
    auto* p = CreateMaybeMessage<::sns_registry_data>(GetArenaForAllocation());
    _impl_.data_ = p;
  }
  return _impl_.data_;
}
inline ::sns_registry_data* sns_registry_write_req::mutable_data() {
  ::sns_registry_data* _msg = _internal_mutable_data();
  // @@protoc_insertion_point(field_mutable:sns_registry_write_req.data)
  return _msg;
}
inline void sns_registry_write_req::set_allocated_data(::sns_registry_data* data) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  if (message_arena == nullptr) {
    delete _impl_.data_;
  }
  if (data) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
        ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(data);
    if (message_arena != submessage_arena) {
      data = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, data, submessage_arena);
    }
    _impl_._has_bits_[0] |= 0x00000002u;
  } else {
    _impl_._has_bits_[0] &= ~0x00000002u;
  }
  _impl_.data_ = data;
  // @@protoc_insertion_point(field_set_allocated:sns_registry_write_req.data)
}

// optional int64 cookie = 3;
inline bool sns_registry_write_req::_internal_has_cookie() const {
  bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
  return value;
}
inline bool sns_registry_write_req::has_cookie() const {
  return _internal_has_cookie();
}
inline void sns_registry_write_req::clear_cookie() {
  _impl_.cookie_ = int64_t{0};
  _impl_._has_bits_[0] &= ~0x00000004u;
}
inline int64_t sns_registry_write_req::_internal_cookie() const {
  return _impl_.cookie_;
}
inline int64_t sns_registry_write_req::cookie() const {
  // @@protoc_insertion_point(field_get:sns_registry_write_req.cookie)
  return _internal_cookie();
}
inline void sns_registry_write_req::_internal_set_cookie(int64_t value) {
  _impl_._has_bits_[0] |= 0x00000004u;
  _impl_.cookie_ = value;
}
inline void sns_registry_write_req::set_cookie(int64_t value) {
  _internal_set_cookie(value);
  // @@protoc_insertion_point(field_set:sns_registry_write_req.cookie)
}

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

// sns_registry_write_event

// required .sns_registry_write_status status = 1;
inline bool sns_registry_write_event::_internal_has_status() const {
  bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
  return value;
}
inline bool sns_registry_write_event::has_status() const {
  return _internal_has_status();
}
inline void sns_registry_write_event::clear_status() {
  _impl_.status_ = 0;
  _impl_._has_bits_[0] &= ~0x00000002u;
}
inline ::sns_registry_write_status sns_registry_write_event::_internal_status() const {
  return static_cast< ::sns_registry_write_status >(_impl_.status_);
}
inline ::sns_registry_write_status sns_registry_write_event::status() const {
  // @@protoc_insertion_point(field_get:sns_registry_write_event.status)
  return _internal_status();
}
inline void sns_registry_write_event::_internal_set_status(::sns_registry_write_status value) {
  assert(::sns_registry_write_status_IsValid(value));
  _impl_._has_bits_[0] |= 0x00000002u;
  _impl_.status_ = value;
}
inline void sns_registry_write_event::set_status(::sns_registry_write_status value) {
  _internal_set_status(value);
  // @@protoc_insertion_point(field_set:sns_registry_write_event.status)
}

// optional int64 cookie = 2;
inline bool sns_registry_write_event::_internal_has_cookie() const {
  bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
  return value;
}
inline bool sns_registry_write_event::has_cookie() const {
  return _internal_has_cookie();
}
inline void sns_registry_write_event::clear_cookie() {
  _impl_.cookie_ = int64_t{0};
  _impl_._has_bits_[0] &= ~0x00000001u;
}
inline int64_t sns_registry_write_event::_internal_cookie() const {
  return _impl_.cookie_;
}
inline int64_t sns_registry_write_event::cookie() const {
  // @@protoc_insertion_point(field_get:sns_registry_write_event.cookie)
  return _internal_cookie();
}
inline void sns_registry_write_event::_internal_set_cookie(int64_t value) {
  _impl_._has_bits_[0] |= 0x00000001u;
  _impl_.cookie_ = value;
}
inline void sns_registry_write_event::set_cookie(int64_t value) {
  _internal_set_cookie(value);
  // @@protoc_insertion_point(field_set:sns_registry_write_event.cookie)
}

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

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

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

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

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


// @@protoc_insertion_point(namespace_scope)


PROTOBUF_NAMESPACE_OPEN

template <> struct is_proto_enum< ::sns_registry_msgid> : ::std::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::sns_registry_msgid>() {
  return ::sns_registry_msgid_descriptor();
}
template <> struct is_proto_enum< ::sns_registry_write_status> : ::std::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::sns_registry_write_status>() {
  return ::sns_registry_write_status_descriptor();
}

PROTOBUF_NAMESPACE_CLOSE

// @@protoc_insertion_point(global_scope)

#include <google/protobuf/port_undef.inc>
#endif  // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_sns_5fregistry_2eproto
