Ignition Msgs

API Reference

8.4.0
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 PROTOBUF_ignition_2fmsgs_2fserialized_2eproto__INCLUDED
5 #define PROTOBUF_ignition_2fmsgs_2fserialized_2eproto__INCLUDED
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 3000000
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 3000000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
20 #endif
21 
22 #include <google/protobuf/arena.h>
23 #include <google/protobuf/arenastring.h>
24 #include <google/protobuf/generated_message_util.h>
25 #include <google/protobuf/metadata.h>
26 #include <google/protobuf/message.h>
27 #include <google/protobuf/repeated_field.h>
28 #include <google/protobuf/extension_set.h>
29 #include <google/protobuf/unknown_field_set.h>
32 #ifndef _MSC_VER
33 #pragma GCC system_header
34 #else
35 #pragma warning(push)
36 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
37 #endif
38 #ifdef __linux__
39 #include <sys/sysmacros.h>
40 #endif
41 #include <memory>
42 #include <ignition/msgs/Export.hh>
43 // @@protoc_insertion_point(includes)
44 
45 namespace ignition {
46 namespace msgs {
47 
48 // Internal implementation detail -- do not call these.
52 
53 class SerializedComponent;
54 class SerializedEntity;
55 class SerializedState;
56 class SerializedStep;
57 
58 // ===================================================================
59 
60 class IGNITION_MSGS_VISIBLE SerializedComponent : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.SerializedComponent) */ {
61  public:
63  virtual ~SerializedComponent();
64 
66 
68  CopyFrom(from);
69  return *this;
70  }
71 
72  static const ::google::protobuf::Descriptor* descriptor();
73  static const SerializedComponent& default_instance();
74 
75  void Swap(SerializedComponent* other);
76 
77  // implements Message ----------------------------------------------
78 
79  inline SerializedComponent* New() const { return New(NULL); }
80 
81  SerializedComponent* New(::google::protobuf::Arena* arena) const;
82  void CopyFrom(const ::google::protobuf::Message& from);
83  void MergeFrom(const ::google::protobuf::Message& from);
84  void CopyFrom(const SerializedComponent& from);
85  void MergeFrom(const SerializedComponent& from);
86  void Clear();
87  bool IsInitialized() const;
88 
89  int ByteSize() const;
90  bool MergePartialFromCodedStream(
91  ::google::protobuf::io::CodedInputStream* input);
92  void SerializeWithCachedSizes(
93  ::google::protobuf::io::CodedOutputStream* output) const;
94  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
95  bool deterministic, ::google::protobuf::uint8* output) const;
96  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
97  return InternalSerializeWithCachedSizesToArray(false, output);
98  }
99  int GetCachedSize() const { return _cached_size_; }
100  private:
101  void SharedCtor();
102  void SharedDtor();
103  void SetCachedSize(int size) const;
104  void InternalSwap(SerializedComponent* other);
105  private:
106  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
107  return _internal_metadata_.arena();
108  }
109  inline void* MaybeArenaPtr() const {
110  return _internal_metadata_.raw_arena_ptr();
111  }
112  public:
113 
114  ::google::protobuf::Metadata GetMetadata() const;
115 
116  // nested types ----------------------------------------------------
117 
118  // accessors -------------------------------------------------------
119 
120  // optional uint64 type = 1;
121  void clear_type();
122  static const int kTypeFieldNumber = 1;
123  ::google::protobuf::uint64 type() const;
124  void set_type(::google::protobuf::uint64 value);
125 
126  // optional bytes component = 2;
127  void clear_component();
128  static const int kComponentFieldNumber = 2;
129  const ::std::string& component() const;
130  void set_component(const ::std::string& value);
131  void set_component(const char* value);
132  void set_component(const void* value, size_t size);
133  ::std::string* mutable_component();
134  ::std::string* release_component();
135  void set_allocated_component(::std::string* component);
136 
137  // optional bool remove = 3;
138  void clear_remove();
139  static const int kRemoveFieldNumber = 3;
140  bool remove() const;
141  void set_remove(bool value);
142 
143  // @@protoc_insertion_point(class_scope:ignition.msgs.SerializedComponent)
144  private:
145 
146  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
147  bool _is_default_instance_;
148  ::google::protobuf::uint64 type_;
149  ::google::protobuf::internal::ArenaStringPtr component_;
150  bool remove_;
151  mutable int _cached_size_;
152  friend void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fserialized_2eproto();
155 
156  void InitAsDefaultInstance();
157  static SerializedComponent* default_instance_;
158 };
159 // -------------------------------------------------------------------
160 
161 class IGNITION_MSGS_VISIBLE SerializedEntity : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.SerializedEntity) */ {
162  public:
164  virtual ~SerializedEntity();
165 
166  SerializedEntity(const SerializedEntity& from);
167 
169  CopyFrom(from);
170  return *this;
171  }
172 
173  static const ::google::protobuf::Descriptor* descriptor();
174  static const SerializedEntity& default_instance();
175 
176  void Swap(SerializedEntity* other);
177 
178  // implements Message ----------------------------------------------
179 
180  inline SerializedEntity* New() const { return New(NULL); }
181 
182  SerializedEntity* New(::google::protobuf::Arena* arena) const;
183  void CopyFrom(const ::google::protobuf::Message& from);
184  void MergeFrom(const ::google::protobuf::Message& from);
185  void CopyFrom(const SerializedEntity& from);
186  void MergeFrom(const SerializedEntity& from);
187  void Clear();
188  bool IsInitialized() const;
189 
190  int ByteSize() const;
191  bool MergePartialFromCodedStream(
192  ::google::protobuf::io::CodedInputStream* input);
193  void SerializeWithCachedSizes(
194  ::google::protobuf::io::CodedOutputStream* output) const;
195  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
196  bool deterministic, ::google::protobuf::uint8* output) const;
197  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
198  return InternalSerializeWithCachedSizesToArray(false, output);
199  }
200  int GetCachedSize() const { return _cached_size_; }
201  private:
202  void SharedCtor();
203  void SharedDtor();
204  void SetCachedSize(int size) const;
205  void InternalSwap(SerializedEntity* other);
206  private:
207  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
208  return _internal_metadata_.arena();
209  }
210  inline void* MaybeArenaPtr() const {
211  return _internal_metadata_.raw_arena_ptr();
212  }
213  public:
214 
215  ::google::protobuf::Metadata GetMetadata() const;
216 
217  // nested types ----------------------------------------------------
218 
219  // accessors -------------------------------------------------------
220 
221  // optional uint64 id = 1;
222  void clear_id();
223  static const int kIdFieldNumber = 1;
224  ::google::protobuf::uint64 id() const;
225  void set_id(::google::protobuf::uint64 value);
226 
227  // repeated .ignition.msgs.SerializedComponent components = 2;
228  int components_size() const;
229  void clear_components();
230  static const int kComponentsFieldNumber = 2;
231  const ::ignition::msgs::SerializedComponent& components(int index) const;
232  ::ignition::msgs::SerializedComponent* mutable_components(int index);
233  ::ignition::msgs::SerializedComponent* add_components();
234  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::SerializedComponent >*
235  mutable_components();
236  const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::SerializedComponent >&
237  components() const;
238 
239  // optional bool remove = 3;
240  void clear_remove();
241  static const int kRemoveFieldNumber = 3;
242  bool remove() const;
243  void set_remove(bool value);
244 
245  // @@protoc_insertion_point(class_scope:ignition.msgs.SerializedEntity)
246  private:
247 
248  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
249  bool _is_default_instance_;
250  ::google::protobuf::uint64 id_;
251  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::SerializedComponent > components_;
252  bool remove_;
253  mutable int _cached_size_;
254  friend void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fserialized_2eproto();
257 
258  void InitAsDefaultInstance();
259  static SerializedEntity* default_instance_;
260 };
261 // -------------------------------------------------------------------
262 
263 class IGNITION_MSGS_VISIBLE SerializedState : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.SerializedState) */ {
264  public:
265  SerializedState();
266  virtual ~SerializedState();
267 
268  SerializedState(const SerializedState& from);
269 
271  CopyFrom(from);
272  return *this;
273  }
274 
275  static const ::google::protobuf::Descriptor* descriptor();
276  static const SerializedState& default_instance();
277 
278  void Swap(SerializedState* other);
279 
280  // implements Message ----------------------------------------------
281 
282  inline SerializedState* New() const { return New(NULL); }
283 
284  SerializedState* New(::google::protobuf::Arena* arena) const;
285  void CopyFrom(const ::google::protobuf::Message& from);
286  void MergeFrom(const ::google::protobuf::Message& from);
287  void CopyFrom(const SerializedState& from);
288  void MergeFrom(const SerializedState& from);
289  void Clear();
290  bool IsInitialized() const;
291 
292  int ByteSize() const;
293  bool MergePartialFromCodedStream(
294  ::google::protobuf::io::CodedInputStream* input);
295  void SerializeWithCachedSizes(
296  ::google::protobuf::io::CodedOutputStream* output) const;
297  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
298  bool deterministic, ::google::protobuf::uint8* output) const;
299  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
300  return InternalSerializeWithCachedSizesToArray(false, output);
301  }
302  int GetCachedSize() const { return _cached_size_; }
303  private:
304  void SharedCtor();
305  void SharedDtor();
306  void SetCachedSize(int size) const;
307  void InternalSwap(SerializedState* other);
308  private:
309  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
310  return _internal_metadata_.arena();
311  }
312  inline void* MaybeArenaPtr() const {
313  return _internal_metadata_.raw_arena_ptr();
314  }
315  public:
316 
317  ::google::protobuf::Metadata GetMetadata() const;
318 
319  // nested types ----------------------------------------------------
320 
321  // accessors -------------------------------------------------------
322 
323  // optional .ignition.msgs.Header header = 1;
324  bool has_header() const;
325  void clear_header();
326  static const int kHeaderFieldNumber = 1;
327  const ::ignition::msgs::Header& header() const;
328  ::ignition::msgs::Header* mutable_header();
329  ::ignition::msgs::Header* release_header();
330  void set_allocated_header(::ignition::msgs::Header* header);
331 
332  // repeated .ignition.msgs.SerializedEntity entities = 2;
333  int entities_size() const;
334  void clear_entities();
335  static const int kEntitiesFieldNumber = 2;
336  const ::ignition::msgs::SerializedEntity& entities(int index) const;
337  ::ignition::msgs::SerializedEntity* mutable_entities(int index);
338  ::ignition::msgs::SerializedEntity* add_entities();
339  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::SerializedEntity >*
340  mutable_entities();
341  const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::SerializedEntity >&
342  entities() const;
343 
344  // @@protoc_insertion_point(class_scope:ignition.msgs.SerializedState)
345  private:
346 
347  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
348  bool _is_default_instance_;
349  ::ignition::msgs::Header* header_;
350  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::SerializedEntity > entities_;
351  mutable int _cached_size_;
352  friend void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fserialized_2eproto();
355 
356  void InitAsDefaultInstance();
357  static SerializedState* default_instance_;
358 };
359 // -------------------------------------------------------------------
360 
361 class IGNITION_MSGS_VISIBLE SerializedStep : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.SerializedStep) */ {
362  public:
363  SerializedStep();
364  virtual ~SerializedStep();
365 
366  SerializedStep(const SerializedStep& from);
367 
368  inline SerializedStep& operator=(const SerializedStep& from) {
369  CopyFrom(from);
370  return *this;
371  }
372 
373  static const ::google::protobuf::Descriptor* descriptor();
374  static const SerializedStep& default_instance();
375 
376  void Swap(SerializedStep* other);
377 
378  // implements Message ----------------------------------------------
379 
380  inline SerializedStep* New() const { return New(NULL); }
381 
382  SerializedStep* New(::google::protobuf::Arena* arena) const;
383  void CopyFrom(const ::google::protobuf::Message& from);
384  void MergeFrom(const ::google::protobuf::Message& from);
385  void CopyFrom(const SerializedStep& from);
386  void MergeFrom(const SerializedStep& from);
387  void Clear();
388  bool IsInitialized() const;
389 
390  int ByteSize() const;
391  bool MergePartialFromCodedStream(
392  ::google::protobuf::io::CodedInputStream* input);
393  void SerializeWithCachedSizes(
394  ::google::protobuf::io::CodedOutputStream* output) const;
395  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
396  bool deterministic, ::google::protobuf::uint8* output) const;
397  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
398  return InternalSerializeWithCachedSizesToArray(false, output);
399  }
400  int GetCachedSize() const { return _cached_size_; }
401  private:
402  void SharedCtor();
403  void SharedDtor();
404  void SetCachedSize(int size) const;
405  void InternalSwap(SerializedStep* other);
406  private:
407  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
408  return _internal_metadata_.arena();
409  }
410  inline void* MaybeArenaPtr() const {
411  return _internal_metadata_.raw_arena_ptr();
412  }
413  public:
414 
415  ::google::protobuf::Metadata GetMetadata() const;
416 
417  // nested types ----------------------------------------------------
418 
419  // accessors -------------------------------------------------------
420 
421  // optional .ignition.msgs.WorldStatistics stats = 1;
422  bool has_stats() const;
423  void clear_stats();
424  static const int kStatsFieldNumber = 1;
425  const ::ignition::msgs::WorldStatistics& stats() const;
426  ::ignition::msgs::WorldStatistics* mutable_stats();
427  ::ignition::msgs::WorldStatistics* release_stats();
428  void set_allocated_stats(::ignition::msgs::WorldStatistics* stats);
429 
430  // optional .ignition.msgs.SerializedState state = 2;
431  bool has_state() const;
432  void clear_state();
433  static const int kStateFieldNumber = 2;
434  const ::ignition::msgs::SerializedState& state() const;
435  ::ignition::msgs::SerializedState* mutable_state();
436  ::ignition::msgs::SerializedState* release_state();
437  void set_allocated_state(::ignition::msgs::SerializedState* state);
438 
439  // @@protoc_insertion_point(class_scope:ignition.msgs.SerializedStep)
440  private:
441 
442  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
443  bool _is_default_instance_;
446  mutable int _cached_size_;
447  friend void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fserialized_2eproto();
450 
451  void InitAsDefaultInstance();
452  static SerializedStep* default_instance_;
453 };
454 // ===================================================================
455 
456 
457 // ===================================================================
458 
459 #if !PROTOBUF_INLINE_NOT_IN_HEADERS
460 // SerializedComponent
461 
462 // optional uint64 type = 1;
464  type_ = GOOGLE_ULONGLONG(0);
465 }
466 inline ::google::protobuf::uint64 SerializedComponent::type() const {
467  // @@protoc_insertion_point(field_get:ignition.msgs.SerializedComponent.type)
468  return type_;
469 }
470 inline void SerializedComponent::set_type(::google::protobuf::uint64 value) {
471 
472  type_ = value;
473  // @@protoc_insertion_point(field_set:ignition.msgs.SerializedComponent.type)
474 }
475 
476 // optional bytes component = 2;
478  component_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
479 }
480 inline const ::std::string& SerializedComponent::component() const {
481  // @@protoc_insertion_point(field_get:ignition.msgs.SerializedComponent.component)
482  return component_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
483 }
484 inline void SerializedComponent::set_component(const ::std::string& value) {
485 
486  component_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
487  // @@protoc_insertion_point(field_set:ignition.msgs.SerializedComponent.component)
488 }
489 inline void SerializedComponent::set_component(const char* value) {
490 
491  component_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
492  // @@protoc_insertion_point(field_set_char:ignition.msgs.SerializedComponent.component)
493 }
494 inline void SerializedComponent::set_component(const void* value, size_t size) {
495 
496  component_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
497  ::std::string(reinterpret_cast<const char*>(value), size));
498  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.SerializedComponent.component)
499 }
500 inline ::std::string* SerializedComponent::mutable_component() {
501 
502  // @@protoc_insertion_point(field_mutable:ignition.msgs.SerializedComponent.component)
503  return component_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
504 }
505 inline ::std::string* SerializedComponent::release_component() {
506  // @@protoc_insertion_point(field_release:ignition.msgs.SerializedComponent.component)
507 
508  return component_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
509 }
511  if (component != NULL) {
512 
513  } else {
514 
515  }
516  component_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), component);
517  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.SerializedComponent.component)
518 }
519 
520 // optional bool remove = 3;
522  remove_ = false;
523 }
524 inline bool SerializedComponent::remove() const {
525  // @@protoc_insertion_point(field_get:ignition.msgs.SerializedComponent.remove)
526  return remove_;
527 }
528 inline void SerializedComponent::set_remove(bool value) {
529 
530  remove_ = value;
531  // @@protoc_insertion_point(field_set:ignition.msgs.SerializedComponent.remove)
532 }
533 
534 // -------------------------------------------------------------------
535 
536 // SerializedEntity
537 
538 // optional uint64 id = 1;
540  id_ = GOOGLE_ULONGLONG(0);
541 }
542 inline ::google::protobuf::uint64 SerializedEntity::id() const {
543  // @@protoc_insertion_point(field_get:ignition.msgs.SerializedEntity.id)
544  return id_;
545 }
546 inline void SerializedEntity::set_id(::google::protobuf::uint64 value) {
547 
548  id_ = value;
549  // @@protoc_insertion_point(field_set:ignition.msgs.SerializedEntity.id)
550 }
551 
552 // repeated .ignition.msgs.SerializedComponent components = 2;
554  return components_.size();
555 }
557  components_.Clear();
558 }
559 inline const ::ignition::msgs::SerializedComponent& SerializedEntity::components(int index) const {
560  // @@protoc_insertion_point(field_get:ignition.msgs.SerializedEntity.components)
561  return components_.Get(index);
562 }
563 inline ::ignition::msgs::SerializedComponent* SerializedEntity::mutable_components(int index) {
564  // @@protoc_insertion_point(field_mutable:ignition.msgs.SerializedEntity.components)
565  return components_.Mutable(index);
566 }
567 inline ::ignition::msgs::SerializedComponent* SerializedEntity::add_components() {
568  // @@protoc_insertion_point(field_add:ignition.msgs.SerializedEntity.components)
569  return components_.Add();
570 }
571 inline ::google::protobuf::RepeatedPtrField< ::ignition::msgs::SerializedComponent >*
573  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.SerializedEntity.components)
574  return &components_;
575 }
576 inline const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::SerializedComponent >&
578  // @@protoc_insertion_point(field_list:ignition.msgs.SerializedEntity.components)
579  return components_;
580 }
581 
582 // optional bool remove = 3;
584  remove_ = false;
585 }
586 inline bool SerializedEntity::remove() const {
587  // @@protoc_insertion_point(field_get:ignition.msgs.SerializedEntity.remove)
588  return remove_;
589 }
590 inline void SerializedEntity::set_remove(bool value) {
591 
592  remove_ = value;
593  // @@protoc_insertion_point(field_set:ignition.msgs.SerializedEntity.remove)
594 }
595 
596 // -------------------------------------------------------------------
597 
598 // SerializedState
599 
600 // optional .ignition.msgs.Header header = 1;
601 inline bool SerializedState::has_header() const {
602  return !_is_default_instance_ && header_ != NULL;
603 }
605  if (GetArenaNoVirtual() == NULL && header_ != NULL) delete header_;
606  header_ = NULL;
607 }
608 inline const ::ignition::msgs::Header& SerializedState::header() const {
609  // @@protoc_insertion_point(field_get:ignition.msgs.SerializedState.header)
610  return header_ != NULL ? *header_ : *default_instance_->header_;
611 }
612 inline ::ignition::msgs::Header* SerializedState::mutable_header() {
613 
614  if (header_ == NULL) {
615  header_ = new ::ignition::msgs::Header;
616  }
617  // @@protoc_insertion_point(field_mutable:ignition.msgs.SerializedState.header)
618  return header_;
619 }
620 inline ::ignition::msgs::Header* SerializedState::release_header() {
621  // @@protoc_insertion_point(field_release:ignition.msgs.SerializedState.header)
622 
623  ::ignition::msgs::Header* temp = header_;
624  header_ = NULL;
625  return temp;
626 }
628  delete header_;
629  header_ = header;
630  if (header) {
631 
632  } else {
633 
634  }
635  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.SerializedState.header)
636 }
637 
638 // repeated .ignition.msgs.SerializedEntity entities = 2;
639 inline int SerializedState::entities_size() const {
640  return entities_.size();
641 }
643  entities_.Clear();
644 }
645 inline const ::ignition::msgs::SerializedEntity& SerializedState::entities(int index) const {
646  // @@protoc_insertion_point(field_get:ignition.msgs.SerializedState.entities)
647  return entities_.Get(index);
648 }
649 inline ::ignition::msgs::SerializedEntity* SerializedState::mutable_entities(int index) {
650  // @@protoc_insertion_point(field_mutable:ignition.msgs.SerializedState.entities)
651  return entities_.Mutable(index);
652 }
653 inline ::ignition::msgs::SerializedEntity* SerializedState::add_entities() {
654  // @@protoc_insertion_point(field_add:ignition.msgs.SerializedState.entities)
655  return entities_.Add();
656 }
657 inline ::google::protobuf::RepeatedPtrField< ::ignition::msgs::SerializedEntity >*
659  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.SerializedState.entities)
660  return &entities_;
661 }
662 inline const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::SerializedEntity >&
664  // @@protoc_insertion_point(field_list:ignition.msgs.SerializedState.entities)
665  return entities_;
666 }
667 
668 // -------------------------------------------------------------------
669 
670 // SerializedStep
671 
672 // optional .ignition.msgs.WorldStatistics stats = 1;
673 inline bool SerializedStep::has_stats() const {
674  return !_is_default_instance_ && stats_ != NULL;
675 }
677  if (GetArenaNoVirtual() == NULL && stats_ != NULL) delete stats_;
678  stats_ = NULL;
679 }
680 inline const ::ignition::msgs::WorldStatistics& SerializedStep::stats() const {
681  // @@protoc_insertion_point(field_get:ignition.msgs.SerializedStep.stats)
682  return stats_ != NULL ? *stats_ : *default_instance_->stats_;
683 }
684 inline ::ignition::msgs::WorldStatistics* SerializedStep::mutable_stats() {
685 
686  if (stats_ == NULL) {
687  stats_ = new ::ignition::msgs::WorldStatistics;
688  }
689  // @@protoc_insertion_point(field_mutable:ignition.msgs.SerializedStep.stats)
690  return stats_;
691 }
692 inline ::ignition::msgs::WorldStatistics* SerializedStep::release_stats() {
693  // @@protoc_insertion_point(field_release:ignition.msgs.SerializedStep.stats)
694 
695  ::ignition::msgs::WorldStatistics* temp = stats_;
696  stats_ = NULL;
697  return temp;
698 }
700  delete stats_;
701  stats_ = stats;
702  if (stats) {
703 
704  } else {
705 
706  }
707  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.SerializedStep.stats)
708 }
709 
710 // optional .ignition.msgs.SerializedState state = 2;
711 inline bool SerializedStep::has_state() const {
712  return !_is_default_instance_ && state_ != NULL;
713 }
715  if (GetArenaNoVirtual() == NULL && state_ != NULL) delete state_;
716  state_ = NULL;
717 }
718 inline const ::ignition::msgs::SerializedState& SerializedStep::state() const {
719  // @@protoc_insertion_point(field_get:ignition.msgs.SerializedStep.state)
720  return state_ != NULL ? *state_ : *default_instance_->state_;
721 }
722 inline ::ignition::msgs::SerializedState* SerializedStep::mutable_state() {
723 
724  if (state_ == NULL) {
725  state_ = new ::ignition::msgs::SerializedState;
726  }
727  // @@protoc_insertion_point(field_mutable:ignition.msgs.SerializedStep.state)
728  return state_;
729 }
730 inline ::ignition::msgs::SerializedState* SerializedStep::release_state() {
731  // @@protoc_insertion_point(field_release:ignition.msgs.SerializedStep.state)
732 
733  ::ignition::msgs::SerializedState* temp = state_;
734  state_ = NULL;
735  return temp;
736 }
738  delete state_;
739  state_ = state;
740  if (state) {
741 
742  } else {
743 
744  }
745  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.SerializedStep.state)
746 }
747 
748 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS
749 // -------------------------------------------------------------------
750 
751 // -------------------------------------------------------------------
752 
753 // -------------------------------------------------------------------
754 
755 
772 // @@protoc_insertion_point(namespace_scope)
773 
774 } // namespace msgs
775 } // namespace ignition
776 
777 #ifdef _MSC_VER
778 #pragma warning(pop)
779 #endif
780 // @@protoc_insertion_point(global_scope)
781 
782 #endif // PROTOBUF_ignition_2fmsgs_2fserialized_2eproto__INCLUDED
bool has_stats() const
Definition: serialized.pb.h:673
void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fserialized_2eproto()
::ignition::msgs::Header * mutable_header()
Definition: serialized.pb.h:612
::google::protobuf::RepeatedPtrField< ::ignition::msgs::SerializedEntity > * mutable_entities()
Definition: serialized.pb.h:658
int components_size() const
Definition: serialized.pb.h:553
::google::protobuf::uint64 type() const
Definition: serialized.pb.h:466
void clear_remove()
Definition: serialized.pb.h:521
void set_allocated_stats(::ignition::msgs::WorldStatistics *stats)
Definition: serialized.pb.h:699
SerializedComponent & operator=(const SerializedComponent &from)
Definition: serialized.pb.h:67
std::shared_ptr< SerializedComponent > SerializedComponentSharedPtr
Definition: serialized.pb.h:758
Definition: world_stats.pb.h:58
void set_type(::google::protobuf::uint64 value)
Definition: serialized.pb.h:470
void set_id(::google::protobuf::uint64 value)
Definition: serialized.pb.h:546
SerializedStep & operator=(const SerializedStep &from)
Definition: serialized.pb.h:368
const ::ignition::msgs::SerializedState & state() const
Definition: serialized.pb.h:718
void protobuf_AssignDesc_ignition_2fmsgs_2fserialized_2eproto()
SerializedStep * New() const
Definition: serialized.pb.h:380
std::unique_ptr< SerializedStep > SerializedStepUniquePtr
Definition: serialized.pb.h:768
bool remove() const
Definition: serialized.pb.h:586
std::shared_ptr< const SerializedState > ConstSerializedStateSharedPtr
Definition: serialized.pb.h:767
Definition: serialized.pb.h:161
Definition: header.pb.h:161
STL class.
void set_allocated_state(::ignition::msgs::SerializedState *state)
Definition: serialized.pb.h:737
::google::protobuf::RepeatedPtrField< ::ignition::msgs::SerializedComponent > * mutable_components()
Definition: serialized.pb.h:572
const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::SerializedComponent > & components() const
Definition: serialized.pb.h:577
std::unique_ptr< SerializedState > SerializedStateUniquePtr
Definition: serialized.pb.h:764
bool remove() const
Definition: serialized.pb.h:524
void clear_header()
Definition: serialized.pb.h:604
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: serialized.pb.h:96
const ::std::string & component() const
Definition: serialized.pb.h:480
Definition: serialized.pb.h:60
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: serialized.pb.h:397
void set_allocated_header(::ignition::msgs::Header *header)
Definition: serialized.pb.h:627
void clear_id()
Definition: serialized.pb.h:539
void protobuf_ShutdownFile_ignition_2fmsgs_2fserialized_2eproto()
int GetCachedSize() const
Definition: serialized.pb.h:99
std::unique_ptr< SerializedComponent > SerializedComponentUniquePtr
Definition: serialized.pb.h:756
SerializedEntity & operator=(const SerializedEntity &from)
Definition: serialized.pb.h:168
SerializedEntity * New() const
Definition: serialized.pb.h:180
SerializedState * New() const
Definition: serialized.pb.h:282
std::shared_ptr< const SerializedEntity > ConstSerializedEntitySharedPtr
Definition: serialized.pb.h:763
::ignition::msgs::WorldStatistics * mutable_stats()
Definition: serialized.pb.h:684
::ignition::msgs::Header * release_header()
Definition: serialized.pb.h:620
void clear_component()
Definition: serialized.pb.h:477
std::shared_ptr< const SerializedStep > ConstSerializedStepSharedPtr
Definition: serialized.pb.h:771
STL class.
std::shared_ptr< const SerializedComponent > ConstSerializedComponentSharedPtr
Definition: serialized.pb.h:759
void clear_entities()
Definition: serialized.pb.h:642
std::unique_ptr< SerializedEntity > SerializedEntityUniquePtr
Definition: serialized.pb.h:760
SerializedState & operator=(const SerializedState &from)
Definition: serialized.pb.h:270
const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::SerializedEntity > & entities() const
Definition: serialized.pb.h:663
::std::string * release_component()
Definition: serialized.pb.h:505
void set_allocated_component(::std::string *component)
Definition: serialized.pb.h:510
void clear_type()
Definition: serialized.pb.h:463
std::unique_ptr< const SerializedState > ConstSerializedStateUniquePtr
Definition: serialized.pb.h:765
SerializedComponent * New() const
Definition: serialized.pb.h:79
void clear_remove()
Definition: serialized.pb.h:583
::ignition::msgs::WorldStatistics * release_stats()
Definition: serialized.pb.h:692
::google::protobuf::uint64 id() const
Definition: serialized.pb.h:542
::ignition::msgs::SerializedState * mutable_state()
Definition: serialized.pb.h:722
void clear_state()
Definition: serialized.pb.h:714
std::shared_ptr< SerializedEntity > SerializedEntitySharedPtr
Definition: serialized.pb.h:762
void set_remove(bool value)
Definition: serialized.pb.h:528
int GetCachedSize() const
Definition: serialized.pb.h:200
void set_remove(bool value)
Definition: serialized.pb.h:590
bool has_state() const
Definition: serialized.pb.h:711
const ::ignition::msgs::Header & header() const
Definition: serialized.pb.h:608
std::shared_ptr< SerializedState > SerializedStateSharedPtr
Definition: serialized.pb.h:766
int GetCachedSize() const
Definition: serialized.pb.h:400
std::unique_ptr< const SerializedEntity > ConstSerializedEntityUniquePtr
Definition: serialized.pb.h:761
Definition: serialized.pb.h:361
::ignition::msgs::SerializedComponent * add_components()
Definition: serialized.pb.h:567
int GetCachedSize() const
Definition: serialized.pb.h:302
void clear_components()
Definition: serialized.pb.h:556
bool has_header() const
Definition: serialized.pb.h:601
void clear_stats()
Definition: serialized.pb.h:676
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: serialized.pb.h:299
Definition: serialized.pb.h:263
void set_component(const ::std::string &value)
Definition: serialized.pb.h:484
::ignition::msgs::SerializedEntity * add_entities()
Definition: serialized.pb.h:653
std::unique_ptr< const SerializedComponent > ConstSerializedComponentUniquePtr
Definition: serialized.pb.h:757
std::unique_ptr< const SerializedStep > ConstSerializedStepUniquePtr
Definition: serialized.pb.h:769
std::shared_ptr< SerializedStep > SerializedStepSharedPtr
Definition: serialized.pb.h:770
::ignition::msgs::SerializedState * release_state()
Definition: serialized.pb.h:730
const ::ignition::msgs::WorldStatistics & stats() const
Definition: serialized.pb.h:680
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: serialized.pb.h:197
int entities_size() const
Definition: serialized.pb.h:639
::std::string * mutable_component()
Definition: serialized.pb.h:500