Ignition Msgs

API Reference

5.8.1
link.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/link.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2flink_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2flink_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>
37 #include "ignition/msgs/light.pb.h"
40 #include "ignition/msgs/pose.pb.h"
44 #ifndef _MSC_VER
45 #pragma GCC system_header
46 #else
47 #pragma warning(push)
48 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
49 #endif
50 #ifdef __linux__
51 #include <sys/sysmacros.h>
52 #endif
53 #include <memory>
54 #include <ignition/msgs/Export.hh>
55 // @@protoc_insertion_point(includes)
56 #include <google/protobuf/port_def.inc>
57 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2flink_2eproto IGNITION_MSGS_VISIBLE
58 PROTOBUF_NAMESPACE_OPEN
59 namespace internal {
60 class AnyMetadata;
61 } // namespace internal
62 PROTOBUF_NAMESPACE_CLOSE
63 
64 // Internal implementation detail -- do not use these members.
65 struct IGNITION_MSGS_VISIBLE TableStruct_ignition_2fmsgs_2flink_2eproto {
66  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
67  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
68  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
69  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
70  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
71  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
72  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
73  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
74  static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
75 };
76 extern IGNITION_MSGS_VISIBLE const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2flink_2eproto;
77 namespace ignition {
78 namespace msgs {
79 class Link;
80 class LinkDefaultTypeInternal;
81 IGNITION_MSGS_VISIBLE extern LinkDefaultTypeInternal _Link_default_instance_;
82 } // namespace msgs
83 } // namespace ignition
84 PROTOBUF_NAMESPACE_OPEN
85 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Link* Arena::CreateMaybeMessage<::ignition::msgs::Link>(Arena*);
86 PROTOBUF_NAMESPACE_CLOSE
87 namespace ignition {
88 namespace msgs {
89 
90 // ===================================================================
91 
92 class IGNITION_MSGS_VISIBLE Link PROTOBUF_FINAL :
93  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Link) */ {
94  public:
95  inline Link() : Link(nullptr) {}
96  virtual ~Link();
97 
98  Link(const Link& from);
99  Link(Link&& from) noexcept
100  : Link() {
101  *this = ::std::move(from);
102  }
103 
104  inline Link& operator=(const Link& from) {
105  CopyFrom(from);
106  return *this;
107  }
108  inline Link& operator=(Link&& from) noexcept {
109  if (GetArena() == from.GetArena()) {
110  if (this != &from) InternalSwap(&from);
111  } else {
112  CopyFrom(from);
113  }
114  return *this;
115  }
116 
117  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
118  return GetDescriptor();
119  }
120  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
121  return GetMetadataStatic().descriptor;
122  }
123  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
124  return GetMetadataStatic().reflection;
125  }
126  static const Link& default_instance();
127 
128  static inline const Link* internal_default_instance() {
129  return reinterpret_cast<const Link*>(
131  }
132  static constexpr int kIndexInFileMessages =
133  0;
134 
135  friend void swap(Link& a, Link& b) {
136  a.Swap(&b);
137  }
138  inline void Swap(Link* other) {
139  if (other == this) return;
140  if (GetArena() == other->GetArena()) {
141  InternalSwap(other);
142  } else {
143  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
144  }
145  }
146  void UnsafeArenaSwap(Link* other) {
147  if (other == this) return;
148  GOOGLE_DCHECK(GetArena() == other->GetArena());
149  InternalSwap(other);
150  }
151 
152  // implements Message ----------------------------------------------
153 
154  inline Link* New() const final {
155  return CreateMaybeMessage<Link>(nullptr);
156  }
157 
158  Link* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
159  return CreateMaybeMessage<Link>(arena);
160  }
161  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
162  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
163  void CopyFrom(const Link& from);
164  void MergeFrom(const Link& from);
165  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
166  bool IsInitialized() const final;
167 
168  size_t ByteSizeLong() const final;
169  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
170  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
171  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
172  int GetCachedSize() const final { return _cached_size_.Get(); }
173 
174  private:
175  inline void SharedCtor();
176  inline void SharedDtor();
177  void SetCachedSize(int size) const final;
178  void InternalSwap(Link* other);
179  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
180  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
181  return "ignition.msgs.Link";
182  }
183  protected:
184  explicit Link(::PROTOBUF_NAMESPACE_ID::Arena* arena);
185  private:
186  static void ArenaDtor(void* object);
187  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
188  public:
189 
190  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
191  private:
192  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
193  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_ignition_2fmsgs_2flink_2eproto);
194  return ::descriptor_table_ignition_2fmsgs_2flink_2eproto.file_level_metadata[kIndexInFileMessages];
195  }
196 
197  public:
198 
199  // nested types ----------------------------------------------------
200 
201  // accessors -------------------------------------------------------
202 
203  enum : int {
204  kVisualFieldNumber = 11,
205  kCollisionFieldNumber = 12,
206  kSensorFieldNumber = 13,
207  kProjectorFieldNumber = 14,
208  kBatteryFieldNumber = 16,
209  kLightFieldNumber = 17,
210  kNameFieldNumber = 3,
211  kHeaderFieldNumber = 1,
212  kDensityFieldNumber = 8,
213  kInertialFieldNumber = 9,
214  kPoseFieldNumber = 10,
215  kIdFieldNumber = 2,
216  kSelfCollideFieldNumber = 4,
217  kGravityFieldNumber = 5,
218  kKinematicFieldNumber = 6,
219  kEnabledFieldNumber = 7,
220  kCanonicalFieldNumber = 15,
221  };
222  // repeated .ignition.msgs.Visual visual = 11;
223  int visual_size() const;
224  private:
225  int _internal_visual_size() const;
226  public:
227  void clear_visual();
228  ::ignition::msgs::Visual* mutable_visual(int index);
229  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Visual >*
231  private:
232  const ::ignition::msgs::Visual& _internal_visual(int index) const;
233  ::ignition::msgs::Visual* _internal_add_visual();
234  public:
235  const ::ignition::msgs::Visual& visual(int index) const;
236  ::ignition::msgs::Visual* add_visual();
237  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Visual >&
238  visual() const;
239 
240  // repeated .ignition.msgs.Collision collision = 12;
241  int collision_size() const;
242  private:
243  int _internal_collision_size() const;
244  public:
246  ::ignition::msgs::Collision* mutable_collision(int index);
247  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Collision >*
249  private:
250  const ::ignition::msgs::Collision& _internal_collision(int index) const;
251  ::ignition::msgs::Collision* _internal_add_collision();
252  public:
253  const ::ignition::msgs::Collision& collision(int index) const;
254  ::ignition::msgs::Collision* add_collision();
255  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Collision >&
256  collision() const;
257 
258  // repeated .ignition.msgs.Sensor sensor = 13;
259  int sensor_size() const;
260  private:
261  int _internal_sensor_size() const;
262  public:
263  void clear_sensor();
264  ::ignition::msgs::Sensor* mutable_sensor(int index);
265  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Sensor >*
267  private:
268  const ::ignition::msgs::Sensor& _internal_sensor(int index) const;
269  ::ignition::msgs::Sensor* _internal_add_sensor();
270  public:
271  const ::ignition::msgs::Sensor& sensor(int index) const;
272  ::ignition::msgs::Sensor* add_sensor();
273  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Sensor >&
274  sensor() const;
275 
276  // repeated .ignition.msgs.Projector projector = 14;
277  int projector_size() const;
278  private:
279  int _internal_projector_size() const;
280  public:
282  ::ignition::msgs::Projector* mutable_projector(int index);
283  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Projector >*
285  private:
286  const ::ignition::msgs::Projector& _internal_projector(int index) const;
287  ::ignition::msgs::Projector* _internal_add_projector();
288  public:
289  const ::ignition::msgs::Projector& projector(int index) const;
290  ::ignition::msgs::Projector* add_projector();
291  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Projector >&
292  projector() const;
293 
294  // repeated .ignition.msgs.Battery battery = 16;
295  int battery_size() const;
296  private:
297  int _internal_battery_size() const;
298  public:
300  ::ignition::msgs::Battery* mutable_battery(int index);
301  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Battery >*
303  private:
304  const ::ignition::msgs::Battery& _internal_battery(int index) const;
305  ::ignition::msgs::Battery* _internal_add_battery();
306  public:
307  const ::ignition::msgs::Battery& battery(int index) const;
308  ::ignition::msgs::Battery* add_battery();
309  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Battery >&
310  battery() const;
311 
312  // repeated .ignition.msgs.Light light = 17;
313  int light_size() const;
314  private:
315  int _internal_light_size() const;
316  public:
317  void clear_light();
318  ::ignition::msgs::Light* mutable_light(int index);
319  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Light >*
321  private:
322  const ::ignition::msgs::Light& _internal_light(int index) const;
323  ::ignition::msgs::Light* _internal_add_light();
324  public:
325  const ::ignition::msgs::Light& light(int index) const;
326  ::ignition::msgs::Light* add_light();
327  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Light >&
328  light() const;
329 
330  // string name = 3;
331  void clear_name();
332  const std::string& name() const;
333  void set_name(const std::string& value);
334  void set_name(std::string&& value);
335  void set_name(const char* value);
336  void set_name(const char* value, size_t size);
340  private:
341  const std::string& _internal_name() const;
342  void _internal_set_name(const std::string& value);
343  std::string* _internal_mutable_name();
344  public:
345 
346  // .ignition.msgs.Header header = 1;
347  bool has_header() const;
348  private:
349  bool _internal_has_header() const;
350  public:
351  void clear_header();
352  const ::ignition::msgs::Header& header() const;
353  ::ignition::msgs::Header* release_header();
354  ::ignition::msgs::Header* mutable_header();
355  void set_allocated_header(::ignition::msgs::Header* header);
356  private:
357  const ::ignition::msgs::Header& _internal_header() const;
358  ::ignition::msgs::Header* _internal_mutable_header();
359  public:
361  ::ignition::msgs::Header* header);
362  ::ignition::msgs::Header* unsafe_arena_release_header();
363 
364  // .ignition.msgs.Density density = 8;
365  bool has_density() const;
366  private:
367  bool _internal_has_density() const;
368  public:
370  const ::ignition::msgs::Density& density() const;
371  ::ignition::msgs::Density* release_density();
372  ::ignition::msgs::Density* mutable_density();
373  void set_allocated_density(::ignition::msgs::Density* density);
374  private:
375  const ::ignition::msgs::Density& _internal_density() const;
376  ::ignition::msgs::Density* _internal_mutable_density();
377  public:
379  ::ignition::msgs::Density* density);
380  ::ignition::msgs::Density* unsafe_arena_release_density();
381 
382  // .ignition.msgs.Inertial inertial = 9;
383  bool has_inertial() const;
384  private:
385  bool _internal_has_inertial() const;
386  public:
388  const ::ignition::msgs::Inertial& inertial() const;
389  ::ignition::msgs::Inertial* release_inertial();
390  ::ignition::msgs::Inertial* mutable_inertial();
391  void set_allocated_inertial(::ignition::msgs::Inertial* inertial);
392  private:
393  const ::ignition::msgs::Inertial& _internal_inertial() const;
394  ::ignition::msgs::Inertial* _internal_mutable_inertial();
395  public:
397  ::ignition::msgs::Inertial* inertial);
398  ::ignition::msgs::Inertial* unsafe_arena_release_inertial();
399 
400  // .ignition.msgs.Pose pose = 10;
401  bool has_pose() const;
402  private:
403  bool _internal_has_pose() const;
404  public:
405  void clear_pose();
406  const ::ignition::msgs::Pose& pose() const;
407  ::ignition::msgs::Pose* release_pose();
408  ::ignition::msgs::Pose* mutable_pose();
409  void set_allocated_pose(::ignition::msgs::Pose* pose);
410  private:
411  const ::ignition::msgs::Pose& _internal_pose() const;
412  ::ignition::msgs::Pose* _internal_mutable_pose();
413  public:
415  ::ignition::msgs::Pose* pose);
416  ::ignition::msgs::Pose* unsafe_arena_release_pose();
417 
418  // uint32 id = 2;
419  void clear_id();
420  ::PROTOBUF_NAMESPACE_ID::uint32 id() const;
421  void set_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
422  private:
423  ::PROTOBUF_NAMESPACE_ID::uint32 _internal_id() const;
424  void _internal_set_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
425  public:
426 
427  // bool self_collide = 4;
429  bool self_collide() const;
430  void set_self_collide(bool value);
431  private:
432  bool _internal_self_collide() const;
433  void _internal_set_self_collide(bool value);
434  public:
435 
436  // bool gravity = 5;
438  bool gravity() const;
439  void set_gravity(bool value);
440  private:
441  bool _internal_gravity() const;
442  void _internal_set_gravity(bool value);
443  public:
444 
445  // bool kinematic = 6;
447  bool kinematic() const;
448  void set_kinematic(bool value);
449  private:
450  bool _internal_kinematic() const;
451  void _internal_set_kinematic(bool value);
452  public:
453 
454  // bool enabled = 7;
456  bool enabled() const;
457  void set_enabled(bool value);
458  private:
459  bool _internal_enabled() const;
460  void _internal_set_enabled(bool value);
461  public:
462 
463  // bool canonical = 15;
465  bool canonical() const;
466  void set_canonical(bool value);
467  private:
468  bool _internal_canonical() const;
469  void _internal_set_canonical(bool value);
470  public:
471 
472  // @@protoc_insertion_point(class_scope:ignition.msgs.Link)
473  private:
474  class _Internal;
475 
476  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
477  typedef void InternalArenaConstructable_;
478  typedef void DestructorSkippable_;
479  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Visual > visual_;
480  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Collision > collision_;
481  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Sensor > sensor_;
482  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Projector > projector_;
483  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Battery > battery_;
484  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Light > light_;
485  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
486  ::ignition::msgs::Header* header_;
487  ::ignition::msgs::Density* density_;
488  ::ignition::msgs::Inertial* inertial_;
489  ::ignition::msgs::Pose* pose_;
490  ::PROTOBUF_NAMESPACE_ID::uint32 id_;
491  bool self_collide_;
492  bool gravity_;
493  bool kinematic_;
494  bool enabled_;
495  bool canonical_;
496  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
497  friend struct ::TableStruct_ignition_2fmsgs_2flink_2eproto;
498 };
499 // ===================================================================
500 
501 
502 // ===================================================================
503 
504 #ifdef __GNUC__
505  #pragma GCC diagnostic push
506  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
507 #endif // __GNUC__
508 // Link
509 
510 // .ignition.msgs.Header header = 1;
511 inline bool Link::_internal_has_header() const {
512  return this != internal_default_instance() && header_ != nullptr;
513 }
514 inline bool Link::has_header() const {
515  return _internal_has_header();
516 }
517 inline const ::ignition::msgs::Header& Link::_internal_header() const {
518  const ::ignition::msgs::Header* p = header_;
519  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Header&>(
521 }
522 inline const ::ignition::msgs::Header& Link::header() const {
523  // @@protoc_insertion_point(field_get:ignition.msgs.Link.header)
524  return _internal_header();
525 }
526 inline void Link::unsafe_arena_set_allocated_header(
527  ::ignition::msgs::Header* header) {
528  if (GetArena() == nullptr) {
529  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
530  }
531  header_ = header;
532  if (header) {
533 
534  } else {
535 
536  }
537  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Link.header)
538 }
539 inline ::ignition::msgs::Header* Link::release_header() {
540 
541  ::ignition::msgs::Header* temp = header_;
542  header_ = nullptr;
543  if (GetArena() != nullptr) {
544  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
545  }
546  return temp;
547 }
548 inline ::ignition::msgs::Header* Link::unsafe_arena_release_header() {
549  // @@protoc_insertion_point(field_release:ignition.msgs.Link.header)
550 
551  ::ignition::msgs::Header* temp = header_;
552  header_ = nullptr;
553  return temp;
554 }
555 inline ::ignition::msgs::Header* Link::_internal_mutable_header() {
556 
557  if (header_ == nullptr) {
558  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
559  header_ = p;
560  }
561  return header_;
562 }
563 inline ::ignition::msgs::Header* Link::mutable_header() {
564  // @@protoc_insertion_point(field_mutable:ignition.msgs.Link.header)
565  return _internal_mutable_header();
566 }
567 inline void Link::set_allocated_header(::ignition::msgs::Header* header) {
568  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
569  if (message_arena == nullptr) {
570  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
571  }
572  if (header) {
573  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
574  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header)->GetArena();
575  if (message_arena != submessage_arena) {
576  header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
577  message_arena, header, submessage_arena);
578  }
579 
580  } else {
581 
582  }
583  header_ = header;
584  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Link.header)
585 }
586 
587 // uint32 id = 2;
588 inline void Link::clear_id() {
589  id_ = 0u;
590 }
591 inline ::PROTOBUF_NAMESPACE_ID::uint32 Link::_internal_id() const {
592  return id_;
593 }
594 inline ::PROTOBUF_NAMESPACE_ID::uint32 Link::id() const {
595  // @@protoc_insertion_point(field_get:ignition.msgs.Link.id)
596  return _internal_id();
597 }
598 inline void Link::_internal_set_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
599 
600  id_ = value;
601 }
602 inline void Link::set_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
603  _internal_set_id(value);
604  // @@protoc_insertion_point(field_set:ignition.msgs.Link.id)
605 }
606 
607 // string name = 3;
608 inline void Link::clear_name() {
609  name_.ClearToEmpty();
610 }
611 inline const std::string& Link::name() const {
612  // @@protoc_insertion_point(field_get:ignition.msgs.Link.name)
613  return _internal_name();
614 }
615 inline void Link::set_name(const std::string& value) {
616  _internal_set_name(value);
617  // @@protoc_insertion_point(field_set:ignition.msgs.Link.name)
618 }
619 inline std::string* Link::mutable_name() {
620  // @@protoc_insertion_point(field_mutable:ignition.msgs.Link.name)
621  return _internal_mutable_name();
622 }
623 inline const std::string& Link::_internal_name() const {
624  return name_.Get();
625 }
626 inline void Link::_internal_set_name(const std::string& value) {
627 
628  name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
629 }
630 inline void Link::set_name(std::string&& value) {
631 
632  name_.Set(
633  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
634  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Link.name)
635 }
636 inline void Link::set_name(const char* value) {
637  GOOGLE_DCHECK(value != nullptr);
638 
639  name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
640  // @@protoc_insertion_point(field_set_char:ignition.msgs.Link.name)
641 }
642 inline void Link::set_name(const char* value,
643  size_t size) {
644 
645  name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
646  reinterpret_cast<const char*>(value), size), GetArena());
647  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Link.name)
648 }
649 inline std::string* Link::_internal_mutable_name() {
650 
651  return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
652 }
653 inline std::string* Link::release_name() {
654  // @@protoc_insertion_point(field_release:ignition.msgs.Link.name)
655  return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
656 }
657 inline void Link::set_allocated_name(std::string* name) {
658  if (name != nullptr) {
659 
660  } else {
661 
662  }
663  name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
664  GetArena());
665  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Link.name)
666 }
667 
668 // bool self_collide = 4;
669 inline void Link::clear_self_collide() {
670  self_collide_ = false;
671 }
672 inline bool Link::_internal_self_collide() const {
673  return self_collide_;
674 }
675 inline bool Link::self_collide() const {
676  // @@protoc_insertion_point(field_get:ignition.msgs.Link.self_collide)
677  return _internal_self_collide();
678 }
679 inline void Link::_internal_set_self_collide(bool value) {
680 
681  self_collide_ = value;
682 }
683 inline void Link::set_self_collide(bool value) {
684  _internal_set_self_collide(value);
685  // @@protoc_insertion_point(field_set:ignition.msgs.Link.self_collide)
686 }
687 
688 // bool gravity = 5;
689 inline void Link::clear_gravity() {
690  gravity_ = false;
691 }
692 inline bool Link::_internal_gravity() const {
693  return gravity_;
694 }
695 inline bool Link::gravity() const {
696  // @@protoc_insertion_point(field_get:ignition.msgs.Link.gravity)
697  return _internal_gravity();
698 }
699 inline void Link::_internal_set_gravity(bool value) {
700 
701  gravity_ = value;
702 }
703 inline void Link::set_gravity(bool value) {
704  _internal_set_gravity(value);
705  // @@protoc_insertion_point(field_set:ignition.msgs.Link.gravity)
706 }
707 
708 // bool kinematic = 6;
709 inline void Link::clear_kinematic() {
710  kinematic_ = false;
711 }
712 inline bool Link::_internal_kinematic() const {
713  return kinematic_;
714 }
715 inline bool Link::kinematic() const {
716  // @@protoc_insertion_point(field_get:ignition.msgs.Link.kinematic)
717  return _internal_kinematic();
718 }
719 inline void Link::_internal_set_kinematic(bool value) {
720 
721  kinematic_ = value;
722 }
723 inline void Link::set_kinematic(bool value) {
724  _internal_set_kinematic(value);
725  // @@protoc_insertion_point(field_set:ignition.msgs.Link.kinematic)
726 }
727 
728 // bool enabled = 7;
729 inline void Link::clear_enabled() {
730  enabled_ = false;
731 }
732 inline bool Link::_internal_enabled() const {
733  return enabled_;
734 }
735 inline bool Link::enabled() const {
736  // @@protoc_insertion_point(field_get:ignition.msgs.Link.enabled)
737  return _internal_enabled();
738 }
739 inline void Link::_internal_set_enabled(bool value) {
740 
741  enabled_ = value;
742 }
743 inline void Link::set_enabled(bool value) {
744  _internal_set_enabled(value);
745  // @@protoc_insertion_point(field_set:ignition.msgs.Link.enabled)
746 }
747 
748 // .ignition.msgs.Density density = 8;
749 inline bool Link::_internal_has_density() const {
750  return this != internal_default_instance() && density_ != nullptr;
751 }
752 inline bool Link::has_density() const {
753  return _internal_has_density();
754 }
755 inline const ::ignition::msgs::Density& Link::_internal_density() const {
756  const ::ignition::msgs::Density* p = density_;
757  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Density&>(
759 }
760 inline const ::ignition::msgs::Density& Link::density() const {
761  // @@protoc_insertion_point(field_get:ignition.msgs.Link.density)
762  return _internal_density();
763 }
764 inline void Link::unsafe_arena_set_allocated_density(
765  ::ignition::msgs::Density* density) {
766  if (GetArena() == nullptr) {
767  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(density_);
768  }
769  density_ = density;
770  if (density) {
771 
772  } else {
773 
774  }
775  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Link.density)
776 }
777 inline ::ignition::msgs::Density* Link::release_density() {
778 
779  ::ignition::msgs::Density* temp = density_;
780  density_ = nullptr;
781  if (GetArena() != nullptr) {
782  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
783  }
784  return temp;
785 }
786 inline ::ignition::msgs::Density* Link::unsafe_arena_release_density() {
787  // @@protoc_insertion_point(field_release:ignition.msgs.Link.density)
788 
789  ::ignition::msgs::Density* temp = density_;
790  density_ = nullptr;
791  return temp;
792 }
793 inline ::ignition::msgs::Density* Link::_internal_mutable_density() {
794 
795  if (density_ == nullptr) {
796  auto* p = CreateMaybeMessage<::ignition::msgs::Density>(GetArena());
797  density_ = p;
798  }
799  return density_;
800 }
801 inline ::ignition::msgs::Density* Link::mutable_density() {
802  // @@protoc_insertion_point(field_mutable:ignition.msgs.Link.density)
803  return _internal_mutable_density();
804 }
805 inline void Link::set_allocated_density(::ignition::msgs::Density* density) {
806  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
807  if (message_arena == nullptr) {
808  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(density_);
809  }
810  if (density) {
811  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
812  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(density)->GetArena();
813  if (message_arena != submessage_arena) {
814  density = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
815  message_arena, density, submessage_arena);
816  }
817 
818  } else {
819 
820  }
821  density_ = density;
822  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Link.density)
823 }
824 
825 // .ignition.msgs.Inertial inertial = 9;
826 inline bool Link::_internal_has_inertial() const {
827  return this != internal_default_instance() && inertial_ != nullptr;
828 }
829 inline bool Link::has_inertial() const {
830  return _internal_has_inertial();
831 }
832 inline const ::ignition::msgs::Inertial& Link::_internal_inertial() const {
833  const ::ignition::msgs::Inertial* p = inertial_;
834  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Inertial&>(
836 }
837 inline const ::ignition::msgs::Inertial& Link::inertial() const {
838  // @@protoc_insertion_point(field_get:ignition.msgs.Link.inertial)
839  return _internal_inertial();
840 }
841 inline void Link::unsafe_arena_set_allocated_inertial(
842  ::ignition::msgs::Inertial* inertial) {
843  if (GetArena() == nullptr) {
844  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(inertial_);
845  }
846  inertial_ = inertial;
847  if (inertial) {
848 
849  } else {
850 
851  }
852  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Link.inertial)
853 }
854 inline ::ignition::msgs::Inertial* Link::release_inertial() {
855 
856  ::ignition::msgs::Inertial* temp = inertial_;
857  inertial_ = nullptr;
858  if (GetArena() != nullptr) {
859  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
860  }
861  return temp;
862 }
863 inline ::ignition::msgs::Inertial* Link::unsafe_arena_release_inertial() {
864  // @@protoc_insertion_point(field_release:ignition.msgs.Link.inertial)
865 
866  ::ignition::msgs::Inertial* temp = inertial_;
867  inertial_ = nullptr;
868  return temp;
869 }
870 inline ::ignition::msgs::Inertial* Link::_internal_mutable_inertial() {
871 
872  if (inertial_ == nullptr) {
873  auto* p = CreateMaybeMessage<::ignition::msgs::Inertial>(GetArena());
874  inertial_ = p;
875  }
876  return inertial_;
877 }
878 inline ::ignition::msgs::Inertial* Link::mutable_inertial() {
879  // @@protoc_insertion_point(field_mutable:ignition.msgs.Link.inertial)
880  return _internal_mutable_inertial();
881 }
882 inline void Link::set_allocated_inertial(::ignition::msgs::Inertial* inertial) {
883  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
884  if (message_arena == nullptr) {
885  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(inertial_);
886  }
887  if (inertial) {
888  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
889  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(inertial)->GetArena();
890  if (message_arena != submessage_arena) {
891  inertial = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
892  message_arena, inertial, submessage_arena);
893  }
894 
895  } else {
896 
897  }
898  inertial_ = inertial;
899  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Link.inertial)
900 }
901 
902 // .ignition.msgs.Pose pose = 10;
903 inline bool Link::_internal_has_pose() const {
904  return this != internal_default_instance() && pose_ != nullptr;
905 }
906 inline bool Link::has_pose() const {
907  return _internal_has_pose();
908 }
909 inline const ::ignition::msgs::Pose& Link::_internal_pose() const {
910  const ::ignition::msgs::Pose* p = pose_;
911  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Pose&>(
913 }
914 inline const ::ignition::msgs::Pose& Link::pose() const {
915  // @@protoc_insertion_point(field_get:ignition.msgs.Link.pose)
916  return _internal_pose();
917 }
918 inline void Link::unsafe_arena_set_allocated_pose(
919  ::ignition::msgs::Pose* pose) {
920  if (GetArena() == nullptr) {
921  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(pose_);
922  }
923  pose_ = pose;
924  if (pose) {
925 
926  } else {
927 
928  }
929  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Link.pose)
930 }
931 inline ::ignition::msgs::Pose* Link::release_pose() {
932 
933  ::ignition::msgs::Pose* temp = pose_;
934  pose_ = nullptr;
935  if (GetArena() != nullptr) {
936  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
937  }
938  return temp;
939 }
940 inline ::ignition::msgs::Pose* Link::unsafe_arena_release_pose() {
941  // @@protoc_insertion_point(field_release:ignition.msgs.Link.pose)
942 
943  ::ignition::msgs::Pose* temp = pose_;
944  pose_ = nullptr;
945  return temp;
946 }
947 inline ::ignition::msgs::Pose* Link::_internal_mutable_pose() {
948 
949  if (pose_ == nullptr) {
950  auto* p = CreateMaybeMessage<::ignition::msgs::Pose>(GetArena());
951  pose_ = p;
952  }
953  return pose_;
954 }
955 inline ::ignition::msgs::Pose* Link::mutable_pose() {
956  // @@protoc_insertion_point(field_mutable:ignition.msgs.Link.pose)
957  return _internal_mutable_pose();
958 }
959 inline void Link::set_allocated_pose(::ignition::msgs::Pose* pose) {
960  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
961  if (message_arena == nullptr) {
962  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(pose_);
963  }
964  if (pose) {
965  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
966  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(pose)->GetArena();
967  if (message_arena != submessage_arena) {
968  pose = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
969  message_arena, pose, submessage_arena);
970  }
971 
972  } else {
973 
974  }
975  pose_ = pose;
976  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Link.pose)
977 }
978 
979 // repeated .ignition.msgs.Visual visual = 11;
980 inline int Link::_internal_visual_size() const {
981  return visual_.size();
982 }
983 inline int Link::visual_size() const {
984  return _internal_visual_size();
985 }
986 inline ::ignition::msgs::Visual* Link::mutable_visual(int index) {
987  // @@protoc_insertion_point(field_mutable:ignition.msgs.Link.visual)
988  return visual_.Mutable(index);
989 }
990 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Visual >*
991 Link::mutable_visual() {
992  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.Link.visual)
993  return &visual_;
994 }
995 inline const ::ignition::msgs::Visual& Link::_internal_visual(int index) const {
996  return visual_.Get(index);
997 }
998 inline const ::ignition::msgs::Visual& Link::visual(int index) const {
999  // @@protoc_insertion_point(field_get:ignition.msgs.Link.visual)
1000  return _internal_visual(index);
1001 }
1002 inline ::ignition::msgs::Visual* Link::_internal_add_visual() {
1003  return visual_.Add();
1004 }
1005 inline ::ignition::msgs::Visual* Link::add_visual() {
1006  // @@protoc_insertion_point(field_add:ignition.msgs.Link.visual)
1007  return _internal_add_visual();
1008 }
1009 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Visual >&
1010 Link::visual() const {
1011  // @@protoc_insertion_point(field_list:ignition.msgs.Link.visual)
1012  return visual_;
1013 }
1014 
1015 // repeated .ignition.msgs.Collision collision = 12;
1016 inline int Link::_internal_collision_size() const {
1017  return collision_.size();
1018 }
1019 inline int Link::collision_size() const {
1020  return _internal_collision_size();
1021 }
1022 inline ::ignition::msgs::Collision* Link::mutable_collision(int index) {
1023  // @@protoc_insertion_point(field_mutable:ignition.msgs.Link.collision)
1024  return collision_.Mutable(index);
1025 }
1026 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Collision >*
1027 Link::mutable_collision() {
1028  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.Link.collision)
1029  return &collision_;
1030 }
1031 inline const ::ignition::msgs::Collision& Link::_internal_collision(int index) const {
1032  return collision_.Get(index);
1033 }
1034 inline const ::ignition::msgs::Collision& Link::collision(int index) const {
1035  // @@protoc_insertion_point(field_get:ignition.msgs.Link.collision)
1036  return _internal_collision(index);
1037 }
1038 inline ::ignition::msgs::Collision* Link::_internal_add_collision() {
1039  return collision_.Add();
1040 }
1041 inline ::ignition::msgs::Collision* Link::add_collision() {
1042  // @@protoc_insertion_point(field_add:ignition.msgs.Link.collision)
1043  return _internal_add_collision();
1044 }
1045 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Collision >&
1046 Link::collision() const {
1047  // @@protoc_insertion_point(field_list:ignition.msgs.Link.collision)
1048  return collision_;
1049 }
1050 
1051 // repeated .ignition.msgs.Sensor sensor = 13;
1052 inline int Link::_internal_sensor_size() const {
1053  return sensor_.size();
1054 }
1055 inline int Link::sensor_size() const {
1056  return _internal_sensor_size();
1057 }
1058 inline ::ignition::msgs::Sensor* Link::mutable_sensor(int index) {
1059  // @@protoc_insertion_point(field_mutable:ignition.msgs.Link.sensor)
1060  return sensor_.Mutable(index);
1061 }
1062 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Sensor >*
1063 Link::mutable_sensor() {
1064  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.Link.sensor)
1065  return &sensor_;
1066 }
1067 inline const ::ignition::msgs::Sensor& Link::_internal_sensor(int index) const {
1068  return sensor_.Get(index);
1069 }
1070 inline const ::ignition::msgs::Sensor& Link::sensor(int index) const {
1071  // @@protoc_insertion_point(field_get:ignition.msgs.Link.sensor)
1072  return _internal_sensor(index);
1073 }
1074 inline ::ignition::msgs::Sensor* Link::_internal_add_sensor() {
1075  return sensor_.Add();
1076 }
1077 inline ::ignition::msgs::Sensor* Link::add_sensor() {
1078  // @@protoc_insertion_point(field_add:ignition.msgs.Link.sensor)
1079  return _internal_add_sensor();
1080 }
1081 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Sensor >&
1082 Link::sensor() const {
1083  // @@protoc_insertion_point(field_list:ignition.msgs.Link.sensor)
1084  return sensor_;
1085 }
1086 
1087 // repeated .ignition.msgs.Projector projector = 14;
1088 inline int Link::_internal_projector_size() const {
1089  return projector_.size();
1090 }
1091 inline int Link::projector_size() const {
1092  return _internal_projector_size();
1093 }
1094 inline ::ignition::msgs::Projector* Link::mutable_projector(int index) {
1095  // @@protoc_insertion_point(field_mutable:ignition.msgs.Link.projector)
1096  return projector_.Mutable(index);
1097 }
1098 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Projector >*
1099 Link::mutable_projector() {
1100  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.Link.projector)
1101  return &projector_;
1102 }
1103 inline const ::ignition::msgs::Projector& Link::_internal_projector(int index) const {
1104  return projector_.Get(index);
1105 }
1106 inline const ::ignition::msgs::Projector& Link::projector(int index) const {
1107  // @@protoc_insertion_point(field_get:ignition.msgs.Link.projector)
1108  return _internal_projector(index);
1109 }
1110 inline ::ignition::msgs::Projector* Link::_internal_add_projector() {
1111  return projector_.Add();
1112 }
1113 inline ::ignition::msgs::Projector* Link::add_projector() {
1114  // @@protoc_insertion_point(field_add:ignition.msgs.Link.projector)
1115  return _internal_add_projector();
1116 }
1117 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Projector >&
1118 Link::projector() const {
1119  // @@protoc_insertion_point(field_list:ignition.msgs.Link.projector)
1120  return projector_;
1121 }
1122 
1123 // bool canonical = 15;
1124 inline void Link::clear_canonical() {
1125  canonical_ = false;
1126 }
1127 inline bool Link::_internal_canonical() const {
1128  return canonical_;
1129 }
1130 inline bool Link::canonical() const {
1131  // @@protoc_insertion_point(field_get:ignition.msgs.Link.canonical)
1132  return _internal_canonical();
1133 }
1134 inline void Link::_internal_set_canonical(bool value) {
1135 
1136  canonical_ = value;
1137 }
1138 inline void Link::set_canonical(bool value) {
1139  _internal_set_canonical(value);
1140  // @@protoc_insertion_point(field_set:ignition.msgs.Link.canonical)
1141 }
1142 
1143 // repeated .ignition.msgs.Battery battery = 16;
1144 inline int Link::_internal_battery_size() const {
1145  return battery_.size();
1146 }
1147 inline int Link::battery_size() const {
1148  return _internal_battery_size();
1149 }
1150 inline ::ignition::msgs::Battery* Link::mutable_battery(int index) {
1151  // @@protoc_insertion_point(field_mutable:ignition.msgs.Link.battery)
1152  return battery_.Mutable(index);
1153 }
1154 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Battery >*
1155 Link::mutable_battery() {
1156  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.Link.battery)
1157  return &battery_;
1158 }
1159 inline const ::ignition::msgs::Battery& Link::_internal_battery(int index) const {
1160  return battery_.Get(index);
1161 }
1162 inline const ::ignition::msgs::Battery& Link::battery(int index) const {
1163  // @@protoc_insertion_point(field_get:ignition.msgs.Link.battery)
1164  return _internal_battery(index);
1165 }
1166 inline ::ignition::msgs::Battery* Link::_internal_add_battery() {
1167  return battery_.Add();
1168 }
1169 inline ::ignition::msgs::Battery* Link::add_battery() {
1170  // @@protoc_insertion_point(field_add:ignition.msgs.Link.battery)
1171  return _internal_add_battery();
1172 }
1173 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Battery >&
1174 Link::battery() const {
1175  // @@protoc_insertion_point(field_list:ignition.msgs.Link.battery)
1176  return battery_;
1177 }
1178 
1179 // repeated .ignition.msgs.Light light = 17;
1180 inline int Link::_internal_light_size() const {
1181  return light_.size();
1182 }
1183 inline int Link::light_size() const {
1184  return _internal_light_size();
1185 }
1186 inline ::ignition::msgs::Light* Link::mutable_light(int index) {
1187  // @@protoc_insertion_point(field_mutable:ignition.msgs.Link.light)
1188  return light_.Mutable(index);
1189 }
1190 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Light >*
1191 Link::mutable_light() {
1192  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.Link.light)
1193  return &light_;
1194 }
1195 inline const ::ignition::msgs::Light& Link::_internal_light(int index) const {
1196  return light_.Get(index);
1197 }
1198 inline const ::ignition::msgs::Light& Link::light(int index) const {
1199  // @@protoc_insertion_point(field_get:ignition.msgs.Link.light)
1200  return _internal_light(index);
1201 }
1202 inline ::ignition::msgs::Light* Link::_internal_add_light() {
1203  return light_.Add();
1204 }
1205 inline ::ignition::msgs::Light* Link::add_light() {
1206  // @@protoc_insertion_point(field_add:ignition.msgs.Link.light)
1207  return _internal_add_light();
1208 }
1209 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Light >&
1210 Link::light() const {
1211  // @@protoc_insertion_point(field_list:ignition.msgs.Link.light)
1212  return light_;
1213 }
1214 
1215 #ifdef __GNUC__
1216  #pragma GCC diagnostic pop
1217 #endif // __GNUC__
1218 
1223 // @@protoc_insertion_point(namespace_scope)
1224 
1225 } // namespace msgs
1226 } // namespace ignition
1227 
1228 #ifdef _MSC_VER
1229 #pragma warning(pop)
1230 #endif
1231 // @@protoc_insertion_point(global_scope)
1232 
1233 #include <google/protobuf/port_undef.inc>
1234 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2flink_2eproto
::ignition::msgs::Density * unsafe_arena_release_density()
const ::ignition::msgs::Projector & projector(int index) const
::ignition::msgs::Pose * release_pose()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: link.pb.h:123
const ::ignition::msgs::Inertial & inertial() const
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Sensor > * mutable_sensor()
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Sensor > & sensor() const
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::ignition::msgs::Projector * mutable_projector(int index)
void unsafe_arena_set_allocated_pose(::ignition::msgs::Pose *pose)
::ignition::msgs::Header * release_header()
void set_name(const char *value, size_t size)
::ignition::msgs::Header * mutable_header()
const ::ignition::msgs::Sensor & sensor(int index) const
::ignition::msgs::Sensor * add_sensor()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: link.pb.h:117
void set_name(const std::string &value)
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Projector > & projector() const
void set_id(::PROTOBUF_NAMESPACE_ID::uint32 value)
Link(Link &&from) noexcept
Definition: link.pb.h:99
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void UnsafeArenaSwap(Link *other)
Definition: link.pb.h:146
Link & operator=(const Link &from)
Definition: link.pb.h:104
Link * New() const final
Definition: link.pb.h:154
void unsafe_arena_set_allocated_inertial(::ignition::msgs::Inertial *inertial)
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Visual > & visual() const
const ::ignition::msgs::Density & density() const
::ignition::msgs::Sensor * mutable_sensor(int index)
::ignition::msgs::Density * mutable_density()
Link & operator=(Link &&from) noexcept
Definition: link.pb.h:108
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
void set_self_collide(bool value)
friend void swap(Link &a, Link &b)
Definition: link.pb.h:135
::ignition::msgs::Battery * add_battery()
::ignition::msgs::Density * release_density()
void set_allocated_inertial(::ignition::msgs::Inertial *inertial)
::ignition::msgs::Visual * mutable_visual(int index)
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Collision > & collision() const
Link * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: link.pb.h:158
void set_allocated_pose(::ignition::msgs::Pose *pose)
const ::ignition::msgs::Battery & battery(int index) const
::ignition::msgs::Header * unsafe_arena_release_header()
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
::ignition::msgs::Light * mutable_light(int index)
::ignition::msgs::Light * add_light()
void set_allocated_density(::ignition::msgs::Density *density)
::ignition::msgs::Collision * mutable_collision(int index)
::ignition::msgs::Projector * add_projector()
static const Link * internal_default_instance()
Definition: link.pb.h:128
const ::ignition::msgs::Visual & visual(int index) const
::ignition::msgs::Inertial * mutable_inertial()
void set_allocated_header(::ignition::msgs::Header *header)
const ::ignition::msgs::Pose & pose() const
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Battery > & battery() const
::ignition::msgs::Pose * unsafe_arena_release_pose()
Link(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void CopyFrom(const Link &from)
::ignition::msgs::Pose * mutable_pose()
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Projector > * mutable_projector()
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Light > * mutable_light()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
::PROTOBUF_NAMESPACE_ID::uint32 id() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: link.pb.h:120
::ignition::msgs::Visual * add_visual()
::ignition::msgs::Collision * add_collision()
Link()
Definition: link.pb.h:95
static const Link & default_instance()
::ignition::msgs::Inertial * release_inertial()
const std::string & name() const
const ::ignition::msgs::Collision & collision(int index) const
::ignition::msgs::Inertial * unsafe_arena_release_inertial()
void set_canonical(bool value)
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Battery > * mutable_battery()
void set_name(const char *value)
void set_name(std::string &&value)
void Swap(Link *other)
Definition: link.pb.h:138
const ::ignition::msgs::Light & light(int index) const
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Visual > * mutable_visual()
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Light > & light() const
void set_allocated_name(std::string *name)
void MergeFrom(const Link &from)
void unsafe_arena_set_allocated_density(::ignition::msgs::Density *density)
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Collision > * mutable_collision()
void set_kinematic(bool value)
const ::ignition::msgs::Header & header() const
::ignition::msgs::Battery * mutable_battery(int index)
std::shared_ptr< Link > LinkSharedPtr
Definition: link.pb.h:1221
IGNITION_MSGS_VISIBLE InertialDefaultTypeInternal _Inertial_default_instance_
std::unique_ptr< const Link > ConstLinkUniquePtr
Definition: link.pb.h:1220
std::shared_ptr< const Link > ConstLinkSharedPtr
Definition: link.pb.h:1222
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
IGNITION_MSGS_VISIBLE PoseDefaultTypeInternal _Pose_default_instance_
std::unique_ptr< Link > LinkUniquePtr
Definition: link.pb.h:1219
IGNITION_MSGS_VISIBLE DensityDefaultTypeInternal _Density_default_instance_
IGNITION_MSGS_VISIBLE LinkDefaultTypeInternal _Link_default_instance_
Definition: actor.pb.h:52