Gazebo Msgs

API Reference

9.5.0
pose_animation.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: gz/msgs/pose_animation.proto
3 
4 #ifndef PROTOBUF_INCLUDED_gz_2fmsgs_2fpose_5fanimation_2eproto
5 #define PROTOBUF_INCLUDED_gz_2fmsgs_2fpose_5fanimation_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/unknown_field_set.h>
33 #include "gz/msgs/pose.pb.h"
34 #include "gz/msgs/time.pb.h"
35 // @@protoc_insertion_point(includes)
36 #define PROTOBUF_INTERNAL_EXPORT_protobuf_gz_2fmsgs_2fpose_5fanimation_2eproto GZ_MSGS_VISIBLE
37 
39 // Internal implementation detail -- do not use these members.
40 struct GZ_MSGS_VISIBLE TableStruct {
41  static const ::google::protobuf::internal::ParseTableField entries[];
42  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
43  static const ::google::protobuf::internal::ParseTable schema[1];
44  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
45  static const ::google::protobuf::internal::SerializationTable serialization_table[];
46  static const ::google::protobuf::uint32 offsets[];
47 };
48 void GZ_MSGS_VISIBLE AddDescriptors();
49 } // namespace protobuf_gz_2fmsgs_2fpose_5fanimation_2eproto
50 namespace gz {
51 namespace msgs {
52 class PoseAnimation;
53 class PoseAnimationDefaultTypeInternal;
54 GZ_MSGS_VISIBLE extern PoseAnimationDefaultTypeInternal _PoseAnimation_default_instance_;
55 } // namespace msgs
56 } // namespace gz
57 namespace google {
58 namespace protobuf {
59 template<> GZ_MSGS_VISIBLE ::gz::msgs::PoseAnimation* Arena::CreateMaybeMessage<::gz::msgs::PoseAnimation>(Arena*);
60 } // namespace protobuf
61 } // namespace google
62 namespace gz {
63 namespace msgs {
64 
65 // ===================================================================
66 
67 class GZ_MSGS_VISIBLE PoseAnimation : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:gz.msgs.PoseAnimation) */ {
68  public:
69  PoseAnimation();
70  virtual ~PoseAnimation();
71 
72  PoseAnimation(const PoseAnimation& from);
73 
74  inline PoseAnimation& operator=(const PoseAnimation& from) {
75  CopyFrom(from);
76  return *this;
77  }
78  #if LANG_CXX11
79  PoseAnimation(PoseAnimation&& from) noexcept
80  : PoseAnimation() {
81  *this = ::std::move(from);
82  }
83 
84  inline PoseAnimation& operator=(PoseAnimation&& from) noexcept {
85  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
86  if (this != &from) InternalSwap(&from);
87  } else {
88  CopyFrom(from);
89  }
90  return *this;
91  }
92  #endif
93  static const ::google::protobuf::Descriptor* descriptor();
94  static const PoseAnimation& default_instance();
95 
96  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
97  static inline const PoseAnimation* internal_default_instance() {
98  return reinterpret_cast<const PoseAnimation*>(
100  }
101  static constexpr int kIndexInFileMessages =
102  0;
103 
104  void Swap(PoseAnimation* other);
105  friend void swap(PoseAnimation& a, PoseAnimation& b) {
106  a.Swap(&b);
107  }
108 
109  // implements Message ----------------------------------------------
110 
111  inline PoseAnimation* New() const final {
112  return CreateMaybeMessage<PoseAnimation>(NULL);
113  }
114 
115  PoseAnimation* New(::google::protobuf::Arena* arena) const final {
116  return CreateMaybeMessage<PoseAnimation>(arena);
117  }
118  void CopyFrom(const ::google::protobuf::Message& from) final;
119  void MergeFrom(const ::google::protobuf::Message& from) final;
120  void CopyFrom(const PoseAnimation& from);
121  void MergeFrom(const PoseAnimation& from);
122  void Clear() final;
123  bool IsInitialized() const final;
124 
125  size_t ByteSizeLong() const final;
126  bool MergePartialFromCodedStream(
127  ::google::protobuf::io::CodedInputStream* input) final;
128  void SerializeWithCachedSizes(
129  ::google::protobuf::io::CodedOutputStream* output) const final;
130  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
131  bool deterministic, ::google::protobuf::uint8* target) const final;
132  int GetCachedSize() const final { return _cached_size_.Get(); }
133 
134  private:
135  void SharedCtor();
136  void SharedDtor();
137  void SetCachedSize(int size) const final;
138  void InternalSwap(PoseAnimation* other);
139  private:
140  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
141  return NULL;
142  }
143  inline void* MaybeArenaPtr() const {
144  return NULL;
145  }
146  public:
147 
148  ::google::protobuf::Metadata GetMetadata() const final;
149 
150  // nested types ----------------------------------------------------
151 
152  // accessors -------------------------------------------------------
153 
154  // repeated .gz.msgs.Pose pose = 3;
155  int pose_size() const;
156  void clear_pose();
157  static const int kPoseFieldNumber = 3;
158  ::gz::msgs::Pose* mutable_pose(int index);
159  ::google::protobuf::RepeatedPtrField< ::gz::msgs::Pose >*
160  mutable_pose();
161  const ::gz::msgs::Pose& pose(int index) const;
162  ::gz::msgs::Pose* add_pose();
163  const ::google::protobuf::RepeatedPtrField< ::gz::msgs::Pose >&
164  pose() const;
165 
166  // repeated .gz.msgs.Time time = 4;
167  int time_size() const;
168  void clear_time();
169  static const int kTimeFieldNumber = 4;
170  ::gz::msgs::Time* mutable_time(int index);
171  ::google::protobuf::RepeatedPtrField< ::gz::msgs::Time >*
172  mutable_time();
173  const ::gz::msgs::Time& time(int index) const;
174  ::gz::msgs::Time* add_time();
175  const ::google::protobuf::RepeatedPtrField< ::gz::msgs::Time >&
176  time() const;
177 
178  // string model_name = 1;
179  void clear_model_name();
180  static const int kModelNameFieldNumber = 1;
181  const ::std::string& model_name() const;
182  void set_model_name(const ::std::string& value);
183  #if LANG_CXX11
184  void set_model_name(::std::string&& value);
185  #endif
186  void set_model_name(const char* value);
187  void set_model_name(const char* value, size_t size);
188  ::std::string* mutable_model_name();
189  ::std::string* release_model_name();
190  void set_allocated_model_name(::std::string* model_name);
191 
192  // uint32 model_id = 2;
193  void clear_model_id();
194  static const int kModelIdFieldNumber = 2;
195  ::google::protobuf::uint32 model_id() const;
196  void set_model_id(::google::protobuf::uint32 value);
197 
198  // @@protoc_insertion_point(class_scope:gz.msgs.PoseAnimation)
199  private:
200 
201  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
202  ::google::protobuf::RepeatedPtrField< ::gz::msgs::Pose > pose_;
203  ::google::protobuf::RepeatedPtrField< ::gz::msgs::Time > time_;
204  ::google::protobuf::internal::ArenaStringPtr model_name_;
205  ::google::protobuf::uint32 model_id_;
206  mutable ::google::protobuf::internal::CachedSize _cached_size_;
207  friend struct ::protobuf_gz_2fmsgs_2fpose_5fanimation_2eproto::TableStruct;
208 };
209 // ===================================================================
210 
211 
212 // ===================================================================
213 
214 #ifdef __GNUC__
215  #pragma GCC diagnostic push
216  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
217 #endif // __GNUC__
218 // PoseAnimation
219 
220 // string model_name = 1;
222  model_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
223 }
224 inline const ::std::string& PoseAnimation::model_name() const {
225  // @@protoc_insertion_point(field_get:gz.msgs.PoseAnimation.model_name)
226  return model_name_.GetNoArena();
227 }
228 inline void PoseAnimation::set_model_name(const ::std::string& value) {
229 
230  model_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
231  // @@protoc_insertion_point(field_set:gz.msgs.PoseAnimation.model_name)
232 }
233 #if LANG_CXX11
234 inline void PoseAnimation::set_model_name(::std::string&& value) {
235 
236  model_name_.SetNoArena(
237  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
238  // @@protoc_insertion_point(field_set_rvalue:gz.msgs.PoseAnimation.model_name)
239 }
240 #endif
241 inline void PoseAnimation::set_model_name(const char* value) {
242  GOOGLE_DCHECK(value != NULL);
243 
244  model_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
245  // @@protoc_insertion_point(field_set_char:gz.msgs.PoseAnimation.model_name)
246 }
247 inline void PoseAnimation::set_model_name(const char* value, size_t size) {
248 
249  model_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
250  ::std::string(reinterpret_cast<const char*>(value), size));
251  // @@protoc_insertion_point(field_set_pointer:gz.msgs.PoseAnimation.model_name)
252 }
253 inline ::std::string* PoseAnimation::mutable_model_name() {
254 
255  // @@protoc_insertion_point(field_mutable:gz.msgs.PoseAnimation.model_name)
256  return model_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
257 }
258 inline ::std::string* PoseAnimation::release_model_name() {
259  // @@protoc_insertion_point(field_release:gz.msgs.PoseAnimation.model_name)
260 
261  return model_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
262 }
264  if (model_name != NULL) {
265 
266  } else {
267 
268  }
269  model_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), model_name);
270  // @@protoc_insertion_point(field_set_allocated:gz.msgs.PoseAnimation.model_name)
271 }
272 
273 // uint32 model_id = 2;
275  model_id_ = 0u;
276 }
277 inline ::google::protobuf::uint32 PoseAnimation::model_id() const {
278  // @@protoc_insertion_point(field_get:gz.msgs.PoseAnimation.model_id)
279  return model_id_;
280 }
281 inline void PoseAnimation::set_model_id(::google::protobuf::uint32 value) {
282 
283  model_id_ = value;
284  // @@protoc_insertion_point(field_set:gz.msgs.PoseAnimation.model_id)
285 }
286 
287 // repeated .gz.msgs.Pose pose = 3;
288 inline int PoseAnimation::pose_size() const {
289  return pose_.size();
290 }
291 inline ::gz::msgs::Pose* PoseAnimation::mutable_pose(int index) {
292  // @@protoc_insertion_point(field_mutable:gz.msgs.PoseAnimation.pose)
293  return pose_.Mutable(index);
294 }
295 inline ::google::protobuf::RepeatedPtrField< ::gz::msgs::Pose >*
297  // @@protoc_insertion_point(field_mutable_list:gz.msgs.PoseAnimation.pose)
298  return &pose_;
299 }
300 inline const ::gz::msgs::Pose& PoseAnimation::pose(int index) const {
301  // @@protoc_insertion_point(field_get:gz.msgs.PoseAnimation.pose)
302  return pose_.Get(index);
303 }
304 inline ::gz::msgs::Pose* PoseAnimation::add_pose() {
305  // @@protoc_insertion_point(field_add:gz.msgs.PoseAnimation.pose)
306  return pose_.Add();
307 }
308 inline const ::google::protobuf::RepeatedPtrField< ::gz::msgs::Pose >&
310  // @@protoc_insertion_point(field_list:gz.msgs.PoseAnimation.pose)
311  return pose_;
312 }
313 
314 // repeated .gz.msgs.Time time = 4;
315 inline int PoseAnimation::time_size() const {
316  return time_.size();
317 }
318 inline ::gz::msgs::Time* PoseAnimation::mutable_time(int index) {
319  // @@protoc_insertion_point(field_mutable:gz.msgs.PoseAnimation.time)
320  return time_.Mutable(index);
321 }
322 inline ::google::protobuf::RepeatedPtrField< ::gz::msgs::Time >*
324  // @@protoc_insertion_point(field_mutable_list:gz.msgs.PoseAnimation.time)
325  return &time_;
326 }
327 inline const ::gz::msgs::Time& PoseAnimation::time(int index) const {
328  // @@protoc_insertion_point(field_get:gz.msgs.PoseAnimation.time)
329  return time_.Get(index);
330 }
331 inline ::gz::msgs::Time* PoseAnimation::add_time() {
332  // @@protoc_insertion_point(field_add:gz.msgs.PoseAnimation.time)
333  return time_.Add();
334 }
335 inline const ::google::protobuf::RepeatedPtrField< ::gz::msgs::Time >&
337  // @@protoc_insertion_point(field_list:gz.msgs.PoseAnimation.time)
338  return time_;
339 }
340 
341 #ifdef __GNUC__
342  #pragma GCC diagnostic pop
343 #endif // __GNUC__
344 
345 // @@protoc_insertion_point(namespace_scope)
346 
347 } // namespace msgs
348 } // namespace gz
349 
350 // @@protoc_insertion_point(global_scope)
351 
352 #endif // PROTOBUF_INCLUDED_gz_2fmsgs_2fpose_5fanimation_2eproto