Gazebo Msgs

API Reference

5.11.0
build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/serialized_map.proto
3 
4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2fserialized_5fmap_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2fserialized_5fmap_2eproto
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 3006001 < GOOGLE_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.
20 #endif
21 
22 #include <google/protobuf/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
29 #include <google/protobuf/message.h>
30 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
31 #include <google/protobuf/extension_set.h> // IWYU pragma: export
32 #include <google/protobuf/map.h> // IWYU pragma: export
33 #include <google/protobuf/map_entry.h>
34 #include <google/protobuf/map_field_inl.h>
35 #include <google/protobuf/unknown_field_set.h>
39 #ifndef _MSC_VER
40 #pragma GCC system_header
41 #else
42 #pragma warning(push)
43 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
44 #endif
45 #ifdef __linux__
46 #include <sys/sysmacros.h>
47 #endif
48 #include <memory>
49 #include <ignition/msgs/Export.hh>
50 // @@protoc_insertion_point(includes)
51 #define PROTOBUF_INTERNAL_EXPORT_protobuf_ignition_2fmsgs_2fserialized_5fmap_2eproto IGNITION_MSGS_VISIBLE
52 
54 // Internal implementation detail -- do not use these members.
55 struct IGNITION_MSGS_VISIBLE TableStruct {
56  static const ::google::protobuf::internal::ParseTableField entries[];
57  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
58  static const ::google::protobuf::internal::ParseTable schema[5];
59  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
60  static const ::google::protobuf::internal::SerializationTable serialization_table[];
61  static const ::google::protobuf::uint32 offsets[];
62 };
63 void IGNITION_MSGS_VISIBLE AddDescriptors();
64 } // namespace protobuf_ignition_2fmsgs_2fserialized_5fmap_2eproto
65 namespace ignition {
66 namespace msgs {
67 class SerializedEntityMap;
68 class SerializedEntityMapDefaultTypeInternal;
69 IGNITION_MSGS_VISIBLE extern SerializedEntityMapDefaultTypeInternal _SerializedEntityMap_default_instance_;
70 class SerializedEntityMap_ComponentsEntry_DoNotUse;
71 class SerializedEntityMap_ComponentsEntry_DoNotUseDefaultTypeInternal;
72 IGNITION_MSGS_VISIBLE extern SerializedEntityMap_ComponentsEntry_DoNotUseDefaultTypeInternal _SerializedEntityMap_ComponentsEntry_DoNotUse_default_instance_;
73 class SerializedStateMap;
74 class SerializedStateMapDefaultTypeInternal;
75 IGNITION_MSGS_VISIBLE extern SerializedStateMapDefaultTypeInternal _SerializedStateMap_default_instance_;
76 class SerializedStateMap_EntitiesEntry_DoNotUse;
77 class SerializedStateMap_EntitiesEntry_DoNotUseDefaultTypeInternal;
78 IGNITION_MSGS_VISIBLE extern SerializedStateMap_EntitiesEntry_DoNotUseDefaultTypeInternal _SerializedStateMap_EntitiesEntry_DoNotUse_default_instance_;
79 class SerializedStepMap;
80 class SerializedStepMapDefaultTypeInternal;
81 IGNITION_MSGS_VISIBLE extern SerializedStepMapDefaultTypeInternal _SerializedStepMap_default_instance_;
82 } // namespace msgs
83 } // namespace ignition
84 namespace google {
85 namespace protobuf {
86 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::SerializedEntityMap* Arena::CreateMaybeMessage<::ignition::msgs::SerializedEntityMap>(Arena*);
87 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::SerializedEntityMap_ComponentsEntry_DoNotUse* Arena::CreateMaybeMessage<::ignition::msgs::SerializedEntityMap_ComponentsEntry_DoNotUse>(Arena*);
88 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::SerializedStateMap* Arena::CreateMaybeMessage<::ignition::msgs::SerializedStateMap>(Arena*);
89 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::SerializedStateMap_EntitiesEntry_DoNotUse* Arena::CreateMaybeMessage<::ignition::msgs::SerializedStateMap_EntitiesEntry_DoNotUse>(Arena*);
90 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::SerializedStepMap* Arena::CreateMaybeMessage<::ignition::msgs::SerializedStepMap>(Arena*);
91 } // namespace protobuf
92 } // namespace google
93 namespace ignition {
94 namespace msgs {
95 
96 // ===================================================================
97 
98 class SerializedEntityMap_ComponentsEntry_DoNotUse : public ::google::protobuf::internal::MapEntry<SerializedEntityMap_ComponentsEntry_DoNotUse,
99  ::google::protobuf::int64, ::ignition::msgs::SerializedComponent,
100  ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
101  ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE,
102  0 > {
103 public:
104  typedef ::google::protobuf::internal::MapEntry<SerializedEntityMap_ComponentsEntry_DoNotUse,
105  ::google::protobuf::int64, ::ignition::msgs::SerializedComponent,
106  ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
107  ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE,
110  SerializedEntityMap_ComponentsEntry_DoNotUse(::google::protobuf::Arena* arena);
113  void MergeFrom(const ::google::protobuf::Message& other) final;
114  ::google::protobuf::Metadata GetMetadata() const;
115 };
116 
117 // -------------------------------------------------------------------
118 
119 class IGNITION_MSGS_VISIBLE SerializedEntityMap : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.SerializedEntityMap) */ {
120  public:
122  virtual ~SerializedEntityMap();
123 
125 
127  CopyFrom(from);
128  return *this;
129  }
130  #if LANG_CXX11
132  : SerializedEntityMap() {
133  *this = ::std::move(from);
134  }
135 
136  inline SerializedEntityMap& operator=(SerializedEntityMap&& from) noexcept {
137  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
138  if (this != &from) InternalSwap(&from);
139  } else {
140  CopyFrom(from);
141  }
142  return *this;
143  }
144  #endif
145  static const ::google::protobuf::Descriptor* descriptor();
146  static const SerializedEntityMap& default_instance();
147 
148  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
150  return reinterpret_cast<const SerializedEntityMap*>(
152  }
153  static constexpr int kIndexInFileMessages =
154  1;
155 
156  void Swap(SerializedEntityMap* other);
158  a.Swap(&b);
159  }
160 
161  // implements Message ----------------------------------------------
162 
163  inline SerializedEntityMap* New() const final {
164  return CreateMaybeMessage<SerializedEntityMap>(NULL);
165  }
166 
167  SerializedEntityMap* New(::google::protobuf::Arena* arena) const final {
168  return CreateMaybeMessage<SerializedEntityMap>(arena);
169  }
170  void CopyFrom(const ::google::protobuf::Message& from) final;
171  void MergeFrom(const ::google::protobuf::Message& from) final;
172  void CopyFrom(const SerializedEntityMap& from);
173  void MergeFrom(const SerializedEntityMap& from);
174  void Clear() final;
175  bool IsInitialized() const final;
176 
177  size_t ByteSizeLong() const final;
178  bool MergePartialFromCodedStream(
179  ::google::protobuf::io::CodedInputStream* input) final;
180  void SerializeWithCachedSizes(
181  ::google::protobuf::io::CodedOutputStream* output) const final;
182  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
183  bool deterministic, ::google::protobuf::uint8* target) const final;
184  int GetCachedSize() const final { return _cached_size_.Get(); }
185 
186  private:
187  void SharedCtor();
188  void SharedDtor();
189  void SetCachedSize(int size) const final;
190  void InternalSwap(SerializedEntityMap* other);
191  private:
192  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
193  return NULL;
194  }
195  inline void* MaybeArenaPtr() const {
196  return NULL;
197  }
198  public:
199 
200  ::google::protobuf::Metadata GetMetadata() const final;
201 
202  // nested types ----------------------------------------------------
203 
204 
205  // accessors -------------------------------------------------------
206 
207  // map<int64, .ignition.msgs.SerializedComponent> components = 2;
208  int components_size() const;
209  void clear_components();
210  static const int kComponentsFieldNumber = 2;
211  const ::google::protobuf::Map< ::google::protobuf::int64, ::ignition::msgs::SerializedComponent >&
212  components() const;
213  ::google::protobuf::Map< ::google::protobuf::int64, ::ignition::msgs::SerializedComponent >*
214  mutable_components();
215 
216  // uint64 id = 1;
217  void clear_id();
218  static const int kIdFieldNumber = 1;
219  ::google::protobuf::uint64 id() const;
220  void set_id(::google::protobuf::uint64 value);
221 
222  // bool remove = 3;
223  void clear_remove();
224  static const int kRemoveFieldNumber = 3;
225  bool remove() const;
226  void set_remove(bool value);
227 
228  // @@protoc_insertion_point(class_scope:ignition.msgs.SerializedEntityMap)
229  private:
230 
231  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
232  ::google::protobuf::internal::MapField<
234  ::google::protobuf::int64, ::ignition::msgs::SerializedComponent,
235  ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
236  ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE,
237  0 > components_;
238  ::google::protobuf::uint64 id_;
239  bool remove_;
240  mutable ::google::protobuf::internal::CachedSize _cached_size_;
242 };
243 // -------------------------------------------------------------------
244 
246  ::google::protobuf::uint64, ::ignition::msgs::SerializedEntityMap,
247  ::google::protobuf::internal::WireFormatLite::TYPE_UINT64,
248  ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE,
249  0 > {
250 public:
251  typedef ::google::protobuf::internal::MapEntry<SerializedStateMap_EntitiesEntry_DoNotUse,
252  ::google::protobuf::uint64, ::ignition::msgs::SerializedEntityMap,
253  ::google::protobuf::internal::WireFormatLite::TYPE_UINT64,
254  ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE,
257  SerializedStateMap_EntitiesEntry_DoNotUse(::google::protobuf::Arena* arena);
258  void MergeFrom(const SerializedStateMap_EntitiesEntry_DoNotUse& other);
260  void MergeFrom(const ::google::protobuf::Message& other) final;
261  ::google::protobuf::Metadata GetMetadata() const;
262 };
263 
264 // -------------------------------------------------------------------
265 
266 class IGNITION_MSGS_VISIBLE SerializedStateMap : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.SerializedStateMap) */ {
267  public:
269  virtual ~SerializedStateMap();
270 
272 
274  CopyFrom(from);
275  return *this;
276  }
277  #if LANG_CXX11
278  SerializedStateMap(SerializedStateMap&& from) noexcept
279  : SerializedStateMap() {
280  *this = ::std::move(from);
281  }
282 
283  inline SerializedStateMap& operator=(SerializedStateMap&& from) noexcept {
284  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
285  if (this != &from) InternalSwap(&from);
286  } else {
287  CopyFrom(from);
288  }
289  return *this;
290  }
291  #endif
292  static const ::google::protobuf::Descriptor* descriptor();
293  static const SerializedStateMap& default_instance();
294 
295  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
297  return reinterpret_cast<const SerializedStateMap*>(
299  }
300  static constexpr int kIndexInFileMessages =
301  3;
302 
303  void Swap(SerializedStateMap* other);
305  a.Swap(&b);
306  }
307 
308  // implements Message ----------------------------------------------
309 
310  inline SerializedStateMap* New() const final {
311  return CreateMaybeMessage<SerializedStateMap>(NULL);
312  }
313 
314  SerializedStateMap* New(::google::protobuf::Arena* arena) const final {
315  return CreateMaybeMessage<SerializedStateMap>(arena);
316  }
317  void CopyFrom(const ::google::protobuf::Message& from) final;
318  void MergeFrom(const ::google::protobuf::Message& from) final;
319  void CopyFrom(const SerializedStateMap& from);
320  void MergeFrom(const SerializedStateMap& from);
321  void Clear() final;
322  bool IsInitialized() const final;
323 
324  size_t ByteSizeLong() const final;
325  bool MergePartialFromCodedStream(
326  ::google::protobuf::io::CodedInputStream* input) final;
327  void SerializeWithCachedSizes(
328  ::google::protobuf::io::CodedOutputStream* output) const final;
329  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
330  bool deterministic, ::google::protobuf::uint8* target) const final;
331  int GetCachedSize() const final { return _cached_size_.Get(); }
332 
333  private:
334  void SharedCtor();
335  void SharedDtor();
336  void SetCachedSize(int size) const final;
337  void InternalSwap(SerializedStateMap* other);
338  private:
339  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
340  return NULL;
341  }
342  inline void* MaybeArenaPtr() const {
343  return NULL;
344  }
345  public:
346 
347  ::google::protobuf::Metadata GetMetadata() const final;
348 
349  // nested types ----------------------------------------------------
350 
351 
352  // accessors -------------------------------------------------------
353 
354  // map<uint64, .ignition.msgs.SerializedEntityMap> entities = 2;
355  int entities_size() const;
356  void clear_entities();
357  static const int kEntitiesFieldNumber = 2;
358  const ::google::protobuf::Map< ::google::protobuf::uint64, ::ignition::msgs::SerializedEntityMap >&
359  entities() const;
360  ::google::protobuf::Map< ::google::protobuf::uint64, ::ignition::msgs::SerializedEntityMap >*
361  mutable_entities();
362 
363  // .ignition.msgs.Header header = 1;
364  bool has_header() const;
365  void clear_header();
366  static const int kHeaderFieldNumber = 1;
367  private:
368  const ::ignition::msgs::Header& _internal_header() const;
369  public:
370  const ::ignition::msgs::Header& header() const;
371  ::ignition::msgs::Header* release_header();
372  ::ignition::msgs::Header* mutable_header();
373  void set_allocated_header(::ignition::msgs::Header* header);
374 
375  // @@protoc_insertion_point(class_scope:ignition.msgs.SerializedStateMap)
376  private:
377 
378  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
379  ::google::protobuf::internal::MapField<
381  ::google::protobuf::uint64, ::ignition::msgs::SerializedEntityMap,
382  ::google::protobuf::internal::WireFormatLite::TYPE_UINT64,
383  ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE,
384  0 > entities_;
385  ::ignition::msgs::Header* header_;
386  mutable ::google::protobuf::internal::CachedSize _cached_size_;
388 };
389 // -------------------------------------------------------------------
390 
391 class IGNITION_MSGS_VISIBLE SerializedStepMap : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.SerializedStepMap) */ {
392  public:
394  virtual ~SerializedStepMap();
395 
397 
399  CopyFrom(from);
400  return *this;
401  }
402  #if LANG_CXX11
403  SerializedStepMap(SerializedStepMap&& from) noexcept
404  : SerializedStepMap() {
405  *this = ::std::move(from);
406  }
407 
408  inline SerializedStepMap& operator=(SerializedStepMap&& from) noexcept {
409  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
410  if (this != &from) InternalSwap(&from);
411  } else {
412  CopyFrom(from);
413  }
414  return *this;
415  }
416  #endif
417  static const ::google::protobuf::Descriptor* descriptor();
418  static const SerializedStepMap& default_instance();
419 
420  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
422  return reinterpret_cast<const SerializedStepMap*>(
424  }
425  static constexpr int kIndexInFileMessages =
426  4;
427 
428  void Swap(SerializedStepMap* other);
430  a.Swap(&b);
431  }
432 
433  // implements Message ----------------------------------------------
434 
435  inline SerializedStepMap* New() const final {
436  return CreateMaybeMessage<SerializedStepMap>(NULL);
437  }
438 
439  SerializedStepMap* New(::google::protobuf::Arena* arena) const final {
440  return CreateMaybeMessage<SerializedStepMap>(arena);
441  }
442  void CopyFrom(const ::google::protobuf::Message& from) final;
443  void MergeFrom(const ::google::protobuf::Message& from) final;
444  void CopyFrom(const SerializedStepMap& from);
445  void MergeFrom(const SerializedStepMap& from);
446  void Clear() final;
447  bool IsInitialized() const final;
448 
449  size_t ByteSizeLong() const final;
450  bool MergePartialFromCodedStream(
451  ::google::protobuf::io::CodedInputStream* input) final;
452  void SerializeWithCachedSizes(
453  ::google::protobuf::io::CodedOutputStream* output) const final;
454  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
455  bool deterministic, ::google::protobuf::uint8* target) const final;
456  int GetCachedSize() const final { return _cached_size_.Get(); }
457 
458  private:
459  void SharedCtor();
460  void SharedDtor();
461  void SetCachedSize(int size) const final;
462  void InternalSwap(SerializedStepMap* other);
463  private:
464  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
465  return NULL;
466  }
467  inline void* MaybeArenaPtr() const {
468  return NULL;
469  }
470  public:
471 
472  ::google::protobuf::Metadata GetMetadata() const final;
473 
474  // nested types ----------------------------------------------------
475 
476  // accessors -------------------------------------------------------
477 
478  // .ignition.msgs.WorldStatistics stats = 1;
479  bool has_stats() const;
480  void clear_stats();
481  static const int kStatsFieldNumber = 1;
482  private:
483  const ::ignition::msgs::WorldStatistics& _internal_stats() const;
484  public:
485  const ::ignition::msgs::WorldStatistics& stats() const;
486  ::ignition::msgs::WorldStatistics* release_stats();
487  ::ignition::msgs::WorldStatistics* mutable_stats();
488  void set_allocated_stats(::ignition::msgs::WorldStatistics* stats);
489 
490  // .ignition.msgs.SerializedStateMap state = 2;
491  bool has_state() const;
492  void clear_state();
493  static const int kStateFieldNumber = 2;
494  private:
495  const ::ignition::msgs::SerializedStateMap& _internal_state() const;
496  public:
497  const ::ignition::msgs::SerializedStateMap& state() const;
498  ::ignition::msgs::SerializedStateMap* release_state();
499  ::ignition::msgs::SerializedStateMap* mutable_state();
500  void set_allocated_state(::ignition::msgs::SerializedStateMap* state);
501 
502  // @@protoc_insertion_point(class_scope:ignition.msgs.SerializedStepMap)
503  private:
504 
505  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
506  ::ignition::msgs::WorldStatistics* stats_;
507  ::ignition::msgs::SerializedStateMap* state_;
508  mutable ::google::protobuf::internal::CachedSize _cached_size_;
510 };
511 // ===================================================================
512 
513 
514 // ===================================================================
515 
516 #ifdef __GNUC__
517  #pragma GCC diagnostic push
518  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
519 #endif // __GNUC__
520 // -------------------------------------------------------------------
521 
522 // SerializedEntityMap
523 
524 // uint64 id = 1;
526  id_ = GOOGLE_ULONGLONG(0);
527 }
528 inline ::google::protobuf::uint64 SerializedEntityMap::id() const {
529  // @@protoc_insertion_point(field_get:ignition.msgs.SerializedEntityMap.id)
530  return id_;
531 }
532 inline void SerializedEntityMap::set_id(::google::protobuf::uint64 value) {
533 
534  id_ = value;
535  // @@protoc_insertion_point(field_set:ignition.msgs.SerializedEntityMap.id)
536 }
537 
538 // map<int64, .ignition.msgs.SerializedComponent> components = 2;
540  return components_.size();
541 }
542 inline const ::google::protobuf::Map< ::google::protobuf::int64, ::ignition::msgs::SerializedComponent >&
544  // @@protoc_insertion_point(field_map:ignition.msgs.SerializedEntityMap.components)
545  return components_.GetMap();
546 }
547 inline ::google::protobuf::Map< ::google::protobuf::int64, ::ignition::msgs::SerializedComponent >*
549  // @@protoc_insertion_point(field_mutable_map:ignition.msgs.SerializedEntityMap.components)
550  return components_.MutableMap();
551 }
552 
553 // bool remove = 3;
555  remove_ = false;
556 }
557 inline bool SerializedEntityMap::remove() const {
558  // @@protoc_insertion_point(field_get:ignition.msgs.SerializedEntityMap.remove)
559  return remove_;
560 }
561 inline void SerializedEntityMap::set_remove(bool value) {
562 
563  remove_ = value;
564  // @@protoc_insertion_point(field_set:ignition.msgs.SerializedEntityMap.remove)
565 }
566 
567 // -------------------------------------------------------------------
568 
569 // -------------------------------------------------------------------
570 
571 // SerializedStateMap
572 
573 // .ignition.msgs.Header header = 1;
574 inline bool SerializedStateMap::has_header() const {
575  return this != internal_default_instance() && header_ != NULL;
576 }
577 inline const ::ignition::msgs::Header& SerializedStateMap::_internal_header() const {
578  return *header_;
579 }
580 inline const ::ignition::msgs::Header& SerializedStateMap::header() const {
581  const ::ignition::msgs::Header* p = header_;
582  // @@protoc_insertion_point(field_get:ignition.msgs.SerializedStateMap.header)
583  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
585 }
586 inline ::ignition::msgs::Header* SerializedStateMap::release_header() {
587  // @@protoc_insertion_point(field_release:ignition.msgs.SerializedStateMap.header)
588 
589  ::ignition::msgs::Header* temp = header_;
590  header_ = NULL;
591  return temp;
592 }
593 inline ::ignition::msgs::Header* SerializedStateMap::mutable_header() {
594 
595  if (header_ == NULL) {
596  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
597  header_ = p;
598  }
599  // @@protoc_insertion_point(field_mutable:ignition.msgs.SerializedStateMap.header)
600  return header_;
601 }
603  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
604  if (message_arena == NULL) {
605  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
606  }
607  if (header) {
608  ::google::protobuf::Arena* submessage_arena = NULL;
609  if (message_arena != submessage_arena) {
610  header = ::google::protobuf::internal::GetOwnedMessage(
611  message_arena, header, submessage_arena);
612  }
613 
614  } else {
615 
616  }
617  header_ = header;
618  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.SerializedStateMap.header)
619 }
620 
621 // map<uint64, .ignition.msgs.SerializedEntityMap> entities = 2;
623  return entities_.size();
624 }
626  entities_.Clear();
627 }
628 inline const ::google::protobuf::Map< ::google::protobuf::uint64, ::ignition::msgs::SerializedEntityMap >&
630  // @@protoc_insertion_point(field_map:ignition.msgs.SerializedStateMap.entities)
631  return entities_.GetMap();
632 }
633 inline ::google::protobuf::Map< ::google::protobuf::uint64, ::ignition::msgs::SerializedEntityMap >*
635  // @@protoc_insertion_point(field_mutable_map:ignition.msgs.SerializedStateMap.entities)
636  return entities_.MutableMap();
637 }
638 
639 // -------------------------------------------------------------------
640 
641 // SerializedStepMap
642 
643 // .ignition.msgs.WorldStatistics stats = 1;
644 inline bool SerializedStepMap::has_stats() const {
645  return this != internal_default_instance() && stats_ != NULL;
646 }
647 inline const ::ignition::msgs::WorldStatistics& SerializedStepMap::_internal_stats() const {
648  return *stats_;
649 }
650 inline const ::ignition::msgs::WorldStatistics& SerializedStepMap::stats() const {
651  const ::ignition::msgs::WorldStatistics* p = stats_;
652  // @@protoc_insertion_point(field_get:ignition.msgs.SerializedStepMap.stats)
653  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::WorldStatistics*>(
655 }
656 inline ::ignition::msgs::WorldStatistics* SerializedStepMap::release_stats() {
657  // @@protoc_insertion_point(field_release:ignition.msgs.SerializedStepMap.stats)
658 
659  ::ignition::msgs::WorldStatistics* temp = stats_;
660  stats_ = NULL;
661  return temp;
662 }
663 inline ::ignition::msgs::WorldStatistics* SerializedStepMap::mutable_stats() {
664 
665  if (stats_ == NULL) {
666  auto* p = CreateMaybeMessage<::ignition::msgs::WorldStatistics>(GetArenaNoVirtual());
667  stats_ = p;
668  }
669  // @@protoc_insertion_point(field_mutable:ignition.msgs.SerializedStepMap.stats)
670  return stats_;
671 }
673  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
674  if (message_arena == NULL) {
675  delete reinterpret_cast< ::google::protobuf::MessageLite*>(stats_);
676  }
677  if (stats) {
678  ::google::protobuf::Arena* submessage_arena = NULL;
679  if (message_arena != submessage_arena) {
680  stats = ::google::protobuf::internal::GetOwnedMessage(
681  message_arena, stats, submessage_arena);
682  }
683 
684  } else {
685 
686  }
687  stats_ = stats;
688  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.SerializedStepMap.stats)
689 }
690 
691 // .ignition.msgs.SerializedStateMap state = 2;
692 inline bool SerializedStepMap::has_state() const {
693  return this != internal_default_instance() && state_ != NULL;
694 }
696  if (GetArenaNoVirtual() == NULL && state_ != NULL) {
697  delete state_;
698  }
699  state_ = NULL;
700 }
701 inline const ::ignition::msgs::SerializedStateMap& SerializedStepMap::_internal_state() const {
702  return *state_;
703 }
704 inline const ::ignition::msgs::SerializedStateMap& SerializedStepMap::state() const {
705  const ::ignition::msgs::SerializedStateMap* p = state_;
706  // @@protoc_insertion_point(field_get:ignition.msgs.SerializedStepMap.state)
707  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::SerializedStateMap*>(
709 }
710 inline ::ignition::msgs::SerializedStateMap* SerializedStepMap::release_state() {
711  // @@protoc_insertion_point(field_release:ignition.msgs.SerializedStepMap.state)
712 
714  state_ = NULL;
715  return temp;
716 }
717 inline ::ignition::msgs::SerializedStateMap* SerializedStepMap::mutable_state() {
718 
719  if (state_ == NULL) {
720  auto* p = CreateMaybeMessage<::ignition::msgs::SerializedStateMap>(GetArenaNoVirtual());
721  state_ = p;
722  }
723  // @@protoc_insertion_point(field_mutable:ignition.msgs.SerializedStepMap.state)
724  return state_;
725 }
727  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
728  if (message_arena == NULL) {
729  delete state_;
730  }
731  if (state) {
732  ::google::protobuf::Arena* submessage_arena = NULL;
733  if (message_arena != submessage_arena) {
734  state = ::google::protobuf::internal::GetOwnedMessage(
735  message_arena, state, submessage_arena);
736  }
737 
738  } else {
739 
740  }
741  state_ = state;
742  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.SerializedStepMap.state)
743 }
744 
745 #ifdef __GNUC__
746  #pragma GCC diagnostic pop
747 #endif // __GNUC__
748 // -------------------------------------------------------------------
749 
750 // -------------------------------------------------------------------
751 
752 // -------------------------------------------------------------------
753 
754 // -------------------------------------------------------------------
755 
756 
761 // @@protoc_insertion_point(namespace_scope)
762 
763 } // namespace msgs
764 } // namespace ignition
765 
766 #ifdef _MSC_VER
767 #pragma warning(pop)
768 #endif
769 // @@protoc_insertion_point(global_scope)
770 
771 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2fserialized_5fmap_2eproto
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:55
IGNITION_MSGS_VISIBLE SerializedStateMapDefaultTypeInternal _SerializedStateMap_default_instance_
SerializedStateMap * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:314
friend void swap(SerializedStepMap &a, SerializedStepMap &b)
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:429
STL class.
bool has_header() const
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:574
const ::ignition::msgs::SerializedStateMap & state() const
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:704
SerializedStepMap * New() const final
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:435
int entities_size() const
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:622
void clear_entities()
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:625
IGNITION_MSGS_VISIBLE SerializedStateMap_EntitiesEntry_DoNotUseDefaultTypeInternal _SerializedStateMap_EntitiesEntry_DoNotUse_default_instance_
SerializedStateMap * New() const final
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:310
void set_allocated_state(::ignition::msgs::SerializedStateMap *state)
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:726
SerializedEntityMap * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:167
const ::google::protobuf::Map< ::google::protobuf::int64, ::ignition::msgs::SerializedComponent > & components() const
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:543
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:266
SerializedEntityMap * New() const final
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:163
void MergeFrom(const SerializedEntityMap_ComponentsEntry_DoNotUse &other)
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:245
::google::protobuf::uint64 id() const
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:528
IGNITION_MSGS_VISIBLE SerializedEntityMap_ComponentsEntry_DoNotUseDefaultTypeInternal _SerializedEntityMap_ComponentsEntry_DoNotUse_default_instance_
::google::protobuf::internal::MapEntry< SerializedStateMap_EntitiesEntry_DoNotUse, ::google::protobuf::uint64, ::ignition::msgs::SerializedEntityMap, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64, ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE, 0 > SuperType
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:255
::ignition::msgs::WorldStatistics * release_stats()
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:656
std::shared_ptr< const SerializedEntityMap > ConstSerializedEntityMapSharedPtr
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:760
void clear_id()
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:525
::ignition::msgs::SerializedStateMap * release_state()
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:710
const ::ignition::msgs::Header & header() const
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:580
static const SerializedStateMap_EntitiesEntry_DoNotUse * internal_default_instance()
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:259
Definition: build/ignition-msgs5/include/ignition/msgs/world_stats.pb.h:79
void set_remove(bool value)
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:561
SerializedStepMap * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:439
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:391
std::shared_ptr< SerializedEntityMap > SerializedEntityMapSharedPtr
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:759
SerializedEntityMap & operator=(const SerializedEntityMap &from)
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:126
::ignition::msgs::WorldStatistics * mutable_stats()
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:663
void clear_state()
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:695
::ignition::msgs::Header * mutable_header()
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:593
void Swap(SerializedStateMap *other)
IGNITION_MSGS_VISIBLE SerializedEntityMapDefaultTypeInternal _SerializedEntityMap_default_instance_
std::unique_ptr< const SerializedEntityMap > ConstSerializedEntityMapUniquePtr
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:758
friend void swap(SerializedEntityMap &a, SerializedEntityMap &b)
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:157
SerializedStateMap & operator=(const SerializedStateMap &from)
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:273
SerializedStepMap & operator=(const SerializedStepMap &from)
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:398
void Swap(SerializedStepMap *other)
void set_allocated_stats(::ignition::msgs::WorldStatistics *stats)
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:672
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:119
::ignition::msgs::Header * release_header()
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:586
static const SerializedEntityMap * internal_default_instance()
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:149
void clear_remove()
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:554
IGNITION_MSGS_VISIBLE WorldStatisticsDefaultTypeInternal _WorldStatistics_default_instance_
void Swap(SerializedEntityMap *other)
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:90
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:53
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
int components_size() const
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:539
bool remove() const
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:557
Definition: build/ignition-msgs5/include/ignition/msgs/header.pb.h:215
static const SerializedStepMap * internal_default_instance()
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:421
bool has_stats() const
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:644
const ::google::protobuf::Map< ::google::protobuf::uint64, ::ignition::msgs::SerializedEntityMap > & entities() const
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:629
::google::protobuf::Map< ::google::protobuf::int64, ::ignition::msgs::SerializedComponent > * mutable_components()
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:548
::google::protobuf::internal::MapEntry< SerializedEntityMap_ComponentsEntry_DoNotUse, ::google::protobuf::int64, ::ignition::msgs::SerializedComponent, ::google::protobuf::internal::WireFormatLite::TYPE_INT64, ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE, 0 > SuperType
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:108
const ::ignition::msgs::WorldStatistics & stats() const
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:650
::google::protobuf::Map< ::google::protobuf::uint64, ::ignition::msgs::SerializedEntityMap > * mutable_entities()
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:634
STL class.
bool has_state() const
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:692
std::unique_ptr< SerializedEntityMap > SerializedEntityMapUniquePtr
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:757
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:98
static const SerializedEntityMap_ComponentsEntry_DoNotUse * internal_default_instance()
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:112
friend void swap(SerializedStateMap &a, SerializedStateMap &b)
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:304
::ignition::msgs::SerializedStateMap * mutable_state()
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:717
void set_allocated_header(::ignition::msgs::Header *header)
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:602
static const SerializedStateMap * internal_default_instance()
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:296
void set_id(::google::protobuf::uint64 value)
Definition: build/ignition-msgs5/include/ignition/msgs/serialized_map.pb.h:532
Definition: build/ignition-msgs5/include/ignition/msgs/actor.pb.h:78
IGNITION_MSGS_VISIBLE SerializedStepMapDefaultTypeInternal _SerializedStepMap_default_instance_