Gazebo Msgs

API Reference

9.5.1
marker.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: gz/msgs/marker.proto
3 
4 #ifndef PROTOBUF_INCLUDED_gz_2fmsgs_2fmarker_2eproto
5 #define PROTOBUF_INCLUDED_gz_2fmsgs_2fmarker_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/generated_enum_reflection.h>
33 #include <google/protobuf/unknown_field_set.h>
34 #include "gz/msgs/time.pb.h"
35 #include "gz/msgs/pose.pb.h"
36 #include "gz/msgs/vector3d.pb.h"
37 #include "gz/msgs/material.pb.h"
38 #include "gz/msgs/header.pb.h"
39 // @@protoc_insertion_point(includes)
40 #define PROTOBUF_INTERNAL_EXPORT_protobuf_gz_2fmsgs_2fmarker_2eproto GZ_MSGS_VISIBLE
41 
43 // Internal implementation detail -- do not use these members.
44 struct GZ_MSGS_VISIBLE TableStruct {
45  static const ::google::protobuf::internal::ParseTableField entries[];
46  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
47  static const ::google::protobuf::internal::ParseTable schema[1];
48  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
49  static const ::google::protobuf::internal::SerializationTable serialization_table[];
50  static const ::google::protobuf::uint32 offsets[];
51 };
52 void GZ_MSGS_VISIBLE AddDescriptors();
53 } // namespace protobuf_gz_2fmsgs_2fmarker_2eproto
54 namespace gz {
55 namespace msgs {
56 class Marker;
57 class MarkerDefaultTypeInternal;
58 GZ_MSGS_VISIBLE extern MarkerDefaultTypeInternal _Marker_default_instance_;
59 } // namespace msgs
60 } // namespace gz
61 namespace google {
62 namespace protobuf {
63 template<> GZ_MSGS_VISIBLE ::gz::msgs::Marker* Arena::CreateMaybeMessage<::gz::msgs::Marker>(Arena*);
64 } // namespace protobuf
65 } // namespace google
66 namespace gz {
67 namespace msgs {
68 
88 };
89 GZ_MSGS_VISIBLE bool Marker_Type_IsValid(int value);
93 
94 GZ_MSGS_VISIBLE const ::google::protobuf::EnumDescriptor* Marker_Type_descriptor();
95 inline const ::std::string& Marker_Type_Name(Marker_Type value) {
96  return ::google::protobuf::internal::NameOfEnum(
97  Marker_Type_descriptor(), value);
98 }
99 inline bool Marker_Type_Parse(
100  const ::std::string& name, Marker_Type* value) {
101  return ::google::protobuf::internal::ParseNamedEnum<Marker_Type>(
102  Marker_Type_descriptor(), name, value);
103 }
109 };
110 GZ_MSGS_VISIBLE bool Marker_Visibility_IsValid(int value);
114 
115 GZ_MSGS_VISIBLE const ::google::protobuf::EnumDescriptor* Marker_Visibility_descriptor();
116 inline const ::std::string& Marker_Visibility_Name(Marker_Visibility value) {
117  return ::google::protobuf::internal::NameOfEnum(
119 }
121  const ::std::string& name, Marker_Visibility* value) {
122  return ::google::protobuf::internal::ParseNamedEnum<Marker_Visibility>(
123  Marker_Visibility_descriptor(), name, value);
124 }
131 };
132 GZ_MSGS_VISIBLE bool Marker_Action_IsValid(int value);
136 
137 GZ_MSGS_VISIBLE const ::google::protobuf::EnumDescriptor* Marker_Action_descriptor();
138 inline const ::std::string& Marker_Action_Name(Marker_Action value) {
139  return ::google::protobuf::internal::NameOfEnum(
140  Marker_Action_descriptor(), value);
141 }
143  const ::std::string& name, Marker_Action* value) {
144  return ::google::protobuf::internal::ParseNamedEnum<Marker_Action>(
145  Marker_Action_descriptor(), name, value);
146 }
147 // ===================================================================
148 
149 class GZ_MSGS_VISIBLE Marker : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:gz.msgs.Marker) */ {
150  public:
151  Marker();
152  virtual ~Marker();
153 
154  Marker(const Marker& from);
155 
156  inline Marker& operator=(const Marker& from) {
157  CopyFrom(from);
158  return *this;
159  }
160  #if LANG_CXX11
161  Marker(Marker&& from) noexcept
162  : Marker() {
163  *this = ::std::move(from);
164  }
165 
166  inline Marker& operator=(Marker&& from) noexcept {
167  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
168  if (this != &from) InternalSwap(&from);
169  } else {
170  CopyFrom(from);
171  }
172  return *this;
173  }
174  #endif
175  static const ::google::protobuf::Descriptor* descriptor();
176  static const Marker& default_instance();
177 
178  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
179  static inline const Marker* internal_default_instance() {
180  return reinterpret_cast<const Marker*>(
182  }
183  static constexpr int kIndexInFileMessages =
184  0;
185 
186  void Swap(Marker* other);
187  friend void swap(Marker& a, Marker& b) {
188  a.Swap(&b);
189  }
190 
191  // implements Message ----------------------------------------------
192 
193  inline Marker* New() const final {
194  return CreateMaybeMessage<Marker>(NULL);
195  }
196 
197  Marker* New(::google::protobuf::Arena* arena) const final {
198  return CreateMaybeMessage<Marker>(arena);
199  }
200  void CopyFrom(const ::google::protobuf::Message& from) final;
201  void MergeFrom(const ::google::protobuf::Message& from) final;
202  void CopyFrom(const Marker& from);
203  void MergeFrom(const Marker& from);
204  void Clear() final;
205  bool IsInitialized() const final;
206 
207  size_t ByteSizeLong() const final;
208  bool MergePartialFromCodedStream(
209  ::google::protobuf::io::CodedInputStream* input) final;
210  void SerializeWithCachedSizes(
211  ::google::protobuf::io::CodedOutputStream* output) const final;
212  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
213  bool deterministic, ::google::protobuf::uint8* target) const final;
214  int GetCachedSize() const final { return _cached_size_.Get(); }
215 
216  private:
217  void SharedCtor();
218  void SharedDtor();
219  void SetCachedSize(int size) const final;
220  void InternalSwap(Marker* other);
221  private:
222  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
223  return NULL;
224  }
225  inline void* MaybeArenaPtr() const {
226  return NULL;
227  }
228  public:
229 
230  ::google::protobuf::Metadata GetMetadata() const final;
231 
232  // nested types ----------------------------------------------------
233 
234  typedef Marker_Type Type;
235  static const Type NONE =
237  static const Type BOX =
239  static const Type CYLINDER =
241  static const Type LINE_LIST =
243  static const Type LINE_STRIP =
245  static const Type POINTS =
247  static const Type SPHERE =
249  static const Type TEXT =
251  static const Type TRIANGLE_FAN =
253  static const Type TRIANGLE_LIST =
255  static const Type TRIANGLE_STRIP =
257  static const Type CONE =
259  static const Type ARROW =
261  static const Type AXIS =
263  static const Type CAPSULE =
265  static const Type ELLIPSOID =
267  static inline bool Type_IsValid(int value) {
268  return Marker_Type_IsValid(value);
269  }
270  static const Type Type_MIN =
272  static const Type Type_MAX =
274  static const int Type_ARRAYSIZE =
276  static inline const ::google::protobuf::EnumDescriptor*
278  return Marker_Type_descriptor();
279  }
280  static inline const ::std::string& Type_Name(Type value) {
281  return Marker_Type_Name(value);
282  }
283  static inline bool Type_Parse(const ::std::string& name,
284  Type* value) {
285  return Marker_Type_Parse(name, value);
286  }
287 
289  static const Visibility GUI =
291  static const Visibility ALL =
293  static inline bool Visibility_IsValid(int value) {
294  return Marker_Visibility_IsValid(value);
295  }
296  static const Visibility Visibility_MIN =
298  static const Visibility Visibility_MAX =
300  static const int Visibility_ARRAYSIZE =
302  static inline const ::google::protobuf::EnumDescriptor*
305  }
306  static inline const ::std::string& Visibility_Name(Visibility value) {
307  return Marker_Visibility_Name(value);
308  }
309  static inline bool Visibility_Parse(const ::std::string& name,
310  Visibility* value) {
311  return Marker_Visibility_Parse(name, value);
312  }
313 
315  static const Action ADD_MODIFY =
317  static const Action DELETE_MARKER =
319  static const Action DELETE_ALL =
321  static inline bool Action_IsValid(int value) {
322  return Marker_Action_IsValid(value);
323  }
324  static const Action Action_MIN =
326  static const Action Action_MAX =
328  static const int Action_ARRAYSIZE =
330  static inline const ::google::protobuf::EnumDescriptor*
332  return Marker_Action_descriptor();
333  }
334  static inline const ::std::string& Action_Name(Action value) {
335  return Marker_Action_Name(value);
336  }
337  static inline bool Action_Parse(const ::std::string& name,
338  Action* value) {
339  return Marker_Action_Parse(name, value);
340  }
341 
342  // accessors -------------------------------------------------------
343 
344  // repeated .gz.msgs.Vector3d point = 11;
345  int point_size() const;
346  void clear_point();
347  static const int kPointFieldNumber = 11;
348  ::gz::msgs::Vector3d* mutable_point(int index);
349  ::google::protobuf::RepeatedPtrField< ::gz::msgs::Vector3d >*
350  mutable_point();
351  const ::gz::msgs::Vector3d& point(int index) const;
352  ::gz::msgs::Vector3d* add_point();
353  const ::google::protobuf::RepeatedPtrField< ::gz::msgs::Vector3d >&
354  point() const;
355 
356  // repeated .gz.msgs.Material materials = 15;
357  int materials_size() const;
358  void clear_materials();
359  static const int kMaterialsFieldNumber = 15;
360  ::gz::msgs::Material* mutable_materials(int index);
361  ::google::protobuf::RepeatedPtrField< ::gz::msgs::Material >*
362  mutable_materials();
363  const ::gz::msgs::Material& materials(int index) const;
364  ::gz::msgs::Material* add_materials();
365  const ::google::protobuf::RepeatedPtrField< ::gz::msgs::Material >&
366  materials() const;
367 
368  // string ns = 3;
369  void clear_ns();
370  static const int kNsFieldNumber = 3;
371  const ::std::string& ns() const;
372  void set_ns(const ::std::string& value);
373  #if LANG_CXX11
374  void set_ns(::std::string&& value);
375  #endif
376  void set_ns(const char* value);
377  void set_ns(const char* value, size_t size);
378  ::std::string* mutable_ns();
379  ::std::string* release_ns();
380  void set_allocated_ns(::std::string* ns);
381 
382  // string text = 12;
383  void clear_text();
384  static const int kTextFieldNumber = 12;
385  const ::std::string& text() const;
386  void set_text(const ::std::string& value);
387  #if LANG_CXX11
388  void set_text(::std::string&& value);
389  #endif
390  void set_text(const char* value);
391  void set_text(const char* value, size_t size);
392  ::std::string* mutable_text();
393  ::std::string* release_text();
394  void set_allocated_text(::std::string* text);
395 
396  // string parent = 13;
397  void clear_parent();
398  static const int kParentFieldNumber = 13;
399  const ::std::string& parent() const;
400  void set_parent(const ::std::string& value);
401  #if LANG_CXX11
402  void set_parent(::std::string&& value);
403  #endif
404  void set_parent(const char* value);
405  void set_parent(const char* value, size_t size);
406  ::std::string* mutable_parent();
407  ::std::string* release_parent();
408  void set_allocated_parent(::std::string* parent);
409 
410  // .gz.msgs.Header header = 1;
411  bool has_header() const;
412  void clear_header();
413  static const int kHeaderFieldNumber = 1;
414  private:
415  const ::gz::msgs::Header& _internal_header() const;
416  public:
417  const ::gz::msgs::Header& header() const;
418  ::gz::msgs::Header* release_header();
419  ::gz::msgs::Header* mutable_header();
420  void set_allocated_header(::gz::msgs::Header* header);
421 
422  // .gz.msgs.Time lifetime = 7;
423  bool has_lifetime() const;
424  void clear_lifetime();
425  static const int kLifetimeFieldNumber = 7;
426  private:
427  const ::gz::msgs::Time& _internal_lifetime() const;
428  public:
429  const ::gz::msgs::Time& lifetime() const;
430  ::gz::msgs::Time* release_lifetime();
431  ::gz::msgs::Time* mutable_lifetime();
432  void set_allocated_lifetime(::gz::msgs::Time* lifetime);
433 
434  // .gz.msgs.Pose pose = 8;
435  bool has_pose() const;
436  void clear_pose();
437  static const int kPoseFieldNumber = 8;
438  private:
439  const ::gz::msgs::Pose& _internal_pose() const;
440  public:
441  const ::gz::msgs::Pose& pose() const;
442  ::gz::msgs::Pose* release_pose();
443  ::gz::msgs::Pose* mutable_pose();
444  void set_allocated_pose(::gz::msgs::Pose* pose);
445 
446  // .gz.msgs.Vector3d scale = 9;
447  bool has_scale() const;
448  void clear_scale();
449  static const int kScaleFieldNumber = 9;
450  private:
451  const ::gz::msgs::Vector3d& _internal_scale() const;
452  public:
453  const ::gz::msgs::Vector3d& scale() const;
454  ::gz::msgs::Vector3d* release_scale();
455  ::gz::msgs::Vector3d* mutable_scale();
456  void set_allocated_scale(::gz::msgs::Vector3d* scale);
457 
458  // .gz.msgs.Material material = 10;
459  bool has_material() const;
460  void clear_material();
461  static const int kMaterialFieldNumber = 10;
462  private:
463  const ::gz::msgs::Material& _internal_material() const;
464  public:
465  const ::gz::msgs::Material& material() const;
466  ::gz::msgs::Material* release_material();
467  ::gz::msgs::Material* mutable_material();
468  void set_allocated_material(::gz::msgs::Material* material);
469 
470  // .gz.msgs.Marker.Action action = 2;
471  void clear_action();
472  static const int kActionFieldNumber = 2;
473  ::gz::msgs::Marker_Action action() const;
474  void set_action(::gz::msgs::Marker_Action value);
475 
476  // int32 layer = 5;
477  void clear_layer();
478  static const int kLayerFieldNumber = 5;
479  ::google::protobuf::int32 layer() const;
480  void set_layer(::google::protobuf::int32 value);
481 
482  // uint64 id = 4;
483  void clear_id();
484  static const int kIdFieldNumber = 4;
485  ::google::protobuf::uint64 id() const;
486  void set_id(::google::protobuf::uint64 value);
487 
488  // .gz.msgs.Marker.Type type = 6;
489  void clear_type();
490  static const int kTypeFieldNumber = 6;
491  ::gz::msgs::Marker_Type type() const;
492  void set_type(::gz::msgs::Marker_Type value);
493 
494  // .gz.msgs.Marker.Visibility visibility = 14;
495  void clear_visibility();
496  static const int kVisibilityFieldNumber = 14;
497  ::gz::msgs::Marker_Visibility visibility() const;
498  void set_visibility(::gz::msgs::Marker_Visibility value);
499 
500  // @@protoc_insertion_point(class_scope:gz.msgs.Marker)
501  private:
502 
503  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
504  ::google::protobuf::RepeatedPtrField< ::gz::msgs::Vector3d > point_;
505  ::google::protobuf::RepeatedPtrField< ::gz::msgs::Material > materials_;
506  ::google::protobuf::internal::ArenaStringPtr ns_;
507  ::google::protobuf::internal::ArenaStringPtr text_;
508  ::google::protobuf::internal::ArenaStringPtr parent_;
509  ::gz::msgs::Header* header_;
510  ::gz::msgs::Time* lifetime_;
511  ::gz::msgs::Pose* pose_;
512  ::gz::msgs::Vector3d* scale_;
513  ::gz::msgs::Material* material_;
514  int action_;
515  ::google::protobuf::int32 layer_;
516  ::google::protobuf::uint64 id_;
517  int type_;
518  int visibility_;
519  mutable ::google::protobuf::internal::CachedSize _cached_size_;
520  friend struct ::protobuf_gz_2fmsgs_2fmarker_2eproto::TableStruct;
521 };
522 // ===================================================================
523 
524 
525 // ===================================================================
526 
527 #ifdef __GNUC__
528  #pragma GCC diagnostic push
529  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
530 #endif // __GNUC__
531 // Marker
532 
533 // .gz.msgs.Header header = 1;
534 inline bool Marker::has_header() const {
535  return this != internal_default_instance() && header_ != NULL;
536 }
537 inline const ::gz::msgs::Header& Marker::_internal_header() const {
538  return *header_;
539 }
540 inline const ::gz::msgs::Header& Marker::header() const {
541  const ::gz::msgs::Header* p = header_;
542  // @@protoc_insertion_point(field_get:gz.msgs.Marker.header)
543  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Header*>(
545 }
546 inline ::gz::msgs::Header* Marker::release_header() {
547  // @@protoc_insertion_point(field_release:gz.msgs.Marker.header)
548 
549  ::gz::msgs::Header* temp = header_;
550  header_ = NULL;
551  return temp;
552 }
553 inline ::gz::msgs::Header* Marker::mutable_header() {
554 
555  if (header_ == NULL) {
556  auto* p = CreateMaybeMessage<::gz::msgs::Header>(GetArenaNoVirtual());
557  header_ = p;
558  }
559  // @@protoc_insertion_point(field_mutable:gz.msgs.Marker.header)
560  return header_;
561 }
563  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
564  if (message_arena == NULL) {
565  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
566  }
567  if (header) {
568  ::google::protobuf::Arena* submessage_arena = NULL;
569  if (message_arena != submessage_arena) {
570  header = ::google::protobuf::internal::GetOwnedMessage(
571  message_arena, header, submessage_arena);
572  }
573 
574  } else {
575 
576  }
577  header_ = header;
578  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Marker.header)
579 }
580 
581 // .gz.msgs.Marker.Action action = 2;
582 inline void Marker::clear_action() {
583  action_ = 0;
584 }
586  // @@protoc_insertion_point(field_get:gz.msgs.Marker.action)
587  return static_cast< ::gz::msgs::Marker_Action >(action_);
588 }
590 
591  action_ = value;
592  // @@protoc_insertion_point(field_set:gz.msgs.Marker.action)
593 }
594 
595 // string ns = 3;
596 inline void Marker::clear_ns() {
597  ns_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
598 }
599 inline const ::std::string& Marker::ns() const {
600  // @@protoc_insertion_point(field_get:gz.msgs.Marker.ns)
601  return ns_.GetNoArena();
602 }
603 inline void Marker::set_ns(const ::std::string& value) {
604 
605  ns_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
606  // @@protoc_insertion_point(field_set:gz.msgs.Marker.ns)
607 }
608 #if LANG_CXX11
609 inline void Marker::set_ns(::std::string&& value) {
610 
611  ns_.SetNoArena(
612  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
613  // @@protoc_insertion_point(field_set_rvalue:gz.msgs.Marker.ns)
614 }
615 #endif
616 inline void Marker::set_ns(const char* value) {
617  GOOGLE_DCHECK(value != NULL);
618 
619  ns_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
620  // @@protoc_insertion_point(field_set_char:gz.msgs.Marker.ns)
621 }
622 inline void Marker::set_ns(const char* value, size_t size) {
623 
624  ns_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
625  ::std::string(reinterpret_cast<const char*>(value), size));
626  // @@protoc_insertion_point(field_set_pointer:gz.msgs.Marker.ns)
627 }
628 inline ::std::string* Marker::mutable_ns() {
629 
630  // @@protoc_insertion_point(field_mutable:gz.msgs.Marker.ns)
631  return ns_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
632 }
633 inline ::std::string* Marker::release_ns() {
634  // @@protoc_insertion_point(field_release:gz.msgs.Marker.ns)
635 
636  return ns_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
637 }
639  if (ns != NULL) {
640 
641  } else {
642 
643  }
644  ns_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ns);
645  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Marker.ns)
646 }
647 
648 // uint64 id = 4;
649 inline void Marker::clear_id() {
650  id_ = GOOGLE_ULONGLONG(0);
651 }
652 inline ::google::protobuf::uint64 Marker::id() const {
653  // @@protoc_insertion_point(field_get:gz.msgs.Marker.id)
654  return id_;
655 }
656 inline void Marker::set_id(::google::protobuf::uint64 value) {
657 
658  id_ = value;
659  // @@protoc_insertion_point(field_set:gz.msgs.Marker.id)
660 }
661 
662 // int32 layer = 5;
663 inline void Marker::clear_layer() {
664  layer_ = 0;
665 }
666 inline ::google::protobuf::int32 Marker::layer() const {
667  // @@protoc_insertion_point(field_get:gz.msgs.Marker.layer)
668  return layer_;
669 }
670 inline void Marker::set_layer(::google::protobuf::int32 value) {
671 
672  layer_ = value;
673  // @@protoc_insertion_point(field_set:gz.msgs.Marker.layer)
674 }
675 
676 // .gz.msgs.Marker.Type type = 6;
677 inline void Marker::clear_type() {
678  type_ = 0;
679 }
681  // @@protoc_insertion_point(field_get:gz.msgs.Marker.type)
682  return static_cast< ::gz::msgs::Marker_Type >(type_);
683 }
685 
686  type_ = value;
687  // @@protoc_insertion_point(field_set:gz.msgs.Marker.type)
688 }
689 
690 // .gz.msgs.Time lifetime = 7;
691 inline bool Marker::has_lifetime() const {
692  return this != internal_default_instance() && lifetime_ != NULL;
693 }
694 inline const ::gz::msgs::Time& Marker::_internal_lifetime() const {
695  return *lifetime_;
696 }
697 inline const ::gz::msgs::Time& Marker::lifetime() const {
698  const ::gz::msgs::Time* p = lifetime_;
699  // @@protoc_insertion_point(field_get:gz.msgs.Marker.lifetime)
700  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Time*>(
702 }
703 inline ::gz::msgs::Time* Marker::release_lifetime() {
704  // @@protoc_insertion_point(field_release:gz.msgs.Marker.lifetime)
705 
706  ::gz::msgs::Time* temp = lifetime_;
707  lifetime_ = NULL;
708  return temp;
709 }
710 inline ::gz::msgs::Time* Marker::mutable_lifetime() {
711 
712  if (lifetime_ == NULL) {
713  auto* p = CreateMaybeMessage<::gz::msgs::Time>(GetArenaNoVirtual());
714  lifetime_ = p;
715  }
716  // @@protoc_insertion_point(field_mutable:gz.msgs.Marker.lifetime)
717  return lifetime_;
718 }
720  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
721  if (message_arena == NULL) {
722  delete reinterpret_cast< ::google::protobuf::MessageLite*>(lifetime_);
723  }
724  if (lifetime) {
725  ::google::protobuf::Arena* submessage_arena = NULL;
726  if (message_arena != submessage_arena) {
727  lifetime = ::google::protobuf::internal::GetOwnedMessage(
728  message_arena, lifetime, submessage_arena);
729  }
730 
731  } else {
732 
733  }
734  lifetime_ = lifetime;
735  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Marker.lifetime)
736 }
737 
738 // .gz.msgs.Pose pose = 8;
739 inline bool Marker::has_pose() const {
740  return this != internal_default_instance() && pose_ != NULL;
741 }
742 inline const ::gz::msgs::Pose& Marker::_internal_pose() const {
743  return *pose_;
744 }
745 inline const ::gz::msgs::Pose& Marker::pose() const {
746  const ::gz::msgs::Pose* p = pose_;
747  // @@protoc_insertion_point(field_get:gz.msgs.Marker.pose)
748  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Pose*>(
750 }
751 inline ::gz::msgs::Pose* Marker::release_pose() {
752  // @@protoc_insertion_point(field_release:gz.msgs.Marker.pose)
753 
754  ::gz::msgs::Pose* temp = pose_;
755  pose_ = NULL;
756  return temp;
757 }
758 inline ::gz::msgs::Pose* Marker::mutable_pose() {
759 
760  if (pose_ == NULL) {
761  auto* p = CreateMaybeMessage<::gz::msgs::Pose>(GetArenaNoVirtual());
762  pose_ = p;
763  }
764  // @@protoc_insertion_point(field_mutable:gz.msgs.Marker.pose)
765  return pose_;
766 }
768  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
769  if (message_arena == NULL) {
770  delete reinterpret_cast< ::google::protobuf::MessageLite*>(pose_);
771  }
772  if (pose) {
773  ::google::protobuf::Arena* submessage_arena = NULL;
774  if (message_arena != submessage_arena) {
775  pose = ::google::protobuf::internal::GetOwnedMessage(
776  message_arena, pose, submessage_arena);
777  }
778 
779  } else {
780 
781  }
782  pose_ = pose;
783  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Marker.pose)
784 }
785 
786 // .gz.msgs.Vector3d scale = 9;
787 inline bool Marker::has_scale() const {
788  return this != internal_default_instance() && scale_ != NULL;
789 }
790 inline const ::gz::msgs::Vector3d& Marker::_internal_scale() const {
791  return *scale_;
792 }
793 inline const ::gz::msgs::Vector3d& Marker::scale() const {
794  const ::gz::msgs::Vector3d* p = scale_;
795  // @@protoc_insertion_point(field_get:gz.msgs.Marker.scale)
796  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Vector3d*>(
798 }
799 inline ::gz::msgs::Vector3d* Marker::release_scale() {
800  // @@protoc_insertion_point(field_release:gz.msgs.Marker.scale)
801 
802  ::gz::msgs::Vector3d* temp = scale_;
803  scale_ = NULL;
804  return temp;
805 }
806 inline ::gz::msgs::Vector3d* Marker::mutable_scale() {
807 
808  if (scale_ == NULL) {
809  auto* p = CreateMaybeMessage<::gz::msgs::Vector3d>(GetArenaNoVirtual());
810  scale_ = p;
811  }
812  // @@protoc_insertion_point(field_mutable:gz.msgs.Marker.scale)
813  return scale_;
814 }
816  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
817  if (message_arena == NULL) {
818  delete reinterpret_cast< ::google::protobuf::MessageLite*>(scale_);
819  }
820  if (scale) {
821  ::google::protobuf::Arena* submessage_arena = NULL;
822  if (message_arena != submessage_arena) {
823  scale = ::google::protobuf::internal::GetOwnedMessage(
824  message_arena, scale, submessage_arena);
825  }
826 
827  } else {
828 
829  }
830  scale_ = scale;
831  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Marker.scale)
832 }
833 
834 // .gz.msgs.Material material = 10;
835 inline bool Marker::has_material() const {
836  return this != internal_default_instance() && material_ != NULL;
837 }
838 inline const ::gz::msgs::Material& Marker::_internal_material() const {
839  return *material_;
840 }
841 inline const ::gz::msgs::Material& Marker::material() const {
842  const ::gz::msgs::Material* p = material_;
843  // @@protoc_insertion_point(field_get:gz.msgs.Marker.material)
844  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Material*>(
846 }
847 inline ::gz::msgs::Material* Marker::release_material() {
848  // @@protoc_insertion_point(field_release:gz.msgs.Marker.material)
849 
850  ::gz::msgs::Material* temp = material_;
851  material_ = NULL;
852  return temp;
853 }
854 inline ::gz::msgs::Material* Marker::mutable_material() {
855 
856  if (material_ == NULL) {
857  auto* p = CreateMaybeMessage<::gz::msgs::Material>(GetArenaNoVirtual());
858  material_ = p;
859  }
860  // @@protoc_insertion_point(field_mutable:gz.msgs.Marker.material)
861  return material_;
862 }
864  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
865  if (message_arena == NULL) {
866  delete reinterpret_cast< ::google::protobuf::MessageLite*>(material_);
867  }
868  if (material) {
869  ::google::protobuf::Arena* submessage_arena = NULL;
870  if (message_arena != submessage_arena) {
871  material = ::google::protobuf::internal::GetOwnedMessage(
872  message_arena, material, submessage_arena);
873  }
874 
875  } else {
876 
877  }
878  material_ = material;
879  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Marker.material)
880 }
881 
882 // repeated .gz.msgs.Vector3d point = 11;
883 inline int Marker::point_size() const {
884  return point_.size();
885 }
886 inline ::gz::msgs::Vector3d* Marker::mutable_point(int index) {
887  // @@protoc_insertion_point(field_mutable:gz.msgs.Marker.point)
888  return point_.Mutable(index);
889 }
890 inline ::google::protobuf::RepeatedPtrField< ::gz::msgs::Vector3d >*
892  // @@protoc_insertion_point(field_mutable_list:gz.msgs.Marker.point)
893  return &point_;
894 }
895 inline const ::gz::msgs::Vector3d& Marker::point(int index) const {
896  // @@protoc_insertion_point(field_get:gz.msgs.Marker.point)
897  return point_.Get(index);
898 }
899 inline ::gz::msgs::Vector3d* Marker::add_point() {
900  // @@protoc_insertion_point(field_add:gz.msgs.Marker.point)
901  return point_.Add();
902 }
903 inline const ::google::protobuf::RepeatedPtrField< ::gz::msgs::Vector3d >&
904 Marker::point() const {
905  // @@protoc_insertion_point(field_list:gz.msgs.Marker.point)
906  return point_;
907 }
908 
909 // string text = 12;
910 inline void Marker::clear_text() {
911  text_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
912 }
913 inline const ::std::string& Marker::text() const {
914  // @@protoc_insertion_point(field_get:gz.msgs.Marker.text)
915  return text_.GetNoArena();
916 }
917 inline void Marker::set_text(const ::std::string& value) {
918 
919  text_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
920  // @@protoc_insertion_point(field_set:gz.msgs.Marker.text)
921 }
922 #if LANG_CXX11
923 inline void Marker::set_text(::std::string&& value) {
924 
925  text_.SetNoArena(
926  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
927  // @@protoc_insertion_point(field_set_rvalue:gz.msgs.Marker.text)
928 }
929 #endif
930 inline void Marker::set_text(const char* value) {
931  GOOGLE_DCHECK(value != NULL);
932 
933  text_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
934  // @@protoc_insertion_point(field_set_char:gz.msgs.Marker.text)
935 }
936 inline void Marker::set_text(const char* value, size_t size) {
937 
938  text_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
939  ::std::string(reinterpret_cast<const char*>(value), size));
940  // @@protoc_insertion_point(field_set_pointer:gz.msgs.Marker.text)
941 }
942 inline ::std::string* Marker::mutable_text() {
943 
944  // @@protoc_insertion_point(field_mutable:gz.msgs.Marker.text)
945  return text_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
946 }
947 inline ::std::string* Marker::release_text() {
948  // @@protoc_insertion_point(field_release:gz.msgs.Marker.text)
949 
950  return text_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
951 }
953  if (text != NULL) {
954 
955  } else {
956 
957  }
958  text_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), text);
959  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Marker.text)
960 }
961 
962 // string parent = 13;
963 inline void Marker::clear_parent() {
964  parent_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
965 }
966 inline const ::std::string& Marker::parent() const {
967  // @@protoc_insertion_point(field_get:gz.msgs.Marker.parent)
968  return parent_.GetNoArena();
969 }
970 inline void Marker::set_parent(const ::std::string& value) {
971 
972  parent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
973  // @@protoc_insertion_point(field_set:gz.msgs.Marker.parent)
974 }
975 #if LANG_CXX11
976 inline void Marker::set_parent(::std::string&& value) {
977 
978  parent_.SetNoArena(
979  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
980  // @@protoc_insertion_point(field_set_rvalue:gz.msgs.Marker.parent)
981 }
982 #endif
983 inline void Marker::set_parent(const char* value) {
984  GOOGLE_DCHECK(value != NULL);
985 
986  parent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
987  // @@protoc_insertion_point(field_set_char:gz.msgs.Marker.parent)
988 }
989 inline void Marker::set_parent(const char* value, size_t size) {
990 
991  parent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
992  ::std::string(reinterpret_cast<const char*>(value), size));
993  // @@protoc_insertion_point(field_set_pointer:gz.msgs.Marker.parent)
994 }
995 inline ::std::string* Marker::mutable_parent() {
996 
997  // @@protoc_insertion_point(field_mutable:gz.msgs.Marker.parent)
998  return parent_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
999 }
1000 inline ::std::string* Marker::release_parent() {
1001  // @@protoc_insertion_point(field_release:gz.msgs.Marker.parent)
1002 
1003  return parent_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1004 }
1006  if (parent != NULL) {
1007 
1008  } else {
1009 
1010  }
1011  parent_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), parent);
1012  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Marker.parent)
1013 }
1014 
1015 // .gz.msgs.Marker.Visibility visibility = 14;
1017  visibility_ = 0;
1018 }
1020  // @@protoc_insertion_point(field_get:gz.msgs.Marker.visibility)
1021  return static_cast< ::gz::msgs::Marker_Visibility >(visibility_);
1022 }
1024 
1025  visibility_ = value;
1026  // @@protoc_insertion_point(field_set:gz.msgs.Marker.visibility)
1027 }
1028 
1029 // repeated .gz.msgs.Material materials = 15;
1030 inline int Marker::materials_size() const {
1031  return materials_.size();
1032 }
1033 inline ::gz::msgs::Material* Marker::mutable_materials(int index) {
1034  // @@protoc_insertion_point(field_mutable:gz.msgs.Marker.materials)
1035  return materials_.Mutable(index);
1036 }
1037 inline ::google::protobuf::RepeatedPtrField< ::gz::msgs::Material >*
1039  // @@protoc_insertion_point(field_mutable_list:gz.msgs.Marker.materials)
1040  return &materials_;
1041 }
1042 inline const ::gz::msgs::Material& Marker::materials(int index) const {
1043  // @@protoc_insertion_point(field_get:gz.msgs.Marker.materials)
1044  return materials_.Get(index);
1045 }
1046 inline ::gz::msgs::Material* Marker::add_materials() {
1047  // @@protoc_insertion_point(field_add:gz.msgs.Marker.materials)
1048  return materials_.Add();
1049 }
1050 inline const ::google::protobuf::RepeatedPtrField< ::gz::msgs::Material >&
1052  // @@protoc_insertion_point(field_list:gz.msgs.Marker.materials)
1053  return materials_;
1054 }
1055 
1056 #ifdef __GNUC__
1057  #pragma GCC diagnostic pop
1058 #endif // __GNUC__
1059 
1060 // @@protoc_insertion_point(namespace_scope)
1061 
1062 } // namespace msgs
1063 } // namespace gz
1064 
1065 namespace google {
1066 namespace protobuf {
1067 
1068 template <> struct is_proto_enum< ::gz::msgs::Marker_Type> : ::std::true_type {};
1069 template <>
1070 inline const EnumDescriptor* GetEnumDescriptor< ::gz::msgs::Marker_Type>() {
1072 }
1073 template <> struct is_proto_enum< ::gz::msgs::Marker_Visibility> : ::std::true_type {};
1074 template <>
1075 inline const EnumDescriptor* GetEnumDescriptor< ::gz::msgs::Marker_Visibility>() {
1077 }
1078 template <> struct is_proto_enum< ::gz::msgs::Marker_Action> : ::std::true_type {};
1079 template <>
1080 inline const EnumDescriptor* GetEnumDescriptor< ::gz::msgs::Marker_Action>() {
1082 }
1083 
1084 } // namespace protobuf
1085 } // namespace google
1086 
1087 // @@protoc_insertion_point(global_scope)
1088 
1089 #endif // PROTOBUF_INCLUDED_gz_2fmsgs_2fmarker_2eproto