Gazebo Msgs

API Reference

5.11.0
build/ignition-msgs5/include/ignition/msgs/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_INCLUDED_ignition_2fmsgs_2fserialized_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2fserialized_2eproto
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
20 #endif
21 
22 #include <google/protobuf/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
29 #include <google/protobuf/message.h>
30 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
31 #include <google/protobuf/extension_set.h> // IWYU pragma: export
32 #include <google/protobuf/unknown_field_set.h>
35 #ifndef _MSC_VER
36 #pragma GCC system_header
37 #else
38 #pragma warning(push)
39 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
40 #endif
41 #ifdef __linux__
42 #include <sys/sysmacros.h>
43 #endif
44 #include <memory>
45 #include <ignition/msgs/Export.hh>
46 // @@protoc_insertion_point(includes)
47 #define PROTOBUF_INTERNAL_EXPORT_protobuf_ignition_2fmsgs_2fserialized_2eproto IGNITION_MSGS_VISIBLE
48 
50 // Internal implementation detail -- do not use these members.
51 struct IGNITION_MSGS_VISIBLE TableStruct {
52  static const ::google::protobuf::internal::ParseTableField entries[];
53  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
54  static const ::google::protobuf::internal::ParseTable schema[4];
55  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
56  static const ::google::protobuf::internal::SerializationTable serialization_table[];
57  static const ::google::protobuf::uint32 offsets[];
58 };
59 void IGNITION_MSGS_VISIBLE AddDescriptors();
60 } // namespace protobuf_ignition_2fmsgs_2fserialized_2eproto
61 namespace ignition {
62 namespace msgs {
63 class SerializedComponent;
64 class SerializedComponentDefaultTypeInternal;
65 IGNITION_MSGS_VISIBLE extern SerializedComponentDefaultTypeInternal _SerializedComponent_default_instance_;
66 class SerializedEntity;
67 class SerializedEntityDefaultTypeInternal;
68 IGNITION_MSGS_VISIBLE extern SerializedEntityDefaultTypeInternal _SerializedEntity_default_instance_;
69 class SerializedState;
70 class SerializedStateDefaultTypeInternal;
71 IGNITION_MSGS_VISIBLE extern SerializedStateDefaultTypeInternal _SerializedState_default_instance_;
72 class SerializedStep;
73 class SerializedStepDefaultTypeInternal;
74 IGNITION_MSGS_VISIBLE extern SerializedStepDefaultTypeInternal _SerializedStep_default_instance_;
75 } // namespace msgs
76 } // namespace ignition
77 namespace google {
78 namespace protobuf {
79 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::SerializedComponent* Arena::CreateMaybeMessage<::ignition::msgs::SerializedComponent>(Arena*);
80 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::SerializedEntity* Arena::CreateMaybeMessage<::ignition::msgs::SerializedEntity>(Arena*);
81 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::SerializedState* Arena::CreateMaybeMessage<::ignition::msgs::SerializedState>(Arena*);
82 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::SerializedStep* Arena::CreateMaybeMessage<::ignition::msgs::SerializedStep>(Arena*);
83 } // namespace protobuf
84 } // namespace google
85 namespace ignition {
86 namespace msgs {
87 
88 // ===================================================================
89 
90 class IGNITION_MSGS_VISIBLE SerializedComponent : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.SerializedComponent) */ {
91  public:
93  virtual ~SerializedComponent();
94 
96 
98  CopyFrom(from);
99  return *this;
100  }
101  #if LANG_CXX11
103  : SerializedComponent() {
104  *this = ::std::move(from);
105  }
106 
107  inline SerializedComponent& operator=(SerializedComponent&& from) noexcept {
108  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
109  if (this != &from) InternalSwap(&from);
110  } else {
111  CopyFrom(from);
112  }
113  return *this;
114  }
115  #endif
116  static const ::google::protobuf::Descriptor* descriptor();
117  static const SerializedComponent& default_instance();
118 
119  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
121  return reinterpret_cast<const SerializedComponent*>(
123  }
124  static constexpr int kIndexInFileMessages =
125  0;
126 
127  void Swap(SerializedComponent* other);
129  a.Swap(&b);
130  }
131 
132  // implements Message ----------------------------------------------
133 
134  inline SerializedComponent* New() const final {
135  return CreateMaybeMessage<SerializedComponent>(NULL);
136  }
137 
138  SerializedComponent* New(::google::protobuf::Arena* arena) const final {
139  return CreateMaybeMessage<SerializedComponent>(arena);
140  }
141  void CopyFrom(const ::google::protobuf::Message& from) final;
142  void MergeFrom(const ::google::protobuf::Message& from) final;
143  void CopyFrom(const SerializedComponent& from);
144  void MergeFrom(const SerializedComponent& from);
145  void Clear() final;
146  bool IsInitialized() const final;
147 
148  size_t ByteSizeLong() const final;
149  bool MergePartialFromCodedStream(
150  ::google::protobuf::io::CodedInputStream* input) final;
151  void SerializeWithCachedSizes(
152  ::google::protobuf::io::CodedOutputStream* output) const final;
153  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
154  bool deterministic, ::google::protobuf::uint8* target) const final;
155  int GetCachedSize() const final { return _cached_size_.Get(); }
156 
157  private:
158  void SharedCtor();
159  void SharedDtor();
160  void SetCachedSize(int size) const final;
161  void InternalSwap(SerializedComponent* other);
162  private:
163  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
164  return NULL;
165  }
166  inline void* MaybeArenaPtr() const {
167  return NULL;
168  }
169  public:
170 
171  ::google::protobuf::Metadata GetMetadata() const final;
172 
173  // nested types ----------------------------------------------------
174 
175  // accessors -------------------------------------------------------
176 
177  // bytes component = 2;
178  void clear_component();
179  static const int kComponentFieldNumber = 2;
180  const ::std::string& component() const;
181  void set_component(const ::std::string& value);
182  #if LANG_CXX11
183  void set_component(::std::string&& value);
184  #endif
185  void set_component(const char* value);
186  void set_component(const void* value, size_t size);
187  ::std::string* mutable_component();
188  ::std::string* release_component();
189  void set_allocated_component(::std::string* component);
190 
191  // uint64 type = 1;
192  void clear_type();
193  static const int kTypeFieldNumber = 1;
194  ::google::protobuf::uint64 type() const;
195  void set_type(::google::protobuf::uint64 value);
196 
197  // bool remove = 3;
198  void clear_remove();
199  static const int kRemoveFieldNumber = 3;
200  bool remove() const;
201  void set_remove(bool value);
202 
203  // @@protoc_insertion_point(class_scope:ignition.msgs.SerializedComponent)
204  private:
205 
206  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
207  ::google::protobuf::internal::ArenaStringPtr component_;
208  ::google::protobuf::uint64 type_;
209  bool remove_;
210  mutable ::google::protobuf::internal::CachedSize _cached_size_;
211  friend struct ::protobuf_ignition_2fmsgs_2fserialized_2eproto::TableStruct;
212 };
213 // -------------------------------------------------------------------
214 
215 class IGNITION_MSGS_VISIBLE SerializedEntity : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.SerializedEntity) */ {
216  public:
218  virtual ~SerializedEntity();
219 
220  SerializedEntity(const SerializedEntity& from);
221 
223  CopyFrom(from);
224  return *this;
225  }
226  #if LANG_CXX11
227  SerializedEntity(SerializedEntity&& from) noexcept
228  : SerializedEntity() {
229  *this = ::std::move(from);
230  }
231 
232  inline SerializedEntity& operator=(SerializedEntity&& from) noexcept {
233  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
234  if (this != &from) InternalSwap(&from);
235  } else {
236  CopyFrom(from);
237  }
238  return *this;
239  }
240  #endif
241  static const ::google::protobuf::Descriptor* descriptor();
242  static const SerializedEntity& default_instance();
243 
244  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
246  return reinterpret_cast<const SerializedEntity*>(
248  }
249  static constexpr int kIndexInFileMessages =
250  1;
251 
252  void Swap(SerializedEntity* other);
253  friend void swap(SerializedEntity& a, SerializedEntity& b) {
254  a.Swap(&b);
255  }
256 
257  // implements Message ----------------------------------------------
258 
259  inline SerializedEntity* New() const final {
260  return CreateMaybeMessage<SerializedEntity>(NULL);
261  }
262 
263  SerializedEntity* New(::google::protobuf::Arena* arena) const final {
264  return CreateMaybeMessage<SerializedEntity>(arena);
265  }
266  void CopyFrom(const ::google::protobuf::Message& from) final;
267  void MergeFrom(const ::google::protobuf::Message& from) final;
268  void CopyFrom(const SerializedEntity& from);
269  void MergeFrom(const SerializedEntity& from);
270  void Clear() final;
271  bool IsInitialized() const final;
272 
273  size_t ByteSizeLong() const final;
274  bool MergePartialFromCodedStream(
275  ::google::protobuf::io::CodedInputStream* input) final;
276  void SerializeWithCachedSizes(
277  ::google::protobuf::io::CodedOutputStream* output) const final;
278  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
279  bool deterministic, ::google::protobuf::uint8* target) const final;
280  int GetCachedSize() const final { return _cached_size_.Get(); }
281 
282  private:
283  void SharedCtor();
284  void SharedDtor();
285  void SetCachedSize(int size) const final;
286  void InternalSwap(SerializedEntity* other);
287  private:
288  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
289  return NULL;
290  }
291  inline void* MaybeArenaPtr() const {
292  return NULL;
293  }
294  public:
295 
296  ::google::protobuf::Metadata GetMetadata() const final;
297 
298  // nested types ----------------------------------------------------
299 
300  // accessors -------------------------------------------------------
301 
302  // repeated .ignition.msgs.SerializedComponent components = 2;
303  int components_size() const;
304  void clear_components();
305  static const int kComponentsFieldNumber = 2;
306  ::ignition::msgs::SerializedComponent* mutable_components(int index);
307  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::SerializedComponent >*
308  mutable_components();
309  const ::ignition::msgs::SerializedComponent& components(int index) const;
310  ::ignition::msgs::SerializedComponent* add_components();
311  const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::SerializedComponent >&
312  components() const;
313 
314  // uint64 id = 1;
315  void clear_id();
316  static const int kIdFieldNumber = 1;
317  ::google::protobuf::uint64 id() const;
318  void set_id(::google::protobuf::uint64 value);
319 
320  // bool remove = 3;
321  void clear_remove();
322  static const int kRemoveFieldNumber = 3;
323  bool remove() const;
324  void set_remove(bool value);
325 
326  // @@protoc_insertion_point(class_scope:ignition.msgs.SerializedEntity)
327  private:
328 
329  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
330  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::SerializedComponent > components_;
331  ::google::protobuf::uint64 id_;
332  bool remove_;
333  mutable ::google::protobuf::internal::CachedSize _cached_size_;
334  friend struct ::protobuf_ignition_2fmsgs_2fserialized_2eproto::TableStruct;
335 };
336 // -------------------------------------------------------------------
337 
338 class IGNITION_MSGS_VISIBLE SerializedState : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.SerializedState) */ {
339  public:
340  SerializedState();
341  virtual ~SerializedState();
342 
343  SerializedState(const SerializedState& from);
344 
346  CopyFrom(from);
347  return *this;
348  }
349  #if LANG_CXX11
350  SerializedState(SerializedState&& from) noexcept
351  : SerializedState() {
352  *this = ::std::move(from);
353  }
354 
355  inline SerializedState& operator=(SerializedState&& from) noexcept {
356  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
357  if (this != &from) InternalSwap(&from);
358  } else {
359  CopyFrom(from);
360  }
361  return *this;
362  }
363  #endif
364  static const ::google::protobuf::Descriptor* descriptor();
365  static const SerializedState& default_instance();
366 
367  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
369  return reinterpret_cast<const SerializedState*>(
371  }
372  static constexpr int kIndexInFileMessages =
373  2;
374 
375  void Swap(SerializedState* other);
376  friend void swap(SerializedState& a, SerializedState& b) {
377  a.Swap(&b);
378  }
379 
380  // implements Message ----------------------------------------------
381 
382  inline SerializedState* New() const final {
383  return CreateMaybeMessage<SerializedState>(NULL);
384  }
385 
386  SerializedState* New(::google::protobuf::Arena* arena) const final {
387  return CreateMaybeMessage<SerializedState>(arena);
388  }
389  void CopyFrom(const ::google::protobuf::Message& from) final;
390  void MergeFrom(const ::google::protobuf::Message& from) final;
391  void CopyFrom(const SerializedState& from);
392  void MergeFrom(const SerializedState& from);
393  void Clear() final;
394  bool IsInitialized() const final;
395 
396  size_t ByteSizeLong() const final;
397  bool MergePartialFromCodedStream(
398  ::google::protobuf::io::CodedInputStream* input) final;
399  void SerializeWithCachedSizes(
400  ::google::protobuf::io::CodedOutputStream* output) const final;
401  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
402  bool deterministic, ::google::protobuf::uint8* target) const final;
403  int GetCachedSize() const final { return _cached_size_.Get(); }
404 
405  private:
406  void SharedCtor();
407  void SharedDtor();
408  void SetCachedSize(int size) const final;
409  void InternalSwap(SerializedState* other);
410  private:
411  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
412  return NULL;
413  }
414  inline void* MaybeArenaPtr() const {
415  return NULL;
416  }
417  public:
418 
419  ::google::protobuf::Metadata GetMetadata() const final;
420 
421  // nested types ----------------------------------------------------
422 
423  // accessors -------------------------------------------------------
424 
425  // repeated .ignition.msgs.SerializedEntity entities = 2;
426  int entities_size() const;
427  void clear_entities();
428  static const int kEntitiesFieldNumber = 2;
429  ::ignition::msgs::SerializedEntity* mutable_entities(int index);
430  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::SerializedEntity >*
431  mutable_entities();
432  const ::ignition::msgs::SerializedEntity& entities(int index) const;
433  ::ignition::msgs::SerializedEntity* add_entities();
434  const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::SerializedEntity >&
435  entities() const;
436 
437  // .ignition.msgs.Header header = 1;
438  bool has_header() const;
439  void clear_header();
440  static const int kHeaderFieldNumber = 1;
441  private:
442  const ::ignition::msgs::Header& _internal_header() const;
443  public:
444  const ::ignition::msgs::Header& header() const;
445  ::ignition::msgs::Header* release_header();
446  ::ignition::msgs::Header* mutable_header();
447  void set_allocated_header(::ignition::msgs::Header* header);
448 
449  // @@protoc_insertion_point(class_scope:ignition.msgs.SerializedState)
450  private:
451 
452  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
453  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::SerializedEntity > entities_;
454  ::ignition::msgs::Header* header_;
455  mutable ::google::protobuf::internal::CachedSize _cached_size_;
456  friend struct ::protobuf_ignition_2fmsgs_2fserialized_2eproto::TableStruct;
457 };
458 // -------------------------------------------------------------------
459 
460 class IGNITION_MSGS_VISIBLE SerializedStep : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.SerializedStep) */ {
461  public:
462  SerializedStep();
463  virtual ~SerializedStep();
464 
465  SerializedStep(const SerializedStep& from);
466 
467  inline SerializedStep& operator=(const SerializedStep& from) {
468  CopyFrom(from);
469  return *this;
470  }
471  #if LANG_CXX11
472  SerializedStep(SerializedStep&& from) noexcept
473  : SerializedStep() {
474  *this = ::std::move(from);
475  }
476 
477  inline SerializedStep& operator=(SerializedStep&& from) noexcept {
478  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
479  if (this != &from) InternalSwap(&from);
480  } else {
481  CopyFrom(from);
482  }
483  return *this;
484  }
485  #endif
486  static const ::google::protobuf::Descriptor* descriptor();
487  static const SerializedStep& default_instance();
488 
489  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
490  static inline const SerializedStep* internal_default_instance() {
491  return reinterpret_cast<const SerializedStep*>(
493  }
494  static constexpr int kIndexInFileMessages =
495  3;
496 
497  void Swap(SerializedStep* other);
498  friend void swap(SerializedStep& a, SerializedStep& b) {
499  a.Swap(&b);
500  }
501 
502  // implements Message ----------------------------------------------
503 
504  inline SerializedStep* New() const final {
505  return CreateMaybeMessage<SerializedStep>(NULL);
506  }
507 
508  SerializedStep* New(::google::protobuf::Arena* arena) const final {
509  return CreateMaybeMessage<SerializedStep>(arena);
510  }
511  void CopyFrom(const ::google::protobuf::Message& from) final;
512  void MergeFrom(const ::google::protobuf::Message& from) final;
513  void CopyFrom(const SerializedStep& from);
514  void MergeFrom(const SerializedStep& from);
515  void Clear() final;
516  bool IsInitialized() const final;
517 
518  size_t ByteSizeLong() const final;
519  bool MergePartialFromCodedStream(
520  ::google::protobuf::io::CodedInputStream* input) final;
521  void SerializeWithCachedSizes(
522  ::google::protobuf::io::CodedOutputStream* output) const final;
523  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
524  bool deterministic, ::google::protobuf::uint8* target) const final;
525  int GetCachedSize() const final { return _cached_size_.Get(); }
526 
527  private:
528  void SharedCtor();
529  void SharedDtor();
530  void SetCachedSize(int size) const final;
531  void InternalSwap(SerializedStep* other);
532  private:
533  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
534  return NULL;
535  }
536  inline void* MaybeArenaPtr() const {
537  return NULL;
538  }
539  public:
540 
541  ::google::protobuf::Metadata GetMetadata() const final;
542 
543  // nested types ----------------------------------------------------
544 
545  // accessors -------------------------------------------------------
546 
547  // .ignition.msgs.WorldStatistics stats = 1;
548  bool has_stats() const;
549  void clear_stats();
550  static const int kStatsFieldNumber = 1;
551  private:
552  const ::ignition::msgs::WorldStatistics& _internal_stats() const;
553  public:
554  const ::ignition::msgs::WorldStatistics& stats() const;
555  ::ignition::msgs::WorldStatistics* release_stats();
556  ::ignition::msgs::WorldStatistics* mutable_stats();
557  void set_allocated_stats(::ignition::msgs::WorldStatistics* stats);
558 
559  // .ignition.msgs.SerializedState state = 2;
560  bool has_state() const;
561  void clear_state();
562  static const int kStateFieldNumber = 2;
563  private:
564  const ::ignition::msgs::SerializedState& _internal_state() const;
565  public:
566  const ::ignition::msgs::SerializedState& state() const;
567  ::ignition::msgs::SerializedState* release_state();
568  ::ignition::msgs::SerializedState* mutable_state();
569  void set_allocated_state(::ignition::msgs::SerializedState* state);
570 
571  // @@protoc_insertion_point(class_scope:ignition.msgs.SerializedStep)
572  private:
573 
574  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
575  ::ignition::msgs::WorldStatistics* stats_;
576  ::ignition::msgs::SerializedState* state_;
577  mutable ::google::protobuf::internal::CachedSize _cached_size_;
578  friend struct ::protobuf_ignition_2fmsgs_2fserialized_2eproto::TableStruct;
579 };
580 // ===================================================================
581 
582 
583 // ===================================================================
584 
585 #ifdef __GNUC__
586  #pragma GCC diagnostic push
587  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
588 #endif // __GNUC__
589 // SerializedComponent
590 
591 // uint64 type = 1;
593  type_ = GOOGLE_ULONGLONG(0);
594 }
595 inline ::google::protobuf::uint64 SerializedComponent::type() const {
596  // @@protoc_insertion_point(field_get:ignition.msgs.SerializedComponent.type)
597  return type_;
598 }
599 inline void SerializedComponent::set_type(::google::protobuf::uint64 value) {
600 
601  type_ = value;
602  // @@protoc_insertion_point(field_set:ignition.msgs.SerializedComponent.type)
603 }
604 
605 // bytes component = 2;
607  component_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
608 }
609 inline const ::std::string& SerializedComponent::component() const {
610  // @@protoc_insertion_point(field_get:ignition.msgs.SerializedComponent.component)
611  return component_.GetNoArena();
612 }
613 inline void SerializedComponent::set_component(const ::std::string& value) {
614 
615  component_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
616  // @@protoc_insertion_point(field_set:ignition.msgs.SerializedComponent.component)
617 }
618 #if LANG_CXX11
619 inline void SerializedComponent::set_component(::std::string&& value) {
620 
621  component_.SetNoArena(
622  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
623  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.SerializedComponent.component)
624 }
625 #endif
626 inline void SerializedComponent::set_component(const char* value) {
627  GOOGLE_DCHECK(value != NULL);
628 
629  component_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
630  // @@protoc_insertion_point(field_set_char:ignition.msgs.SerializedComponent.component)
631 }
632 inline void SerializedComponent::set_component(const void* value, size_t size) {
633 
634  component_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
635  ::std::string(reinterpret_cast<const char*>(value), size));
636  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.SerializedComponent.component)
637 }
638 inline ::std::string* SerializedComponent::mutable_component() {
639 
640  // @@protoc_insertion_point(field_mutable:ignition.msgs.SerializedComponent.component)
641  return component_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
642 }
643 inline ::std::string* SerializedComponent::release_component() {
644  // @@protoc_insertion_point(field_release:ignition.msgs.SerializedComponent.component)
645 
646  return component_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
647 }
649  if (component != NULL) {
650 
651  } else {
652 
653  }
654  component_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), component);
655  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.SerializedComponent.component)
656 }
657 
658 // bool remove = 3;
660  remove_ = false;
661 }
662 inline bool SerializedComponent::remove() const {
663  // @@protoc_insertion_point(field_get:ignition.msgs.SerializedComponent.remove)
664  return remove_;
665 }
666 inline void SerializedComponent::set_remove(bool value) {
667 
668  remove_ = value;
669  // @@protoc_insertion_point(field_set:ignition.msgs.SerializedComponent.remove)
670 }
671 
672 // -------------------------------------------------------------------
673 
674 // SerializedEntity
675 
676 // uint64 id = 1;
678  id_ = GOOGLE_ULONGLONG(0);
679 }
680 inline ::google::protobuf::uint64 SerializedEntity::id() const {
681  // @@protoc_insertion_point(field_get:ignition.msgs.SerializedEntity.id)
682  return id_;
683 }
684 inline void SerializedEntity::set_id(::google::protobuf::uint64 value) {
685 
686  id_ = value;
687  // @@protoc_insertion_point(field_set:ignition.msgs.SerializedEntity.id)
688 }
689 
690 // repeated .ignition.msgs.SerializedComponent components = 2;
692  return components_.size();
693 }
695  components_.Clear();
696 }
697 inline ::ignition::msgs::SerializedComponent* SerializedEntity::mutable_components(int index) {
698  // @@protoc_insertion_point(field_mutable:ignition.msgs.SerializedEntity.components)
699  return components_.Mutable(index);
700 }
701 inline ::google::protobuf::RepeatedPtrField< ::ignition::msgs::SerializedComponent >*
703  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.SerializedEntity.components)
704  return &components_;
705 }
706 inline const ::ignition::msgs::SerializedComponent& SerializedEntity::components(int index) const {
707  // @@protoc_insertion_point(field_get:ignition.msgs.SerializedEntity.components)
708  return components_.Get(index);
709 }
710 inline ::ignition::msgs::SerializedComponent* SerializedEntity::add_components() {
711  // @@protoc_insertion_point(field_add:ignition.msgs.SerializedEntity.components)
712  return components_.Add();
713 }
714 inline const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::SerializedComponent >&
716  // @@protoc_insertion_point(field_list:ignition.msgs.SerializedEntity.components)
717  return components_;
718 }
719 
720 // bool remove = 3;
722  remove_ = false;
723 }
724 inline bool SerializedEntity::remove() const {
725  // @@protoc_insertion_point(field_get:ignition.msgs.SerializedEntity.remove)
726  return remove_;
727 }
728 inline void SerializedEntity::set_remove(bool value) {
729 
730  remove_ = value;
731  // @@protoc_insertion_point(field_set:ignition.msgs.SerializedEntity.remove)
732 }
733 
734 // -------------------------------------------------------------------
735 
736 // SerializedState
737 
738 // .ignition.msgs.Header header = 1;
739 inline bool SerializedState::has_header() const {
740  return this != internal_default_instance() && header_ != NULL;
741 }
742 inline const ::ignition::msgs::Header& SerializedState::_internal_header() const {
743  return *header_;
744 }
745 inline const ::ignition::msgs::Header& SerializedState::header() const {
746  const ::ignition::msgs::Header* p = header_;
747  // @@protoc_insertion_point(field_get:ignition.msgs.SerializedState.header)
748  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
750 }
751 inline ::ignition::msgs::Header* SerializedState::release_header() {
752  // @@protoc_insertion_point(field_release:ignition.msgs.SerializedState.header)
753 
754  ::ignition::msgs::Header* temp = header_;
755  header_ = NULL;
756  return temp;
757 }
758 inline ::ignition::msgs::Header* SerializedState::mutable_header() {
759 
760  if (header_ == NULL) {
761  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
762  header_ = p;
763  }
764  // @@protoc_insertion_point(field_mutable:ignition.msgs.SerializedState.header)
765  return header_;
766 }
768  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
769  if (message_arena == NULL) {
770  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
771  }
772  if (header) {
773  ::google::protobuf::Arena* submessage_arena = NULL;
774  if (message_arena != submessage_arena) {
775  header = ::google::protobuf::internal::GetOwnedMessage(
776  message_arena, header, submessage_arena);
777  }
778 
779  } else {
780 
781  }
782  header_ = header;
783  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.SerializedState.header)
784 }
785 
786 // repeated .ignition.msgs.SerializedEntity entities = 2;
787 inline int SerializedState::entities_size() const {
788  return entities_.size();
789 }
791  entities_.Clear();
792 }
793 inline ::ignition::msgs::SerializedEntity* SerializedState::mutable_entities(int index) {
794  // @@protoc_insertion_point(field_mutable:ignition.msgs.SerializedState.entities)
795  return entities_.Mutable(index);
796 }
797 inline ::google::protobuf::RepeatedPtrField< ::ignition::msgs::SerializedEntity >*
799  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.SerializedState.entities)
800  return &entities_;
801 }
802 inline const ::ignition::msgs::SerializedEntity& SerializedState::entities(int index) const {
803  // @@protoc_insertion_point(field_get:ignition.msgs.SerializedState.entities)
804  return entities_.Get(index);
805 }
806 inline ::ignition::msgs::SerializedEntity* SerializedState::add_entities() {
807  // @@protoc_insertion_point(field_add:ignition.msgs.SerializedState.entities)
808  return entities_.Add();
809 }
810 inline const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::SerializedEntity >&
812  // @@protoc_insertion_point(field_list:ignition.msgs.SerializedState.entities)
813  return entities_;
814 }
815 
816 // -------------------------------------------------------------------
817 
818 // SerializedStep
819 
820 // .ignition.msgs.WorldStatistics stats = 1;
821 inline bool SerializedStep::has_stats() const {
822  return this != internal_default_instance() && stats_ != NULL;
823 }
824 inline const ::ignition::msgs::WorldStatistics& SerializedStep::_internal_stats() const {
825  return *stats_;
826 }
827 inline const ::ignition::msgs::WorldStatistics& SerializedStep::stats() const {
828  const ::ignition::msgs::WorldStatistics* p = stats_;
829  // @@protoc_insertion_point(field_get:ignition.msgs.SerializedStep.stats)
830  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::WorldStatistics*>(
832 }
833 inline ::ignition::msgs::WorldStatistics* SerializedStep::release_stats() {
834  // @@protoc_insertion_point(field_release:ignition.msgs.SerializedStep.stats)
835 
836  ::ignition::msgs::WorldStatistics* temp = stats_;
837  stats_ = NULL;
838  return temp;
839 }
840 inline ::ignition::msgs::WorldStatistics* SerializedStep::mutable_stats() {
841 
842  if (stats_ == NULL) {
843  auto* p = CreateMaybeMessage<::ignition::msgs::WorldStatistics>(GetArenaNoVirtual());
844  stats_ = p;
845  }
846  // @@protoc_insertion_point(field_mutable:ignition.msgs.SerializedStep.stats)
847  return stats_;
848 }
850  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
851  if (message_arena == NULL) {
852  delete reinterpret_cast< ::google::protobuf::MessageLite*>(stats_);
853  }
854  if (stats) {
855  ::google::protobuf::Arena* submessage_arena = NULL;
856  if (message_arena != submessage_arena) {
857  stats = ::google::protobuf::internal::GetOwnedMessage(
858  message_arena, stats, submessage_arena);
859  }
860 
861  } else {
862 
863  }
864  stats_ = stats;
865  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.SerializedStep.stats)
866 }
867 
868 // .ignition.msgs.SerializedState state = 2;
869 inline bool SerializedStep::has_state() const {
870  return this != internal_default_instance() && state_ != NULL;
871 }
873  if (GetArenaNoVirtual() == NULL && state_ != NULL) {
874  delete state_;
875  }
876  state_ = NULL;
877 }
878 inline const ::ignition::msgs::SerializedState& SerializedStep::_internal_state() const {
879  return *state_;
880 }
881 inline const ::ignition::msgs::SerializedState& SerializedStep::state() const {
882  const ::ignition::msgs::SerializedState* p = state_;
883  // @@protoc_insertion_point(field_get:ignition.msgs.SerializedStep.state)
884  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::SerializedState*>(
886 }
887 inline ::ignition::msgs::SerializedState* SerializedStep::release_state() {
888  // @@protoc_insertion_point(field_release:ignition.msgs.SerializedStep.state)
889 
890  ::ignition::msgs::SerializedState* temp = state_;
891  state_ = NULL;
892  return temp;
893 }
894 inline ::ignition::msgs::SerializedState* SerializedStep::mutable_state() {
895 
896  if (state_ == NULL) {
897  auto* p = CreateMaybeMessage<::ignition::msgs::SerializedState>(GetArenaNoVirtual());
898  state_ = p;
899  }
900  // @@protoc_insertion_point(field_mutable:ignition.msgs.SerializedStep.state)
901  return state_;
902 }
904  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
905  if (message_arena == NULL) {
906  delete state_;
907  }
908  if (state) {
909  ::google::protobuf::Arena* submessage_arena = NULL;
910  if (message_arena != submessage_arena) {
911  state = ::google::protobuf::internal::GetOwnedMessage(
912  message_arena, state, submessage_arena);
913  }
914 
915  } else {
916 
917  }
918  state_ = state;
919  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.SerializedStep.state)
920 }
921 
922 #ifdef __GNUC__
923  #pragma GCC diagnostic pop
924 #endif // __GNUC__
925 // -------------------------------------------------------------------
926 
927 // -------------------------------------------------------------------
928 
929 // -------------------------------------------------------------------
930 
931 
936 // @@protoc_insertion_point(namespace_scope)
937 
938 } // namespace msgs
939 } // namespace ignition
940 
941 #ifdef _MSC_VER
942 #pragma warning(pop)
943 #endif
944 // @@protoc_insertion_point(global_scope)
945 
946 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2fserialized_2eproto
::ignition::msgs::SerializedState * release_state()
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:887
SerializedEntity * New() const final
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:259
::ignition::msgs::WorldStatistics * release_stats()
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:833
const ::ignition::msgs::Header & header() const
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:745
void Swap(SerializedEntity *other)
bool remove() const
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:724
void set_type(::google::protobuf::uint64 value)
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:599
static const SerializedEntity * internal_default_instance()
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:245
SerializedStep * New() const final
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:504
STL class.
STL class.
bool has_state() const
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:869
T move(T... args)
void set_component(const ::std::string &value)
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:613
void set_remove(bool value)
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:728
void set_remove(bool value)
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:666
::std::string * release_component()
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:643
void set_id(::google::protobuf::uint64 value)
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:684
::google::protobuf::RepeatedPtrField< ::ignition::msgs::SerializedComponent > * mutable_components()
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:702
void clear_components()
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:694
friend void swap(SerializedState &a, SerializedState &b)
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:376
::ignition::msgs::Header * mutable_header()
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:758
::google::protobuf::RepeatedPtrField< ::ignition::msgs::SerializedEntity > * mutable_entities()
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:798
friend void swap(SerializedEntity &a, SerializedEntity &b)
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:253
::std::string * mutable_component()
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:638
::google::protobuf::uint64 id() const
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:680
const ::ignition::msgs::SerializedState & state() const
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:881
SerializedStep * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:508
void set_allocated_header(::ignition::msgs::Header *header)
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:767
static const SerializedState * internal_default_instance()
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:368
void set_allocated_state(::ignition::msgs::SerializedState *state)
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:903
void Swap(SerializedStep *other)
bool remove() const
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:662
int components_size() const
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:691
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:460
IGNITION_MSGS_VISIBLE SerializedComponentDefaultTypeInternal _SerializedComponent_default_instance_
Definition: build/ignition-msgs5/include/ignition/msgs/world_stats.pb.h:79
static const SerializedStep * internal_default_instance()
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:490
const ::std::string & component() const
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:609
friend void swap(SerializedComponent &a, SerializedComponent &b)
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:128
void clear_remove()
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:721
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:49
SerializedComponent * New() const final
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:134
::ignition::msgs::Header * release_header()
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:751
void set_allocated_component(::std::string *component)
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:648
const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::SerializedComponent > & components() const
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:715
const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::SerializedEntity > & entities() const
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:811
std::unique_ptr< SerializedComponent > SerializedComponentUniquePtr
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:932
SerializedState * New() const final
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:382
::ignition::msgs::SerializedState * mutable_state()
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:894
void set_allocated_stats(::ignition::msgs::WorldStatistics *stats)
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:849
void clear_remove()
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:659
void IGNITION_MSGS_VISIBLE AddDescriptors()
IGNITION_MSGS_VISIBLE SerializedEntityDefaultTypeInternal _SerializedEntity_default_instance_
SerializedEntity & operator=(const SerializedEntity &from)
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:222
::ignition::msgs::WorldStatistics * mutable_stats()
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:840
friend void swap(SerializedStep &a, SerializedStep &b)
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:498
std::shared_ptr< const SerializedComponent > ConstSerializedComponentSharedPtr
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:935
void Swap(SerializedState *other)
SerializedComponent * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:138
IGNITION_MSGS_VISIBLE WorldStatisticsDefaultTypeInternal _WorldStatistics_default_instance_
::ignition::msgs::SerializedComponent * add_components()
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:710
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:90
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:51
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:215
void clear_state()
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:872
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
const ::ignition::msgs::WorldStatistics & stats() const
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:827
bool has_header() const
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:739
void clear_component()
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:606
void clear_type()
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:592
SerializedComponent & operator=(const SerializedComponent &from)
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:97
IGNITION_MSGS_VISIBLE SerializedStateDefaultTypeInternal _SerializedState_default_instance_
STL namespace.
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:338
::ignition::msgs::SerializedEntity * add_entities()
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:806
Definition: build/ignition-msgs5/include/ignition/msgs/header.pb.h:215
int entities_size() const
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:787
void clear_id()
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:677
SerializedState * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:386
SerializedStep & operator=(const SerializedStep &from)
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:467
std::unique_ptr< const SerializedComponent > ConstSerializedComponentUniquePtr
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:933
bool has_stats() const
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:821
IGNITION_MSGS_VISIBLE SerializedStepDefaultTypeInternal _SerializedStep_default_instance_
SerializedEntity * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:263
void Swap(SerializedComponent *other)
STL class.
void clear_entities()
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:790
Definition: build/ignition-msgs5/include/ignition/msgs/actor.pb.h:78
::google::protobuf::uint64 type() const
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:595
SerializedState & operator=(const SerializedState &from)
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:345
static const SerializedComponent * internal_default_instance()
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:120
std::shared_ptr< SerializedComponent > SerializedComponentSharedPtr
Definition: build/ignition-msgs5/include/ignition/msgs/serialized.pb.h:934