Gazebo Msgs

API Reference

8.7.0
build/ignition-msgs8/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  // bool has_one_time_component_changes = 3;
376  void clear_has_one_time_component_changes();
377  static const int kHasOneTimeComponentChangesFieldNumber = 3;
378  bool has_one_time_component_changes() const;
379  void set_has_one_time_component_changes(bool value);
380 
381  // @@protoc_insertion_point(class_scope:ignition.msgs.SerializedStateMap)
382  private:
383 
384  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
385  ::google::protobuf::internal::MapField<
387  ::google::protobuf::uint64, ::ignition::msgs::SerializedEntityMap,
388  ::google::protobuf::internal::WireFormatLite::TYPE_UINT64,
389  ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE,
390  0 > entities_;
391  ::ignition::msgs::Header* header_;
392  bool has_one_time_component_changes_;
393  mutable ::google::protobuf::internal::CachedSize _cached_size_;
395 };
396 // -------------------------------------------------------------------
397 
398 class IGNITION_MSGS_VISIBLE SerializedStepMap : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.SerializedStepMap) */ {
399  public:
401  virtual ~SerializedStepMap();
402 
404 
406  CopyFrom(from);
407  return *this;
408  }
409  #if LANG_CXX11
410  SerializedStepMap(SerializedStepMap&& from) noexcept
411  : SerializedStepMap() {
412  *this = ::std::move(from);
413  }
414 
415  inline SerializedStepMap& operator=(SerializedStepMap&& from) noexcept {
416  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
417  if (this != &from) InternalSwap(&from);
418  } else {
419  CopyFrom(from);
420  }
421  return *this;
422  }
423  #endif
424  static const ::google::protobuf::Descriptor* descriptor();
425  static const SerializedStepMap& default_instance();
426 
427  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
429  return reinterpret_cast<const SerializedStepMap*>(
431  }
432  static constexpr int kIndexInFileMessages =
433  4;
434 
435  void Swap(SerializedStepMap* other);
437  a.Swap(&b);
438  }
439 
440  // implements Message ----------------------------------------------
441 
442  inline SerializedStepMap* New() const final {
443  return CreateMaybeMessage<SerializedStepMap>(NULL);
444  }
445 
446  SerializedStepMap* New(::google::protobuf::Arena* arena) const final {
447  return CreateMaybeMessage<SerializedStepMap>(arena);
448  }
449  void CopyFrom(const ::google::protobuf::Message& from) final;
450  void MergeFrom(const ::google::protobuf::Message& from) final;
451  void CopyFrom(const SerializedStepMap& from);
452  void MergeFrom(const SerializedStepMap& from);
453  void Clear() final;
454  bool IsInitialized() const final;
455 
456  size_t ByteSizeLong() const final;
457  bool MergePartialFromCodedStream(
458  ::google::protobuf::io::CodedInputStream* input) final;
459  void SerializeWithCachedSizes(
460  ::google::protobuf::io::CodedOutputStream* output) const final;
461  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
462  bool deterministic, ::google::protobuf::uint8* target) const final;
463  int GetCachedSize() const final { return _cached_size_.Get(); }
464 
465  private:
466  void SharedCtor();
467  void SharedDtor();
468  void SetCachedSize(int size) const final;
469  void InternalSwap(SerializedStepMap* other);
470  private:
471  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
472  return NULL;
473  }
474  inline void* MaybeArenaPtr() const {
475  return NULL;
476  }
477  public:
478 
479  ::google::protobuf::Metadata GetMetadata() const final;
480 
481  // nested types ----------------------------------------------------
482 
483  // accessors -------------------------------------------------------
484 
485  // .ignition.msgs.WorldStatistics stats = 1;
486  bool has_stats() const;
487  void clear_stats();
488  static const int kStatsFieldNumber = 1;
489  private:
490  const ::ignition::msgs::WorldStatistics& _internal_stats() const;
491  public:
492  const ::ignition::msgs::WorldStatistics& stats() const;
493  ::ignition::msgs::WorldStatistics* release_stats();
494  ::ignition::msgs::WorldStatistics* mutable_stats();
495  void set_allocated_stats(::ignition::msgs::WorldStatistics* stats);
496 
497  // .ignition.msgs.SerializedStateMap state = 2;
498  bool has_state() const;
499  void clear_state();
500  static const int kStateFieldNumber = 2;
501  private:
502  const ::ignition::msgs::SerializedStateMap& _internal_state() const;
503  public:
504  const ::ignition::msgs::SerializedStateMap& state() const;
505  ::ignition::msgs::SerializedStateMap* release_state();
506  ::ignition::msgs::SerializedStateMap* mutable_state();
507  void set_allocated_state(::ignition::msgs::SerializedStateMap* state);
508 
509  // @@protoc_insertion_point(class_scope:ignition.msgs.SerializedStepMap)
510  private:
511 
512  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
513  ::ignition::msgs::WorldStatistics* stats_;
514  ::ignition::msgs::SerializedStateMap* state_;
515  mutable ::google::protobuf::internal::CachedSize _cached_size_;
517 };
518 // ===================================================================
519 
520 
521 // ===================================================================
522 
523 #ifdef __GNUC__
524  #pragma GCC diagnostic push
525  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
526 #endif // __GNUC__
527 // -------------------------------------------------------------------
528 
529 // SerializedEntityMap
530 
531 // uint64 id = 1;
533  id_ = GOOGLE_ULONGLONG(0);
534 }
535 inline ::google::protobuf::uint64 SerializedEntityMap::id() const {
536  // @@protoc_insertion_point(field_get:ignition.msgs.SerializedEntityMap.id)
537  return id_;
538 }
539 inline void SerializedEntityMap::set_id(::google::protobuf::uint64 value) {
540 
541  id_ = value;
542  // @@protoc_insertion_point(field_set:ignition.msgs.SerializedEntityMap.id)
543 }
544 
545 // map<int64, .ignition.msgs.SerializedComponent> components = 2;
547  return components_.size();
548 }
549 inline const ::google::protobuf::Map< ::google::protobuf::int64, ::ignition::msgs::SerializedComponent >&
551  // @@protoc_insertion_point(field_map:ignition.msgs.SerializedEntityMap.components)
552  return components_.GetMap();
553 }
554 inline ::google::protobuf::Map< ::google::protobuf::int64, ::ignition::msgs::SerializedComponent >*
556  // @@protoc_insertion_point(field_mutable_map:ignition.msgs.SerializedEntityMap.components)
557  return components_.MutableMap();
558 }
559 
560 // bool remove = 3;
562  remove_ = false;
563 }
564 inline bool SerializedEntityMap::remove() const {
565  // @@protoc_insertion_point(field_get:ignition.msgs.SerializedEntityMap.remove)
566  return remove_;
567 }
568 inline void SerializedEntityMap::set_remove(bool value) {
569 
570  remove_ = value;
571  // @@protoc_insertion_point(field_set:ignition.msgs.SerializedEntityMap.remove)
572 }
573 
574 // -------------------------------------------------------------------
575 
576 // -------------------------------------------------------------------
577 
578 // SerializedStateMap
579 
580 // .ignition.msgs.Header header = 1;
581 inline bool SerializedStateMap::has_header() const {
582  return this != internal_default_instance() && header_ != NULL;
583 }
584 inline const ::ignition::msgs::Header& SerializedStateMap::_internal_header() const {
585  return *header_;
586 }
587 inline const ::ignition::msgs::Header& SerializedStateMap::header() const {
588  const ::ignition::msgs::Header* p = header_;
589  // @@protoc_insertion_point(field_get:ignition.msgs.SerializedStateMap.header)
590  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
592 }
593 inline ::ignition::msgs::Header* SerializedStateMap::release_header() {
594  // @@protoc_insertion_point(field_release:ignition.msgs.SerializedStateMap.header)
595 
596  ::ignition::msgs::Header* temp = header_;
597  header_ = NULL;
598  return temp;
599 }
600 inline ::ignition::msgs::Header* SerializedStateMap::mutable_header() {
601 
602  if (header_ == NULL) {
603  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
604  header_ = p;
605  }
606  // @@protoc_insertion_point(field_mutable:ignition.msgs.SerializedStateMap.header)
607  return header_;
608 }
610  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
611  if (message_arena == NULL) {
612  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
613  }
614  if (header) {
615  ::google::protobuf::Arena* submessage_arena = NULL;
616  if (message_arena != submessage_arena) {
617  header = ::google::protobuf::internal::GetOwnedMessage(
618  message_arena, header, submessage_arena);
619  }
620 
621  } else {
622 
623  }
624  header_ = header;
625  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.SerializedStateMap.header)
626 }
627 
628 // map<uint64, .ignition.msgs.SerializedEntityMap> entities = 2;
630  return entities_.size();
631 }
633  entities_.Clear();
634 }
635 inline const ::google::protobuf::Map< ::google::protobuf::uint64, ::ignition::msgs::SerializedEntityMap >&
637  // @@protoc_insertion_point(field_map:ignition.msgs.SerializedStateMap.entities)
638  return entities_.GetMap();
639 }
640 inline ::google::protobuf::Map< ::google::protobuf::uint64, ::ignition::msgs::SerializedEntityMap >*
642  // @@protoc_insertion_point(field_mutable_map:ignition.msgs.SerializedStateMap.entities)
643  return entities_.MutableMap();
644 }
645 
646 // bool has_one_time_component_changes = 3;
648  has_one_time_component_changes_ = false;
649 }
651  // @@protoc_insertion_point(field_get:ignition.msgs.SerializedStateMap.has_one_time_component_changes)
652  return has_one_time_component_changes_;
653 }
655 
656  has_one_time_component_changes_ = value;
657  // @@protoc_insertion_point(field_set:ignition.msgs.SerializedStateMap.has_one_time_component_changes)
658 }
659 
660 // -------------------------------------------------------------------
661 
662 // SerializedStepMap
663 
664 // .ignition.msgs.WorldStatistics stats = 1;
665 inline bool SerializedStepMap::has_stats() const {
666  return this != internal_default_instance() && stats_ != NULL;
667 }
668 inline const ::ignition::msgs::WorldStatistics& SerializedStepMap::_internal_stats() const {
669  return *stats_;
670 }
671 inline const ::ignition::msgs::WorldStatistics& SerializedStepMap::stats() const {
672  const ::ignition::msgs::WorldStatistics* p = stats_;
673  // @@protoc_insertion_point(field_get:ignition.msgs.SerializedStepMap.stats)
674  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::WorldStatistics*>(
676 }
677 inline ::ignition::msgs::WorldStatistics* SerializedStepMap::release_stats() {
678  // @@protoc_insertion_point(field_release:ignition.msgs.SerializedStepMap.stats)
679 
680  ::ignition::msgs::WorldStatistics* temp = stats_;
681  stats_ = NULL;
682  return temp;
683 }
684 inline ::ignition::msgs::WorldStatistics* SerializedStepMap::mutable_stats() {
685 
686  if (stats_ == NULL) {
687  auto* p = CreateMaybeMessage<::ignition::msgs::WorldStatistics>(GetArenaNoVirtual());
688  stats_ = p;
689  }
690  // @@protoc_insertion_point(field_mutable:ignition.msgs.SerializedStepMap.stats)
691  return stats_;
692 }
694  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
695  if (message_arena == NULL) {
696  delete reinterpret_cast< ::google::protobuf::MessageLite*>(stats_);
697  }
698  if (stats) {
699  ::google::protobuf::Arena* submessage_arena = NULL;
700  if (message_arena != submessage_arena) {
701  stats = ::google::protobuf::internal::GetOwnedMessage(
702  message_arena, stats, submessage_arena);
703  }
704 
705  } else {
706 
707  }
708  stats_ = stats;
709  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.SerializedStepMap.stats)
710 }
711 
712 // .ignition.msgs.SerializedStateMap state = 2;
713 inline bool SerializedStepMap::has_state() const {
714  return this != internal_default_instance() && state_ != NULL;
715 }
717  if (GetArenaNoVirtual() == NULL && state_ != NULL) {
718  delete state_;
719  }
720  state_ = NULL;
721 }
722 inline const ::ignition::msgs::SerializedStateMap& SerializedStepMap::_internal_state() const {
723  return *state_;
724 }
725 inline const ::ignition::msgs::SerializedStateMap& SerializedStepMap::state() const {
726  const ::ignition::msgs::SerializedStateMap* p = state_;
727  // @@protoc_insertion_point(field_get:ignition.msgs.SerializedStepMap.state)
728  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::SerializedStateMap*>(
730 }
731 inline ::ignition::msgs::SerializedStateMap* SerializedStepMap::release_state() {
732  // @@protoc_insertion_point(field_release:ignition.msgs.SerializedStepMap.state)
733 
735  state_ = NULL;
736  return temp;
737 }
738 inline ::ignition::msgs::SerializedStateMap* SerializedStepMap::mutable_state() {
739 
740  if (state_ == NULL) {
741  auto* p = CreateMaybeMessage<::ignition::msgs::SerializedStateMap>(GetArenaNoVirtual());
742  state_ = p;
743  }
744  // @@protoc_insertion_point(field_mutable:ignition.msgs.SerializedStepMap.state)
745  return state_;
746 }
748  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
749  if (message_arena == NULL) {
750  delete state_;
751  }
752  if (state) {
753  ::google::protobuf::Arena* submessage_arena = NULL;
754  if (message_arena != submessage_arena) {
755  state = ::google::protobuf::internal::GetOwnedMessage(
756  message_arena, state, submessage_arena);
757  }
758 
759  } else {
760 
761  }
762  state_ = state;
763  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.SerializedStepMap.state)
764 }
765 
766 #ifdef __GNUC__
767  #pragma GCC diagnostic pop
768 #endif // __GNUC__
769 // -------------------------------------------------------------------
770 
771 // -------------------------------------------------------------------
772 
773 // -------------------------------------------------------------------
774 
775 // -------------------------------------------------------------------
776 
777 
790 // @@protoc_insertion_point(namespace_scope)
791 
792 } // namespace msgs
793 } // namespace ignition
794 
795 #ifdef _MSC_VER
796 #pragma warning(pop)
797 #endif
798 // @@protoc_insertion_point(global_scope)
799 
800 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2fserialized_5fmap_2eproto
std::unique_ptr< SerializedStepMap > SerializedStepMapUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:786
Definition: build/ignition-msgs8/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-msgs8/include/ignition/msgs/serialized_map.pb.h:314
std::unique_ptr< const SerializedStepMap > ConstSerializedStepMapUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:787
friend void swap(SerializedStepMap &a, SerializedStepMap &b)
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:436
STL class.
bool has_header() const
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:581
const ::ignition::msgs::SerializedStateMap & state() const
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:725
SerializedStepMap * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:442
int entities_size() const
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:629
void clear_entities()
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:632
IGNITION_MSGS_VISIBLE SerializedStateMap_EntitiesEntry_DoNotUseDefaultTypeInternal _SerializedStateMap_EntitiesEntry_DoNotUse_default_instance_
SerializedStateMap * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:310
void set_allocated_state(::ignition::msgs::SerializedStateMap *state)
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:747
SerializedEntityMap * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:167
const ::google::protobuf::Map< ::google::protobuf::int64, ::ignition::msgs::SerializedComponent > & components() const
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:550
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:266
SerializedEntityMap * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:163
void MergeFrom(const SerializedEntityMap_ComponentsEntry_DoNotUse &other)
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:245
::google::protobuf::uint64 id() const
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:535
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-msgs8/include/ignition/msgs/serialized_map.pb.h:255
::ignition::msgs::WorldStatistics * release_stats()
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:677
std::unique_ptr< SerializedStateMap > SerializedStateMapUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:782
std::shared_ptr< const SerializedEntityMap > ConstSerializedEntityMapSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:781
std::shared_ptr< const SerializedStateMap > ConstSerializedStateMapSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:785
std::shared_ptr< SerializedStepMap > SerializedStepMapSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:788
void clear_id()
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:532
::ignition::msgs::SerializedStateMap * release_state()
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:731
const ::ignition::msgs::Header & header() const
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:587
void clear_has_one_time_component_changes()
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:647
static const SerializedStateMap_EntitiesEntry_DoNotUse * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:259
Definition: build/ignition-msgs8/include/ignition/msgs/world_stats.pb.h:79
void set_remove(bool value)
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:568
SerializedStepMap * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:446
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:398
std::shared_ptr< SerializedEntityMap > SerializedEntityMapSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:780
SerializedEntityMap & operator=(const SerializedEntityMap &from)
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:126
::ignition::msgs::WorldStatistics * mutable_stats()
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:684
void clear_state()
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:716
::ignition::msgs::Header * mutable_header()
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:600
void Swap(SerializedStateMap *other)
IGNITION_MSGS_VISIBLE SerializedEntityMapDefaultTypeInternal _SerializedEntityMap_default_instance_
std::unique_ptr< const SerializedEntityMap > ConstSerializedEntityMapUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:779
friend void swap(SerializedEntityMap &a, SerializedEntityMap &b)
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:157
SerializedStateMap & operator=(const SerializedStateMap &from)
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:273
std::shared_ptr< SerializedStateMap > SerializedStateMapSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:784
SerializedStepMap & operator=(const SerializedStepMap &from)
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:405
void Swap(SerializedStepMap *other)
std::unique_ptr< const SerializedStateMap > ConstSerializedStateMapUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:783
void set_allocated_stats(::ignition::msgs::WorldStatistics *stats)
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:693
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:119
::ignition::msgs::Header * release_header()
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:593
static const SerializedEntityMap * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:149
void clear_remove()
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:561
IGNITION_MSGS_VISIBLE WorldStatisticsDefaultTypeInternal _WorldStatistics_default_instance_
void Swap(SerializedEntityMap *other)
Definition: build/ignition-msgs8/include/ignition/msgs/serialized.pb.h:90
bool has_one_time_component_changes() const
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:650
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:53
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
int components_size() const
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:546
bool remove() const
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:564
Definition: build/ignition-msgs8/include/ignition/msgs/header.pb.h:215
static const SerializedStepMap * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:428
void set_has_one_time_component_changes(bool value)
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:654
bool has_stats() const
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:665
const ::google::protobuf::Map< ::google::protobuf::uint64, ::ignition::msgs::SerializedEntityMap > & entities() const
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:636
::google::protobuf::Map< ::google::protobuf::int64, ::ignition::msgs::SerializedComponent > * mutable_components()
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:555
::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-msgs8/include/ignition/msgs/serialized_map.pb.h:108
std::shared_ptr< const SerializedStepMap > ConstSerializedStepMapSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:789
const ::ignition::msgs::WorldStatistics & stats() const
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:671
::google::protobuf::Map< ::google::protobuf::uint64, ::ignition::msgs::SerializedEntityMap > * mutable_entities()
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:641
STL class.
bool has_state() const
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:713
std::unique_ptr< SerializedEntityMap > SerializedEntityMapUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:778
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:98
static const SerializedEntityMap_ComponentsEntry_DoNotUse * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:112
friend void swap(SerializedStateMap &a, SerializedStateMap &b)
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:304
::ignition::msgs::SerializedStateMap * mutable_state()
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:738
void set_allocated_header(::ignition::msgs::Header *header)
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:609
static const SerializedStateMap * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:296
void set_id(::google::protobuf::uint64 value)
Definition: build/ignition-msgs8/include/ignition/msgs/serialized_map.pb.h:539
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:78
IGNITION_MSGS_VISIBLE SerializedStepMapDefaultTypeInternal _SerializedStepMap_default_instance_