// Generated by the protocol buffer compiler. DO NOT EDIT! // NO CHECKED-IN PROTOBUF GENCODE // source: ours.proto // Protobuf C++ Version: 5.29.3 #ifndef ours_2eproto_2epb_2eh #define ours_2eproto_2epb_2eh #include #include #include #include #include "google/protobuf/runtime_version.h" #if PROTOBUF_VERSION != 5029003 #error "Protobuf C++ gencode is built with an incompatible version of" #error "Protobuf C++ headers/runtime. See" #error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp" #endif #include "google/protobuf/io/coded_stream.h" #include "google/protobuf/arena.h" #include "google/protobuf/arenastring.h" #include "google/protobuf/generated_message_tctable_decl.h" #include "google/protobuf/generated_message_util.h" #include "google/protobuf/metadata_lite.h" #include "google/protobuf/generated_message_reflection.h" #include "google/protobuf/message.h" #include "google/protobuf/message_lite.h" #include "google/protobuf/repeated_field.h" // IWYU pragma: export #include "google/protobuf/extension_set.h" // IWYU pragma: export #include "google/protobuf/generated_enum_reflection.h" #include "google/protobuf/unknown_field_set.h" // @@protoc_insertion_point(includes) // Must be included last. #include "google/protobuf/port_def.inc" #define PROTOBUF_INTERNAL_EXPORT_ours_2eproto namespace google { namespace protobuf { namespace internal { template ::absl::string_view GetAnyMessageName(); } // namespace internal } // namespace protobuf } // namespace google // Internal implementation detail -- do not use these members. struct TableStruct_ours_2eproto { static const ::uint32_t offsets[]; }; extern const ::google::protobuf::internal::DescriptorTable descriptor_table_ours_2eproto; namespace nm { namespace message { class ChunkBytes; struct ChunkBytesDefaultTypeInternal; extern ChunkBytesDefaultTypeInternal _ChunkBytes_default_instance_; class ChunkRequest; struct ChunkRequestDefaultTypeInternal; extern ChunkRequestDefaultTypeInternal _ChunkRequest_default_instance_; class ClearAt; struct ClearAtDefaultTypeInternal; extern ClearAtDefaultTypeInternal _ClearAt_default_instance_; class CursorMove; struct CursorMoveDefaultTypeInternal; extern CursorMoveDefaultTypeInternal _CursorMove_default_instance_; class MessageWrapper; struct MessageWrapperDefaultTypeInternal; extern MessageWrapperDefaultTypeInternal _MessageWrapper_default_instance_; class Player; struct PlayerDefaultTypeInternal; extern PlayerDefaultTypeInternal _Player_default_instance_; class SquareFlag; struct SquareFlagDefaultTypeInternal; extern SquareFlagDefaultTypeInternal _SquareFlag_default_instance_; class SquareOpen; struct SquareOpenDefaultTypeInternal; extern SquareOpenDefaultTypeInternal _SquareOpen_default_instance_; class Welcome; struct WelcomeDefaultTypeInternal; extern WelcomeDefaultTypeInternal _Welcome_default_instance_; } // namespace message } // namespace nm namespace google { namespace protobuf { } // namespace protobuf } // namespace google namespace nm { namespace message { enum MessageWrapper_Type : int { MessageWrapper_Type_CURSOR_MOVE = 1, MessageWrapper_Type_SQUARE_FLAG = 2, MessageWrapper_Type_SQUARE_OPEN = 3, MessageWrapper_Type_PLAYER_JOIN = 4, MessageWrapper_Type_PLAYER_QUIT = 5, MessageWrapper_Type_WELCOME = 6, MessageWrapper_Type_CHUNK_BYTES = 7, MessageWrapper_Type_CHUNK_REQUEST = 8, MessageWrapper_Type_CLEAR_AT = 9, MessageWrapper_Type_PLAYER_UPDATE = 10, }; bool MessageWrapper_Type_IsValid(int value); extern const uint32_t MessageWrapper_Type_internal_data_[]; constexpr MessageWrapper_Type MessageWrapper_Type_Type_MIN = static_cast(1); constexpr MessageWrapper_Type MessageWrapper_Type_Type_MAX = static_cast(10); constexpr int MessageWrapper_Type_Type_ARRAYSIZE = 10 + 1; const ::google::protobuf::EnumDescriptor* MessageWrapper_Type_descriptor(); template const std::string& MessageWrapper_Type_Name(T value) { static_assert(std::is_same::value || std::is_integral::value, "Incorrect type passed to Type_Name()."); return MessageWrapper_Type_Name(static_cast(value)); } template <> inline const std::string& MessageWrapper_Type_Name(MessageWrapper_Type value) { return ::google::protobuf::internal::NameOfDenseEnum( static_cast(value)); } inline bool MessageWrapper_Type_Parse(absl::string_view name, MessageWrapper_Type* value) { return ::google::protobuf::internal::ParseNamedEnum( MessageWrapper_Type_descriptor(), name, value); } // =================================================================== // ------------------------------------------------------------------- class SquareOpen final : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:nm.message.SquareOpen) */ { public: inline SquareOpen() : SquareOpen(nullptr) {} ~SquareOpen() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) void operator delete(SquareOpen* msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(SquareOpen)); } #endif template explicit PROTOBUF_CONSTEXPR SquareOpen( ::google::protobuf::internal::ConstantInitialized); inline SquareOpen(const SquareOpen& from) : SquareOpen(nullptr, from) {} inline SquareOpen(SquareOpen&& from) noexcept : SquareOpen(nullptr, std::move(from)) {} inline SquareOpen& operator=(const SquareOpen& from) { CopyFrom(from); return *this; } inline SquareOpen& operator=(SquareOpen&& from) noexcept { if (this == &from) return *this; if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } static const ::google::protobuf::Descriptor* GetDescriptor() { return default_instance().GetMetadata().descriptor; } static const ::google::protobuf::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } static const SquareOpen& default_instance() { return *internal_default_instance(); } static inline const SquareOpen* internal_default_instance() { return reinterpret_cast( &_SquareOpen_default_instance_); } static constexpr int kIndexInFileMessages = 5; friend void swap(SquareOpen& a, SquareOpen& b) { a.Swap(&b); } inline void Swap(SquareOpen* other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); } else { ::google::protobuf::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(SquareOpen* other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- SquareOpen* New(::google::protobuf::Arena* arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; void CopyFrom(const SquareOpen& from); using ::google::protobuf::Message::MergeFrom; void MergeFrom(const SquareOpen& from) { SquareOpen::MergeImpl(*this, from); } private: static void MergeImpl( ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { return IsInitializedImpl(*this); } private: static bool IsInitializedImpl(const MessageLite& msg); public: ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) private: static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); static ::uint8_t* _InternalSerialize( const MessageLite& msg, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } ::uint8_t* _InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; ::uint8_t* _InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: void SharedCtor(::google::protobuf::Arena* arena); static void SharedDtor(MessageLite& self); void InternalSwap(SquareOpen* other); private: template friend ::absl::string_view( ::google::protobuf::internal::GetAnyMessageName)(); static ::absl::string_view FullMessageName() { return "nm.message.SquareOpen"; } protected: explicit SquareOpen(::google::protobuf::Arena* arena); SquareOpen(::google::protobuf::Arena* arena, const SquareOpen& from); SquareOpen(::google::protobuf::Arena* arena, SquareOpen&& from) noexcept : SquareOpen(arena) { *this = ::std::move(from); } const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); static constexpr auto InternalNewImpl_(); static const ::google::protobuf::internal::ClassDataFull _class_data_; public: ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kXFieldNumber = 1, kYFieldNumber = 2, kIdFieldNumber = 3, }; // required int32 x = 1; bool has_x() const; void clear_x() ; ::int32_t x() const; void set_x(::int32_t value); private: ::int32_t _internal_x() const; void _internal_set_x(::int32_t value); public: // required int32 y = 2; bool has_y() const; void clear_y() ; ::int32_t y() const; void set_y(::int32_t value); private: ::int32_t _internal_y() const; void _internal_set_y(::int32_t value); public: // optional int32 id = 3; bool has_id() const; void clear_id() ; ::int32_t id() const; void set_id(::int32_t value); private: ::int32_t _internal_id() const; void _internal_set_id(::int32_t value); public: // @@protoc_insertion_point(class_scope:nm.message.SquareOpen) private: class _Internal; friend class ::google::protobuf::internal::TcParser; static const ::google::protobuf::internal::TcParseTable< 2, 3, 0, 0, 2> _table_; friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; template friend class ::google::protobuf::Arena::InternalHelper; using InternalArenaConstructable_ = void; using DestructorSkippable_ = void; struct Impl_ { inline explicit constexpr Impl_( ::google::protobuf::internal::ConstantInitialized) noexcept; inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena); inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from, const SquareOpen& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; ::int32_t x_; ::int32_t y_; ::int32_t id_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_ours_2eproto; }; // ------------------------------------------------------------------- class SquareFlag final : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:nm.message.SquareFlag) */ { public: inline SquareFlag() : SquareFlag(nullptr) {} ~SquareFlag() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) void operator delete(SquareFlag* msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(SquareFlag)); } #endif template explicit PROTOBUF_CONSTEXPR SquareFlag( ::google::protobuf::internal::ConstantInitialized); inline SquareFlag(const SquareFlag& from) : SquareFlag(nullptr, from) {} inline SquareFlag(SquareFlag&& from) noexcept : SquareFlag(nullptr, std::move(from)) {} inline SquareFlag& operator=(const SquareFlag& from) { CopyFrom(from); return *this; } inline SquareFlag& operator=(SquareFlag&& from) noexcept { if (this == &from) return *this; if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } static const ::google::protobuf::Descriptor* GetDescriptor() { return default_instance().GetMetadata().descriptor; } static const ::google::protobuf::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } static const SquareFlag& default_instance() { return *internal_default_instance(); } static inline const SquareFlag* internal_default_instance() { return reinterpret_cast( &_SquareFlag_default_instance_); } static constexpr int kIndexInFileMessages = 6; friend void swap(SquareFlag& a, SquareFlag& b) { a.Swap(&b); } inline void Swap(SquareFlag* other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); } else { ::google::protobuf::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(SquareFlag* other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- SquareFlag* New(::google::protobuf::Arena* arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; void CopyFrom(const SquareFlag& from); using ::google::protobuf::Message::MergeFrom; void MergeFrom(const SquareFlag& from) { SquareFlag::MergeImpl(*this, from); } private: static void MergeImpl( ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { return IsInitializedImpl(*this); } private: static bool IsInitializedImpl(const MessageLite& msg); public: ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) private: static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); static ::uint8_t* _InternalSerialize( const MessageLite& msg, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } ::uint8_t* _InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; ::uint8_t* _InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: void SharedCtor(::google::protobuf::Arena* arena); static void SharedDtor(MessageLite& self); void InternalSwap(SquareFlag* other); private: template friend ::absl::string_view( ::google::protobuf::internal::GetAnyMessageName)(); static ::absl::string_view FullMessageName() { return "nm.message.SquareFlag"; } protected: explicit SquareFlag(::google::protobuf::Arena* arena); SquareFlag(::google::protobuf::Arena* arena, const SquareFlag& from); SquareFlag(::google::protobuf::Arena* arena, SquareFlag&& from) noexcept : SquareFlag(arena) { *this = ::std::move(from); } const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); static constexpr auto InternalNewImpl_(); static const ::google::protobuf::internal::ClassDataFull _class_data_; public: ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kXFieldNumber = 1, kYFieldNumber = 2, kIdFieldNumber = 3, }; // required int32 x = 1; bool has_x() const; void clear_x() ; ::int32_t x() const; void set_x(::int32_t value); private: ::int32_t _internal_x() const; void _internal_set_x(::int32_t value); public: // required int32 y = 2; bool has_y() const; void clear_y() ; ::int32_t y() const; void set_y(::int32_t value); private: ::int32_t _internal_y() const; void _internal_set_y(::int32_t value); public: // optional int32 id = 3; bool has_id() const; void clear_id() ; ::int32_t id() const; void set_id(::int32_t value); private: ::int32_t _internal_id() const; void _internal_set_id(::int32_t value); public: // @@protoc_insertion_point(class_scope:nm.message.SquareFlag) private: class _Internal; friend class ::google::protobuf::internal::TcParser; static const ::google::protobuf::internal::TcParseTable< 2, 3, 0, 0, 2> _table_; friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; template friend class ::google::protobuf::Arena::InternalHelper; using InternalArenaConstructable_ = void; using DestructorSkippable_ = void; struct Impl_ { inline explicit constexpr Impl_( ::google::protobuf::internal::ConstantInitialized) noexcept; inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena); inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from, const SquareFlag& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; ::int32_t x_; ::int32_t y_; ::int32_t id_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_ours_2eproto; }; // ------------------------------------------------------------------- class Player final : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:nm.message.Player) */ { public: inline Player() : Player(nullptr) {} ~Player() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) void operator delete(Player* msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(Player)); } #endif template explicit PROTOBUF_CONSTEXPR Player( ::google::protobuf::internal::ConstantInitialized); inline Player(const Player& from) : Player(nullptr, from) {} inline Player(Player&& from) noexcept : Player(nullptr, std::move(from)) {} inline Player& operator=(const Player& from) { CopyFrom(from); return *this; } inline Player& operator=(Player&& from) noexcept { if (this == &from) return *this; if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } static const ::google::protobuf::Descriptor* GetDescriptor() { return default_instance().GetMetadata().descriptor; } static const ::google::protobuf::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } static const Player& default_instance() { return *internal_default_instance(); } static inline const Player* internal_default_instance() { return reinterpret_cast( &_Player_default_instance_); } static constexpr int kIndexInFileMessages = 7; friend void swap(Player& a, Player& b) { a.Swap(&b); } inline void Swap(Player* other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); } else { ::google::protobuf::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(Player* other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- Player* New(::google::protobuf::Arena* arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; void CopyFrom(const Player& from); using ::google::protobuf::Message::MergeFrom; void MergeFrom(const Player& from) { Player::MergeImpl(*this, from); } private: static void MergeImpl( ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { return IsInitializedImpl(*this); } private: static bool IsInitializedImpl(const MessageLite& msg); public: ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) private: static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); static ::uint8_t* _InternalSerialize( const MessageLite& msg, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } ::uint8_t* _InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; ::uint8_t* _InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: void SharedCtor(::google::protobuf::Arena* arena); static void SharedDtor(MessageLite& self); void InternalSwap(Player* other); private: template friend ::absl::string_view( ::google::protobuf::internal::GetAnyMessageName)(); static ::absl::string_view FullMessageName() { return "nm.message.Player"; } protected: explicit Player(::google::protobuf::Arena* arena); Player(::google::protobuf::Arena* arena, const Player& from); Player(::google::protobuf::Arena* arena, Player&& from) noexcept : Player(arena) { *this = ::std::move(from); } const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); static constexpr auto InternalNewImpl_(); static const ::google::protobuf::internal::ClassDataFull _class_data_; public: ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kNameFieldNumber = 4, kXFieldNumber = 1, kYFieldNumber = 2, kIdFieldNumber = 3, }; // optional string name = 4; bool has_name() const; void clear_name() ; const std::string& name() const; template void set_name(Arg_&& arg, Args_... args); std::string* mutable_name(); PROTOBUF_NODISCARD std::string* release_name(); void set_allocated_name(std::string* value); 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 int32 x = 1; bool has_x() const; void clear_x() ; ::int32_t x() const; void set_x(::int32_t value); private: ::int32_t _internal_x() const; void _internal_set_x(::int32_t value); public: // required int32 y = 2; bool has_y() const; void clear_y() ; ::int32_t y() const; void set_y(::int32_t value); private: ::int32_t _internal_y() const; void _internal_set_y(::int32_t value); public: // optional int32 id = 3; bool has_id() const; void clear_id() ; ::int32_t id() const; void set_id(::int32_t value); private: ::int32_t _internal_id() const; void _internal_set_id(::int32_t value); public: // @@protoc_insertion_point(class_scope:nm.message.Player) private: class _Internal; friend class ::google::protobuf::internal::TcParser; static const ::google::protobuf::internal::TcParseTable< 2, 4, 0, 30, 2> _table_; friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; template friend class ::google::protobuf::Arena::InternalHelper; using InternalArenaConstructable_ = void; using DestructorSkippable_ = void; struct Impl_ { inline explicit constexpr Impl_( ::google::protobuf::internal::ConstantInitialized) noexcept; inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena); inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from, const Player& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; ::google::protobuf::internal::ArenaStringPtr name_; ::int32_t x_; ::int32_t y_; ::int32_t id_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_ours_2eproto; }; // ------------------------------------------------------------------- class CursorMove final : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:nm.message.CursorMove) */ { public: inline CursorMove() : CursorMove(nullptr) {} ~CursorMove() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) void operator delete(CursorMove* msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(CursorMove)); } #endif template explicit PROTOBUF_CONSTEXPR CursorMove( ::google::protobuf::internal::ConstantInitialized); inline CursorMove(const CursorMove& from) : CursorMove(nullptr, from) {} inline CursorMove(CursorMove&& from) noexcept : CursorMove(nullptr, std::move(from)) {} inline CursorMove& operator=(const CursorMove& from) { CopyFrom(from); return *this; } inline CursorMove& operator=(CursorMove&& from) noexcept { if (this == &from) return *this; if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } static const ::google::protobuf::Descriptor* GetDescriptor() { return default_instance().GetMetadata().descriptor; } static const ::google::protobuf::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } static const CursorMove& default_instance() { return *internal_default_instance(); } static inline const CursorMove* internal_default_instance() { return reinterpret_cast( &_CursorMove_default_instance_); } static constexpr int kIndexInFileMessages = 4; friend void swap(CursorMove& a, CursorMove& b) { a.Swap(&b); } inline void Swap(CursorMove* other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); } else { ::google::protobuf::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(CursorMove* other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- CursorMove* New(::google::protobuf::Arena* arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; void CopyFrom(const CursorMove& from); using ::google::protobuf::Message::MergeFrom; void MergeFrom(const CursorMove& from) { CursorMove::MergeImpl(*this, from); } private: static void MergeImpl( ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { return IsInitializedImpl(*this); } private: static bool IsInitializedImpl(const MessageLite& msg); public: ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) private: static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); static ::uint8_t* _InternalSerialize( const MessageLite& msg, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } ::uint8_t* _InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; ::uint8_t* _InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: void SharedCtor(::google::protobuf::Arena* arena); static void SharedDtor(MessageLite& self); void InternalSwap(CursorMove* other); private: template friend ::absl::string_view( ::google::protobuf::internal::GetAnyMessageName)(); static ::absl::string_view FullMessageName() { return "nm.message.CursorMove"; } protected: explicit CursorMove(::google::protobuf::Arena* arena); CursorMove(::google::protobuf::Arena* arena, const CursorMove& from); CursorMove(::google::protobuf::Arena* arena, CursorMove&& from) noexcept : CursorMove(arena) { *this = ::std::move(from); } const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); static constexpr auto InternalNewImpl_(); static const ::google::protobuf::internal::ClassDataFull _class_data_; public: ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kXFieldNumber = 1, kYFieldNumber = 2, kIdFieldNumber = 3, }; // required int32 x = 1; bool has_x() const; void clear_x() ; ::int32_t x() const; void set_x(::int32_t value); private: ::int32_t _internal_x() const; void _internal_set_x(::int32_t value); public: // required int32 y = 2; bool has_y() const; void clear_y() ; ::int32_t y() const; void set_y(::int32_t value); private: ::int32_t _internal_y() const; void _internal_set_y(::int32_t value); public: // optional int32 id = 3; bool has_id() const; void clear_id() ; ::int32_t id() const; void set_id(::int32_t value); private: ::int32_t _internal_id() const; void _internal_set_id(::int32_t value); public: // @@protoc_insertion_point(class_scope:nm.message.CursorMove) private: class _Internal; friend class ::google::protobuf::internal::TcParser; static const ::google::protobuf::internal::TcParseTable< 2, 3, 0, 0, 2> _table_; friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; template friend class ::google::protobuf::Arena::InternalHelper; using InternalArenaConstructable_ = void; using DestructorSkippable_ = void; struct Impl_ { inline explicit constexpr Impl_( ::google::protobuf::internal::ConstantInitialized) noexcept; inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena); inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from, const CursorMove& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; ::int32_t x_; ::int32_t y_; ::int32_t id_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_ours_2eproto; }; // ------------------------------------------------------------------- class ClearAt final : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:nm.message.ClearAt) */ { public: inline ClearAt() : ClearAt(nullptr) {} ~ClearAt() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) void operator delete(ClearAt* msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(ClearAt)); } #endif template explicit PROTOBUF_CONSTEXPR ClearAt( ::google::protobuf::internal::ConstantInitialized); inline ClearAt(const ClearAt& from) : ClearAt(nullptr, from) {} inline ClearAt(ClearAt&& from) noexcept : ClearAt(nullptr, std::move(from)) {} inline ClearAt& operator=(const ClearAt& from) { CopyFrom(from); return *this; } inline ClearAt& operator=(ClearAt&& from) noexcept { if (this == &from) return *this; if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } static const ::google::protobuf::Descriptor* GetDescriptor() { return default_instance().GetMetadata().descriptor; } static const ::google::protobuf::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } static const ClearAt& default_instance() { return *internal_default_instance(); } static inline const ClearAt* internal_default_instance() { return reinterpret_cast( &_ClearAt_default_instance_); } static constexpr int kIndexInFileMessages = 1; friend void swap(ClearAt& a, ClearAt& b) { a.Swap(&b); } inline void Swap(ClearAt* other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); } else { ::google::protobuf::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(ClearAt* other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- ClearAt* New(::google::protobuf::Arena* arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; void CopyFrom(const ClearAt& from); using ::google::protobuf::Message::MergeFrom; void MergeFrom(const ClearAt& from) { ClearAt::MergeImpl(*this, from); } private: static void MergeImpl( ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { return IsInitializedImpl(*this); } private: static bool IsInitializedImpl(const MessageLite& msg); public: ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) private: static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); static ::uint8_t* _InternalSerialize( const MessageLite& msg, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } ::uint8_t* _InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; ::uint8_t* _InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: void SharedCtor(::google::protobuf::Arena* arena); static void SharedDtor(MessageLite& self); void InternalSwap(ClearAt* other); private: template friend ::absl::string_view( ::google::protobuf::internal::GetAnyMessageName)(); static ::absl::string_view FullMessageName() { return "nm.message.ClearAt"; } protected: explicit ClearAt(::google::protobuf::Arena* arena); ClearAt(::google::protobuf::Arena* arena, const ClearAt& from); ClearAt(::google::protobuf::Arena* arena, ClearAt&& from) noexcept : ClearAt(arena) { *this = ::std::move(from); } const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); static constexpr auto InternalNewImpl_(); static const ::google::protobuf::internal::ClassDataFull _class_data_; public: ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kXFieldNumber = 1, kYFieldNumber = 2, }; // required int32 x = 1; bool has_x() const; void clear_x() ; ::int32_t x() const; void set_x(::int32_t value); private: ::int32_t _internal_x() const; void _internal_set_x(::int32_t value); public: // required int32 y = 2; bool has_y() const; void clear_y() ; ::int32_t y() const; void set_y(::int32_t value); private: ::int32_t _internal_y() const; void _internal_set_y(::int32_t value); public: // @@protoc_insertion_point(class_scope:nm.message.ClearAt) private: class _Internal; friend class ::google::protobuf::internal::TcParser; static const ::google::protobuf::internal::TcParseTable< 1, 2, 0, 0, 2> _table_; friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; template friend class ::google::protobuf::Arena::InternalHelper; using InternalArenaConstructable_ = void; using DestructorSkippable_ = void; struct Impl_ { inline explicit constexpr Impl_( ::google::protobuf::internal::ConstantInitialized) noexcept; inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena); inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from, const ClearAt& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; ::int32_t x_; ::int32_t y_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_ours_2eproto; }; // ------------------------------------------------------------------- class ChunkRequest final : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:nm.message.ChunkRequest) */ { public: inline ChunkRequest() : ChunkRequest(nullptr) {} ~ChunkRequest() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) void operator delete(ChunkRequest* msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(ChunkRequest)); } #endif template explicit PROTOBUF_CONSTEXPR ChunkRequest( ::google::protobuf::internal::ConstantInitialized); inline ChunkRequest(const ChunkRequest& from) : ChunkRequest(nullptr, from) {} inline ChunkRequest(ChunkRequest&& from) noexcept : ChunkRequest(nullptr, std::move(from)) {} inline ChunkRequest& operator=(const ChunkRequest& from) { CopyFrom(from); return *this; } inline ChunkRequest& operator=(ChunkRequest&& from) noexcept { if (this == &from) return *this; if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } static const ::google::protobuf::Descriptor* GetDescriptor() { return default_instance().GetMetadata().descriptor; } static const ::google::protobuf::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } static const ChunkRequest& default_instance() { return *internal_default_instance(); } static inline const ChunkRequest* internal_default_instance() { return reinterpret_cast( &_ChunkRequest_default_instance_); } static constexpr int kIndexInFileMessages = 2; friend void swap(ChunkRequest& a, ChunkRequest& b) { a.Swap(&b); } inline void Swap(ChunkRequest* other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); } else { ::google::protobuf::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(ChunkRequest* other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- ChunkRequest* New(::google::protobuf::Arena* arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; void CopyFrom(const ChunkRequest& from); using ::google::protobuf::Message::MergeFrom; void MergeFrom(const ChunkRequest& from) { ChunkRequest::MergeImpl(*this, from); } private: static void MergeImpl( ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { return IsInitializedImpl(*this); } private: static bool IsInitializedImpl(const MessageLite& msg); public: ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) private: static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); static ::uint8_t* _InternalSerialize( const MessageLite& msg, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } ::uint8_t* _InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; ::uint8_t* _InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: void SharedCtor(::google::protobuf::Arena* arena); static void SharedDtor(MessageLite& self); void InternalSwap(ChunkRequest* other); private: template friend ::absl::string_view( ::google::protobuf::internal::GetAnyMessageName)(); static ::absl::string_view FullMessageName() { return "nm.message.ChunkRequest"; } protected: explicit ChunkRequest(::google::protobuf::Arena* arena); ChunkRequest(::google::protobuf::Arena* arena, const ChunkRequest& from); ChunkRequest(::google::protobuf::Arena* arena, ChunkRequest&& from) noexcept : ChunkRequest(arena) { *this = ::std::move(from); } const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); static constexpr auto InternalNewImpl_(); static const ::google::protobuf::internal::ClassDataFull _class_data_; public: ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kXFieldNumber = 1, kYFieldNumber = 2, }; // required int32 x = 1; bool has_x() const; void clear_x() ; ::int32_t x() const; void set_x(::int32_t value); private: ::int32_t _internal_x() const; void _internal_set_x(::int32_t value); public: // required int32 y = 2; bool has_y() const; void clear_y() ; ::int32_t y() const; void set_y(::int32_t value); private: ::int32_t _internal_y() const; void _internal_set_y(::int32_t value); public: // @@protoc_insertion_point(class_scope:nm.message.ChunkRequest) private: class _Internal; friend class ::google::protobuf::internal::TcParser; static const ::google::protobuf::internal::TcParseTable< 1, 2, 0, 0, 2> _table_; friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; template friend class ::google::protobuf::Arena::InternalHelper; using InternalArenaConstructable_ = void; using DestructorSkippable_ = void; struct Impl_ { inline explicit constexpr Impl_( ::google::protobuf::internal::ConstantInitialized) noexcept; inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena); inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from, const ChunkRequest& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; ::int32_t x_; ::int32_t y_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_ours_2eproto; }; // ------------------------------------------------------------------- class ChunkBytes final : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:nm.message.ChunkBytes) */ { public: inline ChunkBytes() : ChunkBytes(nullptr) {} ~ChunkBytes() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) void operator delete(ChunkBytes* msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(ChunkBytes)); } #endif template explicit PROTOBUF_CONSTEXPR ChunkBytes( ::google::protobuf::internal::ConstantInitialized); inline ChunkBytes(const ChunkBytes& from) : ChunkBytes(nullptr, from) {} inline ChunkBytes(ChunkBytes&& from) noexcept : ChunkBytes(nullptr, std::move(from)) {} inline ChunkBytes& operator=(const ChunkBytes& from) { CopyFrom(from); return *this; } inline ChunkBytes& operator=(ChunkBytes&& from) noexcept { if (this == &from) return *this; if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } static const ::google::protobuf::Descriptor* GetDescriptor() { return default_instance().GetMetadata().descriptor; } static const ::google::protobuf::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } static const ChunkBytes& default_instance() { return *internal_default_instance(); } static inline const ChunkBytes* internal_default_instance() { return reinterpret_cast( &_ChunkBytes_default_instance_); } static constexpr int kIndexInFileMessages = 3; friend void swap(ChunkBytes& a, ChunkBytes& b) { a.Swap(&b); } inline void Swap(ChunkBytes* other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); } else { ::google::protobuf::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(ChunkBytes* other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- ChunkBytes* New(::google::protobuf::Arena* arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; void CopyFrom(const ChunkBytes& from); using ::google::protobuf::Message::MergeFrom; void MergeFrom(const ChunkBytes& from) { ChunkBytes::MergeImpl(*this, from); } private: static void MergeImpl( ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { return IsInitializedImpl(*this); } private: static bool IsInitializedImpl(const MessageLite& msg); public: ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) private: static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); static ::uint8_t* _InternalSerialize( const MessageLite& msg, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } ::uint8_t* _InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; ::uint8_t* _InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: void SharedCtor(::google::protobuf::Arena* arena); static void SharedDtor(MessageLite& self); void InternalSwap(ChunkBytes* other); private: template friend ::absl::string_view( ::google::protobuf::internal::GetAnyMessageName)(); static ::absl::string_view FullMessageName() { return "nm.message.ChunkBytes"; } protected: explicit ChunkBytes(::google::protobuf::Arena* arena); ChunkBytes(::google::protobuf::Arena* arena, const ChunkBytes& from); ChunkBytes(::google::protobuf::Arena* arena, ChunkBytes&& from) noexcept : ChunkBytes(arena) { *this = ::std::move(from); } const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); static constexpr auto InternalNewImpl_(); static const ::google::protobuf::internal::ClassDataFull _class_data_; public: ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kDataFieldNumber = 3, kXFieldNumber = 1, kYFieldNumber = 2, }; // required bytes data = 3; bool has_data() const; void clear_data() ; const std::string& data() const; template void set_data(Arg_&& arg, Args_... args); std::string* mutable_data(); PROTOBUF_NODISCARD std::string* release_data(); void set_allocated_data(std::string* value); private: const std::string& _internal_data() const; inline PROTOBUF_ALWAYS_INLINE void _internal_set_data( const std::string& value); std::string* _internal_mutable_data(); public: // required int32 x = 1; bool has_x() const; void clear_x() ; ::int32_t x() const; void set_x(::int32_t value); private: ::int32_t _internal_x() const; void _internal_set_x(::int32_t value); public: // required int32 y = 2; bool has_y() const; void clear_y() ; ::int32_t y() const; void set_y(::int32_t value); private: ::int32_t _internal_y() const; void _internal_set_y(::int32_t value); public: // @@protoc_insertion_point(class_scope:nm.message.ChunkBytes) private: class _Internal; friend class ::google::protobuf::internal::TcParser; static const ::google::protobuf::internal::TcParseTable< 2, 3, 0, 0, 2> _table_; friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; template friend class ::google::protobuf::Arena::InternalHelper; using InternalArenaConstructable_ = void; using DestructorSkippable_ = void; struct Impl_ { inline explicit constexpr Impl_( ::google::protobuf::internal::ConstantInitialized) noexcept; inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena); inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from, const ChunkBytes& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; ::google::protobuf::internal::ArenaStringPtr data_; ::int32_t x_; ::int32_t y_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_ours_2eproto; }; // ------------------------------------------------------------------- class Welcome final : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:nm.message.Welcome) */ { public: inline Welcome() : Welcome(nullptr) {} ~Welcome() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) void operator delete(Welcome* msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(Welcome)); } #endif template explicit PROTOBUF_CONSTEXPR Welcome( ::google::protobuf::internal::ConstantInitialized); inline Welcome(const Welcome& from) : Welcome(nullptr, from) {} inline Welcome(Welcome&& from) noexcept : Welcome(nullptr, std::move(from)) {} inline Welcome& operator=(const Welcome& from) { CopyFrom(from); return *this; } inline Welcome& operator=(Welcome&& from) noexcept { if (this == &from) return *this; if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } static const ::google::protobuf::Descriptor* GetDescriptor() { return default_instance().GetMetadata().descriptor; } static const ::google::protobuf::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } static const Welcome& default_instance() { return *internal_default_instance(); } static inline const Welcome* internal_default_instance() { return reinterpret_cast( &_Welcome_default_instance_); } static constexpr int kIndexInFileMessages = 8; friend void swap(Welcome& a, Welcome& b) { a.Swap(&b); } inline void Swap(Welcome* other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); } else { ::google::protobuf::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(Welcome* other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- Welcome* New(::google::protobuf::Arena* arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; void CopyFrom(const Welcome& from); using ::google::protobuf::Message::MergeFrom; void MergeFrom(const Welcome& from) { Welcome::MergeImpl(*this, from); } private: static void MergeImpl( ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { return IsInitializedImpl(*this); } private: static bool IsInitializedImpl(const MessageLite& msg); public: ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) private: static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); static ::uint8_t* _InternalSerialize( const MessageLite& msg, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } ::uint8_t* _InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; ::uint8_t* _InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: void SharedCtor(::google::protobuf::Arena* arena); static void SharedDtor(MessageLite& self); void InternalSwap(Welcome* other); private: template friend ::absl::string_view( ::google::protobuf::internal::GetAnyMessageName)(); static ::absl::string_view FullMessageName() { return "nm.message.Welcome"; } protected: explicit Welcome(::google::protobuf::Arena* arena); Welcome(::google::protobuf::Arena* arena, const Welcome& from); Welcome(::google::protobuf::Arena* arena, Welcome&& from) noexcept : Welcome(arena) { *this = ::std::move(from); } const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); static constexpr auto InternalNewImpl_(); static const ::google::protobuf::internal::ClassDataFull _class_data_; public: ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kPlayersFieldNumber = 3, kVersionFieldNumber = 1, kNPlayersFieldNumber = 2, }; // repeated .nm.message.Player players = 3; int players_size() const; private: int _internal_players_size() const; public: void clear_players() ; ::nm::message::Player* mutable_players(int index); ::google::protobuf::RepeatedPtrField<::nm::message::Player>* mutable_players(); private: const ::google::protobuf::RepeatedPtrField<::nm::message::Player>& _internal_players() const; ::google::protobuf::RepeatedPtrField<::nm::message::Player>* _internal_mutable_players(); public: const ::nm::message::Player& players(int index) const; ::nm::message::Player* add_players(); const ::google::protobuf::RepeatedPtrField<::nm::message::Player>& players() const; // required int32 version = 1; bool has_version() const; void clear_version() ; ::int32_t version() const; void set_version(::int32_t value); private: ::int32_t _internal_version() const; void _internal_set_version(::int32_t value); public: // required int32 nPlayers = 2; bool has_nplayers() const; void clear_nplayers() ; ::int32_t nplayers() const; void set_nplayers(::int32_t value); private: ::int32_t _internal_nplayers() const; void _internal_set_nplayers(::int32_t value); public: // @@protoc_insertion_point(class_scope:nm.message.Welcome) private: class _Internal; friend class ::google::protobuf::internal::TcParser; static const ::google::protobuf::internal::TcParseTable< 2, 3, 1, 0, 2> _table_; friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; template friend class ::google::protobuf::Arena::InternalHelper; using InternalArenaConstructable_ = void; using DestructorSkippable_ = void; struct Impl_ { inline explicit constexpr Impl_( ::google::protobuf::internal::ConstantInitialized) noexcept; inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena); inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from, const Welcome& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; ::google::protobuf::RepeatedPtrField< ::nm::message::Player > players_; ::int32_t version_; ::int32_t nplayers_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_ours_2eproto; }; // ------------------------------------------------------------------- class MessageWrapper final : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:nm.message.MessageWrapper) */ { public: inline MessageWrapper() : MessageWrapper(nullptr) {} ~MessageWrapper() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) void operator delete(MessageWrapper* msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(MessageWrapper)); } #endif template explicit PROTOBUF_CONSTEXPR MessageWrapper( ::google::protobuf::internal::ConstantInitialized); inline MessageWrapper(const MessageWrapper& from) : MessageWrapper(nullptr, from) {} inline MessageWrapper(MessageWrapper&& from) noexcept : MessageWrapper(nullptr, std::move(from)) {} inline MessageWrapper& operator=(const MessageWrapper& from) { CopyFrom(from); return *this; } inline MessageWrapper& operator=(MessageWrapper&& from) noexcept { if (this == &from) return *this; if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } static const ::google::protobuf::Descriptor* GetDescriptor() { return default_instance().GetMetadata().descriptor; } static const ::google::protobuf::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } static const MessageWrapper& default_instance() { return *internal_default_instance(); } static inline const MessageWrapper* internal_default_instance() { return reinterpret_cast( &_MessageWrapper_default_instance_); } static constexpr int kIndexInFileMessages = 0; friend void swap(MessageWrapper& a, MessageWrapper& b) { a.Swap(&b); } inline void Swap(MessageWrapper* other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); } else { ::google::protobuf::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(MessageWrapper* other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- MessageWrapper* New(::google::protobuf::Arena* arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; void CopyFrom(const MessageWrapper& from); using ::google::protobuf::Message::MergeFrom; void MergeFrom(const MessageWrapper& from) { MessageWrapper::MergeImpl(*this, from); } private: static void MergeImpl( ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); public: bool IsInitialized() const { return IsInitializedImpl(*this); } private: static bool IsInitializedImpl(const MessageLite& msg); public: ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) private: static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); static ::uint8_t* _InternalSerialize( const MessageLite& msg, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream); public: ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } ::uint8_t* _InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { return _InternalSerialize(*this, target, stream); } #else // PROTOBUF_CUSTOM_VTABLE ::size_t ByteSizeLong() const final; ::uint8_t* _InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; #endif // PROTOBUF_CUSTOM_VTABLE int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: void SharedCtor(::google::protobuf::Arena* arena); static void SharedDtor(MessageLite& self); void InternalSwap(MessageWrapper* other); private: template friend ::absl::string_view( ::google::protobuf::internal::GetAnyMessageName)(); static ::absl::string_view FullMessageName() { return "nm.message.MessageWrapper"; } protected: explicit MessageWrapper(::google::protobuf::Arena* arena); MessageWrapper(::google::protobuf::Arena* arena, const MessageWrapper& from); MessageWrapper(::google::protobuf::Arena* arena, MessageWrapper&& from) noexcept : MessageWrapper(arena) { *this = ::std::move(from); } const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); static constexpr auto InternalNewImpl_(); static const ::google::protobuf::internal::ClassDataFull _class_data_; public: ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- using Type = MessageWrapper_Type; static constexpr Type CURSOR_MOVE = MessageWrapper_Type_CURSOR_MOVE; static constexpr Type SQUARE_FLAG = MessageWrapper_Type_SQUARE_FLAG; static constexpr Type SQUARE_OPEN = MessageWrapper_Type_SQUARE_OPEN; static constexpr Type PLAYER_JOIN = MessageWrapper_Type_PLAYER_JOIN; static constexpr Type PLAYER_QUIT = MessageWrapper_Type_PLAYER_QUIT; static constexpr Type WELCOME = MessageWrapper_Type_WELCOME; static constexpr Type CHUNK_BYTES = MessageWrapper_Type_CHUNK_BYTES; static constexpr Type CHUNK_REQUEST = MessageWrapper_Type_CHUNK_REQUEST; static constexpr Type CLEAR_AT = MessageWrapper_Type_CLEAR_AT; static constexpr Type PLAYER_UPDATE = MessageWrapper_Type_PLAYER_UPDATE; static inline bool Type_IsValid(int value) { return MessageWrapper_Type_IsValid(value); } static constexpr Type Type_MIN = MessageWrapper_Type_Type_MIN; static constexpr Type Type_MAX = MessageWrapper_Type_Type_MAX; static constexpr int Type_ARRAYSIZE = MessageWrapper_Type_Type_ARRAYSIZE; static inline const ::google::protobuf::EnumDescriptor* Type_descriptor() { return MessageWrapper_Type_descriptor(); } template static inline const std::string& Type_Name(T value) { return MessageWrapper_Type_Name(value); } static inline bool Type_Parse(absl::string_view name, Type* value) { return MessageWrapper_Type_Parse(name, value); } // accessors ------------------------------------------------------- enum : int { kCursorMoveFieldNumber = 2, kSquareOpenFieldNumber = 3, kChunkBytesFieldNumber = 4, kSquareFlagFieldNumber = 5, kPlayerJoinFieldNumber = 6, kPlayerQuitFieldNumber = 7, kWelcomeFieldNumber = 8, kChunkRequestFieldNumber = 9, kClearAtFieldNumber = 10, kPlayerFieldNumber = 11, kTypeFieldNumber = 1, }; // optional .nm.message.CursorMove cursorMove = 2; bool has_cursormove() const; void clear_cursormove() ; const ::nm::message::CursorMove& cursormove() const; PROTOBUF_NODISCARD ::nm::message::CursorMove* release_cursormove(); ::nm::message::CursorMove* mutable_cursormove(); void set_allocated_cursormove(::nm::message::CursorMove* value); void unsafe_arena_set_allocated_cursormove(::nm::message::CursorMove* value); ::nm::message::CursorMove* unsafe_arena_release_cursormove(); private: const ::nm::message::CursorMove& _internal_cursormove() const; ::nm::message::CursorMove* _internal_mutable_cursormove(); public: // optional .nm.message.SquareOpen squareOpen = 3; bool has_squareopen() const; void clear_squareopen() ; const ::nm::message::SquareOpen& squareopen() const; PROTOBUF_NODISCARD ::nm::message::SquareOpen* release_squareopen(); ::nm::message::SquareOpen* mutable_squareopen(); void set_allocated_squareopen(::nm::message::SquareOpen* value); void unsafe_arena_set_allocated_squareopen(::nm::message::SquareOpen* value); ::nm::message::SquareOpen* unsafe_arena_release_squareopen(); private: const ::nm::message::SquareOpen& _internal_squareopen() const; ::nm::message::SquareOpen* _internal_mutable_squareopen(); public: // optional .nm.message.ChunkBytes chunkBytes = 4; bool has_chunkbytes() const; void clear_chunkbytes() ; const ::nm::message::ChunkBytes& chunkbytes() const; PROTOBUF_NODISCARD ::nm::message::ChunkBytes* release_chunkbytes(); ::nm::message::ChunkBytes* mutable_chunkbytes(); void set_allocated_chunkbytes(::nm::message::ChunkBytes* value); void unsafe_arena_set_allocated_chunkbytes(::nm::message::ChunkBytes* value); ::nm::message::ChunkBytes* unsafe_arena_release_chunkbytes(); private: const ::nm::message::ChunkBytes& _internal_chunkbytes() const; ::nm::message::ChunkBytes* _internal_mutable_chunkbytes(); public: // optional .nm.message.SquareFlag squareFlag = 5; bool has_squareflag() const; void clear_squareflag() ; const ::nm::message::SquareFlag& squareflag() const; PROTOBUF_NODISCARD ::nm::message::SquareFlag* release_squareflag(); ::nm::message::SquareFlag* mutable_squareflag(); void set_allocated_squareflag(::nm::message::SquareFlag* value); void unsafe_arena_set_allocated_squareflag(::nm::message::SquareFlag* value); ::nm::message::SquareFlag* unsafe_arena_release_squareflag(); private: const ::nm::message::SquareFlag& _internal_squareflag() const; ::nm::message::SquareFlag* _internal_mutable_squareflag(); public: // optional .nm.message.Player playerJoin = 6; bool has_playerjoin() const; void clear_playerjoin() ; const ::nm::message::Player& playerjoin() const; PROTOBUF_NODISCARD ::nm::message::Player* release_playerjoin(); ::nm::message::Player* mutable_playerjoin(); void set_allocated_playerjoin(::nm::message::Player* value); void unsafe_arena_set_allocated_playerjoin(::nm::message::Player* value); ::nm::message::Player* unsafe_arena_release_playerjoin(); private: const ::nm::message::Player& _internal_playerjoin() const; ::nm::message::Player* _internal_mutable_playerjoin(); public: // optional .nm.message.Player playerQuit = 7; bool has_playerquit() const; void clear_playerquit() ; const ::nm::message::Player& playerquit() const; PROTOBUF_NODISCARD ::nm::message::Player* release_playerquit(); ::nm::message::Player* mutable_playerquit(); void set_allocated_playerquit(::nm::message::Player* value); void unsafe_arena_set_allocated_playerquit(::nm::message::Player* value); ::nm::message::Player* unsafe_arena_release_playerquit(); private: const ::nm::message::Player& _internal_playerquit() const; ::nm::message::Player* _internal_mutable_playerquit(); public: // optional .nm.message.Welcome welcome = 8; bool has_welcome() const; void clear_welcome() ; const ::nm::message::Welcome& welcome() const; PROTOBUF_NODISCARD ::nm::message::Welcome* release_welcome(); ::nm::message::Welcome* mutable_welcome(); void set_allocated_welcome(::nm::message::Welcome* value); void unsafe_arena_set_allocated_welcome(::nm::message::Welcome* value); ::nm::message::Welcome* unsafe_arena_release_welcome(); private: const ::nm::message::Welcome& _internal_welcome() const; ::nm::message::Welcome* _internal_mutable_welcome(); public: // optional .nm.message.ChunkRequest chunkRequest = 9; bool has_chunkrequest() const; void clear_chunkrequest() ; const ::nm::message::ChunkRequest& chunkrequest() const; PROTOBUF_NODISCARD ::nm::message::ChunkRequest* release_chunkrequest(); ::nm::message::ChunkRequest* mutable_chunkrequest(); void set_allocated_chunkrequest(::nm::message::ChunkRequest* value); void unsafe_arena_set_allocated_chunkrequest(::nm::message::ChunkRequest* value); ::nm::message::ChunkRequest* unsafe_arena_release_chunkrequest(); private: const ::nm::message::ChunkRequest& _internal_chunkrequest() const; ::nm::message::ChunkRequest* _internal_mutable_chunkrequest(); public: // optional .nm.message.ClearAt clearAt = 10; bool has_clearat() const; void clear_clearat() ; const ::nm::message::ClearAt& clearat() const; PROTOBUF_NODISCARD ::nm::message::ClearAt* release_clearat(); ::nm::message::ClearAt* mutable_clearat(); void set_allocated_clearat(::nm::message::ClearAt* value); void unsafe_arena_set_allocated_clearat(::nm::message::ClearAt* value); ::nm::message::ClearAt* unsafe_arena_release_clearat(); private: const ::nm::message::ClearAt& _internal_clearat() const; ::nm::message::ClearAt* _internal_mutable_clearat(); public: // optional .nm.message.Player player = 11; bool has_player() const; void clear_player() ; const ::nm::message::Player& player() const; PROTOBUF_NODISCARD ::nm::message::Player* release_player(); ::nm::message::Player* mutable_player(); void set_allocated_player(::nm::message::Player* value); void unsafe_arena_set_allocated_player(::nm::message::Player* value); ::nm::message::Player* unsafe_arena_release_player(); private: const ::nm::message::Player& _internal_player() const; ::nm::message::Player* _internal_mutable_player(); public: // required .nm.message.MessageWrapper.Type type = 1; bool has_type() const; void clear_type() ; ::nm::message::MessageWrapper_Type type() const; void set_type(::nm::message::MessageWrapper_Type value); private: ::nm::message::MessageWrapper_Type _internal_type() const; void _internal_set_type(::nm::message::MessageWrapper_Type value); public: // @@protoc_insertion_point(class_scope:nm.message.MessageWrapper) private: class _Internal; friend class ::google::protobuf::internal::TcParser; static const ::google::protobuf::internal::TcParseTable< 4, 11, 11, 0, 2> _table_; friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; template friend class ::google::protobuf::Arena::InternalHelper; using InternalArenaConstructable_ = void; using DestructorSkippable_ = void; struct Impl_ { inline explicit constexpr Impl_( ::google::protobuf::internal::ConstantInitialized) noexcept; inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena); inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from, const MessageWrapper& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; ::nm::message::CursorMove* cursormove_; ::nm::message::SquareOpen* squareopen_; ::nm::message::ChunkBytes* chunkbytes_; ::nm::message::SquareFlag* squareflag_; ::nm::message::Player* playerjoin_; ::nm::message::Player* playerquit_; ::nm::message::Welcome* welcome_; ::nm::message::ChunkRequest* chunkrequest_; ::nm::message::ClearAt* clearat_; ::nm::message::Player* player_; int type_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_ours_2eproto; }; // =================================================================== // =================================================================== #ifdef __GNUC__ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wstrict-aliasing" #endif // __GNUC__ // ------------------------------------------------------------------- // MessageWrapper // required .nm.message.MessageWrapper.Type type = 1; inline bool MessageWrapper::has_type() const { bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; return value; } inline void MessageWrapper::clear_type() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.type_ = 1; _impl_._has_bits_[0] &= ~0x00000400u; } inline ::nm::message::MessageWrapper_Type MessageWrapper::type() const { // @@protoc_insertion_point(field_get:nm.message.MessageWrapper.type) return _internal_type(); } inline void MessageWrapper::set_type(::nm::message::MessageWrapper_Type value) { _internal_set_type(value); _impl_._has_bits_[0] |= 0x00000400u; // @@protoc_insertion_point(field_set:nm.message.MessageWrapper.type) } inline ::nm::message::MessageWrapper_Type MessageWrapper::_internal_type() const { ::google::protobuf::internal::TSanRead(&_impl_); return static_cast<::nm::message::MessageWrapper_Type>(_impl_.type_); } inline void MessageWrapper::_internal_set_type(::nm::message::MessageWrapper_Type value) { ::google::protobuf::internal::TSanWrite(&_impl_); assert(::nm::message::MessageWrapper_Type_IsValid(value)); _impl_.type_ = value; } // optional .nm.message.CursorMove cursorMove = 2; inline bool MessageWrapper::has_cursormove() const { bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; PROTOBUF_ASSUME(!value || _impl_.cursormove_ != nullptr); return value; } inline void MessageWrapper::clear_cursormove() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.cursormove_ != nullptr) _impl_.cursormove_->Clear(); _impl_._has_bits_[0] &= ~0x00000001u; } inline const ::nm::message::CursorMove& MessageWrapper::_internal_cursormove() const { ::google::protobuf::internal::TSanRead(&_impl_); const ::nm::message::CursorMove* p = _impl_.cursormove_; return p != nullptr ? *p : reinterpret_cast(::nm::message::_CursorMove_default_instance_); } inline const ::nm::message::CursorMove& MessageWrapper::cursormove() const ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_get:nm.message.MessageWrapper.cursorMove) return _internal_cursormove(); } inline void MessageWrapper::unsafe_arena_set_allocated_cursormove(::nm::message::CursorMove* value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.cursormove_); } _impl_.cursormove_ = reinterpret_cast<::nm::message::CursorMove*>(value); if (value != nullptr) { _impl_._has_bits_[0] |= 0x00000001u; } else { _impl_._has_bits_[0] &= ~0x00000001u; } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:nm.message.MessageWrapper.cursorMove) } inline ::nm::message::CursorMove* MessageWrapper::release_cursormove() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000001u; ::nm::message::CursorMove* released = _impl_.cursormove_; _impl_.cursormove_ = nullptr; if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { delete old; } } else { if (GetArena() != nullptr) { released = ::google::protobuf::internal::DuplicateIfNonNull(released); } } return released; } inline ::nm::message::CursorMove* MessageWrapper::unsafe_arena_release_cursormove() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:nm.message.MessageWrapper.cursorMove) _impl_._has_bits_[0] &= ~0x00000001u; ::nm::message::CursorMove* temp = _impl_.cursormove_; _impl_.cursormove_ = nullptr; return temp; } inline ::nm::message::CursorMove* MessageWrapper::_internal_mutable_cursormove() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.cursormove_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::nm::message::CursorMove>(GetArena()); _impl_.cursormove_ = reinterpret_cast<::nm::message::CursorMove*>(p); } return _impl_.cursormove_; } inline ::nm::message::CursorMove* MessageWrapper::mutable_cursormove() ABSL_ATTRIBUTE_LIFETIME_BOUND { _impl_._has_bits_[0] |= 0x00000001u; ::nm::message::CursorMove* _msg = _internal_mutable_cursormove(); // @@protoc_insertion_point(field_mutable:nm.message.MessageWrapper.cursorMove) return _msg; } inline void MessageWrapper::set_allocated_cursormove(::nm::message::CursorMove* value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { delete (_impl_.cursormove_); } if (value != nullptr) { ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } _impl_._has_bits_[0] |= 0x00000001u; } else { _impl_._has_bits_[0] &= ~0x00000001u; } _impl_.cursormove_ = reinterpret_cast<::nm::message::CursorMove*>(value); // @@protoc_insertion_point(field_set_allocated:nm.message.MessageWrapper.cursorMove) } // optional .nm.message.SquareOpen squareOpen = 3; inline bool MessageWrapper::has_squareopen() const { bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; PROTOBUF_ASSUME(!value || _impl_.squareopen_ != nullptr); return value; } inline void MessageWrapper::clear_squareopen() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.squareopen_ != nullptr) _impl_.squareopen_->Clear(); _impl_._has_bits_[0] &= ~0x00000002u; } inline const ::nm::message::SquareOpen& MessageWrapper::_internal_squareopen() const { ::google::protobuf::internal::TSanRead(&_impl_); const ::nm::message::SquareOpen* p = _impl_.squareopen_; return p != nullptr ? *p : reinterpret_cast(::nm::message::_SquareOpen_default_instance_); } inline const ::nm::message::SquareOpen& MessageWrapper::squareopen() const ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_get:nm.message.MessageWrapper.squareOpen) return _internal_squareopen(); } inline void MessageWrapper::unsafe_arena_set_allocated_squareopen(::nm::message::SquareOpen* value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.squareopen_); } _impl_.squareopen_ = reinterpret_cast<::nm::message::SquareOpen*>(value); if (value != nullptr) { _impl_._has_bits_[0] |= 0x00000002u; } else { _impl_._has_bits_[0] &= ~0x00000002u; } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:nm.message.MessageWrapper.squareOpen) } inline ::nm::message::SquareOpen* MessageWrapper::release_squareopen() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000002u; ::nm::message::SquareOpen* released = _impl_.squareopen_; _impl_.squareopen_ = nullptr; if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { delete old; } } else { if (GetArena() != nullptr) { released = ::google::protobuf::internal::DuplicateIfNonNull(released); } } return released; } inline ::nm::message::SquareOpen* MessageWrapper::unsafe_arena_release_squareopen() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:nm.message.MessageWrapper.squareOpen) _impl_._has_bits_[0] &= ~0x00000002u; ::nm::message::SquareOpen* temp = _impl_.squareopen_; _impl_.squareopen_ = nullptr; return temp; } inline ::nm::message::SquareOpen* MessageWrapper::_internal_mutable_squareopen() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.squareopen_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::nm::message::SquareOpen>(GetArena()); _impl_.squareopen_ = reinterpret_cast<::nm::message::SquareOpen*>(p); } return _impl_.squareopen_; } inline ::nm::message::SquareOpen* MessageWrapper::mutable_squareopen() ABSL_ATTRIBUTE_LIFETIME_BOUND { _impl_._has_bits_[0] |= 0x00000002u; ::nm::message::SquareOpen* _msg = _internal_mutable_squareopen(); // @@protoc_insertion_point(field_mutable:nm.message.MessageWrapper.squareOpen) return _msg; } inline void MessageWrapper::set_allocated_squareopen(::nm::message::SquareOpen* value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { delete (_impl_.squareopen_); } if (value != nullptr) { ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } _impl_._has_bits_[0] |= 0x00000002u; } else { _impl_._has_bits_[0] &= ~0x00000002u; } _impl_.squareopen_ = reinterpret_cast<::nm::message::SquareOpen*>(value); // @@protoc_insertion_point(field_set_allocated:nm.message.MessageWrapper.squareOpen) } // optional .nm.message.ChunkBytes chunkBytes = 4; inline bool MessageWrapper::has_chunkbytes() const { bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; PROTOBUF_ASSUME(!value || _impl_.chunkbytes_ != nullptr); return value; } inline void MessageWrapper::clear_chunkbytes() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.chunkbytes_ != nullptr) _impl_.chunkbytes_->Clear(); _impl_._has_bits_[0] &= ~0x00000004u; } inline const ::nm::message::ChunkBytes& MessageWrapper::_internal_chunkbytes() const { ::google::protobuf::internal::TSanRead(&_impl_); const ::nm::message::ChunkBytes* p = _impl_.chunkbytes_; return p != nullptr ? *p : reinterpret_cast(::nm::message::_ChunkBytes_default_instance_); } inline const ::nm::message::ChunkBytes& MessageWrapper::chunkbytes() const ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_get:nm.message.MessageWrapper.chunkBytes) return _internal_chunkbytes(); } inline void MessageWrapper::unsafe_arena_set_allocated_chunkbytes(::nm::message::ChunkBytes* value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.chunkbytes_); } _impl_.chunkbytes_ = reinterpret_cast<::nm::message::ChunkBytes*>(value); if (value != nullptr) { _impl_._has_bits_[0] |= 0x00000004u; } else { _impl_._has_bits_[0] &= ~0x00000004u; } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:nm.message.MessageWrapper.chunkBytes) } inline ::nm::message::ChunkBytes* MessageWrapper::release_chunkbytes() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000004u; ::nm::message::ChunkBytes* released = _impl_.chunkbytes_; _impl_.chunkbytes_ = nullptr; if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { delete old; } } else { if (GetArena() != nullptr) { released = ::google::protobuf::internal::DuplicateIfNonNull(released); } } return released; } inline ::nm::message::ChunkBytes* MessageWrapper::unsafe_arena_release_chunkbytes() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:nm.message.MessageWrapper.chunkBytes) _impl_._has_bits_[0] &= ~0x00000004u; ::nm::message::ChunkBytes* temp = _impl_.chunkbytes_; _impl_.chunkbytes_ = nullptr; return temp; } inline ::nm::message::ChunkBytes* MessageWrapper::_internal_mutable_chunkbytes() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.chunkbytes_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::nm::message::ChunkBytes>(GetArena()); _impl_.chunkbytes_ = reinterpret_cast<::nm::message::ChunkBytes*>(p); } return _impl_.chunkbytes_; } inline ::nm::message::ChunkBytes* MessageWrapper::mutable_chunkbytes() ABSL_ATTRIBUTE_LIFETIME_BOUND { _impl_._has_bits_[0] |= 0x00000004u; ::nm::message::ChunkBytes* _msg = _internal_mutable_chunkbytes(); // @@protoc_insertion_point(field_mutable:nm.message.MessageWrapper.chunkBytes) return _msg; } inline void MessageWrapper::set_allocated_chunkbytes(::nm::message::ChunkBytes* value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { delete (_impl_.chunkbytes_); } if (value != nullptr) { ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } _impl_._has_bits_[0] |= 0x00000004u; } else { _impl_._has_bits_[0] &= ~0x00000004u; } _impl_.chunkbytes_ = reinterpret_cast<::nm::message::ChunkBytes*>(value); // @@protoc_insertion_point(field_set_allocated:nm.message.MessageWrapper.chunkBytes) } // optional .nm.message.SquareFlag squareFlag = 5; inline bool MessageWrapper::has_squareflag() const { bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; PROTOBUF_ASSUME(!value || _impl_.squareflag_ != nullptr); return value; } inline void MessageWrapper::clear_squareflag() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.squareflag_ != nullptr) _impl_.squareflag_->Clear(); _impl_._has_bits_[0] &= ~0x00000008u; } inline const ::nm::message::SquareFlag& MessageWrapper::_internal_squareflag() const { ::google::protobuf::internal::TSanRead(&_impl_); const ::nm::message::SquareFlag* p = _impl_.squareflag_; return p != nullptr ? *p : reinterpret_cast(::nm::message::_SquareFlag_default_instance_); } inline const ::nm::message::SquareFlag& MessageWrapper::squareflag() const ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_get:nm.message.MessageWrapper.squareFlag) return _internal_squareflag(); } inline void MessageWrapper::unsafe_arena_set_allocated_squareflag(::nm::message::SquareFlag* value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.squareflag_); } _impl_.squareflag_ = reinterpret_cast<::nm::message::SquareFlag*>(value); if (value != nullptr) { _impl_._has_bits_[0] |= 0x00000008u; } else { _impl_._has_bits_[0] &= ~0x00000008u; } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:nm.message.MessageWrapper.squareFlag) } inline ::nm::message::SquareFlag* MessageWrapper::release_squareflag() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000008u; ::nm::message::SquareFlag* released = _impl_.squareflag_; _impl_.squareflag_ = nullptr; if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { delete old; } } else { if (GetArena() != nullptr) { released = ::google::protobuf::internal::DuplicateIfNonNull(released); } } return released; } inline ::nm::message::SquareFlag* MessageWrapper::unsafe_arena_release_squareflag() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:nm.message.MessageWrapper.squareFlag) _impl_._has_bits_[0] &= ~0x00000008u; ::nm::message::SquareFlag* temp = _impl_.squareflag_; _impl_.squareflag_ = nullptr; return temp; } inline ::nm::message::SquareFlag* MessageWrapper::_internal_mutable_squareflag() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.squareflag_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::nm::message::SquareFlag>(GetArena()); _impl_.squareflag_ = reinterpret_cast<::nm::message::SquareFlag*>(p); } return _impl_.squareflag_; } inline ::nm::message::SquareFlag* MessageWrapper::mutable_squareflag() ABSL_ATTRIBUTE_LIFETIME_BOUND { _impl_._has_bits_[0] |= 0x00000008u; ::nm::message::SquareFlag* _msg = _internal_mutable_squareflag(); // @@protoc_insertion_point(field_mutable:nm.message.MessageWrapper.squareFlag) return _msg; } inline void MessageWrapper::set_allocated_squareflag(::nm::message::SquareFlag* value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { delete (_impl_.squareflag_); } if (value != nullptr) { ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } _impl_._has_bits_[0] |= 0x00000008u; } else { _impl_._has_bits_[0] &= ~0x00000008u; } _impl_.squareflag_ = reinterpret_cast<::nm::message::SquareFlag*>(value); // @@protoc_insertion_point(field_set_allocated:nm.message.MessageWrapper.squareFlag) } // optional .nm.message.Player playerJoin = 6; inline bool MessageWrapper::has_playerjoin() const { bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; PROTOBUF_ASSUME(!value || _impl_.playerjoin_ != nullptr); return value; } inline void MessageWrapper::clear_playerjoin() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.playerjoin_ != nullptr) _impl_.playerjoin_->Clear(); _impl_._has_bits_[0] &= ~0x00000010u; } inline const ::nm::message::Player& MessageWrapper::_internal_playerjoin() const { ::google::protobuf::internal::TSanRead(&_impl_); const ::nm::message::Player* p = _impl_.playerjoin_; return p != nullptr ? *p : reinterpret_cast(::nm::message::_Player_default_instance_); } inline const ::nm::message::Player& MessageWrapper::playerjoin() const ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_get:nm.message.MessageWrapper.playerJoin) return _internal_playerjoin(); } inline void MessageWrapper::unsafe_arena_set_allocated_playerjoin(::nm::message::Player* value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.playerjoin_); } _impl_.playerjoin_ = reinterpret_cast<::nm::message::Player*>(value); if (value != nullptr) { _impl_._has_bits_[0] |= 0x00000010u; } else { _impl_._has_bits_[0] &= ~0x00000010u; } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:nm.message.MessageWrapper.playerJoin) } inline ::nm::message::Player* MessageWrapper::release_playerjoin() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000010u; ::nm::message::Player* released = _impl_.playerjoin_; _impl_.playerjoin_ = nullptr; if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { delete old; } } else { if (GetArena() != nullptr) { released = ::google::protobuf::internal::DuplicateIfNonNull(released); } } return released; } inline ::nm::message::Player* MessageWrapper::unsafe_arena_release_playerjoin() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:nm.message.MessageWrapper.playerJoin) _impl_._has_bits_[0] &= ~0x00000010u; ::nm::message::Player* temp = _impl_.playerjoin_; _impl_.playerjoin_ = nullptr; return temp; } inline ::nm::message::Player* MessageWrapper::_internal_mutable_playerjoin() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.playerjoin_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::nm::message::Player>(GetArena()); _impl_.playerjoin_ = reinterpret_cast<::nm::message::Player*>(p); } return _impl_.playerjoin_; } inline ::nm::message::Player* MessageWrapper::mutable_playerjoin() ABSL_ATTRIBUTE_LIFETIME_BOUND { _impl_._has_bits_[0] |= 0x00000010u; ::nm::message::Player* _msg = _internal_mutable_playerjoin(); // @@protoc_insertion_point(field_mutable:nm.message.MessageWrapper.playerJoin) return _msg; } inline void MessageWrapper::set_allocated_playerjoin(::nm::message::Player* value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { delete (_impl_.playerjoin_); } if (value != nullptr) { ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } _impl_._has_bits_[0] |= 0x00000010u; } else { _impl_._has_bits_[0] &= ~0x00000010u; } _impl_.playerjoin_ = reinterpret_cast<::nm::message::Player*>(value); // @@protoc_insertion_point(field_set_allocated:nm.message.MessageWrapper.playerJoin) } // optional .nm.message.Player playerQuit = 7; inline bool MessageWrapper::has_playerquit() const { bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; PROTOBUF_ASSUME(!value || _impl_.playerquit_ != nullptr); return value; } inline void MessageWrapper::clear_playerquit() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.playerquit_ != nullptr) _impl_.playerquit_->Clear(); _impl_._has_bits_[0] &= ~0x00000020u; } inline const ::nm::message::Player& MessageWrapper::_internal_playerquit() const { ::google::protobuf::internal::TSanRead(&_impl_); const ::nm::message::Player* p = _impl_.playerquit_; return p != nullptr ? *p : reinterpret_cast(::nm::message::_Player_default_instance_); } inline const ::nm::message::Player& MessageWrapper::playerquit() const ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_get:nm.message.MessageWrapper.playerQuit) return _internal_playerquit(); } inline void MessageWrapper::unsafe_arena_set_allocated_playerquit(::nm::message::Player* value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.playerquit_); } _impl_.playerquit_ = reinterpret_cast<::nm::message::Player*>(value); if (value != nullptr) { _impl_._has_bits_[0] |= 0x00000020u; } else { _impl_._has_bits_[0] &= ~0x00000020u; } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:nm.message.MessageWrapper.playerQuit) } inline ::nm::message::Player* MessageWrapper::release_playerquit() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000020u; ::nm::message::Player* released = _impl_.playerquit_; _impl_.playerquit_ = nullptr; if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { delete old; } } else { if (GetArena() != nullptr) { released = ::google::protobuf::internal::DuplicateIfNonNull(released); } } return released; } inline ::nm::message::Player* MessageWrapper::unsafe_arena_release_playerquit() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:nm.message.MessageWrapper.playerQuit) _impl_._has_bits_[0] &= ~0x00000020u; ::nm::message::Player* temp = _impl_.playerquit_; _impl_.playerquit_ = nullptr; return temp; } inline ::nm::message::Player* MessageWrapper::_internal_mutable_playerquit() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.playerquit_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::nm::message::Player>(GetArena()); _impl_.playerquit_ = reinterpret_cast<::nm::message::Player*>(p); } return _impl_.playerquit_; } inline ::nm::message::Player* MessageWrapper::mutable_playerquit() ABSL_ATTRIBUTE_LIFETIME_BOUND { _impl_._has_bits_[0] |= 0x00000020u; ::nm::message::Player* _msg = _internal_mutable_playerquit(); // @@protoc_insertion_point(field_mutable:nm.message.MessageWrapper.playerQuit) return _msg; } inline void MessageWrapper::set_allocated_playerquit(::nm::message::Player* value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { delete (_impl_.playerquit_); } if (value != nullptr) { ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } _impl_._has_bits_[0] |= 0x00000020u; } else { _impl_._has_bits_[0] &= ~0x00000020u; } _impl_.playerquit_ = reinterpret_cast<::nm::message::Player*>(value); // @@protoc_insertion_point(field_set_allocated:nm.message.MessageWrapper.playerQuit) } // optional .nm.message.Welcome welcome = 8; inline bool MessageWrapper::has_welcome() const { bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; PROTOBUF_ASSUME(!value || _impl_.welcome_ != nullptr); return value; } inline void MessageWrapper::clear_welcome() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.welcome_ != nullptr) _impl_.welcome_->Clear(); _impl_._has_bits_[0] &= ~0x00000040u; } inline const ::nm::message::Welcome& MessageWrapper::_internal_welcome() const { ::google::protobuf::internal::TSanRead(&_impl_); const ::nm::message::Welcome* p = _impl_.welcome_; return p != nullptr ? *p : reinterpret_cast(::nm::message::_Welcome_default_instance_); } inline const ::nm::message::Welcome& MessageWrapper::welcome() const ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_get:nm.message.MessageWrapper.welcome) return _internal_welcome(); } inline void MessageWrapper::unsafe_arena_set_allocated_welcome(::nm::message::Welcome* value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.welcome_); } _impl_.welcome_ = reinterpret_cast<::nm::message::Welcome*>(value); if (value != nullptr) { _impl_._has_bits_[0] |= 0x00000040u; } else { _impl_._has_bits_[0] &= ~0x00000040u; } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:nm.message.MessageWrapper.welcome) } inline ::nm::message::Welcome* MessageWrapper::release_welcome() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000040u; ::nm::message::Welcome* released = _impl_.welcome_; _impl_.welcome_ = nullptr; if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { delete old; } } else { if (GetArena() != nullptr) { released = ::google::protobuf::internal::DuplicateIfNonNull(released); } } return released; } inline ::nm::message::Welcome* MessageWrapper::unsafe_arena_release_welcome() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:nm.message.MessageWrapper.welcome) _impl_._has_bits_[0] &= ~0x00000040u; ::nm::message::Welcome* temp = _impl_.welcome_; _impl_.welcome_ = nullptr; return temp; } inline ::nm::message::Welcome* MessageWrapper::_internal_mutable_welcome() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.welcome_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::nm::message::Welcome>(GetArena()); _impl_.welcome_ = reinterpret_cast<::nm::message::Welcome*>(p); } return _impl_.welcome_; } inline ::nm::message::Welcome* MessageWrapper::mutable_welcome() ABSL_ATTRIBUTE_LIFETIME_BOUND { _impl_._has_bits_[0] |= 0x00000040u; ::nm::message::Welcome* _msg = _internal_mutable_welcome(); // @@protoc_insertion_point(field_mutable:nm.message.MessageWrapper.welcome) return _msg; } inline void MessageWrapper::set_allocated_welcome(::nm::message::Welcome* value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { delete (_impl_.welcome_); } if (value != nullptr) { ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } _impl_._has_bits_[0] |= 0x00000040u; } else { _impl_._has_bits_[0] &= ~0x00000040u; } _impl_.welcome_ = reinterpret_cast<::nm::message::Welcome*>(value); // @@protoc_insertion_point(field_set_allocated:nm.message.MessageWrapper.welcome) } // optional .nm.message.ChunkRequest chunkRequest = 9; inline bool MessageWrapper::has_chunkrequest() const { bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; PROTOBUF_ASSUME(!value || _impl_.chunkrequest_ != nullptr); return value; } inline void MessageWrapper::clear_chunkrequest() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.chunkrequest_ != nullptr) _impl_.chunkrequest_->Clear(); _impl_._has_bits_[0] &= ~0x00000080u; } inline const ::nm::message::ChunkRequest& MessageWrapper::_internal_chunkrequest() const { ::google::protobuf::internal::TSanRead(&_impl_); const ::nm::message::ChunkRequest* p = _impl_.chunkrequest_; return p != nullptr ? *p : reinterpret_cast(::nm::message::_ChunkRequest_default_instance_); } inline const ::nm::message::ChunkRequest& MessageWrapper::chunkrequest() const ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_get:nm.message.MessageWrapper.chunkRequest) return _internal_chunkrequest(); } inline void MessageWrapper::unsafe_arena_set_allocated_chunkrequest(::nm::message::ChunkRequest* value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.chunkrequest_); } _impl_.chunkrequest_ = reinterpret_cast<::nm::message::ChunkRequest*>(value); if (value != nullptr) { _impl_._has_bits_[0] |= 0x00000080u; } else { _impl_._has_bits_[0] &= ~0x00000080u; } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:nm.message.MessageWrapper.chunkRequest) } inline ::nm::message::ChunkRequest* MessageWrapper::release_chunkrequest() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000080u; ::nm::message::ChunkRequest* released = _impl_.chunkrequest_; _impl_.chunkrequest_ = nullptr; if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { delete old; } } else { if (GetArena() != nullptr) { released = ::google::protobuf::internal::DuplicateIfNonNull(released); } } return released; } inline ::nm::message::ChunkRequest* MessageWrapper::unsafe_arena_release_chunkrequest() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:nm.message.MessageWrapper.chunkRequest) _impl_._has_bits_[0] &= ~0x00000080u; ::nm::message::ChunkRequest* temp = _impl_.chunkrequest_; _impl_.chunkrequest_ = nullptr; return temp; } inline ::nm::message::ChunkRequest* MessageWrapper::_internal_mutable_chunkrequest() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.chunkrequest_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::nm::message::ChunkRequest>(GetArena()); _impl_.chunkrequest_ = reinterpret_cast<::nm::message::ChunkRequest*>(p); } return _impl_.chunkrequest_; } inline ::nm::message::ChunkRequest* MessageWrapper::mutable_chunkrequest() ABSL_ATTRIBUTE_LIFETIME_BOUND { _impl_._has_bits_[0] |= 0x00000080u; ::nm::message::ChunkRequest* _msg = _internal_mutable_chunkrequest(); // @@protoc_insertion_point(field_mutable:nm.message.MessageWrapper.chunkRequest) return _msg; } inline void MessageWrapper::set_allocated_chunkrequest(::nm::message::ChunkRequest* value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { delete (_impl_.chunkrequest_); } if (value != nullptr) { ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } _impl_._has_bits_[0] |= 0x00000080u; } else { _impl_._has_bits_[0] &= ~0x00000080u; } _impl_.chunkrequest_ = reinterpret_cast<::nm::message::ChunkRequest*>(value); // @@protoc_insertion_point(field_set_allocated:nm.message.MessageWrapper.chunkRequest) } // optional .nm.message.ClearAt clearAt = 10; inline bool MessageWrapper::has_clearat() const { bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; PROTOBUF_ASSUME(!value || _impl_.clearat_ != nullptr); return value; } inline void MessageWrapper::clear_clearat() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.clearat_ != nullptr) _impl_.clearat_->Clear(); _impl_._has_bits_[0] &= ~0x00000100u; } inline const ::nm::message::ClearAt& MessageWrapper::_internal_clearat() const { ::google::protobuf::internal::TSanRead(&_impl_); const ::nm::message::ClearAt* p = _impl_.clearat_; return p != nullptr ? *p : reinterpret_cast(::nm::message::_ClearAt_default_instance_); } inline const ::nm::message::ClearAt& MessageWrapper::clearat() const ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_get:nm.message.MessageWrapper.clearAt) return _internal_clearat(); } inline void MessageWrapper::unsafe_arena_set_allocated_clearat(::nm::message::ClearAt* value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.clearat_); } _impl_.clearat_ = reinterpret_cast<::nm::message::ClearAt*>(value); if (value != nullptr) { _impl_._has_bits_[0] |= 0x00000100u; } else { _impl_._has_bits_[0] &= ~0x00000100u; } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:nm.message.MessageWrapper.clearAt) } inline ::nm::message::ClearAt* MessageWrapper::release_clearat() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000100u; ::nm::message::ClearAt* released = _impl_.clearat_; _impl_.clearat_ = nullptr; if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { delete old; } } else { if (GetArena() != nullptr) { released = ::google::protobuf::internal::DuplicateIfNonNull(released); } } return released; } inline ::nm::message::ClearAt* MessageWrapper::unsafe_arena_release_clearat() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:nm.message.MessageWrapper.clearAt) _impl_._has_bits_[0] &= ~0x00000100u; ::nm::message::ClearAt* temp = _impl_.clearat_; _impl_.clearat_ = nullptr; return temp; } inline ::nm::message::ClearAt* MessageWrapper::_internal_mutable_clearat() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.clearat_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::nm::message::ClearAt>(GetArena()); _impl_.clearat_ = reinterpret_cast<::nm::message::ClearAt*>(p); } return _impl_.clearat_; } inline ::nm::message::ClearAt* MessageWrapper::mutable_clearat() ABSL_ATTRIBUTE_LIFETIME_BOUND { _impl_._has_bits_[0] |= 0x00000100u; ::nm::message::ClearAt* _msg = _internal_mutable_clearat(); // @@protoc_insertion_point(field_mutable:nm.message.MessageWrapper.clearAt) return _msg; } inline void MessageWrapper::set_allocated_clearat(::nm::message::ClearAt* value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { delete (_impl_.clearat_); } if (value != nullptr) { ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } _impl_._has_bits_[0] |= 0x00000100u; } else { _impl_._has_bits_[0] &= ~0x00000100u; } _impl_.clearat_ = reinterpret_cast<::nm::message::ClearAt*>(value); // @@protoc_insertion_point(field_set_allocated:nm.message.MessageWrapper.clearAt) } // optional .nm.message.Player player = 11; inline bool MessageWrapper::has_player() const { bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; PROTOBUF_ASSUME(!value || _impl_.player_ != nullptr); return value; } inline void MessageWrapper::clear_player() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.player_ != nullptr) _impl_.player_->Clear(); _impl_._has_bits_[0] &= ~0x00000200u; } inline const ::nm::message::Player& MessageWrapper::_internal_player() const { ::google::protobuf::internal::TSanRead(&_impl_); const ::nm::message::Player* p = _impl_.player_; return p != nullptr ? *p : reinterpret_cast(::nm::message::_Player_default_instance_); } inline const ::nm::message::Player& MessageWrapper::player() const ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_get:nm.message.MessageWrapper.player) return _internal_player(); } inline void MessageWrapper::unsafe_arena_set_allocated_player(::nm::message::Player* value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.player_); } _impl_.player_ = reinterpret_cast<::nm::message::Player*>(value); if (value != nullptr) { _impl_._has_bits_[0] |= 0x00000200u; } else { _impl_._has_bits_[0] &= ~0x00000200u; } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:nm.message.MessageWrapper.player) } inline ::nm::message::Player* MessageWrapper::release_player() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000200u; ::nm::message::Player* released = _impl_.player_; _impl_.player_ = nullptr; if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { delete old; } } else { if (GetArena() != nullptr) { released = ::google::protobuf::internal::DuplicateIfNonNull(released); } } return released; } inline ::nm::message::Player* MessageWrapper::unsafe_arena_release_player() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:nm.message.MessageWrapper.player) _impl_._has_bits_[0] &= ~0x00000200u; ::nm::message::Player* temp = _impl_.player_; _impl_.player_ = nullptr; return temp; } inline ::nm::message::Player* MessageWrapper::_internal_mutable_player() { ::google::protobuf::internal::TSanWrite(&_impl_); if (_impl_.player_ == nullptr) { auto* p = ::google::protobuf::Message::DefaultConstruct<::nm::message::Player>(GetArena()); _impl_.player_ = reinterpret_cast<::nm::message::Player*>(p); } return _impl_.player_; } inline ::nm::message::Player* MessageWrapper::mutable_player() ABSL_ATTRIBUTE_LIFETIME_BOUND { _impl_._has_bits_[0] |= 0x00000200u; ::nm::message::Player* _msg = _internal_mutable_player(); // @@protoc_insertion_point(field_mutable:nm.message.MessageWrapper.player) return _msg; } inline void MessageWrapper::set_allocated_player(::nm::message::Player* value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { delete (_impl_.player_); } if (value != nullptr) { ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } _impl_._has_bits_[0] |= 0x00000200u; } else { _impl_._has_bits_[0] &= ~0x00000200u; } _impl_.player_ = reinterpret_cast<::nm::message::Player*>(value); // @@protoc_insertion_point(field_set_allocated:nm.message.MessageWrapper.player) } // ------------------------------------------------------------------- // ClearAt // required int32 x = 1; inline bool ClearAt::has_x() const { bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; return value; } inline void ClearAt::clear_x() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.x_ = 0; _impl_._has_bits_[0] &= ~0x00000001u; } inline ::int32_t ClearAt::x() const { // @@protoc_insertion_point(field_get:nm.message.ClearAt.x) return _internal_x(); } inline void ClearAt::set_x(::int32_t value) { _internal_set_x(value); _impl_._has_bits_[0] |= 0x00000001u; // @@protoc_insertion_point(field_set:nm.message.ClearAt.x) } inline ::int32_t ClearAt::_internal_x() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.x_; } inline void ClearAt::_internal_set_x(::int32_t value) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.x_ = value; } // required int32 y = 2; inline bool ClearAt::has_y() const { bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; return value; } inline void ClearAt::clear_y() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.y_ = 0; _impl_._has_bits_[0] &= ~0x00000002u; } inline ::int32_t ClearAt::y() const { // @@protoc_insertion_point(field_get:nm.message.ClearAt.y) return _internal_y(); } inline void ClearAt::set_y(::int32_t value) { _internal_set_y(value); _impl_._has_bits_[0] |= 0x00000002u; // @@protoc_insertion_point(field_set:nm.message.ClearAt.y) } inline ::int32_t ClearAt::_internal_y() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.y_; } inline void ClearAt::_internal_set_y(::int32_t value) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.y_ = value; } // ------------------------------------------------------------------- // ChunkRequest // required int32 x = 1; inline bool ChunkRequest::has_x() const { bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; return value; } inline void ChunkRequest::clear_x() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.x_ = 0; _impl_._has_bits_[0] &= ~0x00000001u; } inline ::int32_t ChunkRequest::x() const { // @@protoc_insertion_point(field_get:nm.message.ChunkRequest.x) return _internal_x(); } inline void ChunkRequest::set_x(::int32_t value) { _internal_set_x(value); _impl_._has_bits_[0] |= 0x00000001u; // @@protoc_insertion_point(field_set:nm.message.ChunkRequest.x) } inline ::int32_t ChunkRequest::_internal_x() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.x_; } inline void ChunkRequest::_internal_set_x(::int32_t value) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.x_ = value; } // required int32 y = 2; inline bool ChunkRequest::has_y() const { bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; return value; } inline void ChunkRequest::clear_y() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.y_ = 0; _impl_._has_bits_[0] &= ~0x00000002u; } inline ::int32_t ChunkRequest::y() const { // @@protoc_insertion_point(field_get:nm.message.ChunkRequest.y) return _internal_y(); } inline void ChunkRequest::set_y(::int32_t value) { _internal_set_y(value); _impl_._has_bits_[0] |= 0x00000002u; // @@protoc_insertion_point(field_set:nm.message.ChunkRequest.y) } inline ::int32_t ChunkRequest::_internal_y() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.y_; } inline void ChunkRequest::_internal_set_y(::int32_t value) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.y_ = value; } // ------------------------------------------------------------------- // ChunkBytes // required int32 x = 1; inline bool ChunkBytes::has_x() const { bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; return value; } inline void ChunkBytes::clear_x() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.x_ = 0; _impl_._has_bits_[0] &= ~0x00000002u; } inline ::int32_t ChunkBytes::x() const { // @@protoc_insertion_point(field_get:nm.message.ChunkBytes.x) return _internal_x(); } inline void ChunkBytes::set_x(::int32_t value) { _internal_set_x(value); _impl_._has_bits_[0] |= 0x00000002u; // @@protoc_insertion_point(field_set:nm.message.ChunkBytes.x) } inline ::int32_t ChunkBytes::_internal_x() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.x_; } inline void ChunkBytes::_internal_set_x(::int32_t value) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.x_ = value; } // required int32 y = 2; inline bool ChunkBytes::has_y() const { bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; return value; } inline void ChunkBytes::clear_y() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.y_ = 0; _impl_._has_bits_[0] &= ~0x00000004u; } inline ::int32_t ChunkBytes::y() const { // @@protoc_insertion_point(field_get:nm.message.ChunkBytes.y) return _internal_y(); } inline void ChunkBytes::set_y(::int32_t value) { _internal_set_y(value); _impl_._has_bits_[0] |= 0x00000004u; // @@protoc_insertion_point(field_set:nm.message.ChunkBytes.y) } inline ::int32_t ChunkBytes::_internal_y() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.y_; } inline void ChunkBytes::_internal_set_y(::int32_t value) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.y_ = value; } // required bytes data = 3; inline bool ChunkBytes::has_data() const { bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; return value; } inline void ChunkBytes::clear_data() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.data_.ClearToEmpty(); _impl_._has_bits_[0] &= ~0x00000001u; } inline const std::string& ChunkBytes::data() const ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_get:nm.message.ChunkBytes.data) return _internal_data(); } template inline PROTOBUF_ALWAYS_INLINE void ChunkBytes::set_data(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] |= 0x00000001u; _impl_.data_.SetBytes(static_cast(arg), args..., GetArena()); // @@protoc_insertion_point(field_set:nm.message.ChunkBytes.data) } inline std::string* ChunkBytes::mutable_data() ABSL_ATTRIBUTE_LIFETIME_BOUND { std::string* _s = _internal_mutable_data(); // @@protoc_insertion_point(field_mutable:nm.message.ChunkBytes.data) return _s; } inline const std::string& ChunkBytes::_internal_data() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.data_.Get(); } inline void ChunkBytes::_internal_set_data(const std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] |= 0x00000001u; _impl_.data_.Set(value, GetArena()); } inline std::string* ChunkBytes::_internal_mutable_data() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] |= 0x00000001u; return _impl_.data_.Mutable( GetArena()); } inline std::string* ChunkBytes::release_data() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:nm.message.ChunkBytes.data) if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { return nullptr; } _impl_._has_bits_[0] &= ~0x00000001u; auto* released = _impl_.data_.Release(); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { _impl_.data_.Set("", GetArena()); } return released; } inline void ChunkBytes::set_allocated_data(std::string* value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (value != nullptr) { _impl_._has_bits_[0] |= 0x00000001u; } else { _impl_._has_bits_[0] &= ~0x00000001u; } _impl_.data_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.data_.IsDefault()) { _impl_.data_.Set("", GetArena()); } // @@protoc_insertion_point(field_set_allocated:nm.message.ChunkBytes.data) } // ------------------------------------------------------------------- // CursorMove // required int32 x = 1; inline bool CursorMove::has_x() const { bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; return value; } inline void CursorMove::clear_x() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.x_ = 0; _impl_._has_bits_[0] &= ~0x00000001u; } inline ::int32_t CursorMove::x() const { // @@protoc_insertion_point(field_get:nm.message.CursorMove.x) return _internal_x(); } inline void CursorMove::set_x(::int32_t value) { _internal_set_x(value); _impl_._has_bits_[0] |= 0x00000001u; // @@protoc_insertion_point(field_set:nm.message.CursorMove.x) } inline ::int32_t CursorMove::_internal_x() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.x_; } inline void CursorMove::_internal_set_x(::int32_t value) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.x_ = value; } // required int32 y = 2; inline bool CursorMove::has_y() const { bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; return value; } inline void CursorMove::clear_y() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.y_ = 0; _impl_._has_bits_[0] &= ~0x00000002u; } inline ::int32_t CursorMove::y() const { // @@protoc_insertion_point(field_get:nm.message.CursorMove.y) return _internal_y(); } inline void CursorMove::set_y(::int32_t value) { _internal_set_y(value); _impl_._has_bits_[0] |= 0x00000002u; // @@protoc_insertion_point(field_set:nm.message.CursorMove.y) } inline ::int32_t CursorMove::_internal_y() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.y_; } inline void CursorMove::_internal_set_y(::int32_t value) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.y_ = value; } // optional int32 id = 3; inline bool CursorMove::has_id() const { bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; return value; } inline void CursorMove::clear_id() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.id_ = 0; _impl_._has_bits_[0] &= ~0x00000004u; } inline ::int32_t CursorMove::id() const { // @@protoc_insertion_point(field_get:nm.message.CursorMove.id) return _internal_id(); } inline void CursorMove::set_id(::int32_t value) { _internal_set_id(value); _impl_._has_bits_[0] |= 0x00000004u; // @@protoc_insertion_point(field_set:nm.message.CursorMove.id) } inline ::int32_t CursorMove::_internal_id() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.id_; } inline void CursorMove::_internal_set_id(::int32_t value) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.id_ = value; } // ------------------------------------------------------------------- // SquareOpen // required int32 x = 1; inline bool SquareOpen::has_x() const { bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; return value; } inline void SquareOpen::clear_x() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.x_ = 0; _impl_._has_bits_[0] &= ~0x00000001u; } inline ::int32_t SquareOpen::x() const { // @@protoc_insertion_point(field_get:nm.message.SquareOpen.x) return _internal_x(); } inline void SquareOpen::set_x(::int32_t value) { _internal_set_x(value); _impl_._has_bits_[0] |= 0x00000001u; // @@protoc_insertion_point(field_set:nm.message.SquareOpen.x) } inline ::int32_t SquareOpen::_internal_x() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.x_; } inline void SquareOpen::_internal_set_x(::int32_t value) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.x_ = value; } // required int32 y = 2; inline bool SquareOpen::has_y() const { bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; return value; } inline void SquareOpen::clear_y() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.y_ = 0; _impl_._has_bits_[0] &= ~0x00000002u; } inline ::int32_t SquareOpen::y() const { // @@protoc_insertion_point(field_get:nm.message.SquareOpen.y) return _internal_y(); } inline void SquareOpen::set_y(::int32_t value) { _internal_set_y(value); _impl_._has_bits_[0] |= 0x00000002u; // @@protoc_insertion_point(field_set:nm.message.SquareOpen.y) } inline ::int32_t SquareOpen::_internal_y() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.y_; } inline void SquareOpen::_internal_set_y(::int32_t value) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.y_ = value; } // optional int32 id = 3; inline bool SquareOpen::has_id() const { bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; return value; } inline void SquareOpen::clear_id() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.id_ = 0; _impl_._has_bits_[0] &= ~0x00000004u; } inline ::int32_t SquareOpen::id() const { // @@protoc_insertion_point(field_get:nm.message.SquareOpen.id) return _internal_id(); } inline void SquareOpen::set_id(::int32_t value) { _internal_set_id(value); _impl_._has_bits_[0] |= 0x00000004u; // @@protoc_insertion_point(field_set:nm.message.SquareOpen.id) } inline ::int32_t SquareOpen::_internal_id() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.id_; } inline void SquareOpen::_internal_set_id(::int32_t value) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.id_ = value; } // ------------------------------------------------------------------- // SquareFlag // required int32 x = 1; inline bool SquareFlag::has_x() const { bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; return value; } inline void SquareFlag::clear_x() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.x_ = 0; _impl_._has_bits_[0] &= ~0x00000001u; } inline ::int32_t SquareFlag::x() const { // @@protoc_insertion_point(field_get:nm.message.SquareFlag.x) return _internal_x(); } inline void SquareFlag::set_x(::int32_t value) { _internal_set_x(value); _impl_._has_bits_[0] |= 0x00000001u; // @@protoc_insertion_point(field_set:nm.message.SquareFlag.x) } inline ::int32_t SquareFlag::_internal_x() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.x_; } inline void SquareFlag::_internal_set_x(::int32_t value) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.x_ = value; } // required int32 y = 2; inline bool SquareFlag::has_y() const { bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; return value; } inline void SquareFlag::clear_y() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.y_ = 0; _impl_._has_bits_[0] &= ~0x00000002u; } inline ::int32_t SquareFlag::y() const { // @@protoc_insertion_point(field_get:nm.message.SquareFlag.y) return _internal_y(); } inline void SquareFlag::set_y(::int32_t value) { _internal_set_y(value); _impl_._has_bits_[0] |= 0x00000002u; // @@protoc_insertion_point(field_set:nm.message.SquareFlag.y) } inline ::int32_t SquareFlag::_internal_y() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.y_; } inline void SquareFlag::_internal_set_y(::int32_t value) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.y_ = value; } // optional int32 id = 3; inline bool SquareFlag::has_id() const { bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; return value; } inline void SquareFlag::clear_id() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.id_ = 0; _impl_._has_bits_[0] &= ~0x00000004u; } inline ::int32_t SquareFlag::id() const { // @@protoc_insertion_point(field_get:nm.message.SquareFlag.id) return _internal_id(); } inline void SquareFlag::set_id(::int32_t value) { _internal_set_id(value); _impl_._has_bits_[0] |= 0x00000004u; // @@protoc_insertion_point(field_set:nm.message.SquareFlag.id) } inline ::int32_t SquareFlag::_internal_id() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.id_; } inline void SquareFlag::_internal_set_id(::int32_t value) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.id_ = value; } // ------------------------------------------------------------------- // Player // required int32 x = 1; inline bool Player::has_x() const { bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; return value; } inline void Player::clear_x() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.x_ = 0; _impl_._has_bits_[0] &= ~0x00000002u; } inline ::int32_t Player::x() const { // @@protoc_insertion_point(field_get:nm.message.Player.x) return _internal_x(); } inline void Player::set_x(::int32_t value) { _internal_set_x(value); _impl_._has_bits_[0] |= 0x00000002u; // @@protoc_insertion_point(field_set:nm.message.Player.x) } inline ::int32_t Player::_internal_x() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.x_; } inline void Player::_internal_set_x(::int32_t value) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.x_ = value; } // required int32 y = 2; inline bool Player::has_y() const { bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; return value; } inline void Player::clear_y() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.y_ = 0; _impl_._has_bits_[0] &= ~0x00000004u; } inline ::int32_t Player::y() const { // @@protoc_insertion_point(field_get:nm.message.Player.y) return _internal_y(); } inline void Player::set_y(::int32_t value) { _internal_set_y(value); _impl_._has_bits_[0] |= 0x00000004u; // @@protoc_insertion_point(field_set:nm.message.Player.y) } inline ::int32_t Player::_internal_y() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.y_; } inline void Player::_internal_set_y(::int32_t value) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.y_ = value; } // optional int32 id = 3; inline bool Player::has_id() const { bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; return value; } inline void Player::clear_id() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.id_ = 0; _impl_._has_bits_[0] &= ~0x00000008u; } inline ::int32_t Player::id() const { // @@protoc_insertion_point(field_get:nm.message.Player.id) return _internal_id(); } inline void Player::set_id(::int32_t value) { _internal_set_id(value); _impl_._has_bits_[0] |= 0x00000008u; // @@protoc_insertion_point(field_set:nm.message.Player.id) } inline ::int32_t Player::_internal_id() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.id_; } inline void Player::_internal_set_id(::int32_t value) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.id_ = value; } // optional string name = 4; inline bool Player::has_name() const { bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; return value; } inline void Player::clear_name() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.name_.ClearToEmpty(); _impl_._has_bits_[0] &= ~0x00000001u; } inline const std::string& Player::name() const ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_get:nm.message.Player.name) return _internal_name(); } template inline PROTOBUF_ALWAYS_INLINE void Player::set_name(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] |= 0x00000001u; _impl_.name_.Set(static_cast(arg), args..., GetArena()); // @@protoc_insertion_point(field_set:nm.message.Player.name) } inline std::string* Player::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { std::string* _s = _internal_mutable_name(); // @@protoc_insertion_point(field_mutable:nm.message.Player.name) return _s; } inline const std::string& Player::_internal_name() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.name_.Get(); } inline void Player::_internal_set_name(const std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] |= 0x00000001u; _impl_.name_.Set(value, GetArena()); } inline std::string* Player::_internal_mutable_name() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] |= 0x00000001u; return _impl_.name_.Mutable( GetArena()); } inline std::string* Player::release_name() { ::google::protobuf::internal::TSanWrite(&_impl_); // @@protoc_insertion_point(field_release:nm.message.Player.name) if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { return nullptr; } _impl_._has_bits_[0] &= ~0x00000001u; auto* released = _impl_.name_.Release(); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { _impl_.name_.Set("", GetArena()); } return released; } inline void Player::set_allocated_name(std::string* value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (value != nullptr) { _impl_._has_bits_[0] |= 0x00000001u; } else { _impl_._has_bits_[0] &= ~0x00000001u; } _impl_.name_.SetAllocated(value, GetArena()); if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) { _impl_.name_.Set("", GetArena()); } // @@protoc_insertion_point(field_set_allocated:nm.message.Player.name) } // ------------------------------------------------------------------- // Welcome // required int32 version = 1; inline bool Welcome::has_version() const { bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; return value; } inline void Welcome::clear_version() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.version_ = 0; _impl_._has_bits_[0] &= ~0x00000001u; } inline ::int32_t Welcome::version() const { // @@protoc_insertion_point(field_get:nm.message.Welcome.version) return _internal_version(); } inline void Welcome::set_version(::int32_t value) { _internal_set_version(value); _impl_._has_bits_[0] |= 0x00000001u; // @@protoc_insertion_point(field_set:nm.message.Welcome.version) } inline ::int32_t Welcome::_internal_version() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.version_; } inline void Welcome::_internal_set_version(::int32_t value) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.version_ = value; } // required int32 nPlayers = 2; inline bool Welcome::has_nplayers() const { bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; return value; } inline void Welcome::clear_nplayers() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.nplayers_ = 0; _impl_._has_bits_[0] &= ~0x00000002u; } inline ::int32_t Welcome::nplayers() const { // @@protoc_insertion_point(field_get:nm.message.Welcome.nPlayers) return _internal_nplayers(); } inline void Welcome::set_nplayers(::int32_t value) { _internal_set_nplayers(value); _impl_._has_bits_[0] |= 0x00000002u; // @@protoc_insertion_point(field_set:nm.message.Welcome.nPlayers) } inline ::int32_t Welcome::_internal_nplayers() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.nplayers_; } inline void Welcome::_internal_set_nplayers(::int32_t value) { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.nplayers_ = value; } // repeated .nm.message.Player players = 3; inline int Welcome::_internal_players_size() const { return _internal_players().size(); } inline int Welcome::players_size() const { return _internal_players_size(); } inline void Welcome::clear_players() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.players_.Clear(); } inline ::nm::message::Player* Welcome::mutable_players(int index) ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_mutable:nm.message.Welcome.players) return _internal_mutable_players()->Mutable(index); } inline ::google::protobuf::RepeatedPtrField<::nm::message::Player>* Welcome::mutable_players() ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_mutable_list:nm.message.Welcome.players) ::google::protobuf::internal::TSanWrite(&_impl_); return _internal_mutable_players(); } inline const ::nm::message::Player& Welcome::players(int index) const ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_get:nm.message.Welcome.players) return _internal_players().Get(index); } inline ::nm::message::Player* Welcome::add_players() ABSL_ATTRIBUTE_LIFETIME_BOUND { ::google::protobuf::internal::TSanWrite(&_impl_); ::nm::message::Player* _add = _internal_mutable_players()->Add(); // @@protoc_insertion_point(field_add:nm.message.Welcome.players) return _add; } inline const ::google::protobuf::RepeatedPtrField<::nm::message::Player>& Welcome::players() const ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_list:nm.message.Welcome.players) return _internal_players(); } inline const ::google::protobuf::RepeatedPtrField<::nm::message::Player>& Welcome::_internal_players() const { ::google::protobuf::internal::TSanRead(&_impl_); return _impl_.players_; } inline ::google::protobuf::RepeatedPtrField<::nm::message::Player>* Welcome::_internal_mutable_players() { ::google::protobuf::internal::TSanRead(&_impl_); return &_impl_.players_; } #ifdef __GNUC__ #pragma GCC diagnostic pop #endif // __GNUC__ // @@protoc_insertion_point(namespace_scope) } // namespace message } // namespace nm namespace google { namespace protobuf { template <> struct is_proto_enum<::nm::message::MessageWrapper_Type> : std::true_type {}; template <> inline const EnumDescriptor* GetEnumDescriptor<::nm::message::MessageWrapper_Type>() { return ::nm::message::MessageWrapper_Type_descriptor(); } } // namespace protobuf } // namespace google // @@protoc_insertion_point(global_scope) #include "google/protobuf/port_undef.inc" #endif // ours_2eproto_2epb_2eh