4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fserialized_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fserialized_2eproto
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3014000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
16 #if 3014000 < PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
22 #include <google/protobuf/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arena.h>
25 #include <google/protobuf/arenastring.h>
26 #include <google/protobuf/generated_message_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/metadata_lite.h>
29 #include <google/protobuf/generated_message_reflection.h>
30 #include <google/protobuf/message.h>
31 #include <google/protobuf/repeated_field.h>
32 #include <google/protobuf/extension_set.h>
33 #include <google/protobuf/unknown_field_set.h>
37 #pragma GCC system_header
40 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
43 #include <sys/sysmacros.h>
48 #include <google/protobuf/port_def.inc>
49 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fserialized_2eproto IGNITION_MSGS_VISIBLE
50 PROTOBUF_NAMESPACE_OPEN
54 PROTOBUF_NAMESPACE_CLOSE
58 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
60 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
62 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[4]
64 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
65 static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
66 static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
71 class SerializedComponent;
72 class SerializedComponentDefaultTypeInternal;
74 class SerializedEntity;
75 class SerializedEntityDefaultTypeInternal;
77 class SerializedState;
78 class SerializedStateDefaultTypeInternal;
81 class SerializedStepDefaultTypeInternal;
85 PROTOBUF_NAMESPACE_OPEN
86 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::SerializedComponent* Arena::CreateMaybeMessage<::ignition::msgs::SerializedComponent>(Arena*);
87 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::SerializedEntity* Arena::CreateMaybeMessage<::ignition::msgs::SerializedEntity>(Arena*);
88 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::SerializedState* Arena::CreateMaybeMessage<::ignition::msgs::SerializedState>(Arena*);
89 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::SerializedStep* Arena::CreateMaybeMessage<::ignition::msgs::SerializedStep>(Arena*);
90 PROTOBUF_NAMESPACE_CLOSE
96 class IGNITION_MSGS_VISIBLE SerializedComponent PROTOBUF_FINAL :
97 public ::PROTOBUF_NAMESPACE_ID::Message {
104 : SerializedComponent() {
105 *
this = ::std::move(from);
108 inline SerializedComponent&
operator=(
const SerializedComponent& from) {
112 inline SerializedComponent&
operator=(SerializedComponent&& from) noexcept {
113 if (GetArena() == from.GetArena()) {
114 if (
this != &from) InternalSwap(&from);
121 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
122 return GetDescriptor();
125 return GetMetadataStatic().descriptor;
128 return GetMetadataStatic().reflection;
133 return reinterpret_cast<const SerializedComponent*
>(
136 static constexpr
int kIndexInFileMessages =
139 friend void swap(SerializedComponent& a, SerializedComponent& b) {
142 inline void Swap(SerializedComponent* other) {
143 if (other ==
this)
return;
144 if (GetArena() == other->GetArena()) {
147 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
151 if (other ==
this)
return;
152 GOOGLE_DCHECK(GetArena() == other->GetArena());
158 inline SerializedComponent*
New() const final {
159 return CreateMaybeMessage<SerializedComponent>(
nullptr);
162 SerializedComponent*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
163 return CreateMaybeMessage<SerializedComponent>(arena);
165 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
166 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
169 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
170 bool IsInitialized() const final;
172 size_t ByteSizeLong() const final;
173 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
174 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
175 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
176 int GetCachedSize() const final {
return _cached_size_.Get(); }
179 inline void SharedCtor();
180 inline void SharedDtor();
181 void SetCachedSize(
int size)
const final;
182 void InternalSwap(SerializedComponent* other);
183 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
184 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
185 return "ignition.msgs.SerializedComponent";
190 static void ArenaDtor(
void*
object);
191 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
196 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
208 kComponentFieldNumber = 2,
209 kTypeFieldNumber = 1,
210 kRemoveFieldNumber = 3,
224 void _internal_set_component(
const std::string& value);
230 ::PROTOBUF_NAMESPACE_ID::uint64
type()
const;
231 void set_type(::PROTOBUF_NAMESPACE_ID::uint64 value);
233 ::PROTOBUF_NAMESPACE_ID::uint64 _internal_type()
const;
234 void _internal_set_type(::PROTOBUF_NAMESPACE_ID::uint64 value);
242 bool _internal_remove()
const;
243 void _internal_set_remove(
bool value);
250 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
251 typedef void InternalArenaConstructable_;
252 typedef void DestructorSkippable_;
253 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr component_;
254 ::PROTOBUF_NAMESPACE_ID::uint64 type_;
256 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
257 friend struct ::TableStruct_ignition_2fmsgs_2fserialized_2eproto;
262 public ::PROTOBUF_NAMESPACE_ID::Message {
269 : SerializedEntity() {
270 *
this = ::std::move(from);
273 inline SerializedEntity&
operator=(
const SerializedEntity& from) {
277 inline SerializedEntity&
operator=(SerializedEntity&& from) noexcept {
278 if (GetArena() == from.GetArena()) {
279 if (
this != &from) InternalSwap(&from);
286 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
287 return GetDescriptor();
290 return GetMetadataStatic().descriptor;
293 return GetMetadataStatic().reflection;
298 return reinterpret_cast<const SerializedEntity*
>(
301 static constexpr
int kIndexInFileMessages =
304 friend void swap(SerializedEntity& a, SerializedEntity& b) {
307 inline void Swap(SerializedEntity* other) {
308 if (other ==
this)
return;
309 if (GetArena() == other->GetArena()) {
312 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
316 if (other ==
this)
return;
317 GOOGLE_DCHECK(GetArena() == other->GetArena());
323 inline SerializedEntity*
New() const final {
324 return CreateMaybeMessage<SerializedEntity>(
nullptr);
327 SerializedEntity*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
328 return CreateMaybeMessage<SerializedEntity>(arena);
330 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
331 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
334 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
335 bool IsInitialized() const final;
337 size_t ByteSizeLong() const final;
338 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
339 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
340 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
341 int GetCachedSize() const final {
return _cached_size_.Get(); }
344 inline void SharedCtor();
345 inline void SharedDtor();
346 void SetCachedSize(
int size)
const final;
347 void InternalSwap(SerializedEntity* other);
348 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
349 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
350 return "ignition.msgs.SerializedEntity";
355 static void ArenaDtor(
void*
object);
356 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
361 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
373 kComponentsFieldNumber = 2,
375 kRemoveFieldNumber = 3,
380 int _internal_components_size()
const;
384 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::SerializedComponent >*
387 const ::ignition::msgs::SerializedComponent& _internal_components(
int index)
const;
388 ::ignition::msgs::SerializedComponent* _internal_add_components();
390 const ::ignition::msgs::SerializedComponent&
components(
int index)
const;
392 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::SerializedComponent >&
397 ::PROTOBUF_NAMESPACE_ID::uint64
id()
const;
398 void set_id(::PROTOBUF_NAMESPACE_ID::uint64 value);
400 ::PROTOBUF_NAMESPACE_ID::uint64 _internal_id()
const;
401 void _internal_set_id(::PROTOBUF_NAMESPACE_ID::uint64 value);
409 bool _internal_remove()
const;
410 void _internal_set_remove(
bool value);
417 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
418 typedef void InternalArenaConstructable_;
419 typedef void DestructorSkippable_;
420 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::SerializedComponent > components_;
421 ::PROTOBUF_NAMESPACE_ID::uint64 id_;
423 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
424 friend struct ::TableStruct_ignition_2fmsgs_2fserialized_2eproto;
429 public ::PROTOBUF_NAMESPACE_ID::Message {
436 : SerializedState() {
437 *
this = ::std::move(from);
440 inline SerializedState&
operator=(
const SerializedState& from) {
444 inline SerializedState&
operator=(SerializedState&& from) noexcept {
445 if (GetArena() == from.GetArena()) {
446 if (
this != &from) InternalSwap(&from);
453 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
454 return GetDescriptor();
457 return GetMetadataStatic().descriptor;
460 return GetMetadataStatic().reflection;
465 return reinterpret_cast<const SerializedState*
>(
468 static constexpr
int kIndexInFileMessages =
471 friend void swap(SerializedState& a, SerializedState& b) {
474 inline void Swap(SerializedState* other) {
475 if (other ==
this)
return;
476 if (GetArena() == other->GetArena()) {
479 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
483 if (other ==
this)
return;
484 GOOGLE_DCHECK(GetArena() == other->GetArena());
490 inline SerializedState*
New() const final {
491 return CreateMaybeMessage<SerializedState>(
nullptr);
494 SerializedState*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
495 return CreateMaybeMessage<SerializedState>(arena);
497 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
498 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
501 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
502 bool IsInitialized() const final;
504 size_t ByteSizeLong() const final;
505 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
506 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
507 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
508 int GetCachedSize() const final {
return _cached_size_.Get(); }
511 inline void SharedCtor();
512 inline void SharedDtor();
513 void SetCachedSize(
int size)
const final;
514 void InternalSwap(SerializedState* other);
515 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
516 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
517 return "ignition.msgs.SerializedState";
522 static void ArenaDtor(
void*
object);
523 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
528 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
540 kEntitiesFieldNumber = 2,
541 kHeaderFieldNumber = 1,
546 int _internal_entities_size()
const;
550 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::SerializedEntity >*
553 const ::ignition::msgs::SerializedEntity& _internal_entities(
int index)
const;
554 ::ignition::msgs::SerializedEntity* _internal_add_entities();
556 const ::ignition::msgs::SerializedEntity&
entities(
int index)
const;
558 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::SerializedEntity >&
564 bool _internal_has_header()
const;
567 const ::ignition::msgs::Header&
header()
const;
572 const ::ignition::msgs::Header& _internal_header()
const;
573 ::ignition::msgs::Header* _internal_mutable_header();
576 ::ignition::msgs::Header* header);
583 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
584 typedef void InternalArenaConstructable_;
585 typedef void DestructorSkippable_;
586 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::SerializedEntity > entities_;
587 ::ignition::msgs::Header* header_;
588 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
589 friend struct ::TableStruct_ignition_2fmsgs_2fserialized_2eproto;
594 public ::PROTOBUF_NAMESPACE_ID::Message {
602 *
this = ::std::move(from);
605 inline SerializedStep&
operator=(
const SerializedStep& from) {
609 inline SerializedStep&
operator=(SerializedStep&& from) noexcept {
610 if (GetArena() == from.GetArena()) {
611 if (
this != &from) InternalSwap(&from);
618 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
619 return GetDescriptor();
622 return GetMetadataStatic().descriptor;
625 return GetMetadataStatic().reflection;
630 return reinterpret_cast<const SerializedStep*
>(
633 static constexpr
int kIndexInFileMessages =
636 friend void swap(SerializedStep& a, SerializedStep& b) {
639 inline void Swap(SerializedStep* other) {
640 if (other ==
this)
return;
641 if (GetArena() == other->GetArena()) {
644 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
648 if (other ==
this)
return;
649 GOOGLE_DCHECK(GetArena() == other->GetArena());
655 inline SerializedStep*
New() const final {
656 return CreateMaybeMessage<SerializedStep>(
nullptr);
659 SerializedStep*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
660 return CreateMaybeMessage<SerializedStep>(arena);
662 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
663 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
666 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
667 bool IsInitialized() const final;
669 size_t ByteSizeLong() const final;
670 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
671 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
672 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
673 int GetCachedSize() const final {
return _cached_size_.Get(); }
676 inline void SharedCtor();
677 inline void SharedDtor();
678 void SetCachedSize(
int size)
const final;
679 void InternalSwap(SerializedStep* other);
680 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
681 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
682 return "ignition.msgs.SerializedStep";
687 static void ArenaDtor(
void*
object);
688 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
693 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
705 kStatsFieldNumber = 1,
706 kStateFieldNumber = 2,
711 bool _internal_has_stats()
const;
714 const ::ignition::msgs::WorldStatistics&
stats()
const;
719 const ::ignition::msgs::WorldStatistics& _internal_stats()
const;
720 ::ignition::msgs::WorldStatistics* _internal_mutable_stats();
723 ::ignition::msgs::WorldStatistics* stats);
729 bool _internal_has_state()
const;
732 const ::ignition::msgs::SerializedState&
state()
const;
737 const ::ignition::msgs::SerializedState& _internal_state()
const;
738 ::ignition::msgs::SerializedState* _internal_mutable_state();
741 ::ignition::msgs::SerializedState* state);
748 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
749 typedef void InternalArenaConstructable_;
750 typedef void DestructorSkippable_;
751 ::ignition::msgs::WorldStatistics* stats_;
752 ::ignition::msgs::SerializedState* state_;
753 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
754 friend struct ::TableStruct_ignition_2fmsgs_2fserialized_2eproto;
762 #pragma GCC diagnostic push
763 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
768 inline void SerializedComponent::clear_type() {
769 type_ = PROTOBUF_ULONGLONG(0);
771 inline ::PROTOBUF_NAMESPACE_ID::uint64 SerializedComponent::_internal_type()
const {
774 inline ::PROTOBUF_NAMESPACE_ID::uint64 SerializedComponent::type()
const {
776 return _internal_type();
778 inline void SerializedComponent::_internal_set_type(::PROTOBUF_NAMESPACE_ID::uint64 value) {
782 inline void SerializedComponent::set_type(::PROTOBUF_NAMESPACE_ID::uint64 value) {
783 _internal_set_type(value);
788 inline void SerializedComponent::clear_component() {
789 component_.ClearToEmpty();
791 inline const std::string& SerializedComponent::component()
const {
793 return _internal_component();
795 inline void SerializedComponent::set_component(
const std::string& value) {
796 _internal_set_component(value);
799 inline std::string* SerializedComponent::mutable_component() {
801 return _internal_mutable_component();
803 inline const std::string& SerializedComponent::_internal_component()
const {
804 return component_.Get();
806 inline void SerializedComponent::_internal_set_component(
const std::string& value) {
808 component_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
810 inline void SerializedComponent::set_component(
std::string&& value) {
813 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
816 inline void SerializedComponent::set_component(
const char* value) {
817 GOOGLE_DCHECK(value !=
nullptr);
819 component_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(value), GetArena());
822 inline void SerializedComponent::set_component(
const void* value,
825 component_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(
826 reinterpret_cast<const char*
>(value), size), GetArena());
829 inline std::string* SerializedComponent::_internal_mutable_component() {
831 return component_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
833 inline std::string* SerializedComponent::release_component() {
835 return component_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
837 inline void SerializedComponent::set_allocated_component(
std::string* component) {
838 if (component !=
nullptr) {
843 component_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), component,
849 inline void SerializedComponent::clear_remove() {
852 inline bool SerializedComponent::_internal_remove()
const {
855 inline bool SerializedComponent::remove()
const {
857 return _internal_remove();
859 inline void SerializedComponent::_internal_set_remove(
bool value) {
863 inline void SerializedComponent::set_remove(
bool value) {
864 _internal_set_remove(value);
873 inline void SerializedEntity::clear_id() {
874 id_ = PROTOBUF_ULONGLONG(0);
876 inline ::PROTOBUF_NAMESPACE_ID::uint64 SerializedEntity::_internal_id()
const {
879 inline ::PROTOBUF_NAMESPACE_ID::uint64 SerializedEntity::id()
const {
881 return _internal_id();
883 inline void SerializedEntity::_internal_set_id(::PROTOBUF_NAMESPACE_ID::uint64 value) {
887 inline void SerializedEntity::set_id(::PROTOBUF_NAMESPACE_ID::uint64 value) {
888 _internal_set_id(value);
893 inline int SerializedEntity::_internal_components_size()
const {
894 return components_.size();
896 inline int SerializedEntity::components_size()
const {
897 return _internal_components_size();
899 inline void SerializedEntity::clear_components() {
902 inline ::ignition::msgs::SerializedComponent* SerializedEntity::mutable_components(
int index) {
904 return components_.Mutable(index);
906 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::SerializedComponent >*
907 SerializedEntity::mutable_components() {
911 inline const ::ignition::msgs::SerializedComponent& SerializedEntity::_internal_components(
int index)
const {
912 return components_.Get(index);
914 inline const ::ignition::msgs::SerializedComponent& SerializedEntity::components(
int index)
const {
916 return _internal_components(index);
918 inline ::ignition::msgs::SerializedComponent* SerializedEntity::_internal_add_components() {
919 return components_.Add();
921 inline ::ignition::msgs::SerializedComponent* SerializedEntity::add_components() {
923 return _internal_add_components();
925 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::SerializedComponent >&
926 SerializedEntity::components()
const {
932 inline void SerializedEntity::clear_remove() {
935 inline bool SerializedEntity::_internal_remove()
const {
938 inline bool SerializedEntity::remove()
const {
940 return _internal_remove();
942 inline void SerializedEntity::_internal_set_remove(
bool value) {
946 inline void SerializedEntity::set_remove(
bool value) {
947 _internal_set_remove(value);
956 inline bool SerializedState::_internal_has_header()
const {
957 return this != internal_default_instance() && header_ !=
nullptr;
959 inline bool SerializedState::has_header()
const {
960 return _internal_has_header();
962 inline const ::ignition::msgs::Header& SerializedState::_internal_header()
const {
963 const ::ignition::msgs::Header* p = header_;
964 return p !=
nullptr ? *p :
reinterpret_cast<const ::ignition::msgs::Header&
>(
967 inline const ::ignition::msgs::Header& SerializedState::header()
const {
969 return _internal_header();
971 inline void SerializedState::unsafe_arena_set_allocated_header(
972 ::ignition::msgs::Header* header) {
973 if (GetArena() ==
nullptr) {
974 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
984 inline ::ignition::msgs::Header* SerializedState::release_header() {
986 ::ignition::msgs::Header* temp = header_;
988 if (GetArena() !=
nullptr) {
989 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
993 inline ::ignition::msgs::Header* SerializedState::unsafe_arena_release_header() {
996 ::ignition::msgs::Header* temp = header_;
1000 inline ::ignition::msgs::Header* SerializedState::_internal_mutable_header() {
1002 if (header_ ==
nullptr) {
1003 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
1008 inline ::ignition::msgs::Header* SerializedState::mutable_header() {
1010 return _internal_mutable_header();
1012 inline void SerializedState::set_allocated_header(::ignition::msgs::Header* header) {
1013 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1014 if (message_arena ==
nullptr) {
1015 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
1018 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1019 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header)->GetArena();
1020 if (message_arena != submessage_arena) {
1021 header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1022 message_arena, header, submessage_arena);
1033 inline int SerializedState::_internal_entities_size()
const {
1034 return entities_.size();
1036 inline int SerializedState::entities_size()
const {
1037 return _internal_entities_size();
1039 inline void SerializedState::clear_entities() {
1042 inline ::ignition::msgs::SerializedEntity* SerializedState::mutable_entities(
int index) {
1044 return entities_.Mutable(index);
1046 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::SerializedEntity >*
1047 SerializedState::mutable_entities() {
1051 inline const ::ignition::msgs::SerializedEntity& SerializedState::_internal_entities(
int index)
const {
1052 return entities_.Get(index);
1054 inline const ::ignition::msgs::SerializedEntity& SerializedState::entities(
int index)
const {
1056 return _internal_entities(index);
1058 inline ::ignition::msgs::SerializedEntity* SerializedState::_internal_add_entities() {
1059 return entities_.Add();
1061 inline ::ignition::msgs::SerializedEntity* SerializedState::add_entities() {
1063 return _internal_add_entities();
1065 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::SerializedEntity >&
1066 SerializedState::entities()
const {
1076 inline bool SerializedStep::_internal_has_stats()
const {
1077 return this != internal_default_instance() && stats_ !=
nullptr;
1079 inline bool SerializedStep::has_stats()
const {
1080 return _internal_has_stats();
1082 inline const ::ignition::msgs::WorldStatistics& SerializedStep::_internal_stats()
const {
1083 const ::ignition::msgs::WorldStatistics* p = stats_;
1084 return p !=
nullptr ? *p :
reinterpret_cast<const ::ignition::msgs::WorldStatistics&
>(
1087 inline const ::ignition::msgs::WorldStatistics& SerializedStep::stats()
const {
1089 return _internal_stats();
1091 inline void SerializedStep::unsafe_arena_set_allocated_stats(
1092 ::ignition::msgs::WorldStatistics* stats) {
1093 if (GetArena() ==
nullptr) {
1094 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(stats_);
1104 inline ::ignition::msgs::WorldStatistics* SerializedStep::release_stats() {
1106 ::ignition::msgs::WorldStatistics* temp = stats_;
1108 if (GetArena() !=
nullptr) {
1109 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1113 inline ::ignition::msgs::WorldStatistics* SerializedStep::unsafe_arena_release_stats() {
1116 ::ignition::msgs::WorldStatistics* temp = stats_;
1120 inline ::ignition::msgs::WorldStatistics* SerializedStep::_internal_mutable_stats() {
1122 if (stats_ ==
nullptr) {
1123 auto* p = CreateMaybeMessage<::ignition::msgs::WorldStatistics>(GetArena());
1128 inline ::ignition::msgs::WorldStatistics* SerializedStep::mutable_stats() {
1130 return _internal_mutable_stats();
1132 inline void SerializedStep::set_allocated_stats(::ignition::msgs::WorldStatistics* stats) {
1133 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1134 if (message_arena ==
nullptr) {
1135 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(stats_);
1138 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1139 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(stats)->GetArena();
1140 if (message_arena != submessage_arena) {
1141 stats = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1142 message_arena, stats, submessage_arena);
1153 inline bool SerializedStep::_internal_has_state()
const {
1154 return this != internal_default_instance() && state_ !=
nullptr;
1156 inline bool SerializedStep::has_state()
const {
1157 return _internal_has_state();
1159 inline void SerializedStep::clear_state() {
1160 if (GetArena() ==
nullptr && state_ !=
nullptr) {
1165 inline const ::ignition::msgs::SerializedState& SerializedStep::_internal_state()
const {
1166 const ::ignition::msgs::SerializedState* p = state_;
1167 return p !=
nullptr ? *p :
reinterpret_cast<const ::ignition::msgs::SerializedState&
>(
1170 inline const ::ignition::msgs::SerializedState& SerializedStep::state()
const {
1172 return _internal_state();
1174 inline void SerializedStep::unsafe_arena_set_allocated_state(
1175 ::ignition::msgs::SerializedState* state) {
1176 if (GetArena() ==
nullptr) {
1177 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(state_);
1187 inline ::ignition::msgs::SerializedState* SerializedStep::release_state() {
1189 ::ignition::msgs::SerializedState* temp = state_;
1191 if (GetArena() !=
nullptr) {
1192 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1196 inline ::ignition::msgs::SerializedState* SerializedStep::unsafe_arena_release_state() {
1199 ::ignition::msgs::SerializedState* temp = state_;
1203 inline ::ignition::msgs::SerializedState* SerializedStep::_internal_mutable_state() {
1205 if (state_ ==
nullptr) {
1206 auto* p = CreateMaybeMessage<::ignition::msgs::SerializedState>(GetArena());
1211 inline ::ignition::msgs::SerializedState* SerializedStep::mutable_state() {
1213 return _internal_mutable_state();
1215 inline void SerializedStep::set_allocated_state(::ignition::msgs::SerializedState* state) {
1216 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1217 if (message_arena ==
nullptr) {
1221 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1222 ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(state);
1223 if (message_arena != submessage_arena) {
1224 state = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1225 message_arena, state, submessage_arena);
1236 #pragma GCC diagnostic pop
1255 #pragma warning(pop)
1259 #include <google/protobuf/port_undef.inc>
Definition: actor.pb.h:98
virtual ~SerializedComponent()
void MergeFrom(const SerializedState &from)
SerializedStep(SerializedStep &&from) noexcept
Definition: serialized.pb.h:600
void CopyFrom(const SerializedComponent &from)
void set_allocated_stats(::ignition::msgs::WorldStatistics *stats)
static const SerializedEntity * internal_default_instance()
Definition: serialized.pb.h:297
void set_component(std::string &&value)
SerializedEntity()
Definition: serialized.pb.h:264
const ::ignition::msgs::SerializedState & state() const
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: serialized.pb.h:127
void unsafe_arena_set_allocated_state(::ignition::msgs::SerializedState *state)
SerializedStep & operator=(const SerializedStep &from)
Definition: serialized.pb.h:605
void set_remove(bool value)
SerializedEntity(::PROTOBUF_NAMESPACE_ID::Arena *arena)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void UnsafeArenaSwap(SerializedStep *other)
Definition: serialized.pb.h:647
::ignition::msgs::Header * release_header()
::ignition::msgs::WorldStatistics * release_stats()
void Swap(SerializedComponent *other)
Definition: serialized.pb.h:142
SerializedStep(const SerializedStep &from)
void set_id(::PROTOBUF_NAMESPACE_ID::uint64 value)
SerializedState & operator=(SerializedState &&from) noexcept
Definition: serialized.pb.h:444
::ignition::msgs::Header * mutable_header()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: serialized.pb.h:121
void UnsafeArenaSwap(SerializedEntity *other)
Definition: serialized.pb.h:315
void Swap(SerializedEntity *other)
Definition: serialized.pb.h:307
void CopyFrom(const SerializedStep &from)
SerializedStep & operator=(SerializedStep &&from) noexcept
Definition: serialized.pb.h:609
void unsafe_arena_set_allocated_stats(::ignition::msgs::WorldStatistics *stats)
void Swap(SerializedState *other)
Definition: serialized.pb.h:474
friend void swap(SerializedEntity &a, SerializedEntity &b)
Definition: serialized.pb.h:304
SerializedState(::PROTOBUF_NAMESPACE_ID::Arena *arena)
SerializedStep(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
const ::ignition::msgs::SerializedEntity & entities(int index) const
SerializedEntity & operator=(SerializedEntity &&from) noexcept
Definition: serialized.pb.h:277
static const SerializedComponent * internal_default_instance()
Definition: serialized.pb.h:132
const ::ignition::msgs::SerializedComponent & components(int index) const
friend void swap(SerializedComponent &a, SerializedComponent &b)
Definition: serialized.pb.h:139
int entities_size() const
SerializedComponent()
Definition: serialized.pb.h:99
void UnsafeArenaSwap(SerializedState *other)
Definition: serialized.pb.h:482
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
SerializedStep * New() const final
Definition: serialized.pb.h:655
void set_allocated_component(std::string *component)
friend void swap(SerializedStep &a, SerializedStep &b)
Definition: serialized.pb.h:636
::ignition::msgs::WorldStatistics * unsafe_arena_release_stats()
void MergeFrom(const SerializedStep &from)
SerializedComponent(const SerializedComponent &from)
SerializedState(SerializedState &&from) noexcept
Definition: serialized.pb.h:435
const ::ignition::msgs::WorldStatistics & stats() const
std::string * mutable_component()
static const SerializedEntity & default_instance()
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::SerializedComponent > & components() const
void set_type(::PROTOBUF_NAMESPACE_ID::uint64 value)
SerializedState & operator=(const SerializedState &from)
Definition: serialized.pb.h:440
virtual ~SerializedEntity()
::ignition::msgs::Header * unsafe_arena_release_header()
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void set_allocated_state(::ignition::msgs::SerializedState *state)
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::SerializedComponent > * mutable_components()
void CopyFrom(const SerializedState &from)
void MergeFrom(const SerializedComponent &from)
SerializedState * New() const final
Definition: serialized.pb.h:490
void set_component(const void *value, size_t size)
SerializedState(const SerializedState &from)
SerializedComponent(::PROTOBUF_NAMESPACE_ID::Arena *arena)
int components_size() const
SerializedEntity(const SerializedEntity &from)
friend void swap(SerializedState &a, SerializedState &b)
Definition: serialized.pb.h:471
::PROTOBUF_NAMESPACE_ID::uint64 id() const
void set_allocated_header(::ignition::msgs::Header *header)
::PROTOBUF_NAMESPACE_ID::uint64 type() const
SerializedStep()
Definition: serialized.pb.h:596
SerializedStep * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: serialized.pb.h:659
void set_component(const char *value)
const std::string & component() const
virtual ~SerializedStep()
void CopyFrom(const SerializedEntity &from)
SerializedState * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: serialized.pb.h:494
SerializedComponent * New() const final
Definition: serialized.pb.h:158
static const SerializedState * internal_default_instance()
Definition: serialized.pb.h:464
::ignition::msgs::SerializedState * release_state()
::ignition::msgs::SerializedEntity * mutable_entities(int index)
std::string * release_component()
::ignition::msgs::SerializedState * mutable_state()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void UnsafeArenaSwap(SerializedComponent *other)
Definition: serialized.pb.h:150
SerializedEntity * New() const final
Definition: serialized.pb.h:323
SerializedComponent & operator=(const SerializedComponent &from)
Definition: serialized.pb.h:108
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: serialized.pb.h:124
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::SerializedEntity > & entities() const
::ignition::msgs::SerializedComponent * add_components()
::ignition::msgs::SerializedComponent * mutable_components(int index)
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::SerializedEntity > * mutable_entities()
void MergeFrom(const SerializedEntity &from)
void Swap(SerializedStep *other)
Definition: serialized.pb.h:639
::ignition::msgs::SerializedState * unsafe_arena_release_state()
SerializedEntity * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: serialized.pb.h:327
SerializedEntity & operator=(const SerializedEntity &from)
Definition: serialized.pb.h:273
SerializedState()
Definition: serialized.pb.h:431
SerializedComponent(SerializedComponent &&from) noexcept
Definition: serialized.pb.h:103
static const SerializedState & default_instance()
SerializedComponent * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: serialized.pb.h:162
static const SerializedComponent & default_instance()
void set_component(const std::string &value)
static const SerializedStep * internal_default_instance()
Definition: serialized.pb.h:629
::ignition::msgs::WorldStatistics * mutable_stats()
SerializedEntity(SerializedEntity &&from) noexcept
Definition: serialized.pb.h:268
SerializedComponent & operator=(SerializedComponent &&from) noexcept
Definition: serialized.pb.h:112
const ::ignition::msgs::Header & header() const
virtual ~SerializedState()
::ignition::msgs::SerializedEntity * add_entities()
static const SerializedStep & default_instance()
IGNITION_MSGS_VISIBLE SerializedEntityDefaultTypeInternal _SerializedEntity_default_instance_
std::shared_ptr< SerializedComponent > SerializedComponentSharedPtr
Definition: serialized.pb.h:1247
IGNITION_MSGS_VISIBLE SerializedComponentDefaultTypeInternal _SerializedComponent_default_instance_
std::unique_ptr< const SerializedComponent > ConstSerializedComponentUniquePtr
Definition: serialized.pb.h:1246
IGNITION_MSGS_VISIBLE SerializedStepDefaultTypeInternal _SerializedStep_default_instance_
IGNITION_MSGS_VISIBLE WorldStatisticsDefaultTypeInternal _WorldStatistics_default_instance_
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::unique_ptr< SerializedComponent > SerializedComponentUniquePtr
Definition: serialized.pb.h:1245
IGNITION_MSGS_VISIBLE SerializedStateDefaultTypeInternal _SerializedState_default_instance_
std::shared_ptr< const SerializedComponent > ConstSerializedComponentSharedPtr
Definition: serialized.pb.h:1248
Definition: actor.pb.h:52
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fserialized_2eproto
Definition: serialized.pb.h:57
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[4] PROTOBUF_SECTION_VARIABLE(protodesc_cold)