Gazebo Msgs

API Reference

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