// Generated by the protocol buffer compiler. DO NOT EDIT! // source: brintos_probe.proto // Protobuf C++ Version: 4.25.8 #ifndef GOOGLE_PROTOBUF_INCLUDED_brintos_5fprobe_2eproto_2epb_2eh #define GOOGLE_PROTOBUF_INCLUDED_brintos_5fprobe_2eproto_2epb_2eh #include #include #include #include #include "google/protobuf/port_def.inc" #if PROTOBUF_VERSION < 4025000 #error "This file was generated by a newer version of protoc which is" #error "incompatible with your Protocol Buffer headers. Please update" #error "your headers." #endif // PROTOBUF_VERSION #if 4025008 < PROTOBUF_MIN_PROTOC_VERSION #error "This file was generated by an older version of protoc which is" #error "incompatible with your Protocol Buffer headers. Please" #error "regenerate this file with a newer version of protoc." #endif // PROTOBUF_MIN_PROTOC_VERSION #include "google/protobuf/port_undef.inc" #include "google/protobuf/io/coded_stream.h" #include "google/protobuf/arena.h" #include "google/protobuf/arenastring.h" #include "google/protobuf/generated_message_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/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_brintos_5fprobe_2eproto namespace google { namespace protobuf { namespace internal { class AnyMetadata; } // namespace internal } // namespace protobuf } // namespace google // Internal implementation detail -- do not use these members. struct TableStruct_brintos_5fprobe_2eproto { static const ::uint32_t offsets[]; }; extern const ::google::protobuf::internal::DescriptorTable descriptor_table_brintos_5fprobe_2eproto; namespace brintos { class Probe; struct ProbeDefaultTypeInternal; extern ProbeDefaultTypeInternal _Probe_default_instance_; class Weapon; struct WeaponDefaultTypeInternal; extern WeaponDefaultTypeInternal _Weapon_default_instance_; } // namespace brintos namespace google { namespace protobuf { } // namespace protobuf } // namespace google namespace brintos { enum Color : int { COLOR_RED = 0, COLOR_GREEN = 1, COLOR_BLUE = 2, Color_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::int32_t>::min(), Color_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::int32_t>::max(), }; bool Color_IsValid(int value); extern const uint32_t Color_internal_data_[]; constexpr Color Color_MIN = static_cast(0); constexpr Color Color_MAX = static_cast(2); constexpr int Color_ARRAYSIZE = 2 + 1; const ::google::protobuf::EnumDescriptor* Color_descriptor(); template const std::string& Color_Name(T value) { static_assert(std::is_same::value || std::is_integral::value, "Incorrect type passed to Color_Name()."); return Color_Name(static_cast(value)); } template <> inline const std::string& Color_Name(Color value) { return ::google::protobuf::internal::NameOfDenseEnum( static_cast(value)); } inline bool Color_Parse(absl::string_view name, Color* value) { return ::google::protobuf::internal::ParseNamedEnum( Color_descriptor(), name, value); } // =================================================================== // ------------------------------------------------------------------- class Weapon final : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:brintos.Weapon) */ { public: inline Weapon() : Weapon(nullptr) {} ~Weapon() override; template explicit PROTOBUF_CONSTEXPR Weapon(::google::protobuf::internal::ConstantInitialized); inline Weapon(const Weapon& from) : Weapon(nullptr, from) {} Weapon(Weapon&& from) noexcept : Weapon() { *this = ::std::move(from); } inline Weapon& operator=(const Weapon& from) { CopyFrom(from); return *this; } inline Weapon& operator=(Weapon&& from) noexcept { if (this == &from) return *this; if (GetArena() == from.GetArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE && GetArena() != nullptr #endif // !PROTOBUF_FORCE_COPY_IN_MOVE ) { 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 Weapon& default_instance() { return *internal_default_instance(); } static inline const Weapon* internal_default_instance() { return reinterpret_cast( &_Weapon_default_instance_); } static constexpr int kIndexInFileMessages = 0; friend void swap(Weapon& a, Weapon& b) { a.Swap(&b); } inline void Swap(Weapon* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetArena() != nullptr && GetArena() == other->GetArena()) { #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetArena() == other->GetArena()) { #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::google::protobuf::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(Weapon* other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- Weapon* New(::google::protobuf::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::google::protobuf::Message::CopyFrom; void CopyFrom(const Weapon& from); using ::google::protobuf::Message::MergeFrom; void MergeFrom( const Weapon& from) { Weapon::MergeImpl(*this, from); } private: static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; ::size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final; ::uint8_t* _InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: ::google::protobuf::internal::CachedSize* AccessCachedSize() const final; void SharedCtor(::google::protobuf::Arena* arena); void SharedDtor(); void InternalSwap(Weapon* other); private: friend class ::google::protobuf::internal::AnyMetadata; static ::absl::string_view FullMessageName() { return "brintos.Weapon"; } protected: explicit Weapon(::google::protobuf::Arena* arena); Weapon(::google::protobuf::Arena* arena, const Weapon& from); public: static const ClassData _class_data_; const ::google::protobuf::Message::ClassData*GetClassData() const final; ::google::protobuf::Metadata GetMetadata() const final; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kNameFieldNumber = 1, kDamageFieldNumber = 2, }; // string name = 1; 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: // int32 damage = 2; void clear_damage() ; ::int32_t damage() const; void set_damage(::int32_t value); private: ::int32_t _internal_damage() const; void _internal_set_damage(::int32_t value); public: // @@protoc_insertion_point(class_scope:brintos.Weapon) private: class _Internal; friend class ::google::protobuf::internal::TcParser; static const ::google::protobuf::internal::TcParseTable< 1, 2, 0, 27, 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); ::google::protobuf::internal::ArenaStringPtr name_; ::int32_t damage_; mutable ::google::protobuf::internal::CachedSize _cached_size_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_brintos_5fprobe_2eproto; };// ------------------------------------------------------------------- class Probe final : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:brintos.Probe) */ { public: inline Probe() : Probe(nullptr) {} ~Probe() override; template explicit PROTOBUF_CONSTEXPR Probe(::google::protobuf::internal::ConstantInitialized); inline Probe(const Probe& from) : Probe(nullptr, from) {} Probe(Probe&& from) noexcept : Probe() { *this = ::std::move(from); } inline Probe& operator=(const Probe& from) { CopyFrom(from); return *this; } inline Probe& operator=(Probe&& from) noexcept { if (this == &from) return *this; if (GetArena() == from.GetArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE && GetArena() != nullptr #endif // !PROTOBUF_FORCE_COPY_IN_MOVE ) { 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 Probe& default_instance() { return *internal_default_instance(); } static inline const Probe* internal_default_instance() { return reinterpret_cast( &_Probe_default_instance_); } static constexpr int kIndexInFileMessages = 1; friend void swap(Probe& a, Probe& b) { a.Swap(&b); } inline void Swap(Probe* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetArena() != nullptr && GetArena() == other->GetArena()) { #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetArena() == other->GetArena()) { #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::google::protobuf::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(Probe* other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- Probe* New(::google::protobuf::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } using ::google::protobuf::Message::CopyFrom; void CopyFrom(const Probe& from); using ::google::protobuf::Message::MergeFrom; void MergeFrom( const Probe& from) { Probe::MergeImpl(*this, from); } private: static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg); public: PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; ::size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final; ::uint8_t* _InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const { return _impl_._cached_size_.Get(); } private: ::google::protobuf::internal::CachedSize* AccessCachedSize() const final; void SharedCtor(::google::protobuf::Arena* arena); void SharedDtor(); void InternalSwap(Probe* other); private: friend class ::google::protobuf::internal::AnyMetadata; static ::absl::string_view FullMessageName() { return "brintos.Probe"; } protected: explicit Probe(::google::protobuf::Arena* arena); Probe(::google::protobuf::Arena* arena, const Probe& from); public: static const ClassData _class_data_; const ::google::protobuf::Message::ClassData*GetClassData() const final; ::google::protobuf::Metadata GetMetadata() const final; // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kInventoryFieldNumber = 5, kWeaponsFieldNumber = 6, kNameFieldNumber = 1, kBlobFieldNumber = 7, kHpFieldNumber = 2, kManaFieldNumber = 3, kColorFieldNumber = 4, kAliveFieldNumber = 8, kWeightFieldNumber = 9, kIdFieldNumber = 11, kDepthFieldNumber = 10, }; // repeated int32 inventory = 5; int inventory_size() const; private: int _internal_inventory_size() const; public: void clear_inventory() ; ::int32_t inventory(int index) const; void set_inventory(int index, ::int32_t value); void add_inventory(::int32_t value); const ::google::protobuf::RepeatedField<::int32_t>& inventory() const; ::google::protobuf::RepeatedField<::int32_t>* mutable_inventory(); private: const ::google::protobuf::RepeatedField<::int32_t>& _internal_inventory() const; ::google::protobuf::RepeatedField<::int32_t>* _internal_mutable_inventory(); public: // repeated .brintos.Weapon weapons = 6; int weapons_size() const; private: int _internal_weapons_size() const; public: void clear_weapons() ; ::brintos::Weapon* mutable_weapons(int index); ::google::protobuf::RepeatedPtrField< ::brintos::Weapon >* mutable_weapons(); private: const ::google::protobuf::RepeatedPtrField<::brintos::Weapon>& _internal_weapons() const; ::google::protobuf::RepeatedPtrField<::brintos::Weapon>* _internal_mutable_weapons(); public: const ::brintos::Weapon& weapons(int index) const; ::brintos::Weapon* add_weapons(); const ::google::protobuf::RepeatedPtrField< ::brintos::Weapon >& weapons() const; // string name = 1; 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: // bytes blob = 7; void clear_blob() ; const std::string& blob() const; template void set_blob(Arg_&& arg, Args_... args); std::string* mutable_blob(); PROTOBUF_NODISCARD std::string* release_blob(); void set_allocated_blob(std::string* value); private: const std::string& _internal_blob() const; inline PROTOBUF_ALWAYS_INLINE void _internal_set_blob( const std::string& value); std::string* _internal_mutable_blob(); public: // int32 hp = 2; void clear_hp() ; ::int32_t hp() const; void set_hp(::int32_t value); private: ::int32_t _internal_hp() const; void _internal_set_hp(::int32_t value); public: // int32 mana = 3; void clear_mana() ; ::int32_t mana() const; void set_mana(::int32_t value); private: ::int32_t _internal_mana() const; void _internal_set_mana(::int32_t value); public: // .brintos.Color color = 4; void clear_color() ; ::brintos::Color color() const; void set_color(::brintos::Color value); private: ::brintos::Color _internal_color() const; void _internal_set_color(::brintos::Color value); public: // bool alive = 8; void clear_alive() ; bool alive() const; void set_alive(bool value); private: bool _internal_alive() const; void _internal_set_alive(bool value); public: // double weight = 9; void clear_weight() ; double weight() const; void set_weight(double value); private: double _internal_weight() const; void _internal_set_weight(double value); public: // fixed64 id = 11; void clear_id() ; ::uint64_t id() const; void set_id(::uint64_t value); private: ::uint64_t _internal_id() const; void _internal_set_id(::uint64_t value); public: // sint32 depth = 10; void clear_depth() ; ::int32_t depth() const; void set_depth(::int32_t value); private: ::int32_t _internal_depth() const; void _internal_set_depth(::int32_t value); public: // @@protoc_insertion_point(class_scope:brintos.Probe) private: class _Internal; friend class ::google::protobuf::internal::TcParser; static const ::google::protobuf::internal::TcParseTable< 4, 11, 1, 34, 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); ::google::protobuf::RepeatedField<::int32_t> inventory_; mutable ::google::protobuf::internal::CachedSize _inventory_cached_byte_size_; ::google::protobuf::RepeatedPtrField< ::brintos::Weapon > weapons_; ::google::protobuf::internal::ArenaStringPtr name_; ::google::protobuf::internal::ArenaStringPtr blob_; ::int32_t hp_; ::int32_t mana_; int color_; bool alive_; double weight_; ::uint64_t id_; ::int32_t depth_; mutable ::google::protobuf::internal::CachedSize _cached_size_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_brintos_5fprobe_2eproto; }; // =================================================================== // =================================================================== #ifdef __GNUC__ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wstrict-aliasing" #endif // __GNUC__ // ------------------------------------------------------------------- // Weapon // string name = 1; inline void Weapon::clear_name() { PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); _impl_.name_.ClearToEmpty(); } inline const std::string& Weapon::name() const ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_get:brintos.Weapon.name) return _internal_name(); } template inline PROTOBUF_ALWAYS_INLINE void Weapon::set_name(Arg_&& arg, Args_... args) { PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); ; _impl_.name_.Set(static_cast(arg), args..., GetArena()); // @@protoc_insertion_point(field_set:brintos.Weapon.name) } inline std::string* Weapon::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { std::string* _s = _internal_mutable_name(); // @@protoc_insertion_point(field_mutable:brintos.Weapon.name) return _s; } inline const std::string& Weapon::_internal_name() const { PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); return _impl_.name_.Get(); } inline void Weapon::_internal_set_name(const std::string& value) { PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); ; _impl_.name_.Set(value, GetArena()); } inline std::string* Weapon::_internal_mutable_name() { PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); ; return _impl_.name_.Mutable( GetArena()); } inline std::string* Weapon::release_name() { PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); // @@protoc_insertion_point(field_release:brintos.Weapon.name) return _impl_.name_.Release(); } inline void Weapon::set_allocated_name(std::string* value) { PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); _impl_.name_.SetAllocated(value, GetArena()); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING if (_impl_.name_.IsDefault()) { _impl_.name_.Set("", GetArena()); } #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING // @@protoc_insertion_point(field_set_allocated:brintos.Weapon.name) } // int32 damage = 2; inline void Weapon::clear_damage() { PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); _impl_.damage_ = 0; } inline ::int32_t Weapon::damage() const { // @@protoc_insertion_point(field_get:brintos.Weapon.damage) return _internal_damage(); } inline void Weapon::set_damage(::int32_t value) { _internal_set_damage(value); // @@protoc_insertion_point(field_set:brintos.Weapon.damage) } inline ::int32_t Weapon::_internal_damage() const { PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); return _impl_.damage_; } inline void Weapon::_internal_set_damage(::int32_t value) { PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); ; _impl_.damage_ = value; } // ------------------------------------------------------------------- // Probe // string name = 1; inline void Probe::clear_name() { PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); _impl_.name_.ClearToEmpty(); } inline const std::string& Probe::name() const ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_get:brintos.Probe.name) return _internal_name(); } template inline PROTOBUF_ALWAYS_INLINE void Probe::set_name(Arg_&& arg, Args_... args) { PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); ; _impl_.name_.Set(static_cast(arg), args..., GetArena()); // @@protoc_insertion_point(field_set:brintos.Probe.name) } inline std::string* Probe::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { std::string* _s = _internal_mutable_name(); // @@protoc_insertion_point(field_mutable:brintos.Probe.name) return _s; } inline const std::string& Probe::_internal_name() const { PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); return _impl_.name_.Get(); } inline void Probe::_internal_set_name(const std::string& value) { PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); ; _impl_.name_.Set(value, GetArena()); } inline std::string* Probe::_internal_mutable_name() { PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); ; return _impl_.name_.Mutable( GetArena()); } inline std::string* Probe::release_name() { PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); // @@protoc_insertion_point(field_release:brintos.Probe.name) return _impl_.name_.Release(); } inline void Probe::set_allocated_name(std::string* value) { PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); _impl_.name_.SetAllocated(value, GetArena()); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING if (_impl_.name_.IsDefault()) { _impl_.name_.Set("", GetArena()); } #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING // @@protoc_insertion_point(field_set_allocated:brintos.Probe.name) } // int32 hp = 2; inline void Probe::clear_hp() { PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); _impl_.hp_ = 0; } inline ::int32_t Probe::hp() const { // @@protoc_insertion_point(field_get:brintos.Probe.hp) return _internal_hp(); } inline void Probe::set_hp(::int32_t value) { _internal_set_hp(value); // @@protoc_insertion_point(field_set:brintos.Probe.hp) } inline ::int32_t Probe::_internal_hp() const { PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); return _impl_.hp_; } inline void Probe::_internal_set_hp(::int32_t value) { PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); ; _impl_.hp_ = value; } // int32 mana = 3; inline void Probe::clear_mana() { PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); _impl_.mana_ = 0; } inline ::int32_t Probe::mana() const { // @@protoc_insertion_point(field_get:brintos.Probe.mana) return _internal_mana(); } inline void Probe::set_mana(::int32_t value) { _internal_set_mana(value); // @@protoc_insertion_point(field_set:brintos.Probe.mana) } inline ::int32_t Probe::_internal_mana() const { PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); return _impl_.mana_; } inline void Probe::_internal_set_mana(::int32_t value) { PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); ; _impl_.mana_ = value; } // .brintos.Color color = 4; inline void Probe::clear_color() { PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); _impl_.color_ = 0; } inline ::brintos::Color Probe::color() const { // @@protoc_insertion_point(field_get:brintos.Probe.color) return _internal_color(); } inline void Probe::set_color(::brintos::Color value) { _internal_set_color(value); // @@protoc_insertion_point(field_set:brintos.Probe.color) } inline ::brintos::Color Probe::_internal_color() const { PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); return static_cast<::brintos::Color>(_impl_.color_); } inline void Probe::_internal_set_color(::brintos::Color value) { PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); ; _impl_.color_ = value; } // repeated int32 inventory = 5; inline int Probe::_internal_inventory_size() const { return _internal_inventory().size(); } inline int Probe::inventory_size() const { return _internal_inventory_size(); } inline void Probe::clear_inventory() { PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); _impl_.inventory_.Clear(); } inline ::int32_t Probe::inventory(int index) const { // @@protoc_insertion_point(field_get:brintos.Probe.inventory) return _internal_inventory().Get(index); } inline void Probe::set_inventory(int index, ::int32_t value) { _internal_mutable_inventory()->Set(index, value); // @@protoc_insertion_point(field_set:brintos.Probe.inventory) } inline void Probe::add_inventory(::int32_t value) { PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); _internal_mutable_inventory()->Add(value); // @@protoc_insertion_point(field_add:brintos.Probe.inventory) } inline const ::google::protobuf::RepeatedField<::int32_t>& Probe::inventory() const ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_list:brintos.Probe.inventory) return _internal_inventory(); } inline ::google::protobuf::RepeatedField<::int32_t>* Probe::mutable_inventory() ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_mutable_list:brintos.Probe.inventory) PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); return _internal_mutable_inventory(); } inline const ::google::protobuf::RepeatedField<::int32_t>& Probe::_internal_inventory() const { PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); return _impl_.inventory_; } inline ::google::protobuf::RepeatedField<::int32_t>* Probe::_internal_mutable_inventory() { PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); return &_impl_.inventory_; } // repeated .brintos.Weapon weapons = 6; inline int Probe::_internal_weapons_size() const { return _internal_weapons().size(); } inline int Probe::weapons_size() const { return _internal_weapons_size(); } inline void Probe::clear_weapons() { PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); _impl_.weapons_.Clear(); } inline ::brintos::Weapon* Probe::mutable_weapons(int index) ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_mutable:brintos.Probe.weapons) return _internal_mutable_weapons()->Mutable(index); } inline ::google::protobuf::RepeatedPtrField<::brintos::Weapon>* Probe::mutable_weapons() ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_mutable_list:brintos.Probe.weapons) PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); return _internal_mutable_weapons(); } inline const ::brintos::Weapon& Probe::weapons(int index) const ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_get:brintos.Probe.weapons) return _internal_weapons().Get(index); } inline ::brintos::Weapon* Probe::add_weapons() ABSL_ATTRIBUTE_LIFETIME_BOUND { PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); ::brintos::Weapon* _add = _internal_mutable_weapons()->Add(); // @@protoc_insertion_point(field_add:brintos.Probe.weapons) return _add; } inline const ::google::protobuf::RepeatedPtrField<::brintos::Weapon>& Probe::weapons() const ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_list:brintos.Probe.weapons) return _internal_weapons(); } inline const ::google::protobuf::RepeatedPtrField<::brintos::Weapon>& Probe::_internal_weapons() const { PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); return _impl_.weapons_; } inline ::google::protobuf::RepeatedPtrField<::brintos::Weapon>* Probe::_internal_mutable_weapons() { PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); return &_impl_.weapons_; } // bytes blob = 7; inline void Probe::clear_blob() { PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); _impl_.blob_.ClearToEmpty(); } inline const std::string& Probe::blob() const ABSL_ATTRIBUTE_LIFETIME_BOUND { // @@protoc_insertion_point(field_get:brintos.Probe.blob) return _internal_blob(); } template inline PROTOBUF_ALWAYS_INLINE void Probe::set_blob(Arg_&& arg, Args_... args) { PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); ; _impl_.blob_.SetBytes(static_cast(arg), args..., GetArena()); // @@protoc_insertion_point(field_set:brintos.Probe.blob) } inline std::string* Probe::mutable_blob() ABSL_ATTRIBUTE_LIFETIME_BOUND { std::string* _s = _internal_mutable_blob(); // @@protoc_insertion_point(field_mutable:brintos.Probe.blob) return _s; } inline const std::string& Probe::_internal_blob() const { PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); return _impl_.blob_.Get(); } inline void Probe::_internal_set_blob(const std::string& value) { PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); ; _impl_.blob_.Set(value, GetArena()); } inline std::string* Probe::_internal_mutable_blob() { PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); ; return _impl_.blob_.Mutable( GetArena()); } inline std::string* Probe::release_blob() { PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); // @@protoc_insertion_point(field_release:brintos.Probe.blob) return _impl_.blob_.Release(); } inline void Probe::set_allocated_blob(std::string* value) { PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); _impl_.blob_.SetAllocated(value, GetArena()); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING if (_impl_.blob_.IsDefault()) { _impl_.blob_.Set("", GetArena()); } #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING // @@protoc_insertion_point(field_set_allocated:brintos.Probe.blob) } // bool alive = 8; inline void Probe::clear_alive() { PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); _impl_.alive_ = false; } inline bool Probe::alive() const { // @@protoc_insertion_point(field_get:brintos.Probe.alive) return _internal_alive(); } inline void Probe::set_alive(bool value) { _internal_set_alive(value); // @@protoc_insertion_point(field_set:brintos.Probe.alive) } inline bool Probe::_internal_alive() const { PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); return _impl_.alive_; } inline void Probe::_internal_set_alive(bool value) { PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); ; _impl_.alive_ = value; } // double weight = 9; inline void Probe::clear_weight() { PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); _impl_.weight_ = 0; } inline double Probe::weight() const { // @@protoc_insertion_point(field_get:brintos.Probe.weight) return _internal_weight(); } inline void Probe::set_weight(double value) { _internal_set_weight(value); // @@protoc_insertion_point(field_set:brintos.Probe.weight) } inline double Probe::_internal_weight() const { PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); return _impl_.weight_; } inline void Probe::_internal_set_weight(double value) { PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); ; _impl_.weight_ = value; } // sint32 depth = 10; inline void Probe::clear_depth() { PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); _impl_.depth_ = 0; } inline ::int32_t Probe::depth() const { // @@protoc_insertion_point(field_get:brintos.Probe.depth) return _internal_depth(); } inline void Probe::set_depth(::int32_t value) { _internal_set_depth(value); // @@protoc_insertion_point(field_set:brintos.Probe.depth) } inline ::int32_t Probe::_internal_depth() const { PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); return _impl_.depth_; } inline void Probe::_internal_set_depth(::int32_t value) { PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); ; _impl_.depth_ = value; } // fixed64 id = 11; inline void Probe::clear_id() { PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); _impl_.id_ = ::uint64_t{0u}; } inline ::uint64_t Probe::id() const { // @@protoc_insertion_point(field_get:brintos.Probe.id) return _internal_id(); } inline void Probe::set_id(::uint64_t value) { _internal_set_id(value); // @@protoc_insertion_point(field_set:brintos.Probe.id) } inline ::uint64_t Probe::_internal_id() const { PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); return _impl_.id_; } inline void Probe::_internal_set_id(::uint64_t value) { PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); ; _impl_.id_ = value; } #ifdef __GNUC__ #pragma GCC diagnostic pop #endif // __GNUC__ // @@protoc_insertion_point(namespace_scope) } // namespace brintos namespace google { namespace protobuf { template <> struct is_proto_enum<::brintos::Color> : std::true_type {}; template <> inline const EnumDescriptor* GetEnumDescriptor<::brintos::Color>() { return ::brintos::Color_descriptor(); } } // namespace protobuf } // namespace google // @@protoc_insertion_point(global_scope) #include "google/protobuf/port_undef.inc" #endif // GOOGLE_PROTOBUF_INCLUDED_brintos_5fprobe_2eproto_2epb_2eh