Ignition Msgs

API Reference

5.8.1
pose_trajectory.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/pose_trajectory.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fpose_5ftrajectory_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fpose_5ftrajectory_2eproto
6 
7 #include <limits>
8 #include <string>
9 
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3014000
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 3014000 < 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/pose.pb.h"
35 #ifndef _MSC_VER
36 #pragma GCC system_header
37 #else
38 #pragma warning(push)
39 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
40 #endif
41 #ifdef __linux__
42 #include <sys/sysmacros.h>
43 #endif
44 #include <memory>
45 #include <ignition/msgs/Export.hh>
46 // @@protoc_insertion_point(includes)
47 #include <google/protobuf/port_def.inc>
48 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fpose_5ftrajectory_2eproto IGNITION_MSGS_VISIBLE
49 PROTOBUF_NAMESPACE_OPEN
50 namespace internal {
51 class AnyMetadata;
52 } // namespace internal
53 PROTOBUF_NAMESPACE_CLOSE
54 
55 // Internal implementation detail -- do not use these members.
57  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
58  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
59  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
60  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
61  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
62  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
63  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
64  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
65  static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
66 };
67 extern IGNITION_MSGS_VISIBLE const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fpose_5ftrajectory_2eproto;
68 namespace ignition {
69 namespace msgs {
70 class PoseTrajectory;
71 class PoseTrajectoryDefaultTypeInternal;
72 IGNITION_MSGS_VISIBLE extern PoseTrajectoryDefaultTypeInternal _PoseTrajectory_default_instance_;
73 } // namespace msgs
74 } // namespace ignition
75 PROTOBUF_NAMESPACE_OPEN
76 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::PoseTrajectory* Arena::CreateMaybeMessage<::ignition::msgs::PoseTrajectory>(Arena*);
77 PROTOBUF_NAMESPACE_CLOSE
78 namespace ignition {
79 namespace msgs {
80 
81 // ===================================================================
82 
83 class IGNITION_MSGS_VISIBLE PoseTrajectory PROTOBUF_FINAL :
84  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.PoseTrajectory) */ {
85  public:
86  inline PoseTrajectory() : PoseTrajectory(nullptr) {}
87  virtual ~PoseTrajectory();
88 
89  PoseTrajectory(const PoseTrajectory& from);
90  PoseTrajectory(PoseTrajectory&& from) noexcept
91  : PoseTrajectory() {
92  *this = ::std::move(from);
93  }
94 
95  inline PoseTrajectory& operator=(const PoseTrajectory& from) {
96  CopyFrom(from);
97  return *this;
98  }
99  inline PoseTrajectory& operator=(PoseTrajectory&& from) noexcept {
100  if (GetArena() == from.GetArena()) {
101  if (this != &from) InternalSwap(&from);
102  } else {
103  CopyFrom(from);
104  }
105  return *this;
106  }
107 
108  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
109  return GetDescriptor();
110  }
111  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
112  return GetMetadataStatic().descriptor;
113  }
114  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
115  return GetMetadataStatic().reflection;
116  }
117  static const PoseTrajectory& default_instance();
118 
119  static inline const PoseTrajectory* internal_default_instance() {
120  return reinterpret_cast<const PoseTrajectory*>(
122  }
123  static constexpr int kIndexInFileMessages =
124  0;
125 
126  friend void swap(PoseTrajectory& a, PoseTrajectory& b) {
127  a.Swap(&b);
128  }
129  inline void Swap(PoseTrajectory* other) {
130  if (other == this) return;
131  if (GetArena() == other->GetArena()) {
132  InternalSwap(other);
133  } else {
134  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
135  }
136  }
137  void UnsafeArenaSwap(PoseTrajectory* other) {
138  if (other == this) return;
139  GOOGLE_DCHECK(GetArena() == other->GetArena());
140  InternalSwap(other);
141  }
142 
143  // implements Message ----------------------------------------------
144 
145  inline PoseTrajectory* New() const final {
146  return CreateMaybeMessage<PoseTrajectory>(nullptr);
147  }
148 
149  PoseTrajectory* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
150  return CreateMaybeMessage<PoseTrajectory>(arena);
151  }
152  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
153  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
154  void CopyFrom(const PoseTrajectory& from);
155  void MergeFrom(const PoseTrajectory& from);
156  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
157  bool IsInitialized() const final;
158 
159  size_t ByteSizeLong() const final;
160  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
161  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
162  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
163  int GetCachedSize() const final { return _cached_size_.Get(); }
164 
165  private:
166  inline void SharedCtor();
167  inline void SharedDtor();
168  void SetCachedSize(int size) const final;
169  void InternalSwap(PoseTrajectory* other);
170  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
171  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
172  return "ignition.msgs.PoseTrajectory";
173  }
174  protected:
175  explicit PoseTrajectory(::PROTOBUF_NAMESPACE_ID::Arena* arena);
176  private:
177  static void ArenaDtor(void* object);
178  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
179  public:
180 
181  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
182  private:
183  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
184  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_ignition_2fmsgs_2fpose_5ftrajectory_2eproto);
185  return ::descriptor_table_ignition_2fmsgs_2fpose_5ftrajectory_2eproto.file_level_metadata[kIndexInFileMessages];
186  }
187 
188  public:
189 
190  // nested types ----------------------------------------------------
191 
192  // accessors -------------------------------------------------------
193 
194  enum : int {
195  kPoseFieldNumber = 3,
196  kNameFieldNumber = 1,
197  kIdFieldNumber = 2,
198  };
199  // repeated .ignition.msgs.Pose pose = 3;
200  int pose_size() const;
201  private:
202  int _internal_pose_size() const;
203  public:
204  void clear_pose();
205  ::ignition::msgs::Pose* mutable_pose(int index);
206  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Pose >*
208  private:
209  const ::ignition::msgs::Pose& _internal_pose(int index) const;
210  ::ignition::msgs::Pose* _internal_add_pose();
211  public:
212  const ::ignition::msgs::Pose& pose(int index) const;
213  ::ignition::msgs::Pose* add_pose();
214  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Pose >&
215  pose() const;
216 
217  // string name = 1;
218  void clear_name();
219  const std::string& name() const;
220  void set_name(const std::string& value);
221  void set_name(std::string&& value);
222  void set_name(const char* value);
223  void set_name(const char* value, size_t size);
227  private:
228  const std::string& _internal_name() const;
229  void _internal_set_name(const std::string& value);
230  std::string* _internal_mutable_name();
231  public:
232 
233  // uint32 id = 2;
234  void clear_id();
235  ::PROTOBUF_NAMESPACE_ID::uint32 id() const;
236  void set_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
237  private:
238  ::PROTOBUF_NAMESPACE_ID::uint32 _internal_id() const;
239  void _internal_set_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
240  public:
241 
242  // @@protoc_insertion_point(class_scope:ignition.msgs.PoseTrajectory)
243  private:
244  class _Internal;
245 
246  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
247  typedef void InternalArenaConstructable_;
248  typedef void DestructorSkippable_;
249  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Pose > pose_;
250  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
251  ::PROTOBUF_NAMESPACE_ID::uint32 id_;
252  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
253  friend struct ::TableStruct_ignition_2fmsgs_2fpose_5ftrajectory_2eproto;
254 };
255 // ===================================================================
256 
257 
258 // ===================================================================
259 
260 #ifdef __GNUC__
261  #pragma GCC diagnostic push
262  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
263 #endif // __GNUC__
264 // PoseTrajectory
265 
266 // string name = 1;
267 inline void PoseTrajectory::clear_name() {
268  name_.ClearToEmpty();
269 }
270 inline const std::string& PoseTrajectory::name() const {
271  // @@protoc_insertion_point(field_get:ignition.msgs.PoseTrajectory.name)
272  return _internal_name();
273 }
274 inline void PoseTrajectory::set_name(const std::string& value) {
275  _internal_set_name(value);
276  // @@protoc_insertion_point(field_set:ignition.msgs.PoseTrajectory.name)
277 }
278 inline std::string* PoseTrajectory::mutable_name() {
279  // @@protoc_insertion_point(field_mutable:ignition.msgs.PoseTrajectory.name)
280  return _internal_mutable_name();
281 }
282 inline const std::string& PoseTrajectory::_internal_name() const {
283  return name_.Get();
284 }
285 inline void PoseTrajectory::_internal_set_name(const std::string& value) {
286 
287  name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
288 }
289 inline void PoseTrajectory::set_name(std::string&& value) {
290 
291  name_.Set(
292  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
293  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.PoseTrajectory.name)
294 }
295 inline void PoseTrajectory::set_name(const char* value) {
296  GOOGLE_DCHECK(value != nullptr);
297 
298  name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
299  // @@protoc_insertion_point(field_set_char:ignition.msgs.PoseTrajectory.name)
300 }
301 inline void PoseTrajectory::set_name(const char* value,
302  size_t size) {
303 
304  name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
305  reinterpret_cast<const char*>(value), size), GetArena());
306  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.PoseTrajectory.name)
307 }
308 inline std::string* PoseTrajectory::_internal_mutable_name() {
309 
310  return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
311 }
312 inline std::string* PoseTrajectory::release_name() {
313  // @@protoc_insertion_point(field_release:ignition.msgs.PoseTrajectory.name)
314  return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
315 }
316 inline void PoseTrajectory::set_allocated_name(std::string* name) {
317  if (name != nullptr) {
318 
319  } else {
320 
321  }
322  name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
323  GetArena());
324  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.PoseTrajectory.name)
325 }
326 
327 // uint32 id = 2;
328 inline void PoseTrajectory::clear_id() {
329  id_ = 0u;
330 }
331 inline ::PROTOBUF_NAMESPACE_ID::uint32 PoseTrajectory::_internal_id() const {
332  return id_;
333 }
334 inline ::PROTOBUF_NAMESPACE_ID::uint32 PoseTrajectory::id() const {
335  // @@protoc_insertion_point(field_get:ignition.msgs.PoseTrajectory.id)
336  return _internal_id();
337 }
338 inline void PoseTrajectory::_internal_set_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
339 
340  id_ = value;
341 }
342 inline void PoseTrajectory::set_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
343  _internal_set_id(value);
344  // @@protoc_insertion_point(field_set:ignition.msgs.PoseTrajectory.id)
345 }
346 
347 // repeated .ignition.msgs.Pose pose = 3;
348 inline int PoseTrajectory::_internal_pose_size() const {
349  return pose_.size();
350 }
351 inline int PoseTrajectory::pose_size() const {
352  return _internal_pose_size();
353 }
354 inline ::ignition::msgs::Pose* PoseTrajectory::mutable_pose(int index) {
355  // @@protoc_insertion_point(field_mutable:ignition.msgs.PoseTrajectory.pose)
356  return pose_.Mutable(index);
357 }
358 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Pose >*
359 PoseTrajectory::mutable_pose() {
360  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.PoseTrajectory.pose)
361  return &pose_;
362 }
363 inline const ::ignition::msgs::Pose& PoseTrajectory::_internal_pose(int index) const {
364  return pose_.Get(index);
365 }
366 inline const ::ignition::msgs::Pose& PoseTrajectory::pose(int index) const {
367  // @@protoc_insertion_point(field_get:ignition.msgs.PoseTrajectory.pose)
368  return _internal_pose(index);
369 }
370 inline ::ignition::msgs::Pose* PoseTrajectory::_internal_add_pose() {
371  return pose_.Add();
372 }
373 inline ::ignition::msgs::Pose* PoseTrajectory::add_pose() {
374  // @@protoc_insertion_point(field_add:ignition.msgs.PoseTrajectory.pose)
375  return _internal_add_pose();
376 }
377 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Pose >&
378 PoseTrajectory::pose() const {
379  // @@protoc_insertion_point(field_list:ignition.msgs.PoseTrajectory.pose)
380  return pose_;
381 }
382 
383 #ifdef __GNUC__
384  #pragma GCC diagnostic pop
385 #endif // __GNUC__
386 
391 // @@protoc_insertion_point(namespace_scope)
392 
393 } // namespace msgs
394 } // namespace ignition
395 
396 #ifdef _MSC_VER
397 #pragma warning(pop)
398 #endif
399 // @@protoc_insertion_point(global_scope)
400 
401 #include <google/protobuf/port_undef.inc>
402 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fpose_5ftrajectory_2eproto
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: pose_trajectory.pb.h:114
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
friend void swap(PoseTrajectory &a, PoseTrajectory &b)
Definition: pose_trajectory.pb.h:126
void CopyFrom(const PoseTrajectory &from)
void set_name(const char *value, size_t size)
PoseTrajectory & operator=(const PoseTrajectory &from)
Definition: pose_trajectory.pb.h:95
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: pose_trajectory.pb.h:108
PoseTrajectory(const PoseTrajectory &from)
const ::ignition::msgs::Pose & pose(int index) const
void set_name(const std::string &value)
void set_id(::PROTOBUF_NAMESPACE_ID::uint32 value)
PoseTrajectory()
Definition: pose_trajectory.pb.h:86
void Swap(PoseTrajectory *other)
Definition: pose_trajectory.pb.h:129
PoseTrajectory & operator=(PoseTrajectory &&from) noexcept
Definition: pose_trajectory.pb.h:99
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
PoseTrajectory * New() const final
Definition: pose_trajectory.pb.h:145
static const PoseTrajectory & default_instance()
void UnsafeArenaSwap(PoseTrajectory *other)
Definition: pose_trajectory.pb.h:137
PoseTrajectory * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: pose_trajectory.pb.h:149
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Pose > & pose() const
PoseTrajectory(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
static const PoseTrajectory * internal_default_instance()
Definition: pose_trajectory.pb.h:119
void MergeFrom(const PoseTrajectory &from)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
::PROTOBUF_NAMESPACE_ID::uint32 id() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: pose_trajectory.pb.h:111
::ignition::msgs::Pose * add_pose()
const std::string & name() const
::ignition::msgs::Pose * mutable_pose(int index)
void set_name(const char *value)
void set_name(std::string &&value)
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Pose > * mutable_pose()
void set_allocated_name(std::string *name)
PoseTrajectory(PoseTrajectory &&from) noexcept
Definition: pose_trajectory.pb.h:90
std::shared_ptr< const PoseTrajectory > ConstPoseTrajectorySharedPtr
Definition: pose_trajectory.pb.h:390
IGNITION_MSGS_VISIBLE PoseTrajectoryDefaultTypeInternal _PoseTrajectory_default_instance_
std::unique_ptr< const PoseTrajectory > ConstPoseTrajectoryUniquePtr
Definition: pose_trajectory.pb.h:388
std::shared_ptr< PoseTrajectory > PoseTrajectorySharedPtr
Definition: pose_trajectory.pb.h:389
std::unique_ptr< PoseTrajectory > PoseTrajectoryUniquePtr
Definition: pose_trajectory.pb.h:387
Definition: actor.pb.h:52
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fpose_5ftrajectory_2eproto
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[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold)