Gazebo Msgs

API Reference

9.5.1
particle_emitter.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: gz/msgs/particle_emitter.proto
3 
4 #ifndef PROTOBUF_INCLUDED_gz_2fmsgs_2fparticle_5femitter_2eproto
5 #define PROTOBUF_INCLUDED_gz_2fmsgs_2fparticle_5femitter_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/boolean.pb.h"
35 #include "gz/msgs/color.pb.h"
36 #include "gz/msgs/float.pb.h"
37 #include "gz/msgs/header.pb.h"
38 #include "gz/msgs/material.pb.h"
39 #include "gz/msgs/pose.pb.h"
40 #include "gz/msgs/stringmsg.pb.h"
41 #include "gz/msgs/vector3d.pb.h"
42 // @@protoc_insertion_point(includes)
43 #define PROTOBUF_INTERNAL_EXPORT_protobuf_gz_2fmsgs_2fparticle_5femitter_2eproto GZ_MSGS_VISIBLE
44 
46 // Internal implementation detail -- do not use these members.
47 struct GZ_MSGS_VISIBLE TableStruct {
48  static const ::google::protobuf::internal::ParseTableField entries[];
49  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
50  static const ::google::protobuf::internal::ParseTable schema[1];
51  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
52  static const ::google::protobuf::internal::SerializationTable serialization_table[];
53  static const ::google::protobuf::uint32 offsets[];
54 };
55 void GZ_MSGS_VISIBLE AddDescriptors();
56 } // namespace protobuf_gz_2fmsgs_2fparticle_5femitter_2eproto
57 namespace gz {
58 namespace msgs {
59 class ParticleEmitter;
60 class ParticleEmitterDefaultTypeInternal;
61 GZ_MSGS_VISIBLE extern ParticleEmitterDefaultTypeInternal _ParticleEmitter_default_instance_;
62 } // namespace msgs
63 } // namespace gz
64 namespace google {
65 namespace protobuf {
66 template<> GZ_MSGS_VISIBLE ::gz::msgs::ParticleEmitter* Arena::CreateMaybeMessage<::gz::msgs::ParticleEmitter>(Arena*);
67 } // namespace protobuf
68 } // namespace google
69 namespace gz {
70 namespace msgs {
71 
79 };
80 GZ_MSGS_VISIBLE bool ParticleEmitter_EmitterType_IsValid(int value);
84 
85 GZ_MSGS_VISIBLE const ::google::protobuf::EnumDescriptor* ParticleEmitter_EmitterType_descriptor();
87  return ::google::protobuf::internal::NameOfEnum(
89 }
91  const ::std::string& name, ParticleEmitter_EmitterType* value) {
92  return ::google::protobuf::internal::ParseNamedEnum<ParticleEmitter_EmitterType>(
94 }
95 // ===================================================================
96 
97 class GZ_MSGS_VISIBLE ParticleEmitter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:gz.msgs.ParticleEmitter) */ {
98  public:
100  virtual ~ParticleEmitter();
101 
102  ParticleEmitter(const ParticleEmitter& from);
103 
105  CopyFrom(from);
106  return *this;
107  }
108  #if LANG_CXX11
109  ParticleEmitter(ParticleEmitter&& from) noexcept
110  : ParticleEmitter() {
111  *this = ::std::move(from);
112  }
113 
114  inline ParticleEmitter& operator=(ParticleEmitter&& from) noexcept {
115  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
116  if (this != &from) InternalSwap(&from);
117  } else {
118  CopyFrom(from);
119  }
120  return *this;
121  }
122  #endif
123  static const ::google::protobuf::Descriptor* descriptor();
124  static const ParticleEmitter& default_instance();
125 
126  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
128  return reinterpret_cast<const ParticleEmitter*>(
130  }
131  static constexpr int kIndexInFileMessages =
132  0;
133 
134  void Swap(ParticleEmitter* other);
135  friend void swap(ParticleEmitter& a, ParticleEmitter& b) {
136  a.Swap(&b);
137  }
138 
139  // implements Message ----------------------------------------------
140 
141  inline ParticleEmitter* New() const final {
142  return CreateMaybeMessage<ParticleEmitter>(NULL);
143  }
144 
145  ParticleEmitter* New(::google::protobuf::Arena* arena) const final {
146  return CreateMaybeMessage<ParticleEmitter>(arena);
147  }
148  void CopyFrom(const ::google::protobuf::Message& from) final;
149  void MergeFrom(const ::google::protobuf::Message& from) final;
150  void CopyFrom(const ParticleEmitter& from);
151  void MergeFrom(const ParticleEmitter& from);
152  void Clear() final;
153  bool IsInitialized() const final;
154 
155  size_t ByteSizeLong() const final;
156  bool MergePartialFromCodedStream(
157  ::google::protobuf::io::CodedInputStream* input) final;
158  void SerializeWithCachedSizes(
159  ::google::protobuf::io::CodedOutputStream* output) const final;
160  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
161  bool deterministic, ::google::protobuf::uint8* target) const final;
162  int GetCachedSize() const final { return _cached_size_.Get(); }
163 
164  private:
165  void SharedCtor();
166  void SharedDtor();
167  void SetCachedSize(int size) const final;
168  void InternalSwap(ParticleEmitter* other);
169  private:
170  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
171  return NULL;
172  }
173  inline void* MaybeArenaPtr() const {
174  return NULL;
175  }
176  public:
177 
178  ::google::protobuf::Metadata GetMetadata() const final;
179 
180  // nested types ----------------------------------------------------
181 
183  static const EmitterType POINT =
185  static const EmitterType BOX =
187  static const EmitterType CYLINDER =
189  static const EmitterType ELLIPSOID =
191  static inline bool EmitterType_IsValid(int value) {
193  }
194  static const EmitterType EmitterType_MIN =
196  static const EmitterType EmitterType_MAX =
198  static const int EmitterType_ARRAYSIZE =
200  static inline const ::google::protobuf::EnumDescriptor*
203  }
204  static inline const ::std::string& EmitterType_Name(EmitterType value) {
205  return ParticleEmitter_EmitterType_Name(value);
206  }
207  static inline bool EmitterType_Parse(const ::std::string& name,
208  EmitterType* value) {
209  return ParticleEmitter_EmitterType_Parse(name, value);
210  }
211 
212  // accessors -------------------------------------------------------
213 
214  // string name = 2;
215  void clear_name();
216  static const int kNameFieldNumber = 2;
217  const ::std::string& name() const;
218  void set_name(const ::std::string& value);
219  #if LANG_CXX11
220  void set_name(::std::string&& value);
221  #endif
222  void set_name(const char* value);
223  void set_name(const char* value, size_t size);
224  ::std::string* mutable_name();
225  ::std::string* release_name();
226  void set_allocated_name(::std::string* name);
227 
228  // .gz.msgs.Header header = 1;
229  bool has_header() const;
230  void clear_header();
231  static const int kHeaderFieldNumber = 1;
232  private:
233  const ::gz::msgs::Header& _internal_header() const;
234  public:
235  const ::gz::msgs::Header& header() const;
236  ::gz::msgs::Header* release_header();
237  ::gz::msgs::Header* mutable_header();
238  void set_allocated_header(::gz::msgs::Header* header);
239 
240  // .gz.msgs.Pose pose = 5;
241  bool has_pose() const;
242  void clear_pose();
243  static const int kPoseFieldNumber = 5;
244  private:
245  const ::gz::msgs::Pose& _internal_pose() const;
246  public:
247  const ::gz::msgs::Pose& pose() const;
248  ::gz::msgs::Pose* release_pose();
249  ::gz::msgs::Pose* mutable_pose();
250  void set_allocated_pose(::gz::msgs::Pose* pose);
251 
252  // .gz.msgs.Vector3d size = 6;
253  bool has_size() const;
254  void clear_size();
255  static const int kSizeFieldNumber = 6;
256  private:
257  const ::gz::msgs::Vector3d& _internal_size() const;
258  public:
259  const ::gz::msgs::Vector3d& size() const;
260  ::gz::msgs::Vector3d* release_size();
261  ::gz::msgs::Vector3d* mutable_size();
262  void set_allocated_size(::gz::msgs::Vector3d* size);
263 
264  // .gz.msgs.Float rate = 7;
265  bool has_rate() const;
266  void clear_rate();
267  static const int kRateFieldNumber = 7;
268  private:
269  const ::gz::msgs::Float& _internal_rate() const;
270  public:
271  const ::gz::msgs::Float& rate() const;
272  ::gz::msgs::Float* release_rate();
273  ::gz::msgs::Float* mutable_rate();
274  void set_allocated_rate(::gz::msgs::Float* rate);
275 
276  // .gz.msgs.Float duration = 8;
277  bool has_duration() const;
278  void clear_duration();
279  static const int kDurationFieldNumber = 8;
280  private:
281  const ::gz::msgs::Float& _internal_duration() const;
282  public:
283  const ::gz::msgs::Float& duration() const;
284  ::gz::msgs::Float* release_duration();
285  ::gz::msgs::Float* mutable_duration();
286  void set_allocated_duration(::gz::msgs::Float* duration);
287 
288  // .gz.msgs.Boolean emitting = 9;
289  bool has_emitting() const;
290  void clear_emitting();
291  static const int kEmittingFieldNumber = 9;
292  private:
293  const ::gz::msgs::Boolean& _internal_emitting() const;
294  public:
295  const ::gz::msgs::Boolean& emitting() const;
296  ::gz::msgs::Boolean* release_emitting();
297  ::gz::msgs::Boolean* mutable_emitting();
298  void set_allocated_emitting(::gz::msgs::Boolean* emitting);
299 
300  // .gz.msgs.Vector3d particle_size = 10;
301  bool has_particle_size() const;
302  void clear_particle_size();
303  static const int kParticleSizeFieldNumber = 10;
304  private:
305  const ::gz::msgs::Vector3d& _internal_particle_size() const;
306  public:
307  const ::gz::msgs::Vector3d& particle_size() const;
308  ::gz::msgs::Vector3d* release_particle_size();
309  ::gz::msgs::Vector3d* mutable_particle_size();
310  void set_allocated_particle_size(::gz::msgs::Vector3d* particle_size);
311 
312  // .gz.msgs.Float lifetime = 11;
313  bool has_lifetime() const;
314  void clear_lifetime();
315  static const int kLifetimeFieldNumber = 11;
316  private:
317  const ::gz::msgs::Float& _internal_lifetime() const;
318  public:
319  const ::gz::msgs::Float& lifetime() const;
320  ::gz::msgs::Float* release_lifetime();
321  ::gz::msgs::Float* mutable_lifetime();
322  void set_allocated_lifetime(::gz::msgs::Float* lifetime);
323 
324  // .gz.msgs.Material material = 12;
325  bool has_material() const;
326  void clear_material();
327  static const int kMaterialFieldNumber = 12;
328  private:
329  const ::gz::msgs::Material& _internal_material() const;
330  public:
331  const ::gz::msgs::Material& material() const;
332  ::gz::msgs::Material* release_material();
333  ::gz::msgs::Material* mutable_material();
334  void set_allocated_material(::gz::msgs::Material* material);
335 
336  // .gz.msgs.Float min_velocity = 13;
337  bool has_min_velocity() const;
338  void clear_min_velocity();
339  static const int kMinVelocityFieldNumber = 13;
340  private:
341  const ::gz::msgs::Float& _internal_min_velocity() const;
342  public:
343  const ::gz::msgs::Float& min_velocity() const;
344  ::gz::msgs::Float* release_min_velocity();
345  ::gz::msgs::Float* mutable_min_velocity();
346  void set_allocated_min_velocity(::gz::msgs::Float* min_velocity);
347 
348  // .gz.msgs.Float max_velocity = 14;
349  bool has_max_velocity() const;
350  void clear_max_velocity();
351  static const int kMaxVelocityFieldNumber = 14;
352  private:
353  const ::gz::msgs::Float& _internal_max_velocity() const;
354  public:
355  const ::gz::msgs::Float& max_velocity() const;
356  ::gz::msgs::Float* release_max_velocity();
357  ::gz::msgs::Float* mutable_max_velocity();
358  void set_allocated_max_velocity(::gz::msgs::Float* max_velocity);
359 
360  // .gz.msgs.Color color_start = 15;
361  bool has_color_start() const;
362  void clear_color_start();
363  static const int kColorStartFieldNumber = 15;
364  private:
365  const ::gz::msgs::Color& _internal_color_start() const;
366  public:
367  const ::gz::msgs::Color& color_start() const;
368  ::gz::msgs::Color* release_color_start();
369  ::gz::msgs::Color* mutable_color_start();
370  void set_allocated_color_start(::gz::msgs::Color* color_start);
371 
372  // .gz.msgs.Color color_end = 16;
373  bool has_color_end() const;
374  void clear_color_end();
375  static const int kColorEndFieldNumber = 16;
376  private:
377  const ::gz::msgs::Color& _internal_color_end() const;
378  public:
379  const ::gz::msgs::Color& color_end() const;
380  ::gz::msgs::Color* release_color_end();
381  ::gz::msgs::Color* mutable_color_end();
382  void set_allocated_color_end(::gz::msgs::Color* color_end);
383 
384  // .gz.msgs.Float scale_rate = 17;
385  bool has_scale_rate() const;
386  void clear_scale_rate();
387  static const int kScaleRateFieldNumber = 17;
388  private:
389  const ::gz::msgs::Float& _internal_scale_rate() const;
390  public:
391  const ::gz::msgs::Float& scale_rate() const;
392  ::gz::msgs::Float* release_scale_rate();
393  ::gz::msgs::Float* mutable_scale_rate();
394  void set_allocated_scale_rate(::gz::msgs::Float* scale_rate);
395 
396  // .gz.msgs.StringMsg color_range_image = 18;
397  bool has_color_range_image() const;
398  void clear_color_range_image();
399  static const int kColorRangeImageFieldNumber = 18;
400  private:
401  const ::gz::msgs::StringMsg& _internal_color_range_image() const;
402  public:
403  const ::gz::msgs::StringMsg& color_range_image() const;
404  ::gz::msgs::StringMsg* release_color_range_image();
405  ::gz::msgs::StringMsg* mutable_color_range_image();
406  void set_allocated_color_range_image(::gz::msgs::StringMsg* color_range_image);
407 
408  // .gz.msgs.StringMsg topic = 19;
409  bool has_topic() const;
410  void clear_topic();
411  static const int kTopicFieldNumber = 19;
412  private:
413  const ::gz::msgs::StringMsg& _internal_topic() const;
414  public:
415  const ::gz::msgs::StringMsg& topic() const;
416  ::gz::msgs::StringMsg* release_topic();
417  ::gz::msgs::StringMsg* mutable_topic();
418  void set_allocated_topic(::gz::msgs::StringMsg* topic);
419 
420  // .gz.msgs.Float particle_scatter_ratio = 20;
421  bool has_particle_scatter_ratio() const;
422  void clear_particle_scatter_ratio();
423  static const int kParticleScatterRatioFieldNumber = 20;
424  private:
425  const ::gz::msgs::Float& _internal_particle_scatter_ratio() const;
426  public:
427  const ::gz::msgs::Float& particle_scatter_ratio() const;
428  ::gz::msgs::Float* release_particle_scatter_ratio();
429  ::gz::msgs::Float* mutable_particle_scatter_ratio();
430  void set_allocated_particle_scatter_ratio(::gz::msgs::Float* particle_scatter_ratio);
431 
432  // uint32 id = 3;
433  void clear_id();
434  static const int kIdFieldNumber = 3;
435  ::google::protobuf::uint32 id() const;
436  void set_id(::google::protobuf::uint32 value);
437 
438  // .gz.msgs.ParticleEmitter.EmitterType type = 4;
439  void clear_type();
440  static const int kTypeFieldNumber = 4;
442  void set_type(::gz::msgs::ParticleEmitter_EmitterType value);
443 
444  // @@protoc_insertion_point(class_scope:gz.msgs.ParticleEmitter)
445  private:
446 
447  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
448  ::google::protobuf::internal::ArenaStringPtr name_;
449  ::gz::msgs::Header* header_;
450  ::gz::msgs::Pose* pose_;
451  ::gz::msgs::Vector3d* size_;
452  ::gz::msgs::Float* rate_;
453  ::gz::msgs::Float* duration_;
454  ::gz::msgs::Boolean* emitting_;
455  ::gz::msgs::Vector3d* particle_size_;
456  ::gz::msgs::Float* lifetime_;
457  ::gz::msgs::Material* material_;
458  ::gz::msgs::Float* min_velocity_;
459  ::gz::msgs::Float* max_velocity_;
460  ::gz::msgs::Color* color_start_;
461  ::gz::msgs::Color* color_end_;
462  ::gz::msgs::Float* scale_rate_;
463  ::gz::msgs::StringMsg* color_range_image_;
464  ::gz::msgs::StringMsg* topic_;
465  ::gz::msgs::Float* particle_scatter_ratio_;
466  ::google::protobuf::uint32 id_;
467  int type_;
468  mutable ::google::protobuf::internal::CachedSize _cached_size_;
469  friend struct ::protobuf_gz_2fmsgs_2fparticle_5femitter_2eproto::TableStruct;
470 };
471 // ===================================================================
472 
473 
474 // ===================================================================
475 
476 #ifdef __GNUC__
477  #pragma GCC diagnostic push
478  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
479 #endif // __GNUC__
480 // ParticleEmitter
481 
482 // .gz.msgs.Header header = 1;
483 inline bool ParticleEmitter::has_header() const {
484  return this != internal_default_instance() && header_ != NULL;
485 }
486 inline const ::gz::msgs::Header& ParticleEmitter::_internal_header() const {
487  return *header_;
488 }
489 inline const ::gz::msgs::Header& ParticleEmitter::header() const {
490  const ::gz::msgs::Header* p = header_;
491  // @@protoc_insertion_point(field_get:gz.msgs.ParticleEmitter.header)
492  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Header*>(
494 }
495 inline ::gz::msgs::Header* ParticleEmitter::release_header() {
496  // @@protoc_insertion_point(field_release:gz.msgs.ParticleEmitter.header)
497 
498  ::gz::msgs::Header* temp = header_;
499  header_ = NULL;
500  return temp;
501 }
502 inline ::gz::msgs::Header* ParticleEmitter::mutable_header() {
503 
504  if (header_ == NULL) {
505  auto* p = CreateMaybeMessage<::gz::msgs::Header>(GetArenaNoVirtual());
506  header_ = p;
507  }
508  // @@protoc_insertion_point(field_mutable:gz.msgs.ParticleEmitter.header)
509  return header_;
510 }
512  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
513  if (message_arena == NULL) {
514  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
515  }
516  if (header) {
517  ::google::protobuf::Arena* submessage_arena = NULL;
518  if (message_arena != submessage_arena) {
519  header = ::google::protobuf::internal::GetOwnedMessage(
520  message_arena, header, submessage_arena);
521  }
522 
523  } else {
524 
525  }
526  header_ = header;
527  // @@protoc_insertion_point(field_set_allocated:gz.msgs.ParticleEmitter.header)
528 }
529 
530 // string name = 2;
532  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
533 }
534 inline const ::std::string& ParticleEmitter::name() const {
535  // @@protoc_insertion_point(field_get:gz.msgs.ParticleEmitter.name)
536  return name_.GetNoArena();
537 }
538 inline void ParticleEmitter::set_name(const ::std::string& value) {
539 
540  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
541  // @@protoc_insertion_point(field_set:gz.msgs.ParticleEmitter.name)
542 }
543 #if LANG_CXX11
544 inline void ParticleEmitter::set_name(::std::string&& value) {
545 
546  name_.SetNoArena(
547  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
548  // @@protoc_insertion_point(field_set_rvalue:gz.msgs.ParticleEmitter.name)
549 }
550 #endif
551 inline void ParticleEmitter::set_name(const char* value) {
552  GOOGLE_DCHECK(value != NULL);
553 
554  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
555  // @@protoc_insertion_point(field_set_char:gz.msgs.ParticleEmitter.name)
556 }
557 inline void ParticleEmitter::set_name(const char* value, size_t size) {
558 
559  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
560  ::std::string(reinterpret_cast<const char*>(value), size));
561  // @@protoc_insertion_point(field_set_pointer:gz.msgs.ParticleEmitter.name)
562 }
563 inline ::std::string* ParticleEmitter::mutable_name() {
564 
565  // @@protoc_insertion_point(field_mutable:gz.msgs.ParticleEmitter.name)
566  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
567 }
568 inline ::std::string* ParticleEmitter::release_name() {
569  // @@protoc_insertion_point(field_release:gz.msgs.ParticleEmitter.name)
570 
571  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
572 }
574  if (name != NULL) {
575 
576  } else {
577 
578  }
579  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
580  // @@protoc_insertion_point(field_set_allocated:gz.msgs.ParticleEmitter.name)
581 }
582 
583 // uint32 id = 3;
585  id_ = 0u;
586 }
587 inline ::google::protobuf::uint32 ParticleEmitter::id() const {
588  // @@protoc_insertion_point(field_get:gz.msgs.ParticleEmitter.id)
589  return id_;
590 }
591 inline void ParticleEmitter::set_id(::google::protobuf::uint32 value) {
592 
593  id_ = value;
594  // @@protoc_insertion_point(field_set:gz.msgs.ParticleEmitter.id)
595 }
596 
597 // .gz.msgs.ParticleEmitter.EmitterType type = 4;
599  type_ = 0;
600 }
602  // @@protoc_insertion_point(field_get:gz.msgs.ParticleEmitter.type)
603  return static_cast< ::gz::msgs::ParticleEmitter_EmitterType >(type_);
604 }
606 
607  type_ = value;
608  // @@protoc_insertion_point(field_set:gz.msgs.ParticleEmitter.type)
609 }
610 
611 // .gz.msgs.Pose pose = 5;
612 inline bool ParticleEmitter::has_pose() const {
613  return this != internal_default_instance() && pose_ != NULL;
614 }
615 inline const ::gz::msgs::Pose& ParticleEmitter::_internal_pose() const {
616  return *pose_;
617 }
618 inline const ::gz::msgs::Pose& ParticleEmitter::pose() const {
619  const ::gz::msgs::Pose* p = pose_;
620  // @@protoc_insertion_point(field_get:gz.msgs.ParticleEmitter.pose)
621  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Pose*>(
623 }
624 inline ::gz::msgs::Pose* ParticleEmitter::release_pose() {
625  // @@protoc_insertion_point(field_release:gz.msgs.ParticleEmitter.pose)
626 
627  ::gz::msgs::Pose* temp = pose_;
628  pose_ = NULL;
629  return temp;
630 }
631 inline ::gz::msgs::Pose* ParticleEmitter::mutable_pose() {
632 
633  if (pose_ == NULL) {
634  auto* p = CreateMaybeMessage<::gz::msgs::Pose>(GetArenaNoVirtual());
635  pose_ = p;
636  }
637  // @@protoc_insertion_point(field_mutable:gz.msgs.ParticleEmitter.pose)
638  return pose_;
639 }
641  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
642  if (message_arena == NULL) {
643  delete reinterpret_cast< ::google::protobuf::MessageLite*>(pose_);
644  }
645  if (pose) {
646  ::google::protobuf::Arena* submessage_arena = NULL;
647  if (message_arena != submessage_arena) {
648  pose = ::google::protobuf::internal::GetOwnedMessage(
649  message_arena, pose, submessage_arena);
650  }
651 
652  } else {
653 
654  }
655  pose_ = pose;
656  // @@protoc_insertion_point(field_set_allocated:gz.msgs.ParticleEmitter.pose)
657 }
658 
659 // .gz.msgs.Vector3d size = 6;
660 inline bool ParticleEmitter::has_size() const {
661  return this != internal_default_instance() && size_ != NULL;
662 }
663 inline const ::gz::msgs::Vector3d& ParticleEmitter::_internal_size() const {
664  return *size_;
665 }
666 inline const ::gz::msgs::Vector3d& ParticleEmitter::size() const {
667  const ::gz::msgs::Vector3d* p = size_;
668  // @@protoc_insertion_point(field_get:gz.msgs.ParticleEmitter.size)
669  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Vector3d*>(
671 }
672 inline ::gz::msgs::Vector3d* ParticleEmitter::release_size() {
673  // @@protoc_insertion_point(field_release:gz.msgs.ParticleEmitter.size)
674 
675  ::gz::msgs::Vector3d* temp = size_;
676  size_ = NULL;
677  return temp;
678 }
679 inline ::gz::msgs::Vector3d* ParticleEmitter::mutable_size() {
680 
681  if (size_ == NULL) {
682  auto* p = CreateMaybeMessage<::gz::msgs::Vector3d>(GetArenaNoVirtual());
683  size_ = p;
684  }
685  // @@protoc_insertion_point(field_mutable:gz.msgs.ParticleEmitter.size)
686  return size_;
687 }
689  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
690  if (message_arena == NULL) {
691  delete reinterpret_cast< ::google::protobuf::MessageLite*>(size_);
692  }
693  if (size) {
694  ::google::protobuf::Arena* submessage_arena = NULL;
695  if (message_arena != submessage_arena) {
696  size = ::google::protobuf::internal::GetOwnedMessage(
697  message_arena, size, submessage_arena);
698  }
699 
700  } else {
701 
702  }
703  size_ = size;
704  // @@protoc_insertion_point(field_set_allocated:gz.msgs.ParticleEmitter.size)
705 }
706 
707 // .gz.msgs.Float rate = 7;
708 inline bool ParticleEmitter::has_rate() const {
709  return this != internal_default_instance() && rate_ != NULL;
710 }
711 inline const ::gz::msgs::Float& ParticleEmitter::_internal_rate() const {
712  return *rate_;
713 }
714 inline const ::gz::msgs::Float& ParticleEmitter::rate() const {
715  const ::gz::msgs::Float* p = rate_;
716  // @@protoc_insertion_point(field_get:gz.msgs.ParticleEmitter.rate)
717  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Float*>(
719 }
720 inline ::gz::msgs::Float* ParticleEmitter::release_rate() {
721  // @@protoc_insertion_point(field_release:gz.msgs.ParticleEmitter.rate)
722 
723  ::gz::msgs::Float* temp = rate_;
724  rate_ = NULL;
725  return temp;
726 }
727 inline ::gz::msgs::Float* ParticleEmitter::mutable_rate() {
728 
729  if (rate_ == NULL) {
730  auto* p = CreateMaybeMessage<::gz::msgs::Float>(GetArenaNoVirtual());
731  rate_ = p;
732  }
733  // @@protoc_insertion_point(field_mutable:gz.msgs.ParticleEmitter.rate)
734  return rate_;
735 }
737  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
738  if (message_arena == NULL) {
739  delete reinterpret_cast< ::google::protobuf::MessageLite*>(rate_);
740  }
741  if (rate) {
742  ::google::protobuf::Arena* submessage_arena = NULL;
743  if (message_arena != submessage_arena) {
744  rate = ::google::protobuf::internal::GetOwnedMessage(
745  message_arena, rate, submessage_arena);
746  }
747 
748  } else {
749 
750  }
751  rate_ = rate;
752  // @@protoc_insertion_point(field_set_allocated:gz.msgs.ParticleEmitter.rate)
753 }
754 
755 // .gz.msgs.Float duration = 8;
756 inline bool ParticleEmitter::has_duration() const {
757  return this != internal_default_instance() && duration_ != NULL;
758 }
759 inline const ::gz::msgs::Float& ParticleEmitter::_internal_duration() const {
760  return *duration_;
761 }
762 inline const ::gz::msgs::Float& ParticleEmitter::duration() const {
763  const ::gz::msgs::Float* p = duration_;
764  // @@protoc_insertion_point(field_get:gz.msgs.ParticleEmitter.duration)
765  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Float*>(
767 }
768 inline ::gz::msgs::Float* ParticleEmitter::release_duration() {
769  // @@protoc_insertion_point(field_release:gz.msgs.ParticleEmitter.duration)
770 
771  ::gz::msgs::Float* temp = duration_;
772  duration_ = NULL;
773  return temp;
774 }
775 inline ::gz::msgs::Float* ParticleEmitter::mutable_duration() {
776 
777  if (duration_ == NULL) {
778  auto* p = CreateMaybeMessage<::gz::msgs::Float>(GetArenaNoVirtual());
779  duration_ = p;
780  }
781  // @@protoc_insertion_point(field_mutable:gz.msgs.ParticleEmitter.duration)
782  return duration_;
783 }
785  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
786  if (message_arena == NULL) {
787  delete reinterpret_cast< ::google::protobuf::MessageLite*>(duration_);
788  }
789  if (duration) {
790  ::google::protobuf::Arena* submessage_arena = NULL;
791  if (message_arena != submessage_arena) {
792  duration = ::google::protobuf::internal::GetOwnedMessage(
793  message_arena, duration, submessage_arena);
794  }
795 
796  } else {
797 
798  }
799  duration_ = duration;
800  // @@protoc_insertion_point(field_set_allocated:gz.msgs.ParticleEmitter.duration)
801 }
802 
803 // .gz.msgs.Boolean emitting = 9;
804 inline bool ParticleEmitter::has_emitting() const {
805  return this != internal_default_instance() && emitting_ != NULL;
806 }
807 inline const ::gz::msgs::Boolean& ParticleEmitter::_internal_emitting() const {
808  return *emitting_;
809 }
810 inline const ::gz::msgs::Boolean& ParticleEmitter::emitting() const {
811  const ::gz::msgs::Boolean* p = emitting_;
812  // @@protoc_insertion_point(field_get:gz.msgs.ParticleEmitter.emitting)
813  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Boolean*>(
815 }
816 inline ::gz::msgs::Boolean* ParticleEmitter::release_emitting() {
817  // @@protoc_insertion_point(field_release:gz.msgs.ParticleEmitter.emitting)
818 
819  ::gz::msgs::Boolean* temp = emitting_;
820  emitting_ = NULL;
821  return temp;
822 }
823 inline ::gz::msgs::Boolean* ParticleEmitter::mutable_emitting() {
824 
825  if (emitting_ == NULL) {
826  auto* p = CreateMaybeMessage<::gz::msgs::Boolean>(GetArenaNoVirtual());
827  emitting_ = p;
828  }
829  // @@protoc_insertion_point(field_mutable:gz.msgs.ParticleEmitter.emitting)
830  return emitting_;
831 }
833  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
834  if (message_arena == NULL) {
835  delete reinterpret_cast< ::google::protobuf::MessageLite*>(emitting_);
836  }
837  if (emitting) {
838  ::google::protobuf::Arena* submessage_arena = NULL;
839  if (message_arena != submessage_arena) {
840  emitting = ::google::protobuf::internal::GetOwnedMessage(
841  message_arena, emitting, submessage_arena);
842  }
843 
844  } else {
845 
846  }
847  emitting_ = emitting;
848  // @@protoc_insertion_point(field_set_allocated:gz.msgs.ParticleEmitter.emitting)
849 }
850 
851 // .gz.msgs.Vector3d particle_size = 10;
853  return this != internal_default_instance() && particle_size_ != NULL;
854 }
855 inline const ::gz::msgs::Vector3d& ParticleEmitter::_internal_particle_size() const {
856  return *particle_size_;
857 }
858 inline const ::gz::msgs::Vector3d& ParticleEmitter::particle_size() const {
859  const ::gz::msgs::Vector3d* p = particle_size_;
860  // @@protoc_insertion_point(field_get:gz.msgs.ParticleEmitter.particle_size)
861  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Vector3d*>(
863 }
864 inline ::gz::msgs::Vector3d* ParticleEmitter::release_particle_size() {
865  // @@protoc_insertion_point(field_release:gz.msgs.ParticleEmitter.particle_size)
866 
867  ::gz::msgs::Vector3d* temp = particle_size_;
868  particle_size_ = NULL;
869  return temp;
870 }
871 inline ::gz::msgs::Vector3d* ParticleEmitter::mutable_particle_size() {
872 
873  if (particle_size_ == NULL) {
874  auto* p = CreateMaybeMessage<::gz::msgs::Vector3d>(GetArenaNoVirtual());
875  particle_size_ = p;
876  }
877  // @@protoc_insertion_point(field_mutable:gz.msgs.ParticleEmitter.particle_size)
878  return particle_size_;
879 }
881  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
882  if (message_arena == NULL) {
883  delete reinterpret_cast< ::google::protobuf::MessageLite*>(particle_size_);
884  }
885  if (particle_size) {
886  ::google::protobuf::Arena* submessage_arena = NULL;
887  if (message_arena != submessage_arena) {
888  particle_size = ::google::protobuf::internal::GetOwnedMessage(
889  message_arena, particle_size, submessage_arena);
890  }
891 
892  } else {
893 
894  }
895  particle_size_ = particle_size;
896  // @@protoc_insertion_point(field_set_allocated:gz.msgs.ParticleEmitter.particle_size)
897 }
898 
899 // .gz.msgs.Float lifetime = 11;
900 inline bool ParticleEmitter::has_lifetime() const {
901  return this != internal_default_instance() && lifetime_ != NULL;
902 }
903 inline const ::gz::msgs::Float& ParticleEmitter::_internal_lifetime() const {
904  return *lifetime_;
905 }
906 inline const ::gz::msgs::Float& ParticleEmitter::lifetime() const {
907  const ::gz::msgs::Float* p = lifetime_;
908  // @@protoc_insertion_point(field_get:gz.msgs.ParticleEmitter.lifetime)
909  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Float*>(
911 }
912 inline ::gz::msgs::Float* ParticleEmitter::release_lifetime() {
913  // @@protoc_insertion_point(field_release:gz.msgs.ParticleEmitter.lifetime)
914 
915  ::gz::msgs::Float* temp = lifetime_;
916  lifetime_ = NULL;
917  return temp;
918 }
919 inline ::gz::msgs::Float* ParticleEmitter::mutable_lifetime() {
920 
921  if (lifetime_ == NULL) {
922  auto* p = CreateMaybeMessage<::gz::msgs::Float>(GetArenaNoVirtual());
923  lifetime_ = p;
924  }
925  // @@protoc_insertion_point(field_mutable:gz.msgs.ParticleEmitter.lifetime)
926  return lifetime_;
927 }
929  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
930  if (message_arena == NULL) {
931  delete reinterpret_cast< ::google::protobuf::MessageLite*>(lifetime_);
932  }
933  if (lifetime) {
934  ::google::protobuf::Arena* submessage_arena = NULL;
935  if (message_arena != submessage_arena) {
936  lifetime = ::google::protobuf::internal::GetOwnedMessage(
937  message_arena, lifetime, submessage_arena);
938  }
939 
940  } else {
941 
942  }
943  lifetime_ = lifetime;
944  // @@protoc_insertion_point(field_set_allocated:gz.msgs.ParticleEmitter.lifetime)
945 }
946 
947 // .gz.msgs.Material material = 12;
948 inline bool ParticleEmitter::has_material() const {
949  return this != internal_default_instance() && material_ != NULL;
950 }
951 inline const ::gz::msgs::Material& ParticleEmitter::_internal_material() const {
952  return *material_;
953 }
954 inline const ::gz::msgs::Material& ParticleEmitter::material() const {
955  const ::gz::msgs::Material* p = material_;
956  // @@protoc_insertion_point(field_get:gz.msgs.ParticleEmitter.material)
957  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Material*>(
959 }
960 inline ::gz::msgs::Material* ParticleEmitter::release_material() {
961  // @@protoc_insertion_point(field_release:gz.msgs.ParticleEmitter.material)
962 
963  ::gz::msgs::Material* temp = material_;
964  material_ = NULL;
965  return temp;
966 }
967 inline ::gz::msgs::Material* ParticleEmitter::mutable_material() {
968 
969  if (material_ == NULL) {
970  auto* p = CreateMaybeMessage<::gz::msgs::Material>(GetArenaNoVirtual());
971  material_ = p;
972  }
973  // @@protoc_insertion_point(field_mutable:gz.msgs.ParticleEmitter.material)
974  return material_;
975 }
977  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
978  if (message_arena == NULL) {
979  delete reinterpret_cast< ::google::protobuf::MessageLite*>(material_);
980  }
981  if (material) {
982  ::google::protobuf::Arena* submessage_arena = NULL;
983  if (message_arena != submessage_arena) {
984  material = ::google::protobuf::internal::GetOwnedMessage(
985  message_arena, material, submessage_arena);
986  }
987 
988  } else {
989 
990  }
991  material_ = material;
992  // @@protoc_insertion_point(field_set_allocated:gz.msgs.ParticleEmitter.material)
993 }
994 
995 // .gz.msgs.Float min_velocity = 13;
997  return this != internal_default_instance() && min_velocity_ != NULL;
998 }
999 inline const ::gz::msgs::Float& ParticleEmitter::_internal_min_velocity() const {
1000  return *min_velocity_;
1001 }
1002 inline const ::gz::msgs::Float& ParticleEmitter::min_velocity() const {
1003  const ::gz::msgs::Float* p = min_velocity_;
1004  // @@protoc_insertion_point(field_get:gz.msgs.ParticleEmitter.min_velocity)
1005  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Float*>(
1007 }
1008 inline ::gz::msgs::Float* ParticleEmitter::release_min_velocity() {
1009  // @@protoc_insertion_point(field_release:gz.msgs.ParticleEmitter.min_velocity)
1010 
1011  ::gz::msgs::Float* temp = min_velocity_;
1012  min_velocity_ = NULL;
1013  return temp;
1014 }
1015 inline ::gz::msgs::Float* ParticleEmitter::mutable_min_velocity() {
1016 
1017  if (min_velocity_ == NULL) {
1018  auto* p = CreateMaybeMessage<::gz::msgs::Float>(GetArenaNoVirtual());
1019  min_velocity_ = p;
1020  }
1021  // @@protoc_insertion_point(field_mutable:gz.msgs.ParticleEmitter.min_velocity)
1022  return min_velocity_;
1023 }
1025  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1026  if (message_arena == NULL) {
1027  delete reinterpret_cast< ::google::protobuf::MessageLite*>(min_velocity_);
1028  }
1029  if (min_velocity) {
1030  ::google::protobuf::Arena* submessage_arena = NULL;
1031  if (message_arena != submessage_arena) {
1032  min_velocity = ::google::protobuf::internal::GetOwnedMessage(
1033  message_arena, min_velocity, submessage_arena);
1034  }
1035 
1036  } else {
1037 
1038  }
1039  min_velocity_ = min_velocity;
1040  // @@protoc_insertion_point(field_set_allocated:gz.msgs.ParticleEmitter.min_velocity)
1041 }
1042 
1043 // .gz.msgs.Float max_velocity = 14;
1045  return this != internal_default_instance() && max_velocity_ != NULL;
1046 }
1047 inline const ::gz::msgs::Float& ParticleEmitter::_internal_max_velocity() const {
1048  return *max_velocity_;
1049 }
1050 inline const ::gz::msgs::Float& ParticleEmitter::max_velocity() const {
1051  const ::gz::msgs::Float* p = max_velocity_;
1052  // @@protoc_insertion_point(field_get:gz.msgs.ParticleEmitter.max_velocity)
1053  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Float*>(
1055 }
1056 inline ::gz::msgs::Float* ParticleEmitter::release_max_velocity() {
1057  // @@protoc_insertion_point(field_release:gz.msgs.ParticleEmitter.max_velocity)
1058 
1059  ::gz::msgs::Float* temp = max_velocity_;
1060  max_velocity_ = NULL;
1061  return temp;
1062 }
1063 inline ::gz::msgs::Float* ParticleEmitter::mutable_max_velocity() {
1064 
1065  if (max_velocity_ == NULL) {
1066  auto* p = CreateMaybeMessage<::gz::msgs::Float>(GetArenaNoVirtual());
1067  max_velocity_ = p;
1068  }
1069  // @@protoc_insertion_point(field_mutable:gz.msgs.ParticleEmitter.max_velocity)
1070  return max_velocity_;
1071 }
1073  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1074  if (message_arena == NULL) {
1075  delete reinterpret_cast< ::google::protobuf::MessageLite*>(max_velocity_);
1076  }
1077  if (max_velocity) {
1078  ::google::protobuf::Arena* submessage_arena = NULL;
1079  if (message_arena != submessage_arena) {
1080  max_velocity = ::google::protobuf::internal::GetOwnedMessage(
1081  message_arena, max_velocity, submessage_arena);
1082  }
1083 
1084  } else {
1085 
1086  }
1087  max_velocity_ = max_velocity;
1088  // @@protoc_insertion_point(field_set_allocated:gz.msgs.ParticleEmitter.max_velocity)
1089 }
1090 
1091 // .gz.msgs.Color color_start = 15;
1093  return this != internal_default_instance() && color_start_ != NULL;
1094 }
1095 inline const ::gz::msgs::Color& ParticleEmitter::_internal_color_start() const {
1096  return *color_start_;
1097 }
1098 inline const ::gz::msgs::Color& ParticleEmitter::color_start() const {
1099  const ::gz::msgs::Color* p = color_start_;
1100  // @@protoc_insertion_point(field_get:gz.msgs.ParticleEmitter.color_start)
1101  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Color*>(
1103 }
1104 inline ::gz::msgs::Color* ParticleEmitter::release_color_start() {
1105  // @@protoc_insertion_point(field_release:gz.msgs.ParticleEmitter.color_start)
1106 
1107  ::gz::msgs::Color* temp = color_start_;
1108  color_start_ = NULL;
1109  return temp;
1110 }
1111 inline ::gz::msgs::Color* ParticleEmitter::mutable_color_start() {
1112 
1113  if (color_start_ == NULL) {
1114  auto* p = CreateMaybeMessage<::gz::msgs::Color>(GetArenaNoVirtual());
1115  color_start_ = p;
1116  }
1117  // @@protoc_insertion_point(field_mutable:gz.msgs.ParticleEmitter.color_start)
1118  return color_start_;
1119 }
1121  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1122  if (message_arena == NULL) {
1123  delete reinterpret_cast< ::google::protobuf::MessageLite*>(color_start_);
1124  }
1125  if (color_start) {
1126  ::google::protobuf::Arena* submessage_arena = NULL;
1127  if (message_arena != submessage_arena) {
1128  color_start = ::google::protobuf::internal::GetOwnedMessage(
1129  message_arena, color_start, submessage_arena);
1130  }
1131 
1132  } else {
1133 
1134  }
1135  color_start_ = color_start;
1136  // @@protoc_insertion_point(field_set_allocated:gz.msgs.ParticleEmitter.color_start)
1137 }
1138 
1139 // .gz.msgs.Color color_end = 16;
1140 inline bool ParticleEmitter::has_color_end() const {
1141  return this != internal_default_instance() && color_end_ != NULL;
1142 }
1143 inline const ::gz::msgs::Color& ParticleEmitter::_internal_color_end() const {
1144  return *color_end_;
1145 }
1146 inline const ::gz::msgs::Color& ParticleEmitter::color_end() const {
1147  const ::gz::msgs::Color* p = color_end_;
1148  // @@protoc_insertion_point(field_get:gz.msgs.ParticleEmitter.color_end)
1149  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Color*>(
1151 }
1152 inline ::gz::msgs::Color* ParticleEmitter::release_color_end() {
1153  // @@protoc_insertion_point(field_release:gz.msgs.ParticleEmitter.color_end)
1154 
1155  ::gz::msgs::Color* temp = color_end_;
1156  color_end_ = NULL;
1157  return temp;
1158 }
1159 inline ::gz::msgs::Color* ParticleEmitter::mutable_color_end() {
1160 
1161  if (color_end_ == NULL) {
1162  auto* p = CreateMaybeMessage<::gz::msgs::Color>(GetArenaNoVirtual());
1163  color_end_ = p;
1164  }
1165  // @@protoc_insertion_point(field_mutable:gz.msgs.ParticleEmitter.color_end)
1166  return color_end_;
1167 }
1169  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1170  if (message_arena == NULL) {
1171  delete reinterpret_cast< ::google::protobuf::MessageLite*>(color_end_);
1172  }
1173  if (color_end) {
1174  ::google::protobuf::Arena* submessage_arena = NULL;
1175  if (message_arena != submessage_arena) {
1176  color_end = ::google::protobuf::internal::GetOwnedMessage(
1177  message_arena, color_end, submessage_arena);
1178  }
1179 
1180  } else {
1181 
1182  }
1183  color_end_ = color_end;
1184  // @@protoc_insertion_point(field_set_allocated:gz.msgs.ParticleEmitter.color_end)
1185 }
1186 
1187 // .gz.msgs.Float scale_rate = 17;
1188 inline bool ParticleEmitter::has_scale_rate() const {
1189  return this != internal_default_instance() && scale_rate_ != NULL;
1190 }
1191 inline const ::gz::msgs::Float& ParticleEmitter::_internal_scale_rate() const {
1192  return *scale_rate_;
1193 }
1194 inline const ::gz::msgs::Float& ParticleEmitter::scale_rate() const {
1195  const ::gz::msgs::Float* p = scale_rate_;
1196  // @@protoc_insertion_point(field_get:gz.msgs.ParticleEmitter.scale_rate)
1197  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Float*>(
1199 }
1200 inline ::gz::msgs::Float* ParticleEmitter::release_scale_rate() {
1201  // @@protoc_insertion_point(field_release:gz.msgs.ParticleEmitter.scale_rate)
1202 
1203  ::gz::msgs::Float* temp = scale_rate_;
1204  scale_rate_ = NULL;
1205  return temp;
1206 }
1207 inline ::gz::msgs::Float* ParticleEmitter::mutable_scale_rate() {
1208 
1209  if (scale_rate_ == NULL) {
1210  auto* p = CreateMaybeMessage<::gz::msgs::Float>(GetArenaNoVirtual());
1211  scale_rate_ = p;
1212  }
1213  // @@protoc_insertion_point(field_mutable:gz.msgs.ParticleEmitter.scale_rate)
1214  return scale_rate_;
1215 }
1217  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1218  if (message_arena == NULL) {
1219  delete reinterpret_cast< ::google::protobuf::MessageLite*>(scale_rate_);
1220  }
1221  if (scale_rate) {
1222  ::google::protobuf::Arena* submessage_arena = NULL;
1223  if (message_arena != submessage_arena) {
1224  scale_rate = ::google::protobuf::internal::GetOwnedMessage(
1225  message_arena, scale_rate, submessage_arena);
1226  }
1227 
1228  } else {
1229 
1230  }
1231  scale_rate_ = scale_rate;
1232  // @@protoc_insertion_point(field_set_allocated:gz.msgs.ParticleEmitter.scale_rate)
1233 }
1234 
1235 // .gz.msgs.StringMsg color_range_image = 18;
1237  return this != internal_default_instance() && color_range_image_ != NULL;
1238 }
1239 inline const ::gz::msgs::StringMsg& ParticleEmitter::_internal_color_range_image() const {
1240  return *color_range_image_;
1241 }
1242 inline const ::gz::msgs::StringMsg& ParticleEmitter::color_range_image() const {
1243  const ::gz::msgs::StringMsg* p = color_range_image_;
1244  // @@protoc_insertion_point(field_get:gz.msgs.ParticleEmitter.color_range_image)
1245  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::StringMsg*>(
1247 }
1248 inline ::gz::msgs::StringMsg* ParticleEmitter::release_color_range_image() {
1249  // @@protoc_insertion_point(field_release:gz.msgs.ParticleEmitter.color_range_image)
1250 
1251  ::gz::msgs::StringMsg* temp = color_range_image_;
1252  color_range_image_ = NULL;
1253  return temp;
1254 }
1255 inline ::gz::msgs::StringMsg* ParticleEmitter::mutable_color_range_image() {
1256 
1257  if (color_range_image_ == NULL) {
1258  auto* p = CreateMaybeMessage<::gz::msgs::StringMsg>(GetArenaNoVirtual());
1259  color_range_image_ = p;
1260  }
1261  // @@protoc_insertion_point(field_mutable:gz.msgs.ParticleEmitter.color_range_image)
1262  return color_range_image_;
1263 }
1265  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1266  if (message_arena == NULL) {
1267  delete reinterpret_cast< ::google::protobuf::MessageLite*>(color_range_image_);
1268  }
1269  if (color_range_image) {
1270  ::google::protobuf::Arena* submessage_arena = NULL;
1271  if (message_arena != submessage_arena) {
1272  color_range_image = ::google::protobuf::internal::GetOwnedMessage(
1273  message_arena, color_range_image, submessage_arena);
1274  }
1275 
1276  } else {
1277 
1278  }
1279  color_range_image_ = color_range_image;
1280  // @@protoc_insertion_point(field_set_allocated:gz.msgs.ParticleEmitter.color_range_image)
1281 }
1282 
1283 // .gz.msgs.StringMsg topic = 19;
1284 inline bool ParticleEmitter::has_topic() const {
1285  return this != internal_default_instance() && topic_ != NULL;
1286 }
1287 inline const ::gz::msgs::StringMsg& ParticleEmitter::_internal_topic() const {
1288  return *topic_;
1289 }
1290 inline const ::gz::msgs::StringMsg& ParticleEmitter::topic() const {
1291  const ::gz::msgs::StringMsg* p = topic_;
1292  // @@protoc_insertion_point(field_get:gz.msgs.ParticleEmitter.topic)
1293  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::StringMsg*>(
1295 }
1296 inline ::gz::msgs::StringMsg* ParticleEmitter::release_topic() {
1297  // @@protoc_insertion_point(field_release:gz.msgs.ParticleEmitter.topic)
1298 
1299  ::gz::msgs::StringMsg* temp = topic_;
1300  topic_ = NULL;
1301  return temp;
1302 }
1303 inline ::gz::msgs::StringMsg* ParticleEmitter::mutable_topic() {
1304 
1305  if (topic_ == NULL) {
1306  auto* p = CreateMaybeMessage<::gz::msgs::StringMsg>(GetArenaNoVirtual());
1307  topic_ = p;
1308  }
1309  // @@protoc_insertion_point(field_mutable:gz.msgs.ParticleEmitter.topic)
1310  return topic_;
1311 }
1313  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1314  if (message_arena == NULL) {
1315  delete reinterpret_cast< ::google::protobuf::MessageLite*>(topic_);
1316  }
1317  if (topic) {
1318  ::google::protobuf::Arena* submessage_arena = NULL;
1319  if (message_arena != submessage_arena) {
1320  topic = ::google::protobuf::internal::GetOwnedMessage(
1321  message_arena, topic, submessage_arena);
1322  }
1323 
1324  } else {
1325 
1326  }
1327  topic_ = topic;
1328  // @@protoc_insertion_point(field_set_allocated:gz.msgs.ParticleEmitter.topic)
1329 }
1330 
1331 // .gz.msgs.Float particle_scatter_ratio = 20;
1333  return this != internal_default_instance() && particle_scatter_ratio_ != NULL;
1334 }
1335 inline const ::gz::msgs::Float& ParticleEmitter::_internal_particle_scatter_ratio() const {
1336  return *particle_scatter_ratio_;
1337 }
1338 inline const ::gz::msgs::Float& ParticleEmitter::particle_scatter_ratio() const {
1339  const ::gz::msgs::Float* p = particle_scatter_ratio_;
1340  // @@protoc_insertion_point(field_get:gz.msgs.ParticleEmitter.particle_scatter_ratio)
1341  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Float*>(
1343 }
1345  // @@protoc_insertion_point(field_release:gz.msgs.ParticleEmitter.particle_scatter_ratio)
1346 
1347  ::gz::msgs::Float* temp = particle_scatter_ratio_;
1348  particle_scatter_ratio_ = NULL;
1349  return temp;
1350 }
1352 
1353  if (particle_scatter_ratio_ == NULL) {
1354  auto* p = CreateMaybeMessage<::gz::msgs::Float>(GetArenaNoVirtual());
1355  particle_scatter_ratio_ = p;
1356  }
1357  // @@protoc_insertion_point(field_mutable:gz.msgs.ParticleEmitter.particle_scatter_ratio)
1358  return particle_scatter_ratio_;
1359 }
1361  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1362  if (message_arena == NULL) {
1363  delete reinterpret_cast< ::google::protobuf::MessageLite*>(particle_scatter_ratio_);
1364  }
1365  if (particle_scatter_ratio) {
1366  ::google::protobuf::Arena* submessage_arena = NULL;
1367  if (message_arena != submessage_arena) {
1368  particle_scatter_ratio = ::google::protobuf::internal::GetOwnedMessage(
1369  message_arena, particle_scatter_ratio, submessage_arena);
1370  }
1371 
1372  } else {
1373 
1374  }
1375  particle_scatter_ratio_ = particle_scatter_ratio;
1376  // @@protoc_insertion_point(field_set_allocated:gz.msgs.ParticleEmitter.particle_scatter_ratio)
1377 }
1378 
1379 #ifdef __GNUC__
1380  #pragma GCC diagnostic pop
1381 #endif // __GNUC__
1382 
1383 // @@protoc_insertion_point(namespace_scope)
1384 
1385 } // namespace msgs
1386 } // namespace gz
1387 
1388 namespace google {
1389 namespace protobuf {
1390 
1391 template <> struct is_proto_enum< ::gz::msgs::ParticleEmitter_EmitterType> : ::std::true_type {};
1392 template <>
1393 inline const EnumDescriptor* GetEnumDescriptor< ::gz::msgs::ParticleEmitter_EmitterType>() {
1395 }
1396 
1397 } // namespace protobuf
1398 } // namespace google
1399 
1400 // @@protoc_insertion_point(global_scope)
1401 
1402 #endif // PROTOBUF_INCLUDED_gz_2fmsgs_2fparticle_5femitter_2eproto