Ignition Msgs

API Reference

5.8.1
serialized.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/serialized.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fserialized_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fserialized_2eproto
6 
7 #include <limits>
8 #include <string>
9 
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3019000
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 3019000 < 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/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arena.h>
25 #include <google/protobuf/arenastring.h>
26 #include <google/protobuf/generated_message_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/metadata_lite.h>
29 #include <google/protobuf/generated_message_reflection.h>
30 #include <google/protobuf/message.h>
31 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
32 #include <google/protobuf/extension_set.h> // IWYU pragma: export
33 #include <google/protobuf/unknown_field_set.h>
36 #ifndef _MSC_VER
37 #pragma GCC system_header
38 #else
39 #pragma warning(push)
40 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
41 #endif
42 #ifdef __linux__
43 #include <sys/sysmacros.h>
44 #endif
45 #include <memory>
46 #include <ignition/msgs/Export.hh>
47 // @@protoc_insertion_point(includes)
48 #include <google/protobuf/port_def.inc>
49 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fserialized_2eproto IGNITION_MSGS_VISIBLE
50 PROTOBUF_NAMESPACE_OPEN
51 namespace internal {
52 class AnyMetadata;
53 } // namespace internal
54 PROTOBUF_NAMESPACE_CLOSE
55 
56 // Internal implementation detail -- do not use these members.
58  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
59  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
60  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
61  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
62  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[4]
63  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
64  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
65  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
66  static const uint32_t offsets[];
67 };
68 IGNITION_MSGS_VISIBLE extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fserialized_2eproto;
69 namespace ignition {
70 namespace msgs {
71 class SerializedComponent;
72 struct SerializedComponentDefaultTypeInternal;
73 IGNITION_MSGS_VISIBLE extern SerializedComponentDefaultTypeInternal _SerializedComponent_default_instance_;
74 class SerializedEntity;
75 struct SerializedEntityDefaultTypeInternal;
76 IGNITION_MSGS_VISIBLE extern SerializedEntityDefaultTypeInternal _SerializedEntity_default_instance_;
77 class SerializedState;
78 struct SerializedStateDefaultTypeInternal;
79 IGNITION_MSGS_VISIBLE extern SerializedStateDefaultTypeInternal _SerializedState_default_instance_;
80 class SerializedStep;
81 struct SerializedStepDefaultTypeInternal;
82 IGNITION_MSGS_VISIBLE extern SerializedStepDefaultTypeInternal _SerializedStep_default_instance_;
83 } // namespace msgs
84 } // namespace ignition
85 PROTOBUF_NAMESPACE_OPEN
86 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::SerializedComponent* Arena::CreateMaybeMessage<::ignition::msgs::SerializedComponent>(Arena*);
87 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::SerializedEntity* Arena::CreateMaybeMessage<::ignition::msgs::SerializedEntity>(Arena*);
88 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::SerializedState* Arena::CreateMaybeMessage<::ignition::msgs::SerializedState>(Arena*);
89 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::SerializedStep* Arena::CreateMaybeMessage<::ignition::msgs::SerializedStep>(Arena*);
90 PROTOBUF_NAMESPACE_CLOSE
91 namespace ignition {
92 namespace msgs {
93 
94 // ===================================================================
95 
96 class IGNITION_MSGS_VISIBLE SerializedComponent final :
97  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.SerializedComponent) */ {
98  public:
101  explicit constexpr SerializedComponent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
102 
105  : SerializedComponent() {
106  *this = ::std::move(from);
107  }
108 
110  CopyFrom(from);
111  return *this;
112  }
114  if (this == &from) return *this;
115  if (GetOwningArena() == from.GetOwningArena()
116  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
117  && GetOwningArena() != nullptr
118  #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
119  ) {
120  InternalSwap(&from);
121  } else {
122  CopyFrom(from);
123  }
124  return *this;
125  }
126 
127  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
128  return GetDescriptor();
129  }
130  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
131  return default_instance().GetMetadata().descriptor;
132  }
133  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
134  return default_instance().GetMetadata().reflection;
135  }
137  return *internal_default_instance();
138  }
140  return reinterpret_cast<const SerializedComponent*>(
142  }
143  static constexpr int kIndexInFileMessages =
144  0;
145 
147  a.Swap(&b);
148  }
149  inline void Swap(SerializedComponent* other) {
150  if (other == this) return;
151  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
152  if (GetOwningArena() != nullptr &&
153  GetOwningArena() == other->GetOwningArena()) {
154  #else // PROTOBUF_FORCE_COPY_IN_SWAP
155  if (GetOwningArena() == other->GetOwningArena()) {
156  #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
157  InternalSwap(other);
158  } else {
159  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
160  }
161  }
163  if (other == this) return;
164  GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
165  InternalSwap(other);
166  }
167 
168  // implements Message ----------------------------------------------
169 
170  SerializedComponent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
171  return CreateMaybeMessage<SerializedComponent>(arena);
172  }
173  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
174  void CopyFrom(const SerializedComponent& from);
175  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
176  void MergeFrom(const SerializedComponent& from);
177  private:
178  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
179  public:
180  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
181  bool IsInitialized() const final;
182 
183  size_t ByteSizeLong() const final;
184  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
185  uint8_t* _InternalSerialize(
186  uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
187  int GetCachedSize() const final { return _cached_size_.Get(); }
188 
189  private:
190  void SharedCtor();
191  void SharedDtor();
192  void SetCachedSize(int size) const final;
193  void InternalSwap(SerializedComponent* other);
194 
195  private:
196  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
197  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
198  return "ignition.msgs.SerializedComponent";
199  }
200  protected:
201  explicit SerializedComponent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
202  bool is_message_owned = false);
203  private:
204  static void ArenaDtor(void* object);
205  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
206  public:
207 
208  static const ClassData _class_data_;
209  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
210 
211  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
212 
213  // nested types ----------------------------------------------------
214 
215  // accessors -------------------------------------------------------
216 
217  enum : int {
218  kComponentFieldNumber = 2,
219  kTypeFieldNumber = 1,
220  kRemoveFieldNumber = 3,
221  };
222  // bytes component = 2;
223  void clear_component();
224  const std::string& component() const;
225  template <typename ArgT0 = const std::string&, typename... ArgT>
226  void set_component(ArgT0&& arg0, ArgT... args);
227  std::string* mutable_component();
228  PROTOBUF_NODISCARD std::string* release_component();
229  void set_allocated_component(std::string* component);
230  private:
231  const std::string& _internal_component() const;
232  inline PROTOBUF_ALWAYS_INLINE void _internal_set_component(const std::string& value);
233  std::string* _internal_mutable_component();
234  public:
235 
236  // uint64 type = 1;
237  void clear_type();
238  uint64_t type() const;
239  void set_type(uint64_t value);
240  private:
241  uint64_t _internal_type() const;
242  void _internal_set_type(uint64_t value);
243  public:
244 
245  // bool remove = 3;
246  void clear_remove();
247  bool remove() const;
248  void set_remove(bool value);
249  private:
250  bool _internal_remove() const;
251  void _internal_set_remove(bool value);
252  public:
253 
254  // @@protoc_insertion_point(class_scope:ignition.msgs.SerializedComponent)
255  private:
256  class _Internal;
257 
258  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
259  typedef void InternalArenaConstructable_;
260  typedef void DestructorSkippable_;
261  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr component_;
262  uint64_t type_;
263  bool remove_;
264  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
265  friend struct ::TableStruct_ignition_2fmsgs_2fserialized_2eproto;
266 };
267 // -------------------------------------------------------------------
268 
269 class IGNITION_MSGS_VISIBLE SerializedEntity final :
270  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.SerializedEntity) */ {
271  public:
272  inline SerializedEntity() : SerializedEntity(nullptr) {}
273  ~SerializedEntity() override;
274  explicit constexpr SerializedEntity(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
275 
278  : SerializedEntity() {
279  *this = ::std::move(from);
280  }
281 
283  CopyFrom(from);
284  return *this;
285  }
286  inline SerializedEntity& operator=(SerializedEntity&& from) noexcept {
287  if (this == &from) return *this;
288  if (GetOwningArena() == from.GetOwningArena()
289  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
290  && GetOwningArena() != nullptr
291  #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
292  ) {
293  InternalSwap(&from);
294  } else {
295  CopyFrom(from);
296  }
297  return *this;
298  }
299 
300  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
301  return GetDescriptor();
302  }
303  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
304  return default_instance().GetMetadata().descriptor;
305  }
306  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
307  return default_instance().GetMetadata().reflection;
308  }
310  return *internal_default_instance();
311  }
313  return reinterpret_cast<const SerializedEntity*>(
315  }
316  static constexpr int kIndexInFileMessages =
317  1;
318 
319  friend void swap(SerializedEntity& a, SerializedEntity& b) {
320  a.Swap(&b);
321  }
322  inline void Swap(SerializedEntity* other) {
323  if (other == this) return;
324  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
325  if (GetOwningArena() != nullptr &&
326  GetOwningArena() == other->GetOwningArena()) {
327  #else // PROTOBUF_FORCE_COPY_IN_SWAP
328  if (GetOwningArena() == other->GetOwningArena()) {
329  #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
330  InternalSwap(other);
331  } else {
332  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
333  }
334  }
336  if (other == this) return;
337  GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
338  InternalSwap(other);
339  }
340 
341  // implements Message ----------------------------------------------
342 
343  SerializedEntity* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
344  return CreateMaybeMessage<SerializedEntity>(arena);
345  }
346  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
347  void CopyFrom(const SerializedEntity& from);
348  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
349  void MergeFrom(const SerializedEntity& from);
350  private:
351  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
352  public:
353  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
354  bool IsInitialized() const final;
355 
356  size_t ByteSizeLong() const final;
357  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
358  uint8_t* _InternalSerialize(
359  uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
360  int GetCachedSize() const final { return _cached_size_.Get(); }
361 
362  private:
363  void SharedCtor();
364  void SharedDtor();
365  void SetCachedSize(int size) const final;
366  void InternalSwap(SerializedEntity* other);
367 
368  private:
369  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
370  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
371  return "ignition.msgs.SerializedEntity";
372  }
373  protected:
374  explicit SerializedEntity(::PROTOBUF_NAMESPACE_ID::Arena* arena,
375  bool is_message_owned = false);
376  private:
377  static void ArenaDtor(void* object);
378  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
379  public:
380 
381  static const ClassData _class_data_;
382  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
383 
384  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
385 
386  // nested types ----------------------------------------------------
387 
388  // accessors -------------------------------------------------------
389 
390  enum : int {
391  kComponentsFieldNumber = 2,
392  kIdFieldNumber = 1,
393  kRemoveFieldNumber = 3,
394  };
395  // repeated .ignition.msgs.SerializedComponent components = 2;
396  int components_size() const;
397  private:
398  int _internal_components_size() const;
399  public:
400  void clear_components();
401  ::ignition::msgs::SerializedComponent* mutable_components(int index);
402  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::SerializedComponent >*
403  mutable_components();
404  private:
405  const ::ignition::msgs::SerializedComponent& _internal_components(int index) const;
406  ::ignition::msgs::SerializedComponent* _internal_add_components();
407  public:
408  const ::ignition::msgs::SerializedComponent& components(int index) const;
409  ::ignition::msgs::SerializedComponent* add_components();
410  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::SerializedComponent >&
411  components() const;
412 
413  // uint64 id = 1;
414  void clear_id();
415  uint64_t id() const;
416  void set_id(uint64_t value);
417  private:
418  uint64_t _internal_id() const;
419  void _internal_set_id(uint64_t value);
420  public:
421 
422  // bool remove = 3;
423  void clear_remove();
424  bool remove() const;
425  void set_remove(bool value);
426  private:
427  bool _internal_remove() const;
428  void _internal_set_remove(bool value);
429  public:
430 
431  // @@protoc_insertion_point(class_scope:ignition.msgs.SerializedEntity)
432  private:
433  class _Internal;
434 
435  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
436  typedef void InternalArenaConstructable_;
437  typedef void DestructorSkippable_;
438  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::SerializedComponent > components_;
439  uint64_t id_;
440  bool remove_;
441  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
442  friend struct ::TableStruct_ignition_2fmsgs_2fserialized_2eproto;
443 };
444 // -------------------------------------------------------------------
445 
446 class IGNITION_MSGS_VISIBLE SerializedState final :
447  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.SerializedState) */ {
448  public:
449  inline SerializedState() : SerializedState(nullptr) {}
450  ~SerializedState() override;
451  explicit constexpr SerializedState(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
452 
455  : SerializedState() {
456  *this = ::std::move(from);
457  }
458 
460  CopyFrom(from);
461  return *this;
462  }
463  inline SerializedState& operator=(SerializedState&& from) noexcept {
464  if (this == &from) return *this;
465  if (GetOwningArena() == from.GetOwningArena()
466  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
467  && GetOwningArena() != nullptr
468  #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
469  ) {
470  InternalSwap(&from);
471  } else {
472  CopyFrom(from);
473  }
474  return *this;
475  }
476 
477  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
478  return GetDescriptor();
479  }
480  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
481  return default_instance().GetMetadata().descriptor;
482  }
483  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
484  return default_instance().GetMetadata().reflection;
485  }
487  return *internal_default_instance();
488  }
490  return reinterpret_cast<const SerializedState*>(
492  }
493  static constexpr int kIndexInFileMessages =
494  2;
495 
496  friend void swap(SerializedState& a, SerializedState& b) {
497  a.Swap(&b);
498  }
499  inline void Swap(SerializedState* other) {
500  if (other == this) return;
501  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
502  if (GetOwningArena() != nullptr &&
503  GetOwningArena() == other->GetOwningArena()) {
504  #else // PROTOBUF_FORCE_COPY_IN_SWAP
505  if (GetOwningArena() == other->GetOwningArena()) {
506  #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
507  InternalSwap(other);
508  } else {
509  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
510  }
511  }
513  if (other == this) return;
514  GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
515  InternalSwap(other);
516  }
517 
518  // implements Message ----------------------------------------------
519 
520  SerializedState* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
521  return CreateMaybeMessage<SerializedState>(arena);
522  }
523  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
524  void CopyFrom(const SerializedState& from);
525  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
526  void MergeFrom(const SerializedState& from);
527  private:
528  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
529  public:
530  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
531  bool IsInitialized() const final;
532 
533  size_t ByteSizeLong() const final;
534  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
535  uint8_t* _InternalSerialize(
536  uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
537  int GetCachedSize() const final { return _cached_size_.Get(); }
538 
539  private:
540  void SharedCtor();
541  void SharedDtor();
542  void SetCachedSize(int size) const final;
543  void InternalSwap(SerializedState* other);
544 
545  private:
546  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
547  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
548  return "ignition.msgs.SerializedState";
549  }
550  protected:
551  explicit SerializedState(::PROTOBUF_NAMESPACE_ID::Arena* arena,
552  bool is_message_owned = false);
553  private:
554  static void ArenaDtor(void* object);
555  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
556  public:
557 
558  static const ClassData _class_data_;
559  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
560 
561  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
562 
563  // nested types ----------------------------------------------------
564 
565  // accessors -------------------------------------------------------
566 
567  enum : int {
568  kEntitiesFieldNumber = 2,
569  kHeaderFieldNumber = 1,
570  };
571  // repeated .ignition.msgs.SerializedEntity entities = 2;
572  int entities_size() const;
573  private:
574  int _internal_entities_size() const;
575  public:
576  void clear_entities();
577  ::ignition::msgs::SerializedEntity* mutable_entities(int index);
578  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::SerializedEntity >*
579  mutable_entities();
580  private:
581  const ::ignition::msgs::SerializedEntity& _internal_entities(int index) const;
582  ::ignition::msgs::SerializedEntity* _internal_add_entities();
583  public:
584  const ::ignition::msgs::SerializedEntity& entities(int index) const;
585  ::ignition::msgs::SerializedEntity* add_entities();
586  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::SerializedEntity >&
587  entities() const;
588 
589  // .ignition.msgs.Header header = 1;
590  bool has_header() const;
591  private:
592  bool _internal_has_header() const;
593  public:
594  void clear_header();
595  const ::ignition::msgs::Header& header() const;
596  PROTOBUF_NODISCARD ::ignition::msgs::Header* release_header();
597  ::ignition::msgs::Header* mutable_header();
598  void set_allocated_header(::ignition::msgs::Header* header);
599  private:
600  const ::ignition::msgs::Header& _internal_header() const;
601  ::ignition::msgs::Header* _internal_mutable_header();
602  public:
603  void unsafe_arena_set_allocated_header(
604  ::ignition::msgs::Header* header);
605  ::ignition::msgs::Header* unsafe_arena_release_header();
606 
607  // @@protoc_insertion_point(class_scope:ignition.msgs.SerializedState)
608  private:
609  class _Internal;
610 
611  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
612  typedef void InternalArenaConstructable_;
613  typedef void DestructorSkippable_;
614  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::SerializedEntity > entities_;
615  ::ignition::msgs::Header* header_;
616  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
617  friend struct ::TableStruct_ignition_2fmsgs_2fserialized_2eproto;
618 };
619 // -------------------------------------------------------------------
620 
621 class IGNITION_MSGS_VISIBLE SerializedStep final :
622  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.SerializedStep) */ {
623  public:
624  inline SerializedStep() : SerializedStep(nullptr) {}
625  ~SerializedStep() override;
626  explicit constexpr SerializedStep(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
627 
630  : SerializedStep() {
631  *this = ::std::move(from);
632  }
633 
634  inline SerializedStep& operator=(const SerializedStep& from) {
635  CopyFrom(from);
636  return *this;
637  }
638  inline SerializedStep& operator=(SerializedStep&& from) noexcept {
639  if (this == &from) return *this;
640  if (GetOwningArena() == from.GetOwningArena()
641  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
642  && GetOwningArena() != nullptr
643  #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
644  ) {
645  InternalSwap(&from);
646  } else {
647  CopyFrom(from);
648  }
649  return *this;
650  }
651 
652  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
653  return GetDescriptor();
654  }
655  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
656  return default_instance().GetMetadata().descriptor;
657  }
658  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
659  return default_instance().GetMetadata().reflection;
660  }
662  return *internal_default_instance();
663  }
664  static inline const SerializedStep* internal_default_instance() {
665  return reinterpret_cast<const SerializedStep*>(
667  }
668  static constexpr int kIndexInFileMessages =
669  3;
670 
671  friend void swap(SerializedStep& a, SerializedStep& b) {
672  a.Swap(&b);
673  }
674  inline void Swap(SerializedStep* other) {
675  if (other == this) return;
676  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
677  if (GetOwningArena() != nullptr &&
678  GetOwningArena() == other->GetOwningArena()) {
679  #else // PROTOBUF_FORCE_COPY_IN_SWAP
680  if (GetOwningArena() == other->GetOwningArena()) {
681  #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
682  InternalSwap(other);
683  } else {
684  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
685  }
686  }
688  if (other == this) return;
689  GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
690  InternalSwap(other);
691  }
692 
693  // implements Message ----------------------------------------------
694 
695  SerializedStep* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
696  return CreateMaybeMessage<SerializedStep>(arena);
697  }
698  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
699  void CopyFrom(const SerializedStep& from);
700  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
701  void MergeFrom(const SerializedStep& from);
702  private:
703  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
704  public:
705  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
706  bool IsInitialized() const final;
707 
708  size_t ByteSizeLong() const final;
709  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
710  uint8_t* _InternalSerialize(
711  uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
712  int GetCachedSize() const final { return _cached_size_.Get(); }
713 
714  private:
715  void SharedCtor();
716  void SharedDtor();
717  void SetCachedSize(int size) const final;
718  void InternalSwap(SerializedStep* other);
719 
720  private:
721  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
722  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
723  return "ignition.msgs.SerializedStep";
724  }
725  protected:
726  explicit SerializedStep(::PROTOBUF_NAMESPACE_ID::Arena* arena,
727  bool is_message_owned = false);
728  private:
729  static void ArenaDtor(void* object);
730  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
731  public:
732 
733  static const ClassData _class_data_;
734  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
735 
736  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
737 
738  // nested types ----------------------------------------------------
739 
740  // accessors -------------------------------------------------------
741 
742  enum : int {
743  kStatsFieldNumber = 1,
744  kStateFieldNumber = 2,
745  };
746  // .ignition.msgs.WorldStatistics stats = 1;
747  bool has_stats() const;
748  private:
749  bool _internal_has_stats() const;
750  public:
751  void clear_stats();
752  const ::ignition::msgs::WorldStatistics& stats() const;
753  PROTOBUF_NODISCARD ::ignition::msgs::WorldStatistics* release_stats();
754  ::ignition::msgs::WorldStatistics* mutable_stats();
755  void set_allocated_stats(::ignition::msgs::WorldStatistics* stats);
756  private:
757  const ::ignition::msgs::WorldStatistics& _internal_stats() const;
758  ::ignition::msgs::WorldStatistics* _internal_mutable_stats();
759  public:
760  void unsafe_arena_set_allocated_stats(
762  ::ignition::msgs::WorldStatistics* unsafe_arena_release_stats();
763 
764  // .ignition.msgs.SerializedState state = 2;
765  bool has_state() const;
766  private:
767  bool _internal_has_state() const;
768  public:
769  void clear_state();
770  const ::ignition::msgs::SerializedState& state() const;
771  PROTOBUF_NODISCARD ::ignition::msgs::SerializedState* release_state();
772  ::ignition::msgs::SerializedState* mutable_state();
773  void set_allocated_state(::ignition::msgs::SerializedState* state);
774  private:
775  const ::ignition::msgs::SerializedState& _internal_state() const;
776  ::ignition::msgs::SerializedState* _internal_mutable_state();
777  public:
778  void unsafe_arena_set_allocated_state(
780  ::ignition::msgs::SerializedState* unsafe_arena_release_state();
781 
782  // @@protoc_insertion_point(class_scope:ignition.msgs.SerializedStep)
783  private:
784  class _Internal;
785 
786  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
787  typedef void InternalArenaConstructable_;
788  typedef void DestructorSkippable_;
791  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
792  friend struct ::TableStruct_ignition_2fmsgs_2fserialized_2eproto;
793 };
794 // ===================================================================
795 
796 
797 // ===================================================================
798 
799 #ifdef __GNUC__
800  #pragma GCC diagnostic push
801  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
802 #endif // __GNUC__
803 // SerializedComponent
804 
805 // uint64 type = 1;
807  type_ = uint64_t{0u};
808 }
809 inline uint64_t SerializedComponent::_internal_type() const {
810  return type_;
811 }
812 inline uint64_t SerializedComponent::type() const {
813  // @@protoc_insertion_point(field_get:ignition.msgs.SerializedComponent.type)
814  return _internal_type();
815 }
816 inline void SerializedComponent::_internal_set_type(uint64_t value) {
817 
818  type_ = value;
819 }
820 inline void SerializedComponent::set_type(uint64_t value) {
821  _internal_set_type(value);
822  // @@protoc_insertion_point(field_set:ignition.msgs.SerializedComponent.type)
823 }
824 
825 // bytes component = 2;
827  component_.ClearToEmpty();
828 }
830  // @@protoc_insertion_point(field_get:ignition.msgs.SerializedComponent.component)
831  return _internal_component();
832 }
833 template <typename ArgT0, typename... ArgT>
834 inline PROTOBUF_ALWAYS_INLINE
835 void SerializedComponent::set_component(ArgT0&& arg0, ArgT... args) {
836 
837  component_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
838  // @@protoc_insertion_point(field_set:ignition.msgs.SerializedComponent.component)
839 }
841  std::string* _s = _internal_mutable_component();
842  // @@protoc_insertion_point(field_mutable:ignition.msgs.SerializedComponent.component)
843  return _s;
844 }
845 inline const std::string& SerializedComponent::_internal_component() const {
846  return component_.Get();
847 }
848 inline void SerializedComponent::_internal_set_component(const std::string& value) {
849 
850  component_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
851 }
852 inline std::string* SerializedComponent::_internal_mutable_component() {
853 
854  return component_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
855 }
857  // @@protoc_insertion_point(field_release:ignition.msgs.SerializedComponent.component)
858  return component_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
859 }
861  if (component != nullptr) {
862 
863  } else {
864 
865  }
866  component_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), component,
867  GetArenaForAllocation());
868 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
869  if (component_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
870  component_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
871  }
872 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
873  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.SerializedComponent.component)
874 }
875 
876 // bool remove = 3;
878  remove_ = false;
879 }
880 inline bool SerializedComponent::_internal_remove() const {
881  return remove_;
882 }
883 inline bool SerializedComponent::remove() const {
884  // @@protoc_insertion_point(field_get:ignition.msgs.SerializedComponent.remove)
885  return _internal_remove();
886 }
887 inline void SerializedComponent::_internal_set_remove(bool value) {
888 
889  remove_ = value;
890 }
891 inline void SerializedComponent::set_remove(bool value) {
892  _internal_set_remove(value);
893  // @@protoc_insertion_point(field_set:ignition.msgs.SerializedComponent.remove)
894 }
895 
896 // -------------------------------------------------------------------
897 
898 // SerializedEntity
899 
900 // uint64 id = 1;
902  id_ = uint64_t{0u};
903 }
904 inline uint64_t SerializedEntity::_internal_id() const {
905  return id_;
906 }
907 inline uint64_t SerializedEntity::id() const {
908  // @@protoc_insertion_point(field_get:ignition.msgs.SerializedEntity.id)
909  return _internal_id();
910 }
911 inline void SerializedEntity::_internal_set_id(uint64_t value) {
912 
913  id_ = value;
914 }
915 inline void SerializedEntity::set_id(uint64_t value) {
916  _internal_set_id(value);
917  // @@protoc_insertion_point(field_set:ignition.msgs.SerializedEntity.id)
918 }
919 
920 // repeated .ignition.msgs.SerializedComponent components = 2;
921 inline int SerializedEntity::_internal_components_size() const {
922  return components_.size();
923 }
925  return _internal_components_size();
926 }
928  components_.Clear();
929 }
930 inline ::ignition::msgs::SerializedComponent* SerializedEntity::mutable_components(int index) {
931  // @@protoc_insertion_point(field_mutable:ignition.msgs.SerializedEntity.components)
932  return components_.Mutable(index);
933 }
934 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::SerializedComponent >*
936  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.SerializedEntity.components)
937  return &components_;
938 }
939 inline const ::ignition::msgs::SerializedComponent& SerializedEntity::_internal_components(int index) const {
940  return components_.Get(index);
941 }
942 inline const ::ignition::msgs::SerializedComponent& SerializedEntity::components(int index) const {
943  // @@protoc_insertion_point(field_get:ignition.msgs.SerializedEntity.components)
944  return _internal_components(index);
945 }
946 inline ::ignition::msgs::SerializedComponent* SerializedEntity::_internal_add_components() {
947  return components_.Add();
948 }
949 inline ::ignition::msgs::SerializedComponent* SerializedEntity::add_components() {
950  ::ignition::msgs::SerializedComponent* _add = _internal_add_components();
951  // @@protoc_insertion_point(field_add:ignition.msgs.SerializedEntity.components)
952  return _add;
953 }
954 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::SerializedComponent >&
956  // @@protoc_insertion_point(field_list:ignition.msgs.SerializedEntity.components)
957  return components_;
958 }
959 
960 // bool remove = 3;
962  remove_ = false;
963 }
964 inline bool SerializedEntity::_internal_remove() const {
965  return remove_;
966 }
967 inline bool SerializedEntity::remove() const {
968  // @@protoc_insertion_point(field_get:ignition.msgs.SerializedEntity.remove)
969  return _internal_remove();
970 }
971 inline void SerializedEntity::_internal_set_remove(bool value) {
972 
973  remove_ = value;
974 }
975 inline void SerializedEntity::set_remove(bool value) {
976  _internal_set_remove(value);
977  // @@protoc_insertion_point(field_set:ignition.msgs.SerializedEntity.remove)
978 }
979 
980 // -------------------------------------------------------------------
981 
982 // SerializedState
983 
984 // .ignition.msgs.Header header = 1;
985 inline bool SerializedState::_internal_has_header() const {
986  return this != internal_default_instance() && header_ != nullptr;
987 }
988 inline bool SerializedState::has_header() const {
989  return _internal_has_header();
990 }
991 inline const ::ignition::msgs::Header& SerializedState::_internal_header() const {
992  const ::ignition::msgs::Header* p = header_;
993  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Header&>(
995 }
996 inline const ::ignition::msgs::Header& SerializedState::header() const {
997  // @@protoc_insertion_point(field_get:ignition.msgs.SerializedState.header)
998  return _internal_header();
999 }
1001  ::ignition::msgs::Header* header) {
1002  if (GetArenaForAllocation() == nullptr) {
1003  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
1004  }
1005  header_ = header;
1006  if (header) {
1007 
1008  } else {
1009 
1010  }
1011  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.SerializedState.header)
1012 }
1013 inline ::ignition::msgs::Header* SerializedState::release_header() {
1014 
1015  ::ignition::msgs::Header* temp = header_;
1016  header_ = nullptr;
1017 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1018  auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1019  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1020  if (GetArenaForAllocation() == nullptr) { delete old; }
1021 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
1022  if (GetArenaForAllocation() != nullptr) {
1023  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1024  }
1025 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1026  return temp;
1027 }
1028 inline ::ignition::msgs::Header* SerializedState::unsafe_arena_release_header() {
1029  // @@protoc_insertion_point(field_release:ignition.msgs.SerializedState.header)
1030 
1031  ::ignition::msgs::Header* temp = header_;
1032  header_ = nullptr;
1033  return temp;
1034 }
1035 inline ::ignition::msgs::Header* SerializedState::_internal_mutable_header() {
1036 
1037  if (header_ == nullptr) {
1038  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaForAllocation());
1039  header_ = p;
1040  }
1041  return header_;
1042 }
1043 inline ::ignition::msgs::Header* SerializedState::mutable_header() {
1044  ::ignition::msgs::Header* _msg = _internal_mutable_header();
1045  // @@protoc_insertion_point(field_mutable:ignition.msgs.SerializedState.header)
1046  return _msg;
1047 }
1049  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1050  if (message_arena == nullptr) {
1051  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
1052  }
1053  if (header) {
1054  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1055  ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
1056  ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
1057  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header));
1058  if (message_arena != submessage_arena) {
1059  header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1060  message_arena, header, submessage_arena);
1061  }
1062 
1063  } else {
1064 
1065  }
1066  header_ = header;
1067  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.SerializedState.header)
1068 }
1069 
1070 // repeated .ignition.msgs.SerializedEntity entities = 2;
1071 inline int SerializedState::_internal_entities_size() const {
1072  return entities_.size();
1073 }
1075  return _internal_entities_size();
1076 }
1078  entities_.Clear();
1079 }
1080 inline ::ignition::msgs::SerializedEntity* SerializedState::mutable_entities(int index) {
1081  // @@protoc_insertion_point(field_mutable:ignition.msgs.SerializedState.entities)
1082  return entities_.Mutable(index);
1083 }
1084 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::SerializedEntity >*
1086  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.SerializedState.entities)
1087  return &entities_;
1088 }
1089 inline const ::ignition::msgs::SerializedEntity& SerializedState::_internal_entities(int index) const {
1090  return entities_.Get(index);
1091 }
1092 inline const ::ignition::msgs::SerializedEntity& SerializedState::entities(int index) const {
1093  // @@protoc_insertion_point(field_get:ignition.msgs.SerializedState.entities)
1094  return _internal_entities(index);
1095 }
1096 inline ::ignition::msgs::SerializedEntity* SerializedState::_internal_add_entities() {
1097  return entities_.Add();
1098 }
1099 inline ::ignition::msgs::SerializedEntity* SerializedState::add_entities() {
1100  ::ignition::msgs::SerializedEntity* _add = _internal_add_entities();
1101  // @@protoc_insertion_point(field_add:ignition.msgs.SerializedState.entities)
1102  return _add;
1103 }
1104 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::SerializedEntity >&
1106  // @@protoc_insertion_point(field_list:ignition.msgs.SerializedState.entities)
1107  return entities_;
1108 }
1109 
1110 // -------------------------------------------------------------------
1111 
1112 // SerializedStep
1113 
1114 // .ignition.msgs.WorldStatistics stats = 1;
1115 inline bool SerializedStep::_internal_has_stats() const {
1116  return this != internal_default_instance() && stats_ != nullptr;
1117 }
1118 inline bool SerializedStep::has_stats() const {
1119  return _internal_has_stats();
1120 }
1121 inline const ::ignition::msgs::WorldStatistics& SerializedStep::_internal_stats() const {
1122  const ::ignition::msgs::WorldStatistics* p = stats_;
1123  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::WorldStatistics&>(
1125 }
1126 inline const ::ignition::msgs::WorldStatistics& SerializedStep::stats() const {
1127  // @@protoc_insertion_point(field_get:ignition.msgs.SerializedStep.stats)
1128  return _internal_stats();
1129 }
1132  if (GetArenaForAllocation() == nullptr) {
1133  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(stats_);
1134  }
1135  stats_ = stats;
1136  if (stats) {
1137 
1138  } else {
1139 
1140  }
1141  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.SerializedStep.stats)
1142 }
1143 inline ::ignition::msgs::WorldStatistics* SerializedStep::release_stats() {
1144 
1145  ::ignition::msgs::WorldStatistics* temp = stats_;
1146  stats_ = nullptr;
1147 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1148  auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1149  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1150  if (GetArenaForAllocation() == nullptr) { delete old; }
1151 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
1152  if (GetArenaForAllocation() != nullptr) {
1153  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1154  }
1155 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1156  return temp;
1157 }
1158 inline ::ignition::msgs::WorldStatistics* SerializedStep::unsafe_arena_release_stats() {
1159  // @@protoc_insertion_point(field_release:ignition.msgs.SerializedStep.stats)
1160 
1161  ::ignition::msgs::WorldStatistics* temp = stats_;
1162  stats_ = nullptr;
1163  return temp;
1164 }
1165 inline ::ignition::msgs::WorldStatistics* SerializedStep::_internal_mutable_stats() {
1166 
1167  if (stats_ == nullptr) {
1168  auto* p = CreateMaybeMessage<::ignition::msgs::WorldStatistics>(GetArenaForAllocation());
1169  stats_ = p;
1170  }
1171  return stats_;
1172 }
1173 inline ::ignition::msgs::WorldStatistics* SerializedStep::mutable_stats() {
1174  ::ignition::msgs::WorldStatistics* _msg = _internal_mutable_stats();
1175  // @@protoc_insertion_point(field_mutable:ignition.msgs.SerializedStep.stats)
1176  return _msg;
1177 }
1179  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1180  if (message_arena == nullptr) {
1181  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(stats_);
1182  }
1183  if (stats) {
1184  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1185  ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
1186  ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
1187  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(stats));
1188  if (message_arena != submessage_arena) {
1189  stats = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1190  message_arena, stats, submessage_arena);
1191  }
1192 
1193  } else {
1194 
1195  }
1196  stats_ = stats;
1197  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.SerializedStep.stats)
1198 }
1199 
1200 // .ignition.msgs.SerializedState state = 2;
1201 inline bool SerializedStep::_internal_has_state() const {
1202  return this != internal_default_instance() && state_ != nullptr;
1203 }
1204 inline bool SerializedStep::has_state() const {
1205  return _internal_has_state();
1206 }
1208  if (GetArenaForAllocation() == nullptr && state_ != nullptr) {
1209  delete state_;
1210  }
1211  state_ = nullptr;
1212 }
1213 inline const ::ignition::msgs::SerializedState& SerializedStep::_internal_state() const {
1214  const ::ignition::msgs::SerializedState* p = state_;
1215  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::SerializedState&>(
1217 }
1218 inline const ::ignition::msgs::SerializedState& SerializedStep::state() const {
1219  // @@protoc_insertion_point(field_get:ignition.msgs.SerializedStep.state)
1220  return _internal_state();
1221 }
1224  if (GetArenaForAllocation() == nullptr) {
1225  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(state_);
1226  }
1227  state_ = state;
1228  if (state) {
1229 
1230  } else {
1231 
1232  }
1233  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.SerializedStep.state)
1234 }
1235 inline ::ignition::msgs::SerializedState* SerializedStep::release_state() {
1236 
1237  ::ignition::msgs::SerializedState* temp = state_;
1238  state_ = nullptr;
1239 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1240  auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1241  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1242  if (GetArenaForAllocation() == nullptr) { delete old; }
1243 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
1244  if (GetArenaForAllocation() != nullptr) {
1245  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1246  }
1247 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1248  return temp;
1249 }
1250 inline ::ignition::msgs::SerializedState* SerializedStep::unsafe_arena_release_state() {
1251  // @@protoc_insertion_point(field_release:ignition.msgs.SerializedStep.state)
1252 
1253  ::ignition::msgs::SerializedState* temp = state_;
1254  state_ = nullptr;
1255  return temp;
1256 }
1257 inline ::ignition::msgs::SerializedState* SerializedStep::_internal_mutable_state() {
1258 
1259  if (state_ == nullptr) {
1260  auto* p = CreateMaybeMessage<::ignition::msgs::SerializedState>(GetArenaForAllocation());
1261  state_ = p;
1262  }
1263  return state_;
1264 }
1265 inline ::ignition::msgs::SerializedState* SerializedStep::mutable_state() {
1266  ::ignition::msgs::SerializedState* _msg = _internal_mutable_state();
1267  // @@protoc_insertion_point(field_mutable:ignition.msgs.SerializedStep.state)
1268  return _msg;
1269 }
1271  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1272  if (message_arena == nullptr) {
1273  delete state_;
1274  }
1275  if (state) {
1276  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1277  ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::ignition::msgs::SerializedState>::GetOwningArena(state);
1278  if (message_arena != submessage_arena) {
1279  state = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1280  message_arena, state, submessage_arena);
1281  }
1282 
1283  } else {
1284 
1285  }
1286  state_ = state;
1287  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.SerializedStep.state)
1288 }
1289 
1290 #ifdef __GNUC__
1291  #pragma GCC diagnostic pop
1292 #endif // __GNUC__
1293 // -------------------------------------------------------------------
1294 
1295 // -------------------------------------------------------------------
1296 
1297 // -------------------------------------------------------------------
1298 
1299 
1304 // @@protoc_insertion_point(namespace_scope)
1305 
1306 } // namespace msgs
1307 } // namespace ignition
1308 
1309 #ifdef _MSC_VER
1310 #pragma warning(pop)
1311 #endif
1312 // @@protoc_insertion_point(global_scope)
1313 
1314 #include <google/protobuf/port_undef.inc>
1315 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fserialized_2eproto
Definition: header.pb.h:265
Definition: serialized.pb.h:97
void CopyFrom(const SerializedComponent &from)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: serialized.pb.h:133
void set_remove(bool value)
Definition: serialized.pb.h:891
std::string * mutable_component()
Definition: serialized.pb.h:840
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void Swap(SerializedComponent *other)
Definition: serialized.pb.h:149
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: serialized.pb.h:127
void clear_remove()
Definition: serialized.pb.h:877
PROTOBUF_NODISCARD std::string * release_component()
Definition: serialized.pb.h:856
static const SerializedComponent * internal_default_instance()
Definition: serialized.pb.h:139
friend void swap(SerializedComponent &a, SerializedComponent &b)
Definition: serialized.pb.h:146
SerializedComponent()
Definition: serialized.pb.h:99
void set_allocated_component(std::string *component)
Definition: serialized.pb.h:860
SerializedComponent(const SerializedComponent &from)
const std::string & component() const
Definition: serialized.pb.h:829
void set_type(uint64_t value)
Definition: serialized.pb.h:820
void MergeFrom(const SerializedComponent &from)
void set_component(ArgT0 &&arg0, ArgT... args)
void clear_type()
Definition: serialized.pb.h:806
SerializedComponent * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: serialized.pb.h:170
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
uint64_t type() const
Definition: serialized.pb.h:812
void UnsafeArenaSwap(SerializedComponent *other)
Definition: serialized.pb.h:162
SerializedComponent(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
SerializedComponent & operator=(const SerializedComponent &from)
Definition: serialized.pb.h:109
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: serialized.pb.h:130
constexpr SerializedComponent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static const ClassData _class_data_
Definition: serialized.pb.h:208
SerializedComponent(SerializedComponent &&from) noexcept
Definition: serialized.pb.h:104
bool remove() const
Definition: serialized.pb.h:883
static const SerializedComponent & default_instance()
Definition: serialized.pb.h:136
SerializedComponent & operator=(SerializedComponent &&from) noexcept
Definition: serialized.pb.h:113
void clear_component()
Definition: serialized.pb.h:826
Definition: serialized.pb.h:270
static const SerializedEntity * internal_default_instance()
Definition: serialized.pb.h:312
SerializedEntity()
Definition: serialized.pb.h:272
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: serialized.pb.h:306
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::SerializedComponent > & components() const
Definition: serialized.pb.h:955
void set_remove(bool value)
Definition: serialized.pb.h:975
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void set_id(uint64_t value)
Definition: serialized.pb.h:915
uint64_t id() const
Definition: serialized.pb.h:907
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: serialized.pb.h:300
void UnsafeArenaSwap(SerializedEntity *other)
Definition: serialized.pb.h:335
void Swap(SerializedEntity *other)
Definition: serialized.pb.h:322
void clear_remove()
Definition: serialized.pb.h:961
friend void swap(SerializedEntity &a, SerializedEntity &b)
Definition: serialized.pb.h:319
SerializedEntity & operator=(SerializedEntity &&from) noexcept
Definition: serialized.pb.h:286
void clear_id()
Definition: serialized.pb.h:901
constexpr SerializedEntity(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static const SerializedEntity & default_instance()
Definition: serialized.pb.h:309
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::SerializedComponent > * mutable_components()
Definition: serialized.pb.h:935
void clear_components()
Definition: serialized.pb.h:927
int components_size() const
Definition: serialized.pb.h:924
SerializedEntity(const SerializedEntity &from)
void CopyFrom(const SerializedEntity &from)
SerializedEntity(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
SerializedEntity * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: serialized.pb.h:343
::ignition::msgs::SerializedComponent * add_components()
Definition: serialized.pb.h:949
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: serialized.pb.h:303
void MergeFrom(const SerializedEntity &from)
static const ClassData _class_data_
Definition: serialized.pb.h:381
SerializedEntity & operator=(const SerializedEntity &from)
Definition: serialized.pb.h:282
bool remove() const
Definition: serialized.pb.h:967
SerializedEntity(SerializedEntity &&from) noexcept
Definition: serialized.pb.h:277
Definition: serialized.pb.h:447
void MergeFrom(const SerializedState &from)
::ignition::msgs::SerializedEntity * add_entities()
Definition: serialized.pb.h:1099
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: serialized.pb.h:483
bool has_header() const
Definition: serialized.pb.h:988
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::SerializedEntity > & entities() const
Definition: serialized.pb.h:1105
::ignition::msgs::Header * mutable_header()
Definition: serialized.pb.h:1043
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
SerializedState * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: serialized.pb.h:520
SerializedState & operator=(SerializedState &&from) noexcept
Definition: serialized.pb.h:463
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: serialized.pb.h:477
void Swap(SerializedState *other)
Definition: serialized.pb.h:499
constexpr SerializedState(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
int entities_size() const
Definition: serialized.pb.h:1074
void UnsafeArenaSwap(SerializedState *other)
Definition: serialized.pb.h:512
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
Definition: serialized.pb.h:1000
SerializedState(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
SerializedState(SerializedState &&from) noexcept
Definition: serialized.pb.h:454
SerializedState & operator=(const SerializedState &from)
Definition: serialized.pb.h:459
void CopyFrom(const SerializedState &from)
SerializedState(const SerializedState &from)
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::SerializedEntity > * mutable_entities()
Definition: serialized.pb.h:1085
friend void swap(SerializedState &a, SerializedState &b)
Definition: serialized.pb.h:496
void set_allocated_header(::ignition::msgs::Header *header)
Definition: serialized.pb.h:1048
static const SerializedState * internal_default_instance()
Definition: serialized.pb.h:489
PROTOBUF_NODISCARD ::ignition::msgs::Header * release_header()
Definition: serialized.pb.h:1013
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: serialized.pb.h:480
const ::ignition::msgs::Header & header() const
Definition: serialized.pb.h:996
static const ClassData _class_data_
Definition: serialized.pb.h:558
::ignition::msgs::Header * unsafe_arena_release_header()
Definition: serialized.pb.h:1028
SerializedState()
Definition: serialized.pb.h:449
static const SerializedState & default_instance()
Definition: serialized.pb.h:486
void clear_entities()
Definition: serialized.pb.h:1077
Definition: serialized.pb.h:622
SerializedStep(SerializedStep &&from) noexcept
Definition: serialized.pb.h:629
void set_allocated_stats(::ignition::msgs::WorldStatistics *stats)
Definition: serialized.pb.h:1178
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: serialized.pb.h:658
void unsafe_arena_set_allocated_state(::ignition::msgs::SerializedState *state)
Definition: serialized.pb.h:1222
SerializedStep & operator=(const SerializedStep &from)
Definition: serialized.pb.h:634
::ignition::msgs::WorldStatistics * mutable_stats()
Definition: serialized.pb.h:1173
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void UnsafeArenaSwap(SerializedStep *other)
Definition: serialized.pb.h:687
constexpr SerializedStep(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
SerializedStep(const SerializedStep &from)
bool has_stats() const
Definition: serialized.pb.h:1118
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: serialized.pb.h:652
void CopyFrom(const SerializedStep &from)
SerializedStep & operator=(SerializedStep &&from) noexcept
Definition: serialized.pb.h:638
void unsafe_arena_set_allocated_stats(::ignition::msgs::WorldStatistics *stats)
Definition: serialized.pb.h:1130
::ignition::msgs::SerializedState * unsafe_arena_release_state()
Definition: serialized.pb.h:1250
SerializedStep(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
PROTOBUF_NODISCARD ::ignition::msgs::SerializedState * release_state()
Definition: serialized.pb.h:1235
::ignition::msgs::WorldStatistics * unsafe_arena_release_stats()
Definition: serialized.pb.h:1158
friend void swap(SerializedStep &a, SerializedStep &b)
Definition: serialized.pb.h:671
void MergeFrom(const SerializedStep &from)
void set_allocated_state(::ignition::msgs::SerializedState *state)
Definition: serialized.pb.h:1270
const ::ignition::msgs::WorldStatistics & stats() const
Definition: serialized.pb.h:1126
SerializedStep()
Definition: serialized.pb.h:624
SerializedStep * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: serialized.pb.h:695
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: serialized.pb.h:655
PROTOBUF_NODISCARD ::ignition::msgs::WorldStatistics * release_stats()
Definition: serialized.pb.h:1143
void Swap(SerializedStep *other)
Definition: serialized.pb.h:674
static const ClassData _class_data_
Definition: serialized.pb.h:733
::ignition::msgs::SerializedState * mutable_state()
Definition: serialized.pb.h:1265
static const SerializedStep * internal_default_instance()
Definition: serialized.pb.h:664
void clear_state()
Definition: serialized.pb.h:1207
bool has_state() const
Definition: serialized.pb.h:1204
const ::ignition::msgs::SerializedState & state() const
Definition: serialized.pb.h:1218
static const SerializedStep & default_instance()
Definition: serialized.pb.h:661
Definition: world_stats.pb.h:86
IGNITION_MSGS_VISIBLE SerializedEntityDefaultTypeInternal _SerializedEntity_default_instance_
std::shared_ptr< SerializedComponent > SerializedComponentSharedPtr
Definition: serialized.pb.h:1302
IGNITION_MSGS_VISIBLE SerializedComponentDefaultTypeInternal _SerializedComponent_default_instance_
std::unique_ptr< const SerializedComponent > ConstSerializedComponentUniquePtr
Definition: serialized.pb.h:1301
IGNITION_MSGS_VISIBLE SerializedStepDefaultTypeInternal _SerializedStep_default_instance_
IGNITION_MSGS_VISIBLE WorldStatisticsDefaultTypeInternal _WorldStatistics_default_instance_
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::unique_ptr< SerializedComponent > SerializedComponentUniquePtr
Definition: serialized.pb.h:1300
IGNITION_MSGS_VISIBLE SerializedStateDefaultTypeInternal _SerializedState_default_instance_
std::shared_ptr< const SerializedComponent > ConstSerializedComponentSharedPtr
Definition: serialized.pb.h:1303
Definition: actor.pb.h:52
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fserialized_2eproto
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[4] PROTOBUF_SECTION_VARIABLE(protodesc_cold)