Gazebo Msgs

API Reference

8.7.1
build/ignition-msgs8/include/ignition/msgs/road.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/road.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2froad_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2froad_2eproto
6 
7 #include <limits>
8 #include <string>
9 
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3012000
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 3012004 < 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/inlined_string_field.h>
29 #include <google/protobuf/metadata_lite.h>
30 #include <google/protobuf/generated_message_reflection.h>
31 #include <google/protobuf/message.h>
32 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
33 #include <google/protobuf/extension_set.h> // IWYU pragma: export
34 #include <google/protobuf/unknown_field_set.h>
38 #ifndef _MSC_VER
39 #pragma GCC system_header
40 #else
41 #pragma warning(push)
42 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
43 #endif
44 #ifdef __linux__
45 #include <sys/sysmacros.h>
46 #endif
47 #include <memory>
48 #include <ignition/msgs/Export.hh>
49 // @@protoc_insertion_point(includes)
50 #include <google/protobuf/port_def.inc>
51 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2froad_2eproto IGNITION_MSGS_VISIBLE
52 PROTOBUF_NAMESPACE_OPEN
53 namespace internal {
54 class AnyMetadata;
55 } // namespace internal
56 PROTOBUF_NAMESPACE_CLOSE
57 
58 // Internal implementation detail -- do not use these members.
59 struct IGNITION_MSGS_VISIBLE TableStruct_ignition_2fmsgs_2froad_2eproto {
60  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
61  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
62  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
63  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
64  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
65  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
66  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
67  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
68  static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
69 };
70 extern IGNITION_MSGS_VISIBLE const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2froad_2eproto;
71 namespace ignition {
72 namespace msgs {
73 class Road;
74 class RoadDefaultTypeInternal;
75 IGNITION_MSGS_VISIBLE extern RoadDefaultTypeInternal _Road_default_instance_;
76 } // namespace msgs
77 } // namespace ignition
78 PROTOBUF_NAMESPACE_OPEN
79 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Road* Arena::CreateMaybeMessage<::ignition::msgs::Road>(Arena*);
80 PROTOBUF_NAMESPACE_CLOSE
81 namespace ignition {
82 namespace msgs {
83 
84 // ===================================================================
85 
86 class IGNITION_MSGS_VISIBLE Road PROTOBUF_FINAL :
87  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Road) */ {
88  public:
89  inline Road() : Road(nullptr) {};
90  virtual ~Road();
91 
92  Road(const Road& from);
93  Road(Road&& from) noexcept
94  : Road() {
95  *this = ::std::move(from);
96  }
97 
98  inline Road& operator=(const Road& from) {
99  CopyFrom(from);
100  return *this;
101  }
102  inline Road& operator=(Road&& from) noexcept {
103  if (GetArena() == from.GetArena()) {
104  if (this != &from) InternalSwap(&from);
105  } else {
106  CopyFrom(from);
107  }
108  return *this;
109  }
110 
111  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
112  return GetDescriptor();
113  }
114  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
115  return GetMetadataStatic().descriptor;
116  }
117  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
118  return GetMetadataStatic().reflection;
119  }
120  static const Road& default_instance();
121 
122  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
123  static inline const Road* internal_default_instance() {
124  return reinterpret_cast<const Road*>(
126  }
127  static constexpr int kIndexInFileMessages =
128  0;
129 
130  friend void swap(Road& a, Road& b) {
131  a.Swap(&b);
132  }
133  inline void Swap(Road* other) {
134  if (other == this) return;
135  if (GetArena() == other->GetArena()) {
136  InternalSwap(other);
137  } else {
138  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
139  }
140  }
141  void UnsafeArenaSwap(Road* other) {
142  if (other == this) return;
143  GOOGLE_DCHECK(GetArena() == other->GetArena());
144  InternalSwap(other);
145  }
146 
147  // implements Message ----------------------------------------------
148 
149  inline Road* New() const final {
150  return CreateMaybeMessage<Road>(nullptr);
151  }
152 
153  Road* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
154  return CreateMaybeMessage<Road>(arena);
155  }
156  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
157  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
158  void CopyFrom(const Road& from);
159  void MergeFrom(const Road& from);
160  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
161  bool IsInitialized() const final;
162 
163  size_t ByteSizeLong() const final;
164  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
165  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
166  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
167  int GetCachedSize() const final { return _cached_size_.Get(); }
168 
169  private:
170  inline void SharedCtor();
171  inline void SharedDtor();
172  void SetCachedSize(int size) const final;
173  void InternalSwap(Road* other);
174  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
175  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
176  return "ignition.msgs.Road";
177  }
178  protected:
179  explicit Road(::PROTOBUF_NAMESPACE_ID::Arena* arena);
180  private:
181  static void ArenaDtor(void* object);
182  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
183  public:
184 
185  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
186  private:
187  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
188  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_ignition_2fmsgs_2froad_2eproto);
189  return ::descriptor_table_ignition_2fmsgs_2froad_2eproto.file_level_metadata[kIndexInFileMessages];
190  }
191 
192  public:
193 
194  // nested types ----------------------------------------------------
195 
196  // accessors -------------------------------------------------------
197 
198  enum : int {
199  kPointFieldNumber = 4,
200  kNameFieldNumber = 2,
201  kHeaderFieldNumber = 1,
202  kMaterialFieldNumber = 5,
203  kWidthFieldNumber = 3,
204  };
205  // repeated .ignition.msgs.Vector3d point = 4;
206  int point_size() const;
207  private:
208  int _internal_point_size() const;
209  public:
210  void clear_point();
211  ::ignition::msgs::Vector3d* mutable_point(int index);
212  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Vector3d >*
214  private:
215  const ::ignition::msgs::Vector3d& _internal_point(int index) const;
216  ::ignition::msgs::Vector3d* _internal_add_point();
217  public:
218  const ::ignition::msgs::Vector3d& point(int index) const;
219  ::ignition::msgs::Vector3d* add_point();
220  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Vector3d >&
221  point() const;
222 
223  // string name = 2;
224  void clear_name();
225  const std::string& name() const;
226  void set_name(const std::string& value);
227  void set_name(std::string&& value);
228  void set_name(const char* value);
229  void set_name(const char* value, size_t size);
233  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
234  " string fields are deprecated and will be removed in a"
235  " future release.")
236  std::string* unsafe_arena_release_name();
237  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
238  " string fields are deprecated and will be removed in a"
239  " future release.")
240  void unsafe_arena_set_allocated_name(
241  std::string* name);
242  private:
243  const std::string& _internal_name() const;
244  void _internal_set_name(const std::string& value);
245  std::string* _internal_mutable_name();
246  public:
247 
248  // .ignition.msgs.Header header = 1;
249  bool has_header() const;
250  private:
251  bool _internal_has_header() const;
252  public:
253  void clear_header();
254  const ::ignition::msgs::Header& header() const;
255  ::ignition::msgs::Header* release_header();
256  ::ignition::msgs::Header* mutable_header();
257  void set_allocated_header(::ignition::msgs::Header* header);
258  private:
259  const ::ignition::msgs::Header& _internal_header() const;
260  ::ignition::msgs::Header* _internal_mutable_header();
261  public:
262  void unsafe_arena_set_allocated_header(
263  ::ignition::msgs::Header* header);
264  ::ignition::msgs::Header* unsafe_arena_release_header();
265 
266  // .ignition.msgs.Material material = 5;
267  bool has_material() const;
268  private:
269  bool _internal_has_material() const;
270  public:
271  void clear_material();
272  const ::ignition::msgs::Material& material() const;
273  ::ignition::msgs::Material* release_material();
274  ::ignition::msgs::Material* mutable_material();
275  void set_allocated_material(::ignition::msgs::Material* material);
276  private:
277  const ::ignition::msgs::Material& _internal_material() const;
278  ::ignition::msgs::Material* _internal_mutable_material();
279  public:
280  void unsafe_arena_set_allocated_material(
281  ::ignition::msgs::Material* material);
282  ::ignition::msgs::Material* unsafe_arena_release_material();
283 
284  // double width = 3;
285  void clear_width();
286  double width() const;
287  void set_width(double value);
288  private:
289  double _internal_width() const;
290  void _internal_set_width(double value);
291  public:
292 
293  // @@protoc_insertion_point(class_scope:ignition.msgs.Road)
294  private:
295  class _Internal;
296 
297  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
298  typedef void InternalArenaConstructable_;
299  typedef void DestructorSkippable_;
300  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Vector3d > point_;
301  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
302  ::ignition::msgs::Header* header_;
303  ::ignition::msgs::Material* material_;
304  double width_;
305  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
307 };
308 // ===================================================================
309 
310 
311 // ===================================================================
312 
313 #ifdef __GNUC__
314  #pragma GCC diagnostic push
315  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
316 #endif // __GNUC__
317 // Road
318 
319 // .ignition.msgs.Header header = 1;
320 inline bool Road::_internal_has_header() const {
321  return this != internal_default_instance() && header_ != nullptr;
322 }
323 inline bool Road::has_header() const {
324  return _internal_has_header();
325 }
326 inline const ::ignition::msgs::Header& Road::_internal_header() const {
327  const ::ignition::msgs::Header* p = header_;
328  return p != nullptr ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
330 }
331 inline const ::ignition::msgs::Header& Road::header() const {
332  // @@protoc_insertion_point(field_get:ignition.msgs.Road.header)
333  return _internal_header();
334 }
335 inline void Road::unsafe_arena_set_allocated_header(
336  ::ignition::msgs::Header* header) {
337  if (GetArena() == nullptr) {
338  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
339  }
340  header_ = header;
341  if (header) {
342 
343  } else {
344 
345  }
346  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Road.header)
347 }
348 inline ::ignition::msgs::Header* Road::release_header() {
349  auto temp = unsafe_arena_release_header();
350  if (GetArena() != nullptr) {
351  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
352  }
353  return temp;
354 }
355 inline ::ignition::msgs::Header* Road::unsafe_arena_release_header() {
356  // @@protoc_insertion_point(field_release:ignition.msgs.Road.header)
357 
358  ::ignition::msgs::Header* temp = header_;
359  header_ = nullptr;
360  return temp;
361 }
362 inline ::ignition::msgs::Header* Road::_internal_mutable_header() {
363 
364  if (header_ == nullptr) {
365  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
366  header_ = p;
367  }
368  return header_;
369 }
370 inline ::ignition::msgs::Header* Road::mutable_header() {
371  // @@protoc_insertion_point(field_mutable:ignition.msgs.Road.header)
372  return _internal_mutable_header();
373 }
374 inline void Road::set_allocated_header(::ignition::msgs::Header* header) {
375  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
376  if (message_arena == nullptr) {
377  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
378  }
379  if (header) {
380  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
381  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header)->GetArena();
382  if (message_arena != submessage_arena) {
383  header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
384  message_arena, header, submessage_arena);
385  }
386 
387  } else {
388 
389  }
390  header_ = header;
391  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Road.header)
392 }
393 
394 // string name = 2;
395 inline void Road::clear_name() {
396  name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
397 }
398 inline const std::string& Road::name() const {
399  // @@protoc_insertion_point(field_get:ignition.msgs.Road.name)
400  return _internal_name();
401 }
402 inline void Road::set_name(const std::string& value) {
403  _internal_set_name(value);
404  // @@protoc_insertion_point(field_set:ignition.msgs.Road.name)
405 }
406 inline std::string* Road::mutable_name() {
407  // @@protoc_insertion_point(field_mutable:ignition.msgs.Road.name)
408  return _internal_mutable_name();
409 }
410 inline const std::string& Road::_internal_name() const {
411  return name_.Get();
412 }
413 inline void Road::_internal_set_name(const std::string& value) {
414 
415  name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
416 }
417 inline void Road::set_name(std::string&& value) {
418 
419  name_.Set(
420  &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
421  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Road.name)
422 }
423 inline void Road::set_name(const char* value) {
424  GOOGLE_DCHECK(value != nullptr);
425 
426  name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
427  GetArena());
428  // @@protoc_insertion_point(field_set_char:ignition.msgs.Road.name)
429 }
430 inline void Road::set_name(const char* value,
431  size_t size) {
432 
433  name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
434  reinterpret_cast<const char*>(value), size), GetArena());
435  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Road.name)
436 }
437 inline std::string* Road::_internal_mutable_name() {
438 
439  return name_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
440 }
441 inline std::string* Road::release_name() {
442  // @@protoc_insertion_point(field_release:ignition.msgs.Road.name)
443  return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
444 }
445 inline void Road::set_allocated_name(std::string* name) {
446  if (name != nullptr) {
447 
448  } else {
449 
450  }
451  name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
452  GetArena());
453  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Road.name)
454 }
455 inline std::string* Road::unsafe_arena_release_name() {
456  // @@protoc_insertion_point(field_unsafe_arena_release:ignition.msgs.Road.name)
457  GOOGLE_DCHECK(GetArena() != nullptr);
458 
459  return name_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
460  GetArena());
461 }
462 inline void Road::unsafe_arena_set_allocated_name(
463  std::string* name) {
464  GOOGLE_DCHECK(GetArena() != nullptr);
465  if (name != nullptr) {
466 
467  } else {
468 
469  }
470  name_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
471  name, GetArena());
472  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Road.name)
473 }
474 
475 // double width = 3;
476 inline void Road::clear_width() {
477  width_ = 0;
478 }
479 inline double Road::_internal_width() const {
480  return width_;
481 }
482 inline double Road::width() const {
483  // @@protoc_insertion_point(field_get:ignition.msgs.Road.width)
484  return _internal_width();
485 }
486 inline void Road::_internal_set_width(double value) {
487 
488  width_ = value;
489 }
490 inline void Road::set_width(double value) {
491  _internal_set_width(value);
492  // @@protoc_insertion_point(field_set:ignition.msgs.Road.width)
493 }
494 
495 // repeated .ignition.msgs.Vector3d point = 4;
496 inline int Road::_internal_point_size() const {
497  return point_.size();
498 }
499 inline int Road::point_size() const {
500  return _internal_point_size();
501 }
502 inline ::ignition::msgs::Vector3d* Road::mutable_point(int index) {
503  // @@protoc_insertion_point(field_mutable:ignition.msgs.Road.point)
504  return point_.Mutable(index);
505 }
506 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Vector3d >*
507 Road::mutable_point() {
508  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.Road.point)
509  return &point_;
510 }
511 inline const ::ignition::msgs::Vector3d& Road::_internal_point(int index) const {
512  return point_.Get(index);
513 }
514 inline const ::ignition::msgs::Vector3d& Road::point(int index) const {
515  // @@protoc_insertion_point(field_get:ignition.msgs.Road.point)
516  return _internal_point(index);
517 }
518 inline ::ignition::msgs::Vector3d* Road::_internal_add_point() {
519  return point_.Add();
520 }
521 inline ::ignition::msgs::Vector3d* Road::add_point() {
522  // @@protoc_insertion_point(field_add:ignition.msgs.Road.point)
523  return _internal_add_point();
524 }
525 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Vector3d >&
526 Road::point() const {
527  // @@protoc_insertion_point(field_list:ignition.msgs.Road.point)
528  return point_;
529 }
530 
531 // .ignition.msgs.Material material = 5;
532 inline bool Road::_internal_has_material() const {
533  return this != internal_default_instance() && material_ != nullptr;
534 }
535 inline bool Road::has_material() const {
536  return _internal_has_material();
537 }
538 inline const ::ignition::msgs::Material& Road::_internal_material() const {
539  const ::ignition::msgs::Material* p = material_;
540  return p != nullptr ? *p : *reinterpret_cast<const ::ignition::msgs::Material*>(
542 }
543 inline const ::ignition::msgs::Material& Road::material() const {
544  // @@protoc_insertion_point(field_get:ignition.msgs.Road.material)
545  return _internal_material();
546 }
547 inline void Road::unsafe_arena_set_allocated_material(
548  ::ignition::msgs::Material* material) {
549  if (GetArena() == nullptr) {
550  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(material_);
551  }
552  material_ = material;
553  if (material) {
554 
555  } else {
556 
557  }
558  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Road.material)
559 }
560 inline ::ignition::msgs::Material* Road::release_material() {
561  auto temp = unsafe_arena_release_material();
562  if (GetArena() != nullptr) {
563  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
564  }
565  return temp;
566 }
567 inline ::ignition::msgs::Material* Road::unsafe_arena_release_material() {
568  // @@protoc_insertion_point(field_release:ignition.msgs.Road.material)
569 
570  ::ignition::msgs::Material* temp = material_;
571  material_ = nullptr;
572  return temp;
573 }
574 inline ::ignition::msgs::Material* Road::_internal_mutable_material() {
575 
576  if (material_ == nullptr) {
577  auto* p = CreateMaybeMessage<::ignition::msgs::Material>(GetArena());
578  material_ = p;
579  }
580  return material_;
581 }
582 inline ::ignition::msgs::Material* Road::mutable_material() {
583  // @@protoc_insertion_point(field_mutable:ignition.msgs.Road.material)
584  return _internal_mutable_material();
585 }
586 inline void Road::set_allocated_material(::ignition::msgs::Material* material) {
587  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
588  if (message_arena == nullptr) {
589  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(material_);
590  }
591  if (material) {
592  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
593  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(material)->GetArena();
594  if (message_arena != submessage_arena) {
595  material = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
596  message_arena, material, submessage_arena);
597  }
598 
599  } else {
600 
601  }
602  material_ = material;
603  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Road.material)
604 }
605 
606 #ifdef __GNUC__
607  #pragma GCC diagnostic pop
608 #endif // __GNUC__
609 
614 // @@protoc_insertion_point(namespace_scope)
615 
616 } // namespace msgs
617 } // namespace ignition
618 
619 #ifdef _MSC_VER
620 #pragma warning(pop)
621 #endif
622 // @@protoc_insertion_point(global_scope)
623 
624 #include <google/protobuf/port_undef.inc>
625 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2froad_2eproto
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2froad_2eproto
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: build/ignition-msgs8/include/ignition/msgs/road.pb.h:117
static const Road & default_instance()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void set_name(const char *value, size_t size)
Road & operator=(Road &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/road.pb.h:102
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Vector3d > * mutable_point()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/road.pb.h:111
void set_name(const std::string &value)
Road * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/road.pb.h:149
Road()
Definition: build/ignition-msgs8/include/ignition/msgs/road.pb.h:89
const ::ignition::msgs::Vector3d & point(int index) const
::ignition::msgs::Vector3d * mutable_point(int index)
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void Swap(Road *other)
Definition: build/ignition-msgs8/include/ignition/msgs/road.pb.h:133
static const Road * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/road.pb.h:123
friend void swap(Road &a, Road &b)
Definition: build/ignition-msgs8/include/ignition/msgs/road.pb.h:130
Road & operator=(const Road &from)
Definition: build/ignition-msgs8/include/ignition/msgs/road.pb.h:98
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void MergeFrom(const Road &from)
void CopyFrom(const Road &from)
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Vector3d > & point() const
Road(Road &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/road.pb.h:93
Road(::PROTOBUF_NAMESPACE_ID::Arena *arena)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/road.pb.h:114
const std::string & name() const
void set_name(const char *value)
void set_name(std::string &&value)
::ignition::msgs::Vector3d * add_point()
Road * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/road.pb.h:153
void set_allocated_name(std::string *name)
void UnsafeArenaSwap(Road *other)
Definition: build/ignition-msgs8/include/ignition/msgs/road.pb.h:141
T move(T... args)
Vector3< double > Vector3d
std::unique_ptr< Road > RoadUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/road.pb.h:610
std::shared_ptr< Road > RoadSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/road.pb.h:612
IGNITION_MSGS_VISIBLE RoadDefaultTypeInternal _Road_default_instance_
std::unique_ptr< const Road > ConstRoadUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/road.pb.h:611
std::shared_ptr< const Road > ConstRoadSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/road.pb.h:613
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
IGNITION_MSGS_VISIBLE MaterialDefaultTypeInternal _Material_default_instance_
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:53
STL namespace.
Definition: build/ignition-msgs8/include/ignition/msgs/road.pb.h:59
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)