Gazebo Msgs

API Reference

9.5.1
visual.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: gz/msgs/visual.proto
3 
4 #ifndef PROTOBUF_INCLUDED_gz_2fmsgs_2fvisual_2eproto
5 #define PROTOBUF_INCLUDED_gz_2fmsgs_2fvisual_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/header.pb.h"
35 #include "gz/msgs/pose.pb.h"
36 #include "gz/msgs/geometry.pb.h"
37 #include "gz/msgs/material.pb.h"
38 #include "gz/msgs/plugin.pb.h"
39 #include "gz/msgs/vector3d.pb.h"
40 // @@protoc_insertion_point(includes)
41 #define PROTOBUF_INTERNAL_EXPORT_protobuf_gz_2fmsgs_2fvisual_2eproto GZ_MSGS_VISIBLE
42 
44 // Internal implementation detail -- do not use these members.
45 struct GZ_MSGS_VISIBLE TableStruct {
46  static const ::google::protobuf::internal::ParseTableField entries[];
47  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
48  static const ::google::protobuf::internal::ParseTable schema[2];
49  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
50  static const ::google::protobuf::internal::SerializationTable serialization_table[];
51  static const ::google::protobuf::uint32 offsets[];
52 };
53 void GZ_MSGS_VISIBLE AddDescriptors();
54 } // namespace protobuf_gz_2fmsgs_2fvisual_2eproto
55 namespace gz {
56 namespace msgs {
57 class Visual;
58 class VisualDefaultTypeInternal;
59 GZ_MSGS_VISIBLE extern VisualDefaultTypeInternal _Visual_default_instance_;
60 class Visual_Meta;
61 class Visual_MetaDefaultTypeInternal;
62 GZ_MSGS_VISIBLE extern Visual_MetaDefaultTypeInternal _Visual_Meta_default_instance_;
63 } // namespace msgs
64 } // namespace gz
65 namespace google {
66 namespace protobuf {
67 template<> GZ_MSGS_VISIBLE ::gz::msgs::Visual* Arena::CreateMaybeMessage<::gz::msgs::Visual>(Arena*);
68 template<> GZ_MSGS_VISIBLE ::gz::msgs::Visual_Meta* Arena::CreateMaybeMessage<::gz::msgs::Visual_Meta>(Arena*);
69 } // namespace protobuf
70 } // namespace google
71 namespace gz {
72 namespace msgs {
73 
85 };
86 GZ_MSGS_VISIBLE bool Visual_Type_IsValid(int value);
90 
91 GZ_MSGS_VISIBLE const ::google::protobuf::EnumDescriptor* Visual_Type_descriptor();
92 inline const ::std::string& Visual_Type_Name(Visual_Type value) {
93  return ::google::protobuf::internal::NameOfEnum(
94  Visual_Type_descriptor(), value);
95 }
96 inline bool Visual_Type_Parse(
97  const ::std::string& name, Visual_Type* value) {
98  return ::google::protobuf::internal::ParseNamedEnum<Visual_Type>(
99  Visual_Type_descriptor(), name, value);
100 }
101 // ===================================================================
102 
103 class GZ_MSGS_VISIBLE Visual_Meta : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:gz.msgs.Visual.Meta) */ {
104  public:
105  Visual_Meta();
106  virtual ~Visual_Meta();
107 
108  Visual_Meta(const Visual_Meta& from);
109 
110  inline Visual_Meta& operator=(const Visual_Meta& from) {
111  CopyFrom(from);
112  return *this;
113  }
114  #if LANG_CXX11
115  Visual_Meta(Visual_Meta&& from) noexcept
116  : Visual_Meta() {
117  *this = ::std::move(from);
118  }
119 
120  inline Visual_Meta& operator=(Visual_Meta&& from) noexcept {
121  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
122  if (this != &from) InternalSwap(&from);
123  } else {
124  CopyFrom(from);
125  }
126  return *this;
127  }
128  #endif
129  static const ::google::protobuf::Descriptor* descriptor();
130  static const Visual_Meta& default_instance();
131 
132  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
133  static inline const Visual_Meta* internal_default_instance() {
134  return reinterpret_cast<const Visual_Meta*>(
136  }
137  static constexpr int kIndexInFileMessages =
138  0;
139 
140  void Swap(Visual_Meta* other);
141  friend void swap(Visual_Meta& a, Visual_Meta& b) {
142  a.Swap(&b);
143  }
144 
145  // implements Message ----------------------------------------------
146 
147  inline Visual_Meta* New() const final {
148  return CreateMaybeMessage<Visual_Meta>(NULL);
149  }
150 
151  Visual_Meta* New(::google::protobuf::Arena* arena) const final {
152  return CreateMaybeMessage<Visual_Meta>(arena);
153  }
154  void CopyFrom(const ::google::protobuf::Message& from) final;
155  void MergeFrom(const ::google::protobuf::Message& from) final;
156  void CopyFrom(const Visual_Meta& from);
157  void MergeFrom(const Visual_Meta& from);
158  void Clear() final;
159  bool IsInitialized() const final;
160 
161  size_t ByteSizeLong() const final;
162  bool MergePartialFromCodedStream(
163  ::google::protobuf::io::CodedInputStream* input) final;
164  void SerializeWithCachedSizes(
165  ::google::protobuf::io::CodedOutputStream* output) const final;
166  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
167  bool deterministic, ::google::protobuf::uint8* target) const final;
168  int GetCachedSize() const final { return _cached_size_.Get(); }
169 
170  private:
171  void SharedCtor();
172  void SharedDtor();
173  void SetCachedSize(int size) const final;
174  void InternalSwap(Visual_Meta* other);
175  private:
176  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
177  return NULL;
178  }
179  inline void* MaybeArenaPtr() const {
180  return NULL;
181  }
182  public:
183 
184  ::google::protobuf::Metadata GetMetadata() const final;
185 
186  // nested types ----------------------------------------------------
187 
188  // accessors -------------------------------------------------------
189 
190  // int32 layer = 1;
191  void clear_layer();
192  static const int kLayerFieldNumber = 1;
193  ::google::protobuf::int32 layer() const;
194  void set_layer(::google::protobuf::int32 value);
195 
196  // @@protoc_insertion_point(class_scope:gz.msgs.Visual.Meta)
197  private:
198 
199  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
200  ::google::protobuf::int32 layer_;
201  mutable ::google::protobuf::internal::CachedSize _cached_size_;
202  friend struct ::protobuf_gz_2fmsgs_2fvisual_2eproto::TableStruct;
203 };
204 // -------------------------------------------------------------------
205 
206 class GZ_MSGS_VISIBLE Visual : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:gz.msgs.Visual) */ {
207  public:
208  Visual();
209  virtual ~Visual();
210 
211  Visual(const Visual& from);
212 
213  inline Visual& operator=(const Visual& from) {
214  CopyFrom(from);
215  return *this;
216  }
217  #if LANG_CXX11
218  Visual(Visual&& from) noexcept
219  : Visual() {
220  *this = ::std::move(from);
221  }
222 
223  inline Visual& operator=(Visual&& from) noexcept {
224  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
225  if (this != &from) InternalSwap(&from);
226  } else {
227  CopyFrom(from);
228  }
229  return *this;
230  }
231  #endif
232  static const ::google::protobuf::Descriptor* descriptor();
233  static const Visual& default_instance();
234 
235  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
236  static inline const Visual* internal_default_instance() {
237  return reinterpret_cast<const Visual*>(
239  }
240  static constexpr int kIndexInFileMessages =
241  1;
242 
243  void Swap(Visual* other);
244  friend void swap(Visual& a, Visual& b) {
245  a.Swap(&b);
246  }
247 
248  // implements Message ----------------------------------------------
249 
250  inline Visual* New() const final {
251  return CreateMaybeMessage<Visual>(NULL);
252  }
253 
254  Visual* New(::google::protobuf::Arena* arena) const final {
255  return CreateMaybeMessage<Visual>(arena);
256  }
257  void CopyFrom(const ::google::protobuf::Message& from) final;
258  void MergeFrom(const ::google::protobuf::Message& from) final;
259  void CopyFrom(const Visual& from);
260  void MergeFrom(const Visual& from);
261  void Clear() final;
262  bool IsInitialized() const final;
263 
264  size_t ByteSizeLong() const final;
265  bool MergePartialFromCodedStream(
266  ::google::protobuf::io::CodedInputStream* input) final;
267  void SerializeWithCachedSizes(
268  ::google::protobuf::io::CodedOutputStream* output) const final;
269  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
270  bool deterministic, ::google::protobuf::uint8* target) const final;
271  int GetCachedSize() const final { return _cached_size_.Get(); }
272 
273  private:
274  void SharedCtor();
275  void SharedDtor();
276  void SetCachedSize(int size) const final;
277  void InternalSwap(Visual* other);
278  private:
279  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
280  return NULL;
281  }
282  inline void* MaybeArenaPtr() const {
283  return NULL;
284  }
285  public:
286 
287  ::google::protobuf::Metadata GetMetadata() const final;
288 
289  // nested types ----------------------------------------------------
290 
291  typedef Visual_Meta Meta;
292 
293  typedef Visual_Type Type;
294  static const Type ENTITY =
296  static const Type MODEL =
298  static const Type LINK =
300  static const Type VISUAL =
302  static const Type COLLISION =
304  static const Type SENSOR =
306  static const Type GUI =
308  static const Type PHYSICS =
310  static inline bool Type_IsValid(int value) {
311  return Visual_Type_IsValid(value);
312  }
313  static const Type Type_MIN =
315  static const Type Type_MAX =
317  static const int Type_ARRAYSIZE =
319  static inline const ::google::protobuf::EnumDescriptor*
321  return Visual_Type_descriptor();
322  }
323  static inline const ::std::string& Type_Name(Type value) {
324  return Visual_Type_Name(value);
325  }
326  static inline bool Type_Parse(const ::std::string& name,
327  Type* value) {
328  return Visual_Type_Parse(name, value);
329  }
330 
331  // accessors -------------------------------------------------------
332 
333  // repeated .gz.msgs.Plugin plugin = 15;
334  int plugin_size() const;
335  void clear_plugin();
336  static const int kPluginFieldNumber = 15;
337  ::gz::msgs::Plugin* mutable_plugin(int index);
338  ::google::protobuf::RepeatedPtrField< ::gz::msgs::Plugin >*
339  mutable_plugin();
340  const ::gz::msgs::Plugin& plugin(int index) const;
341  ::gz::msgs::Plugin* add_plugin();
342  const ::google::protobuf::RepeatedPtrField< ::gz::msgs::Plugin >&
343  plugin() const;
344 
345  // string name = 2;
346  void clear_name();
347  static const int kNameFieldNumber = 2;
348  const ::std::string& name() const;
349  void set_name(const ::std::string& value);
350  #if LANG_CXX11
351  void set_name(::std::string&& value);
352  #endif
353  void set_name(const char* value);
354  void set_name(const char* value, size_t size);
355  ::std::string* mutable_name();
356  ::std::string* release_name();
357  void set_allocated_name(::std::string* name);
358 
359  // string parent_name = 4;
360  void clear_parent_name();
361  static const int kParentNameFieldNumber = 4;
362  const ::std::string& parent_name() const;
363  void set_parent_name(const ::std::string& value);
364  #if LANG_CXX11
365  void set_parent_name(::std::string&& value);
366  #endif
367  void set_parent_name(const char* value);
368  void set_parent_name(const char* value, size_t size);
369  ::std::string* mutable_parent_name();
370  ::std::string* release_parent_name();
371  void set_allocated_parent_name(::std::string* parent_name);
372 
373  // .gz.msgs.Header header = 1;
374  bool has_header() const;
375  void clear_header();
376  static const int kHeaderFieldNumber = 1;
377  private:
378  const ::gz::msgs::Header& _internal_header() const;
379  public:
380  const ::gz::msgs::Header& header() const;
381  ::gz::msgs::Header* release_header();
382  ::gz::msgs::Header* mutable_header();
383  void set_allocated_header(::gz::msgs::Header* header);
384 
385  // .gz.msgs.Pose pose = 9;
386  bool has_pose() const;
387  void clear_pose();
388  static const int kPoseFieldNumber = 9;
389  private:
390  const ::gz::msgs::Pose& _internal_pose() const;
391  public:
392  const ::gz::msgs::Pose& pose() const;
393  ::gz::msgs::Pose* release_pose();
394  ::gz::msgs::Pose* mutable_pose();
395  void set_allocated_pose(::gz::msgs::Pose* pose);
396 
397  // .gz.msgs.Geometry geometry = 10;
398  bool has_geometry() const;
399  void clear_geometry();
400  static const int kGeometryFieldNumber = 10;
401  private:
402  const ::gz::msgs::Geometry& _internal_geometry() const;
403  public:
404  const ::gz::msgs::Geometry& geometry() const;
405  ::gz::msgs::Geometry* release_geometry();
406  ::gz::msgs::Geometry* mutable_geometry();
407  void set_allocated_geometry(::gz::msgs::Geometry* geometry);
408 
409  // .gz.msgs.Material material = 11;
410  bool has_material() const;
411  void clear_material();
412  static const int kMaterialFieldNumber = 11;
413  private:
414  const ::gz::msgs::Material& _internal_material() const;
415  public:
416  const ::gz::msgs::Material& material() const;
417  ::gz::msgs::Material* release_material();
418  ::gz::msgs::Material* mutable_material();
419  void set_allocated_material(::gz::msgs::Material* material);
420 
421  // .gz.msgs.Vector3d scale = 16;
422  bool has_scale() const;
423  void clear_scale();
424  static const int kScaleFieldNumber = 16;
425  private:
426  const ::gz::msgs::Vector3d& _internal_scale() const;
427  public:
428  const ::gz::msgs::Vector3d& scale() const;
429  ::gz::msgs::Vector3d* release_scale();
430  ::gz::msgs::Vector3d* mutable_scale();
431  void set_allocated_scale(::gz::msgs::Vector3d* scale);
432 
433  // .gz.msgs.Visual.Meta meta = 17;
434  bool has_meta() const;
435  void clear_meta();
436  static const int kMetaFieldNumber = 17;
437  private:
438  const ::gz::msgs::Visual_Meta& _internal_meta() const;
439  public:
440  const ::gz::msgs::Visual_Meta& meta() const;
441  ::gz::msgs::Visual_Meta* release_meta();
442  ::gz::msgs::Visual_Meta* mutable_meta();
443  void set_allocated_meta(::gz::msgs::Visual_Meta* meta);
444 
445  // uint32 id = 3;
446  void clear_id();
447  static const int kIdFieldNumber = 3;
448  ::google::protobuf::uint32 id() const;
449  void set_id(::google::protobuf::uint32 value);
450 
451  // uint32 parent_id = 5;
452  void clear_parent_id();
453  static const int kParentIdFieldNumber = 5;
454  ::google::protobuf::uint32 parent_id() const;
455  void set_parent_id(::google::protobuf::uint32 value);
456 
457  // double transparency = 7;
458  void clear_transparency();
459  static const int kTransparencyFieldNumber = 7;
460  double transparency() const;
461  void set_transparency(double value);
462 
463  // double laser_retro = 8;
464  void clear_laser_retro();
465  static const int kLaserRetroFieldNumber = 8;
466  double laser_retro() const;
467  void set_laser_retro(double value);
468 
469  // bool cast_shadows = 6;
470  void clear_cast_shadows();
471  static const int kCastShadowsFieldNumber = 6;
472  bool cast_shadows() const;
473  void set_cast_shadows(bool value);
474 
475  // bool visible = 12;
476  void clear_visible();
477  static const int kVisibleFieldNumber = 12;
478  bool visible() const;
479  void set_visible(bool value);
480 
481  // bool delete_me = 13;
482  void clear_delete_me();
483  static const int kDeleteMeFieldNumber = 13;
484  bool delete_me() const;
485  void set_delete_me(bool value);
486 
487  // bool is_static = 14;
488  void clear_is_static();
489  static const int kIsStaticFieldNumber = 14;
490  bool is_static() const;
491  void set_is_static(bool value);
492 
493  // .gz.msgs.Visual.Type type = 18;
494  void clear_type();
495  static const int kTypeFieldNumber = 18;
496  ::gz::msgs::Visual_Type type() const;
497  void set_type(::gz::msgs::Visual_Type value);
498 
499  // @@protoc_insertion_point(class_scope:gz.msgs.Visual)
500  private:
501 
502  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
503  ::google::protobuf::RepeatedPtrField< ::gz::msgs::Plugin > plugin_;
504  ::google::protobuf::internal::ArenaStringPtr name_;
505  ::google::protobuf::internal::ArenaStringPtr parent_name_;
506  ::gz::msgs::Header* header_;
507  ::gz::msgs::Pose* pose_;
508  ::gz::msgs::Geometry* geometry_;
509  ::gz::msgs::Material* material_;
510  ::gz::msgs::Vector3d* scale_;
512  ::google::protobuf::uint32 id_;
513  ::google::protobuf::uint32 parent_id_;
514  double transparency_;
515  double laser_retro_;
516  bool cast_shadows_;
517  bool visible_;
518  bool delete_me_;
519  bool is_static_;
520  int type_;
521  mutable ::google::protobuf::internal::CachedSize _cached_size_;
522  friend struct ::protobuf_gz_2fmsgs_2fvisual_2eproto::TableStruct;
523 };
524 // ===================================================================
525 
526 
527 // ===================================================================
528 
529 #ifdef __GNUC__
530  #pragma GCC diagnostic push
531  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
532 #endif // __GNUC__
533 // Visual_Meta
534 
535 // int32 layer = 1;
537  layer_ = 0;
538 }
539 inline ::google::protobuf::int32 Visual_Meta::layer() const {
540  // @@protoc_insertion_point(field_get:gz.msgs.Visual.Meta.layer)
541  return layer_;
542 }
543 inline void Visual_Meta::set_layer(::google::protobuf::int32 value) {
544 
545  layer_ = value;
546  // @@protoc_insertion_point(field_set:gz.msgs.Visual.Meta.layer)
547 }
548 
549 // -------------------------------------------------------------------
550 
551 // Visual
552 
553 // .gz.msgs.Header header = 1;
554 inline bool Visual::has_header() const {
555  return this != internal_default_instance() && header_ != NULL;
556 }
557 inline const ::gz::msgs::Header& Visual::_internal_header() const {
558  return *header_;
559 }
560 inline const ::gz::msgs::Header& Visual::header() const {
561  const ::gz::msgs::Header* p = header_;
562  // @@protoc_insertion_point(field_get:gz.msgs.Visual.header)
563  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Header*>(
565 }
566 inline ::gz::msgs::Header* Visual::release_header() {
567  // @@protoc_insertion_point(field_release:gz.msgs.Visual.header)
568 
569  ::gz::msgs::Header* temp = header_;
570  header_ = NULL;
571  return temp;
572 }
573 inline ::gz::msgs::Header* Visual::mutable_header() {
574 
575  if (header_ == NULL) {
576  auto* p = CreateMaybeMessage<::gz::msgs::Header>(GetArenaNoVirtual());
577  header_ = p;
578  }
579  // @@protoc_insertion_point(field_mutable:gz.msgs.Visual.header)
580  return header_;
581 }
583  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
584  if (message_arena == NULL) {
585  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
586  }
587  if (header) {
588  ::google::protobuf::Arena* submessage_arena = NULL;
589  if (message_arena != submessage_arena) {
590  header = ::google::protobuf::internal::GetOwnedMessage(
591  message_arena, header, submessage_arena);
592  }
593 
594  } else {
595 
596  }
597  header_ = header;
598  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Visual.header)
599 }
600 
601 // string name = 2;
602 inline void Visual::clear_name() {
603  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
604 }
605 inline const ::std::string& Visual::name() const {
606  // @@protoc_insertion_point(field_get:gz.msgs.Visual.name)
607  return name_.GetNoArena();
608 }
609 inline void Visual::set_name(const ::std::string& value) {
610 
611  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
612  // @@protoc_insertion_point(field_set:gz.msgs.Visual.name)
613 }
614 #if LANG_CXX11
615 inline void Visual::set_name(::std::string&& value) {
616 
617  name_.SetNoArena(
618  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
619  // @@protoc_insertion_point(field_set_rvalue:gz.msgs.Visual.name)
620 }
621 #endif
622 inline void Visual::set_name(const char* value) {
623  GOOGLE_DCHECK(value != NULL);
624 
625  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
626  // @@protoc_insertion_point(field_set_char:gz.msgs.Visual.name)
627 }
628 inline void Visual::set_name(const char* value, size_t size) {
629 
630  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
631  ::std::string(reinterpret_cast<const char*>(value), size));
632  // @@protoc_insertion_point(field_set_pointer:gz.msgs.Visual.name)
633 }
634 inline ::std::string* Visual::mutable_name() {
635 
636  // @@protoc_insertion_point(field_mutable:gz.msgs.Visual.name)
637  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
638 }
639 inline ::std::string* Visual::release_name() {
640  // @@protoc_insertion_point(field_release:gz.msgs.Visual.name)
641 
642  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
643 }
645  if (name != NULL) {
646 
647  } else {
648 
649  }
650  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
651  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Visual.name)
652 }
653 
654 // uint32 id = 3;
655 inline void Visual::clear_id() {
656  id_ = 0u;
657 }
658 inline ::google::protobuf::uint32 Visual::id() const {
659  // @@protoc_insertion_point(field_get:gz.msgs.Visual.id)
660  return id_;
661 }
662 inline void Visual::set_id(::google::protobuf::uint32 value) {
663 
664  id_ = value;
665  // @@protoc_insertion_point(field_set:gz.msgs.Visual.id)
666 }
667 
668 // string parent_name = 4;
670  parent_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
671 }
672 inline const ::std::string& Visual::parent_name() const {
673  // @@protoc_insertion_point(field_get:gz.msgs.Visual.parent_name)
674  return parent_name_.GetNoArena();
675 }
676 inline void Visual::set_parent_name(const ::std::string& value) {
677 
678  parent_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
679  // @@protoc_insertion_point(field_set:gz.msgs.Visual.parent_name)
680 }
681 #if LANG_CXX11
682 inline void Visual::set_parent_name(::std::string&& value) {
683 
684  parent_name_.SetNoArena(
685  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
686  // @@protoc_insertion_point(field_set_rvalue:gz.msgs.Visual.parent_name)
687 }
688 #endif
689 inline void Visual::set_parent_name(const char* value) {
690  GOOGLE_DCHECK(value != NULL);
691 
692  parent_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
693  // @@protoc_insertion_point(field_set_char:gz.msgs.Visual.parent_name)
694 }
695 inline void Visual::set_parent_name(const char* value, size_t size) {
696 
697  parent_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
698  ::std::string(reinterpret_cast<const char*>(value), size));
699  // @@protoc_insertion_point(field_set_pointer:gz.msgs.Visual.parent_name)
700 }
701 inline ::std::string* Visual::mutable_parent_name() {
702 
703  // @@protoc_insertion_point(field_mutable:gz.msgs.Visual.parent_name)
704  return parent_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
705 }
706 inline ::std::string* Visual::release_parent_name() {
707  // @@protoc_insertion_point(field_release:gz.msgs.Visual.parent_name)
708 
709  return parent_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
710 }
711 inline void Visual::set_allocated_parent_name(::std::string* parent_name) {
712  if (parent_name != NULL) {
713 
714  } else {
715 
716  }
717  parent_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), parent_name);
718  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Visual.parent_name)
719 }
720 
721 // uint32 parent_id = 5;
722 inline void Visual::clear_parent_id() {
723  parent_id_ = 0u;
724 }
725 inline ::google::protobuf::uint32 Visual::parent_id() const {
726  // @@protoc_insertion_point(field_get:gz.msgs.Visual.parent_id)
727  return parent_id_;
728 }
729 inline void Visual::set_parent_id(::google::protobuf::uint32 value) {
730 
731  parent_id_ = value;
732  // @@protoc_insertion_point(field_set:gz.msgs.Visual.parent_id)
733 }
734 
735 // bool cast_shadows = 6;
737  cast_shadows_ = false;
738 }
739 inline bool Visual::cast_shadows() const {
740  // @@protoc_insertion_point(field_get:gz.msgs.Visual.cast_shadows)
741  return cast_shadows_;
742 }
743 inline void Visual::set_cast_shadows(bool value) {
744 
745  cast_shadows_ = value;
746  // @@protoc_insertion_point(field_set:gz.msgs.Visual.cast_shadows)
747 }
748 
749 // double transparency = 7;
751  transparency_ = 0;
752 }
753 inline double Visual::transparency() const {
754  // @@protoc_insertion_point(field_get:gz.msgs.Visual.transparency)
755  return transparency_;
756 }
757 inline void Visual::set_transparency(double value) {
758 
759  transparency_ = value;
760  // @@protoc_insertion_point(field_set:gz.msgs.Visual.transparency)
761 }
762 
763 // double laser_retro = 8;
765  laser_retro_ = 0;
766 }
767 inline double Visual::laser_retro() const {
768  // @@protoc_insertion_point(field_get:gz.msgs.Visual.laser_retro)
769  return laser_retro_;
770 }
771 inline void Visual::set_laser_retro(double value) {
772 
773  laser_retro_ = value;
774  // @@protoc_insertion_point(field_set:gz.msgs.Visual.laser_retro)
775 }
776 
777 // .gz.msgs.Pose pose = 9;
778 inline bool Visual::has_pose() const {
779  return this != internal_default_instance() && pose_ != NULL;
780 }
781 inline const ::gz::msgs::Pose& Visual::_internal_pose() const {
782  return *pose_;
783 }
784 inline const ::gz::msgs::Pose& Visual::pose() const {
785  const ::gz::msgs::Pose* p = pose_;
786  // @@protoc_insertion_point(field_get:gz.msgs.Visual.pose)
787  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Pose*>(
789 }
790 inline ::gz::msgs::Pose* Visual::release_pose() {
791  // @@protoc_insertion_point(field_release:gz.msgs.Visual.pose)
792 
793  ::gz::msgs::Pose* temp = pose_;
794  pose_ = NULL;
795  return temp;
796 }
797 inline ::gz::msgs::Pose* Visual::mutable_pose() {
798 
799  if (pose_ == NULL) {
800  auto* p = CreateMaybeMessage<::gz::msgs::Pose>(GetArenaNoVirtual());
801  pose_ = p;
802  }
803  // @@protoc_insertion_point(field_mutable:gz.msgs.Visual.pose)
804  return pose_;
805 }
807  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
808  if (message_arena == NULL) {
809  delete reinterpret_cast< ::google::protobuf::MessageLite*>(pose_);
810  }
811  if (pose) {
812  ::google::protobuf::Arena* submessage_arena = NULL;
813  if (message_arena != submessage_arena) {
814  pose = ::google::protobuf::internal::GetOwnedMessage(
815  message_arena, pose, submessage_arena);
816  }
817 
818  } else {
819 
820  }
821  pose_ = pose;
822  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Visual.pose)
823 }
824 
825 // .gz.msgs.Geometry geometry = 10;
826 inline bool Visual::has_geometry() const {
827  return this != internal_default_instance() && geometry_ != NULL;
828 }
829 inline const ::gz::msgs::Geometry& Visual::_internal_geometry() const {
830  return *geometry_;
831 }
832 inline const ::gz::msgs::Geometry& Visual::geometry() const {
833  const ::gz::msgs::Geometry* p = geometry_;
834  // @@protoc_insertion_point(field_get:gz.msgs.Visual.geometry)
835  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Geometry*>(
837 }
838 inline ::gz::msgs::Geometry* Visual::release_geometry() {
839  // @@protoc_insertion_point(field_release:gz.msgs.Visual.geometry)
840 
841  ::gz::msgs::Geometry* temp = geometry_;
842  geometry_ = NULL;
843  return temp;
844 }
845 inline ::gz::msgs::Geometry* Visual::mutable_geometry() {
846 
847  if (geometry_ == NULL) {
848  auto* p = CreateMaybeMessage<::gz::msgs::Geometry>(GetArenaNoVirtual());
849  geometry_ = p;
850  }
851  // @@protoc_insertion_point(field_mutable:gz.msgs.Visual.geometry)
852  return geometry_;
853 }
855  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
856  if (message_arena == NULL) {
857  delete reinterpret_cast< ::google::protobuf::MessageLite*>(geometry_);
858  }
859  if (geometry) {
860  ::google::protobuf::Arena* submessage_arena = NULL;
861  if (message_arena != submessage_arena) {
862  geometry = ::google::protobuf::internal::GetOwnedMessage(
863  message_arena, geometry, submessage_arena);
864  }
865 
866  } else {
867 
868  }
869  geometry_ = geometry;
870  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Visual.geometry)
871 }
872 
873 // .gz.msgs.Material material = 11;
874 inline bool Visual::has_material() const {
875  return this != internal_default_instance() && material_ != NULL;
876 }
877 inline const ::gz::msgs::Material& Visual::_internal_material() const {
878  return *material_;
879 }
880 inline const ::gz::msgs::Material& Visual::material() const {
881  const ::gz::msgs::Material* p = material_;
882  // @@protoc_insertion_point(field_get:gz.msgs.Visual.material)
883  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Material*>(
885 }
886 inline ::gz::msgs::Material* Visual::release_material() {
887  // @@protoc_insertion_point(field_release:gz.msgs.Visual.material)
888 
889  ::gz::msgs::Material* temp = material_;
890  material_ = NULL;
891  return temp;
892 }
893 inline ::gz::msgs::Material* Visual::mutable_material() {
894 
895  if (material_ == NULL) {
896  auto* p = CreateMaybeMessage<::gz::msgs::Material>(GetArenaNoVirtual());
897  material_ = p;
898  }
899  // @@protoc_insertion_point(field_mutable:gz.msgs.Visual.material)
900  return material_;
901 }
903  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
904  if (message_arena == NULL) {
905  delete reinterpret_cast< ::google::protobuf::MessageLite*>(material_);
906  }
907  if (material) {
908  ::google::protobuf::Arena* submessage_arena = NULL;
909  if (message_arena != submessage_arena) {
910  material = ::google::protobuf::internal::GetOwnedMessage(
911  message_arena, material, submessage_arena);
912  }
913 
914  } else {
915 
916  }
917  material_ = material;
918  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Visual.material)
919 }
920 
921 // bool visible = 12;
922 inline void Visual::clear_visible() {
923  visible_ = false;
924 }
925 inline bool Visual::visible() const {
926  // @@protoc_insertion_point(field_get:gz.msgs.Visual.visible)
927  return visible_;
928 }
929 inline void Visual::set_visible(bool value) {
930 
931  visible_ = value;
932  // @@protoc_insertion_point(field_set:gz.msgs.Visual.visible)
933 }
934 
935 // bool delete_me = 13;
936 inline void Visual::clear_delete_me() {
937  delete_me_ = false;
938 }
939 inline bool Visual::delete_me() const {
940  // @@protoc_insertion_point(field_get:gz.msgs.Visual.delete_me)
941  return delete_me_;
942 }
943 inline void Visual::set_delete_me(bool value) {
944 
945  delete_me_ = value;
946  // @@protoc_insertion_point(field_set:gz.msgs.Visual.delete_me)
947 }
948 
949 // bool is_static = 14;
950 inline void Visual::clear_is_static() {
951  is_static_ = false;
952 }
953 inline bool Visual::is_static() const {
954  // @@protoc_insertion_point(field_get:gz.msgs.Visual.is_static)
955  return is_static_;
956 }
957 inline void Visual::set_is_static(bool value) {
958 
959  is_static_ = value;
960  // @@protoc_insertion_point(field_set:gz.msgs.Visual.is_static)
961 }
962 
963 // repeated .gz.msgs.Plugin plugin = 15;
964 inline int Visual::plugin_size() const {
965  return plugin_.size();
966 }
967 inline ::gz::msgs::Plugin* Visual::mutable_plugin(int index) {
968  // @@protoc_insertion_point(field_mutable:gz.msgs.Visual.plugin)
969  return plugin_.Mutable(index);
970 }
971 inline ::google::protobuf::RepeatedPtrField< ::gz::msgs::Plugin >*
973  // @@protoc_insertion_point(field_mutable_list:gz.msgs.Visual.plugin)
974  return &plugin_;
975 }
976 inline const ::gz::msgs::Plugin& Visual::plugin(int index) const {
977  // @@protoc_insertion_point(field_get:gz.msgs.Visual.plugin)
978  return plugin_.Get(index);
979 }
980 inline ::gz::msgs::Plugin* Visual::add_plugin() {
981  // @@protoc_insertion_point(field_add:gz.msgs.Visual.plugin)
982  return plugin_.Add();
983 }
984 inline const ::google::protobuf::RepeatedPtrField< ::gz::msgs::Plugin >&
985 Visual::plugin() const {
986  // @@protoc_insertion_point(field_list:gz.msgs.Visual.plugin)
987  return plugin_;
988 }
989 
990 // .gz.msgs.Vector3d scale = 16;
991 inline bool Visual::has_scale() const {
992  return this != internal_default_instance() && scale_ != NULL;
993 }
994 inline const ::gz::msgs::Vector3d& Visual::_internal_scale() const {
995  return *scale_;
996 }
997 inline const ::gz::msgs::Vector3d& Visual::scale() const {
998  const ::gz::msgs::Vector3d* p = scale_;
999  // @@protoc_insertion_point(field_get:gz.msgs.Visual.scale)
1000  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Vector3d*>(
1002 }
1003 inline ::gz::msgs::Vector3d* Visual::release_scale() {
1004  // @@protoc_insertion_point(field_release:gz.msgs.Visual.scale)
1005 
1006  ::gz::msgs::Vector3d* temp = scale_;
1007  scale_ = NULL;
1008  return temp;
1009 }
1010 inline ::gz::msgs::Vector3d* Visual::mutable_scale() {
1011 
1012  if (scale_ == NULL) {
1013  auto* p = CreateMaybeMessage<::gz::msgs::Vector3d>(GetArenaNoVirtual());
1014  scale_ = p;
1015  }
1016  // @@protoc_insertion_point(field_mutable:gz.msgs.Visual.scale)
1017  return scale_;
1018 }
1020  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1021  if (message_arena == NULL) {
1022  delete reinterpret_cast< ::google::protobuf::MessageLite*>(scale_);
1023  }
1024  if (scale) {
1025  ::google::protobuf::Arena* submessage_arena = NULL;
1026  if (message_arena != submessage_arena) {
1027  scale = ::google::protobuf::internal::GetOwnedMessage(
1028  message_arena, scale, submessage_arena);
1029  }
1030 
1031  } else {
1032 
1033  }
1034  scale_ = scale;
1035  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Visual.scale)
1036 }
1037 
1038 // .gz.msgs.Visual.Meta meta = 17;
1039 inline bool Visual::has_meta() const {
1040  return this != internal_default_instance() && meta_ != NULL;
1041 }
1042 inline void Visual::clear_meta() {
1043  if (GetArenaNoVirtual() == NULL && meta_ != NULL) {
1044  delete meta_;
1045  }
1046  meta_ = NULL;
1047 }
1048 inline const ::gz::msgs::Visual_Meta& Visual::_internal_meta() const {
1049  return *meta_;
1050 }
1051 inline const ::gz::msgs::Visual_Meta& Visual::meta() const {
1052  const ::gz::msgs::Visual_Meta* p = meta_;
1053  // @@protoc_insertion_point(field_get:gz.msgs.Visual.meta)
1054  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Visual_Meta*>(
1056 }
1057 inline ::gz::msgs::Visual_Meta* Visual::release_meta() {
1058  // @@protoc_insertion_point(field_release:gz.msgs.Visual.meta)
1059 
1060  ::gz::msgs::Visual_Meta* temp = meta_;
1061  meta_ = NULL;
1062  return temp;
1063 }
1064 inline ::gz::msgs::Visual_Meta* Visual::mutable_meta() {
1065 
1066  if (meta_ == NULL) {
1067  auto* p = CreateMaybeMessage<::gz::msgs::Visual_Meta>(GetArenaNoVirtual());
1068  meta_ = p;
1069  }
1070  // @@protoc_insertion_point(field_mutable:gz.msgs.Visual.meta)
1071  return meta_;
1072 }
1074  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1075  if (message_arena == NULL) {
1076  delete meta_;
1077  }
1078  if (meta) {
1079  ::google::protobuf::Arena* submessage_arena = NULL;
1080  if (message_arena != submessage_arena) {
1081  meta = ::google::protobuf::internal::GetOwnedMessage(
1082  message_arena, meta, submessage_arena);
1083  }
1084 
1085  } else {
1086 
1087  }
1088  meta_ = meta;
1089  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Visual.meta)
1090 }
1091 
1092 // .gz.msgs.Visual.Type type = 18;
1093 inline void Visual::clear_type() {
1094  type_ = 0;
1095 }
1097  // @@protoc_insertion_point(field_get:gz.msgs.Visual.type)
1098  return static_cast< ::gz::msgs::Visual_Type >(type_);
1099 }
1101 
1102  type_ = value;
1103  // @@protoc_insertion_point(field_set:gz.msgs.Visual.type)
1104 }
1105 
1106 #ifdef __GNUC__
1107  #pragma GCC diagnostic pop
1108 #endif // __GNUC__
1109 // -------------------------------------------------------------------
1110 
1111 
1112 // @@protoc_insertion_point(namespace_scope)
1113 
1114 } // namespace msgs
1115 } // namespace gz
1116 
1117 namespace google {
1118 namespace protobuf {
1119 
1120 template <> struct is_proto_enum< ::gz::msgs::Visual_Type> : ::std::true_type {};
1121 template <>
1122 inline const EnumDescriptor* GetEnumDescriptor< ::gz::msgs::Visual_Type>() {
1124 }
1125 
1126 } // namespace protobuf
1127 } // namespace google
1128 
1129 // @@protoc_insertion_point(global_scope)
1130 
1131 #endif // PROTOBUF_INCLUDED_gz_2fmsgs_2fvisual_2eproto