Ignition Msgs

API Reference

5.8.1
joint_animation.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/joint_animation.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fjoint_5fanimation_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fjoint_5fanimation_2eproto
6 
7 #include <limits>
8 #include <string>
9 
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3019000
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 3019000 < PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
20 #endif
21 
22 #include <google/protobuf/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arena.h>
25 #include <google/protobuf/arenastring.h>
26 #include <google/protobuf/generated_message_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/metadata_lite.h>
29 #include <google/protobuf/generated_message_reflection.h>
30 #include <google/protobuf/message.h>
31 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
32 #include <google/protobuf/extension_set.h> // IWYU pragma: export
33 #include <google/protobuf/unknown_field_set.h>
34 #include "ignition/msgs/time.pb.h"
36 #ifndef _MSC_VER
37 #pragma GCC system_header
38 #else
39 #pragma warning(push)
40 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
41 #endif
42 #ifdef __linux__
43 #include <sys/sysmacros.h>
44 #endif
45 #include <memory>
46 #include <ignition/msgs/Export.hh>
47 // @@protoc_insertion_point(includes)
48 #include <google/protobuf/port_def.inc>
49 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fjoint_5fanimation_2eproto IGNITION_MSGS_VISIBLE
50 PROTOBUF_NAMESPACE_OPEN
51 namespace internal {
52 class AnyMetadata;
53 } // namespace internal
54 PROTOBUF_NAMESPACE_CLOSE
55 
56 // Internal implementation detail -- do not use these members.
58  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
59  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
60  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
61  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
62  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2]
63  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
64  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
65  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
66  static const uint32_t offsets[];
67 };
68 IGNITION_MSGS_VISIBLE extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fjoint_5fanimation_2eproto;
69 namespace ignition {
70 namespace msgs {
71 class JointAnimation;
72 struct JointAnimationDefaultTypeInternal;
73 IGNITION_MSGS_VISIBLE extern JointAnimationDefaultTypeInternal _JointAnimation_default_instance_;
74 class JointAnimation_Joint;
75 struct JointAnimation_JointDefaultTypeInternal;
76 IGNITION_MSGS_VISIBLE extern JointAnimation_JointDefaultTypeInternal _JointAnimation_Joint_default_instance_;
77 } // namespace msgs
78 } // namespace ignition
79 PROTOBUF_NAMESPACE_OPEN
80 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::JointAnimation* Arena::CreateMaybeMessage<::ignition::msgs::JointAnimation>(Arena*);
81 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::JointAnimation_Joint* Arena::CreateMaybeMessage<::ignition::msgs::JointAnimation_Joint>(Arena*);
82 PROTOBUF_NAMESPACE_CLOSE
83 namespace ignition {
84 namespace msgs {
85 
86 // ===================================================================
87 
88 class IGNITION_MSGS_VISIBLE JointAnimation_Joint final :
89  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.JointAnimation.Joint) */ {
90  public:
93  explicit constexpr JointAnimation_Joint(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
94 
98  *this = ::std::move(from);
99  }
100 
102  CopyFrom(from);
103  return *this;
104  }
106  if (this == &from) return *this;
107  if (GetOwningArena() == from.GetOwningArena()
108  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
109  && GetOwningArena() != nullptr
110  #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
111  ) {
112  InternalSwap(&from);
113  } else {
114  CopyFrom(from);
115  }
116  return *this;
117  }
118 
119  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
120  return GetDescriptor();
121  }
122  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
123  return default_instance().GetMetadata().descriptor;
124  }
125  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
126  return default_instance().GetMetadata().reflection;
127  }
129  return *internal_default_instance();
130  }
132  return reinterpret_cast<const JointAnimation_Joint*>(
134  }
135  static constexpr int kIndexInFileMessages =
136  0;
137 
139  a.Swap(&b);
140  }
141  inline void Swap(JointAnimation_Joint* other) {
142  if (other == this) return;
143  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
144  if (GetOwningArena() != nullptr &&
145  GetOwningArena() == other->GetOwningArena()) {
146  #else // PROTOBUF_FORCE_COPY_IN_SWAP
147  if (GetOwningArena() == other->GetOwningArena()) {
148  #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
149  InternalSwap(other);
150  } else {
151  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
152  }
153  }
155  if (other == this) return;
156  GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
157  InternalSwap(other);
158  }
159 
160  // implements Message ----------------------------------------------
161 
162  JointAnimation_Joint* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
163  return CreateMaybeMessage<JointAnimation_Joint>(arena);
164  }
165  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
166  void CopyFrom(const JointAnimation_Joint& from);
167  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
168  void MergeFrom(const JointAnimation_Joint& from);
169  private:
170  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
171  public:
172  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
173  bool IsInitialized() const final;
174 
175  size_t ByteSizeLong() const final;
176  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
177  uint8_t* _InternalSerialize(
178  uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
179  int GetCachedSize() const final { return _cached_size_.Get(); }
180 
181  private:
182  void SharedCtor();
183  void SharedDtor();
184  void SetCachedSize(int size) const final;
185  void InternalSwap(JointAnimation_Joint* other);
186 
187  private:
188  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
189  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
190  return "ignition.msgs.JointAnimation.Joint";
191  }
192  protected:
193  explicit JointAnimation_Joint(::PROTOBUF_NAMESPACE_ID::Arena* arena,
194  bool is_message_owned = false);
195  private:
196  static void ArenaDtor(void* object);
197  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
198  public:
199 
200  static const ClassData _class_data_;
201  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
202 
203  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
204 
205  // nested types ----------------------------------------------------
206 
207  // accessors -------------------------------------------------------
208 
209  enum : int {
210  kNameFieldNumber = 1,
211  kAngleFieldNumber = 2,
212  };
213  // repeated string name = 1;
214  int name_size() const;
215  private:
216  int _internal_name_size() const;
217  public:
218  void clear_name();
219  const std::string& name(int index) const;
220  std::string* mutable_name(int index);
221  void set_name(int index, const std::string& value);
222  void set_name(int index, std::string&& value);
223  void set_name(int index, const char* value);
224  void set_name(int index, const char* value, size_t size);
225  std::string* add_name();
226  void add_name(const std::string& value);
227  void add_name(std::string&& value);
228  void add_name(const char* value);
229  void add_name(const char* value, size_t size);
230  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& name() const;
231  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_name();
232  private:
233  const std::string& _internal_name(int index) const;
234  std::string* _internal_add_name();
235  public:
236 
237  // repeated double angle = 2;
238  int angle_size() const;
239  private:
240  int _internal_angle_size() const;
241  public:
242  void clear_angle();
243  private:
244  double _internal_angle(int index) const;
245  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
246  _internal_angle() const;
247  void _internal_add_angle(double value);
248  ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
249  _internal_mutable_angle();
250  public:
251  double angle(int index) const;
252  void set_angle(int index, double value);
253  void add_angle(double value);
254  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
255  angle() const;
256  ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
257  mutable_angle();
258 
259  // @@protoc_insertion_point(class_scope:ignition.msgs.JointAnimation.Joint)
260  private:
261  class _Internal;
262 
263  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
264  typedef void InternalArenaConstructable_;
265  typedef void DestructorSkippable_;
266  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> name_;
267  ::PROTOBUF_NAMESPACE_ID::RepeatedField< double > angle_;
268  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
269  friend struct ::TableStruct_ignition_2fmsgs_2fjoint_5fanimation_2eproto;
270 };
271 // -------------------------------------------------------------------
272 
273 class IGNITION_MSGS_VISIBLE JointAnimation final :
274  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.JointAnimation) */ {
275  public:
276  inline JointAnimation() : JointAnimation(nullptr) {}
277  ~JointAnimation() override;
278  explicit constexpr JointAnimation(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
279 
282  : JointAnimation() {
283  *this = ::std::move(from);
284  }
285 
286  inline JointAnimation& operator=(const JointAnimation& from) {
287  CopyFrom(from);
288  return *this;
289  }
290  inline JointAnimation& operator=(JointAnimation&& from) noexcept {
291  if (this == &from) return *this;
292  if (GetOwningArena() == from.GetOwningArena()
293  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
294  && GetOwningArena() != nullptr
295  #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
296  ) {
297  InternalSwap(&from);
298  } else {
299  CopyFrom(from);
300  }
301  return *this;
302  }
303 
304  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
305  return GetDescriptor();
306  }
307  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
308  return default_instance().GetMetadata().descriptor;
309  }
310  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
311  return default_instance().GetMetadata().reflection;
312  }
314  return *internal_default_instance();
315  }
316  static inline const JointAnimation* internal_default_instance() {
317  return reinterpret_cast<const JointAnimation*>(
319  }
320  static constexpr int kIndexInFileMessages =
321  1;
322 
323  friend void swap(JointAnimation& a, JointAnimation& b) {
324  a.Swap(&b);
325  }
326  inline void Swap(JointAnimation* other) {
327  if (other == this) return;
328  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
329  if (GetOwningArena() != nullptr &&
330  GetOwningArena() == other->GetOwningArena()) {
331  #else // PROTOBUF_FORCE_COPY_IN_SWAP
332  if (GetOwningArena() == other->GetOwningArena()) {
333  #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
334  InternalSwap(other);
335  } else {
336  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
337  }
338  }
340  if (other == this) return;
341  GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
342  InternalSwap(other);
343  }
344 
345  // implements Message ----------------------------------------------
346 
347  JointAnimation* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
348  return CreateMaybeMessage<JointAnimation>(arena);
349  }
350  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
351  void CopyFrom(const JointAnimation& from);
352  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
353  void MergeFrom(const JointAnimation& from);
354  private:
355  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
356  public:
357  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
358  bool IsInitialized() const final;
359 
360  size_t ByteSizeLong() const final;
361  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
362  uint8_t* _InternalSerialize(
363  uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
364  int GetCachedSize() const final { return _cached_size_.Get(); }
365 
366  private:
367  void SharedCtor();
368  void SharedDtor();
369  void SetCachedSize(int size) const final;
370  void InternalSwap(JointAnimation* other);
371 
372  private:
373  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
374  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
375  return "ignition.msgs.JointAnimation";
376  }
377  protected:
378  explicit JointAnimation(::PROTOBUF_NAMESPACE_ID::Arena* arena,
379  bool is_message_owned = false);
380  private:
381  static void ArenaDtor(void* object);
382  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
383  public:
384 
385  static const ClassData _class_data_;
386  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
387 
388  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
389 
390  // nested types ----------------------------------------------------
391 
393 
394  // accessors -------------------------------------------------------
395 
396  enum : int {
397  kJointFieldNumber = 3,
398  kTimeFieldNumber = 4,
399  kModelNameFieldNumber = 2,
400  kHeaderFieldNumber = 1,
401  };
402  // repeated .ignition.msgs.JointAnimation.Joint joint = 3;
403  int joint_size() const;
404  private:
405  int _internal_joint_size() const;
406  public:
407  void clear_joint();
408  ::ignition::msgs::JointAnimation_Joint* mutable_joint(int index);
409  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::JointAnimation_Joint >*
410  mutable_joint();
411  private:
412  const ::ignition::msgs::JointAnimation_Joint& _internal_joint(int index) const;
413  ::ignition::msgs::JointAnimation_Joint* _internal_add_joint();
414  public:
415  const ::ignition::msgs::JointAnimation_Joint& joint(int index) const;
417  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::JointAnimation_Joint >&
418  joint() const;
419 
420  // repeated .ignition.msgs.Time time = 4;
421  int time_size() const;
422  private:
423  int _internal_time_size() const;
424  public:
425  void clear_time();
426  ::ignition::msgs::Time* mutable_time(int index);
427  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Time >*
428  mutable_time();
429  private:
430  const ::ignition::msgs::Time& _internal_time(int index) const;
431  ::ignition::msgs::Time* _internal_add_time();
432  public:
433  const ::ignition::msgs::Time& time(int index) const;
434  ::ignition::msgs::Time* add_time();
435  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Time >&
436  time() const;
437 
438  // string model_name = 2;
439  void clear_model_name();
440  const std::string& model_name() const;
441  template <typename ArgT0 = const std::string&, typename... ArgT>
442  void set_model_name(ArgT0&& arg0, ArgT... args);
443  std::string* mutable_model_name();
444  PROTOBUF_NODISCARD std::string* release_model_name();
445  void set_allocated_model_name(std::string* model_name);
446  private:
447  const std::string& _internal_model_name() const;
448  inline PROTOBUF_ALWAYS_INLINE void _internal_set_model_name(const std::string& value);
449  std::string* _internal_mutable_model_name();
450  public:
451 
452  // .ignition.msgs.Header header = 1;
453  bool has_header() const;
454  private:
455  bool _internal_has_header() const;
456  public:
457  void clear_header();
458  const ::ignition::msgs::Header& header() const;
459  PROTOBUF_NODISCARD ::ignition::msgs::Header* release_header();
460  ::ignition::msgs::Header* mutable_header();
461  void set_allocated_header(::ignition::msgs::Header* header);
462  private:
463  const ::ignition::msgs::Header& _internal_header() const;
464  ::ignition::msgs::Header* _internal_mutable_header();
465  public:
466  void unsafe_arena_set_allocated_header(
467  ::ignition::msgs::Header* header);
468  ::ignition::msgs::Header* unsafe_arena_release_header();
469 
470  // @@protoc_insertion_point(class_scope:ignition.msgs.JointAnimation)
471  private:
472  class _Internal;
473 
474  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
475  typedef void InternalArenaConstructable_;
476  typedef void DestructorSkippable_;
477  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::JointAnimation_Joint > joint_;
478  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Time > time_;
479  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr model_name_;
480  ::ignition::msgs::Header* header_;
481  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
482  friend struct ::TableStruct_ignition_2fmsgs_2fjoint_5fanimation_2eproto;
483 };
484 // ===================================================================
485 
486 
487 // ===================================================================
488 
489 #ifdef __GNUC__
490  #pragma GCC diagnostic push
491  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
492 #endif // __GNUC__
493 // JointAnimation_Joint
494 
495 // repeated string name = 1;
496 inline int JointAnimation_Joint::_internal_name_size() const {
497  return name_.size();
498 }
500  return _internal_name_size();
501 }
503  name_.Clear();
504 }
506  std::string* _s = _internal_add_name();
507  // @@protoc_insertion_point(field_add_mutable:ignition.msgs.JointAnimation.Joint.name)
508  return _s;
509 }
510 inline const std::string& JointAnimation_Joint::_internal_name(int index) const {
511  return name_.Get(index);
512 }
513 inline const std::string& JointAnimation_Joint::name(int index) const {
514  // @@protoc_insertion_point(field_get:ignition.msgs.JointAnimation.Joint.name)
515  return _internal_name(index);
516 }
518  // @@protoc_insertion_point(field_mutable:ignition.msgs.JointAnimation.Joint.name)
519  return name_.Mutable(index);
520 }
521 inline void JointAnimation_Joint::set_name(int index, const std::string& value) {
522  name_.Mutable(index)->assign(value);
523  // @@protoc_insertion_point(field_set:ignition.msgs.JointAnimation.Joint.name)
524 }
525 inline void JointAnimation_Joint::set_name(int index, std::string&& value) {
526  name_.Mutable(index)->assign(std::move(value));
527  // @@protoc_insertion_point(field_set:ignition.msgs.JointAnimation.Joint.name)
528 }
529 inline void JointAnimation_Joint::set_name(int index, const char* value) {
530  GOOGLE_DCHECK(value != nullptr);
531  name_.Mutable(index)->assign(value);
532  // @@protoc_insertion_point(field_set_char:ignition.msgs.JointAnimation.Joint.name)
533 }
534 inline void JointAnimation_Joint::set_name(int index, const char* value, size_t size) {
535  name_.Mutable(index)->assign(
536  reinterpret_cast<const char*>(value), size);
537  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.JointAnimation.Joint.name)
538 }
539 inline std::string* JointAnimation_Joint::_internal_add_name() {
540  return name_.Add();
541 }
542 inline void JointAnimation_Joint::add_name(const std::string& value) {
543  name_.Add()->assign(value);
544  // @@protoc_insertion_point(field_add:ignition.msgs.JointAnimation.Joint.name)
545 }
547  name_.Add(std::move(value));
548  // @@protoc_insertion_point(field_add:ignition.msgs.JointAnimation.Joint.name)
549 }
550 inline void JointAnimation_Joint::add_name(const char* value) {
551  GOOGLE_DCHECK(value != nullptr);
552  name_.Add()->assign(value);
553  // @@protoc_insertion_point(field_add_char:ignition.msgs.JointAnimation.Joint.name)
554 }
555 inline void JointAnimation_Joint::add_name(const char* value, size_t size) {
556  name_.Add()->assign(reinterpret_cast<const char*>(value), size);
557  // @@protoc_insertion_point(field_add_pointer:ignition.msgs.JointAnimation.Joint.name)
558 }
559 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
561  // @@protoc_insertion_point(field_list:ignition.msgs.JointAnimation.Joint.name)
562  return name_;
563 }
564 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
566  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.JointAnimation.Joint.name)
567  return &name_;
568 }
569 
570 // repeated double angle = 2;
571 inline int JointAnimation_Joint::_internal_angle_size() const {
572  return angle_.size();
573 }
575  return _internal_angle_size();
576 }
578  angle_.Clear();
579 }
580 inline double JointAnimation_Joint::_internal_angle(int index) const {
581  return angle_.Get(index);
582 }
583 inline double JointAnimation_Joint::angle(int index) const {
584  // @@protoc_insertion_point(field_get:ignition.msgs.JointAnimation.Joint.angle)
585  return _internal_angle(index);
586 }
587 inline void JointAnimation_Joint::set_angle(int index, double value) {
588  angle_.Set(index, value);
589  // @@protoc_insertion_point(field_set:ignition.msgs.JointAnimation.Joint.angle)
590 }
591 inline void JointAnimation_Joint::_internal_add_angle(double value) {
592  angle_.Add(value);
593 }
594 inline void JointAnimation_Joint::add_angle(double value) {
595  _internal_add_angle(value);
596  // @@protoc_insertion_point(field_add:ignition.msgs.JointAnimation.Joint.angle)
597 }
598 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
599 JointAnimation_Joint::_internal_angle() const {
600  return angle_;
601 }
602 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
604  // @@protoc_insertion_point(field_list:ignition.msgs.JointAnimation.Joint.angle)
605  return _internal_angle();
606 }
607 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
608 JointAnimation_Joint::_internal_mutable_angle() {
609  return &angle_;
610 }
611 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
613  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.JointAnimation.Joint.angle)
614  return _internal_mutable_angle();
615 }
616 
617 // -------------------------------------------------------------------
618 
619 // JointAnimation
620 
621 // .ignition.msgs.Header header = 1;
622 inline bool JointAnimation::_internal_has_header() const {
623  return this != internal_default_instance() && header_ != nullptr;
624 }
625 inline bool JointAnimation::has_header() const {
626  return _internal_has_header();
627 }
628 inline const ::ignition::msgs::Header& JointAnimation::_internal_header() const {
629  const ::ignition::msgs::Header* p = header_;
630  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Header&>(
632 }
633 inline const ::ignition::msgs::Header& JointAnimation::header() const {
634  // @@protoc_insertion_point(field_get:ignition.msgs.JointAnimation.header)
635  return _internal_header();
636 }
638  ::ignition::msgs::Header* header) {
639  if (GetArenaForAllocation() == nullptr) {
640  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
641  }
642  header_ = header;
643  if (header) {
644 
645  } else {
646 
647  }
648  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.JointAnimation.header)
649 }
650 inline ::ignition::msgs::Header* JointAnimation::release_header() {
651 
652  ::ignition::msgs::Header* temp = header_;
653  header_ = nullptr;
654 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
655  auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
656  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
657  if (GetArenaForAllocation() == nullptr) { delete old; }
658 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
659  if (GetArenaForAllocation() != nullptr) {
660  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
661  }
662 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
663  return temp;
664 }
665 inline ::ignition::msgs::Header* JointAnimation::unsafe_arena_release_header() {
666  // @@protoc_insertion_point(field_release:ignition.msgs.JointAnimation.header)
667 
668  ::ignition::msgs::Header* temp = header_;
669  header_ = nullptr;
670  return temp;
671 }
672 inline ::ignition::msgs::Header* JointAnimation::_internal_mutable_header() {
673 
674  if (header_ == nullptr) {
675  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaForAllocation());
676  header_ = p;
677  }
678  return header_;
679 }
680 inline ::ignition::msgs::Header* JointAnimation::mutable_header() {
681  ::ignition::msgs::Header* _msg = _internal_mutable_header();
682  // @@protoc_insertion_point(field_mutable:ignition.msgs.JointAnimation.header)
683  return _msg;
684 }
686  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
687  if (message_arena == nullptr) {
688  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
689  }
690  if (header) {
691  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
692  ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
693  ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
694  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header));
695  if (message_arena != submessage_arena) {
696  header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
697  message_arena, header, submessage_arena);
698  }
699 
700  } else {
701 
702  }
703  header_ = header;
704  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.JointAnimation.header)
705 }
706 
707 // string model_name = 2;
709  model_name_.ClearToEmpty();
710 }
712  // @@protoc_insertion_point(field_get:ignition.msgs.JointAnimation.model_name)
713  return _internal_model_name();
714 }
715 template <typename ArgT0, typename... ArgT>
716 inline PROTOBUF_ALWAYS_INLINE
717 void JointAnimation::set_model_name(ArgT0&& arg0, ArgT... args) {
718 
719  model_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
720  // @@protoc_insertion_point(field_set:ignition.msgs.JointAnimation.model_name)
721 }
723  std::string* _s = _internal_mutable_model_name();
724  // @@protoc_insertion_point(field_mutable:ignition.msgs.JointAnimation.model_name)
725  return _s;
726 }
727 inline const std::string& JointAnimation::_internal_model_name() const {
728  return model_name_.Get();
729 }
730 inline void JointAnimation::_internal_set_model_name(const std::string& value) {
731 
732  model_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
733 }
734 inline std::string* JointAnimation::_internal_mutable_model_name() {
735 
736  return model_name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
737 }
739  // @@protoc_insertion_point(field_release:ignition.msgs.JointAnimation.model_name)
740  return model_name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
741 }
743  if (model_name != nullptr) {
744 
745  } else {
746 
747  }
748  model_name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), model_name,
749  GetArenaForAllocation());
750 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
751  if (model_name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
752  model_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
753  }
754 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
755  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.JointAnimation.model_name)
756 }
757 
758 // repeated .ignition.msgs.JointAnimation.Joint joint = 3;
759 inline int JointAnimation::_internal_joint_size() const {
760  return joint_.size();
761 }
762 inline int JointAnimation::joint_size() const {
763  return _internal_joint_size();
764 }
766  joint_.Clear();
767 }
768 inline ::ignition::msgs::JointAnimation_Joint* JointAnimation::mutable_joint(int index) {
769  // @@protoc_insertion_point(field_mutable:ignition.msgs.JointAnimation.joint)
770  return joint_.Mutable(index);
771 }
772 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::JointAnimation_Joint >*
774  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.JointAnimation.joint)
775  return &joint_;
776 }
777 inline const ::ignition::msgs::JointAnimation_Joint& JointAnimation::_internal_joint(int index) const {
778  return joint_.Get(index);
779 }
780 inline const ::ignition::msgs::JointAnimation_Joint& JointAnimation::joint(int index) const {
781  // @@protoc_insertion_point(field_get:ignition.msgs.JointAnimation.joint)
782  return _internal_joint(index);
783 }
784 inline ::ignition::msgs::JointAnimation_Joint* JointAnimation::_internal_add_joint() {
785  return joint_.Add();
786 }
787 inline ::ignition::msgs::JointAnimation_Joint* JointAnimation::add_joint() {
788  ::ignition::msgs::JointAnimation_Joint* _add = _internal_add_joint();
789  // @@protoc_insertion_point(field_add:ignition.msgs.JointAnimation.joint)
790  return _add;
791 }
792 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::JointAnimation_Joint >&
794  // @@protoc_insertion_point(field_list:ignition.msgs.JointAnimation.joint)
795  return joint_;
796 }
797 
798 // repeated .ignition.msgs.Time time = 4;
799 inline int JointAnimation::_internal_time_size() const {
800  return time_.size();
801 }
802 inline int JointAnimation::time_size() const {
803  return _internal_time_size();
804 }
805 inline ::ignition::msgs::Time* JointAnimation::mutable_time(int index) {
806  // @@protoc_insertion_point(field_mutable:ignition.msgs.JointAnimation.time)
807  return time_.Mutable(index);
808 }
809 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Time >*
811  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.JointAnimation.time)
812  return &time_;
813 }
814 inline const ::ignition::msgs::Time& JointAnimation::_internal_time(int index) const {
815  return time_.Get(index);
816 }
817 inline const ::ignition::msgs::Time& JointAnimation::time(int index) const {
818  // @@protoc_insertion_point(field_get:ignition.msgs.JointAnimation.time)
819  return _internal_time(index);
820 }
821 inline ::ignition::msgs::Time* JointAnimation::_internal_add_time() {
822  return time_.Add();
823 }
824 inline ::ignition::msgs::Time* JointAnimation::add_time() {
825  ::ignition::msgs::Time* _add = _internal_add_time();
826  // @@protoc_insertion_point(field_add:ignition.msgs.JointAnimation.time)
827  return _add;
828 }
829 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Time >&
831  // @@protoc_insertion_point(field_list:ignition.msgs.JointAnimation.time)
832  return time_;
833 }
834 
835 #ifdef __GNUC__
836  #pragma GCC diagnostic pop
837 #endif // __GNUC__
838 // -------------------------------------------------------------------
839 
840 
845 // @@protoc_insertion_point(namespace_scope)
846 
847 } // namespace msgs
848 } // namespace ignition
849 
850 #ifdef _MSC_VER
851 #pragma warning(pop)
852 #endif
853 // @@protoc_insertion_point(global_scope)
854 
855 #include <google/protobuf/port_undef.inc>
856 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fjoint_5fanimation_2eproto
T assign(T... args)
Definition: header.pb.h:265
Definition: joint_animation.pb.h:89
std::string * add_name()
Definition: joint_animation.pb.h:505
JointAnimation_Joint & operator=(JointAnimation_Joint &&from) noexcept
Definition: joint_animation.pb.h:105
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: joint_animation.pb.h:125
JointAnimation_Joint()
Definition: joint_animation.pb.h:91
void MergeFrom(const JointAnimation_Joint &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double > & angle() const
Definition: joint_animation.pb.h:603
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: joint_animation.pb.h:119
JointAnimation_Joint(const JointAnimation_Joint &from)
void clear_name()
Definition: joint_animation.pb.h:502
void set_angle(int index, double value)
Definition: joint_animation.pb.h:587
void add_angle(double value)
Definition: joint_animation.pb.h:594
constexpr JointAnimation_Joint(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
JointAnimation_Joint(JointAnimation_Joint &&from) noexcept
Definition: joint_animation.pb.h:96
void set_name(int index, const std::string &value)
Definition: joint_animation.pb.h:521
friend void swap(JointAnimation_Joint &a, JointAnimation_Joint &b)
Definition: joint_animation.pb.h:138
void clear_angle()
Definition: joint_animation.pb.h:577
JointAnimation_Joint & operator=(const JointAnimation_Joint &from)
Definition: joint_animation.pb.h:101
::PROTOBUF_NAMESPACE_ID::RepeatedField< double > * mutable_angle()
Definition: joint_animation.pb.h:612
void CopyFrom(const JointAnimation_Joint &from)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const JointAnimation_Joint & default_instance()
Definition: joint_animation.pb.h:128
JointAnimation_Joint * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: joint_animation.pb.h:162
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: joint_animation.pb.h:122
JointAnimation_Joint(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void UnsafeArenaSwap(JointAnimation_Joint *other)
Definition: joint_animation.pb.h:154
int name_size() const
Definition: joint_animation.pb.h:499
static const ClassData _class_data_
Definition: joint_animation.pb.h:200
void Swap(JointAnimation_Joint *other)
Definition: joint_animation.pb.h:141
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< std::string > * mutable_name()
Definition: joint_animation.pb.h:565
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< std::string > & name() const
Definition: joint_animation.pb.h:560
int angle_size() const
Definition: joint_animation.pb.h:574
static const JointAnimation_Joint * internal_default_instance()
Definition: joint_animation.pb.h:131
Definition: joint_animation.pb.h:274
std::string * mutable_model_name()
Definition: joint_animation.pb.h:722
JointAnimation(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
JointAnimation & operator=(const JointAnimation &from)
Definition: joint_animation.pb.h:286
void MergeFrom(const JointAnimation &from)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: joint_animation.pb.h:310
int time_size() const
Definition: joint_animation.pb.h:802
void Swap(JointAnimation *other)
Definition: joint_animation.pb.h:326
bool has_header() const
Definition: joint_animation.pb.h:625
::ignition::msgs::Header * mutable_header()
Definition: joint_animation.pb.h:680
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: joint_animation.pb.h:304
void clear_joint()
Definition: joint_animation.pb.h:765
int joint_size() const
Definition: joint_animation.pb.h:762
void CopyFrom(const JointAnimation &from)
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Time > * mutable_time()
Definition: joint_animation.pb.h:810
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
Definition: joint_animation.pb.h:637
JointAnimation & operator=(JointAnimation &&from) noexcept
Definition: joint_animation.pb.h:290
JointAnimation(const JointAnimation &from)
JointAnimation(JointAnimation &&from) noexcept
Definition: joint_animation.pb.h:281
JointAnimation()
Definition: joint_animation.pb.h:276
PROTOBUF_NODISCARD std::string * release_model_name()
Definition: joint_animation.pb.h:738
::ignition::msgs::Time * add_time()
Definition: joint_animation.pb.h:824
void set_allocated_header(::ignition::msgs::Header *header)
Definition: joint_animation.pb.h:685
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::JointAnimation_Joint > & joint() const
Definition: joint_animation.pb.h:793
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::JointAnimation_Joint > * mutable_joint()
Definition: joint_animation.pb.h:773
void UnsafeArenaSwap(JointAnimation *other)
Definition: joint_animation.pb.h:339
PROTOBUF_NODISCARD ::ignition::msgs::Header * release_header()
Definition: joint_animation.pb.h:650
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const JointAnimation * internal_default_instance()
Definition: joint_animation.pb.h:316
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: joint_animation.pb.h:307
void clear_model_name()
Definition: joint_animation.pb.h:708
const ::ignition::msgs::Header & header() const
Definition: joint_animation.pb.h:633
::ignition::msgs::JointAnimation_Joint * add_joint()
Definition: joint_animation.pb.h:787
const std::string & model_name() const
Definition: joint_animation.pb.h:711
static const JointAnimation & default_instance()
Definition: joint_animation.pb.h:313
static const ClassData _class_data_
Definition: joint_animation.pb.h:385
void set_allocated_model_name(std::string *model_name)
Definition: joint_animation.pb.h:742
::ignition::msgs::Header * unsafe_arena_release_header()
Definition: joint_animation.pb.h:665
JointAnimation * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: joint_animation.pb.h:347
friend void swap(JointAnimation &a, JointAnimation &b)
Definition: joint_animation.pb.h:323
constexpr JointAnimation(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Time > & time() const
Definition: joint_animation.pb.h:830
void set_model_name(ArgT0 &&arg0, ArgT... args)
Definition: time.pb.h:83
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fjoint_5fanimation_2eproto
T move(T... args)
std::unique_ptr< const JointAnimation > ConstJointAnimationUniquePtr
Definition: joint_animation.pb.h:842
std::shared_ptr< const JointAnimation > ConstJointAnimationSharedPtr
Definition: joint_animation.pb.h:844
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::unique_ptr< JointAnimation > JointAnimationUniquePtr
Definition: joint_animation.pb.h:841
IGNITION_MSGS_VISIBLE JointAnimation_JointDefaultTypeInternal _JointAnimation_Joint_default_instance_
IGNITION_MSGS_VISIBLE JointAnimationDefaultTypeInternal _JointAnimation_default_instance_
std::shared_ptr< JointAnimation > JointAnimationSharedPtr
Definition: joint_animation.pb.h:843
Definition: actor.pb.h:52
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2] PROTOBUF_SECTION_VARIABLE(protodesc_cold)