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