4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fjoint_5ftrajectory_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fjoint_5ftrajectory_2eproto
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
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.
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>
32 #include <google/protobuf/extension_set.h>
33 #include <google/protobuf/unknown_field_set.h>
37 #pragma GCC system_header
40 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
43 #include <sys/sysmacros.h>
48 #include <google/protobuf/port_def.inc>
49 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fjoint_5ftrajectory_2eproto IGNITION_MSGS_VISIBLE
50 PROTOBUF_NAMESPACE_OPEN
54 PROTOBUF_NAMESPACE_CLOSE
58 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
60 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
62 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
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[];
71 class JointTrajectory;
72 struct JointTrajectoryDefaultTypeInternal;
76 PROTOBUF_NAMESPACE_OPEN
77 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::JointTrajectory* Arena::CreateMaybeMessage<::ignition::msgs::JointTrajectory>(Arena*);
78 PROTOBUF_NAMESPACE_CLOSE
85 public ::PROTOBUF_NAMESPACE_ID::Message {
89 explicit constexpr
JointTrajectory(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
94 *
this = ::std::move(from);
102 if (
this == &from)
return *
this;
103 if (GetOwningArena() == from.GetOwningArena()
104 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
105 && GetOwningArena() !=
nullptr
115 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
116 return GetDescriptor();
119 return default_instance().GetMetadata().descriptor;
122 return default_instance().GetMetadata().reflection;
125 return *internal_default_instance();
131 static constexpr
int kIndexInFileMessages =
138 if (other ==
this)
return;
139 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
140 if (GetOwningArena() !=
nullptr &&
141 GetOwningArena() == other->GetOwningArena()) {
143 if (GetOwningArena() == other->GetOwningArena()) {
147 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
151 if (other ==
this)
return;
152 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
159 return CreateMaybeMessage<JointTrajectory>(arena);
161 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
163 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
166 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
168 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
169 bool IsInitialized() const final;
171 size_t ByteSizeLong() const final;
172 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
173 uint8_t* _InternalSerialize(
174 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
175 int GetCachedSize() const final {
return _cached_size_.Get(); }
180 void SetCachedSize(
int size)
const final;
184 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
185 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
186 return "ignition.msgs.JointTrajectory";
190 bool is_message_owned =
false);
192 static void ArenaDtor(
void*
object);
193 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
197 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
199 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
206 kJointNamesFieldNumber = 2,
207 kPointsFieldNumber = 3,
208 kHeaderFieldNumber = 1,
211 int joint_names_size()
const;
213 int _internal_joint_names_size()
const;
215 void clear_joint_names();
218 void set_joint_names(
int index,
const std::string& value);
219 void set_joint_names(
int index,
std::string&& value);
220 void set_joint_names(
int index,
const char* value);
221 void set_joint_names(
int index,
const char* value,
size_t size);
225 void add_joint_names(
const char* value);
226 void add_joint_names(
const char* value,
size_t size);
227 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& joint_names()
const;
228 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_joint_names();
230 const std::string& _internal_joint_names(
int index)
const;
235 int points_size()
const;
237 int _internal_points_size()
const;
241 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::JointTrajectoryPoint >*
244 const ::ignition::msgs::JointTrajectoryPoint& _internal_points(
int index)
const;
247 const ::ignition::msgs::JointTrajectoryPoint& points(
int index)
const;
249 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::JointTrajectoryPoint >&
253 bool has_header()
const;
255 bool _internal_has_header()
const;
258 const ::ignition::msgs::Header& header()
const;
259 PROTOBUF_NODISCARD ::ignition::msgs::Header* release_header();
263 const ::ignition::msgs::Header& _internal_header()
const;
266 void unsafe_arena_set_allocated_header(
274 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
275 typedef void InternalArenaConstructable_;
276 typedef void DestructorSkippable_;
277 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> joint_names_;
278 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::JointTrajectoryPoint > points_;
280 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
281 friend struct ::TableStruct_ignition_2fmsgs_2fjoint_5ftrajectory_2eproto;
289 #pragma GCC diagnostic push
290 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
295 inline bool JointTrajectory::_internal_has_header()
const {
296 return this != internal_default_instance() && header_ !=
nullptr;
299 return _internal_has_header();
301 inline const ::ignition::msgs::Header& JointTrajectory::_internal_header()
const {
302 const ::ignition::msgs::Header* p = header_;
308 return _internal_header();
312 if (GetArenaForAllocation() ==
nullptr) {
313 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
327 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
328 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
329 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
330 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
332 if (GetArenaForAllocation() !=
nullptr) {
333 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
345 inline ::ignition::msgs::Header* JointTrajectory::_internal_mutable_header() {
347 if (header_ ==
nullptr) {
348 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaForAllocation());
359 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
360 if (message_arena ==
nullptr) {
361 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
364 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
365 ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
366 ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
367 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header));
368 if (message_arena != submessage_arena) {
369 header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
370 message_arena, header, submessage_arena);
381 inline int JointTrajectory::_internal_joint_names_size()
const {
382 return joint_names_.size();
385 return _internal_joint_names_size();
388 joint_names_.Clear();
395 inline const std::string& JointTrajectory::_internal_joint_names(
int index)
const {
396 return joint_names_.Get(index);
400 return _internal_joint_names(index);
404 return joint_names_.Mutable(index);
407 joint_names_.Mutable(index)->assign(value);
411 joint_names_.Mutable(index)->assign(
std::move(value));
415 GOOGLE_DCHECK(value !=
nullptr);
416 joint_names_.Mutable(index)->assign(value);
420 joint_names_.Mutable(index)->assign(
421 reinterpret_cast<const char*
>(value), size);
424 inline std::string* JointTrajectory::_internal_add_joint_names() {
425 return joint_names_.Add();
428 joint_names_.Add()->
assign(value);
436 GOOGLE_DCHECK(value !=
nullptr);
437 joint_names_.Add()->assign(value);
441 joint_names_.Add()->
assign(
reinterpret_cast<const char*
>(value), size);
444 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
449 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
452 return &joint_names_;
456 inline int JointTrajectory::_internal_points_size()
const {
457 return points_.size();
460 return _internal_points_size();
464 return points_.Mutable(index);
466 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::JointTrajectoryPoint >*
471 inline const ::ignition::msgs::JointTrajectoryPoint& JointTrajectory::_internal_points(
int index)
const {
472 return points_.Get(index);
476 return _internal_points(index);
478 inline ::ignition::msgs::JointTrajectoryPoint* JointTrajectory::_internal_add_points() {
479 return points_.Add();
486 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::JointTrajectoryPoint >&
493 #pragma GCC diagnostic pop
510 #include <google/protobuf/port_undef.inc>
Definition: joint_trajectory_point.pb.h:84
Definition: joint_trajectory.pb.h:85
JointTrajectory(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: joint_trajectory.pb.h:121
int joint_names_size() const
Definition: joint_trajectory.pb.h:384
bool has_header() const
Definition: joint_trajectory.pb.h:298
::ignition::msgs::Header * mutable_header()
Definition: joint_trajectory.pb.h:353
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::JointTrajectoryPoint > * mutable_points()
Definition: joint_trajectory.pb.h:467
void MergeFrom(const JointTrajectory &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: joint_trajectory.pb.h:115
static const JointTrajectory & default_instance()
Definition: joint_trajectory.pb.h:124
JointTrajectory & operator=(JointTrajectory &&from) noexcept
Definition: joint_trajectory.pb.h:101
JointTrajectory(const JointTrajectory &from)
void Swap(JointTrajectory *other)
Definition: joint_trajectory.pb.h:137
void clear_joint_names()
Definition: joint_trajectory.pb.h:387
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::JointTrajectoryPoint > & points() const
Definition: joint_trajectory.pb.h:487
JointTrajectory * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: joint_trajectory.pb.h:158
JointTrajectory(JointTrajectory &&from) noexcept
Definition: joint_trajectory.pb.h:92
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
Definition: joint_trajectory.pb.h:310
std::string * add_joint_names()
Definition: joint_trajectory.pb.h:390
void CopyFrom(const JointTrajectory &from)
JointTrajectory & operator=(const JointTrajectory &from)
Definition: joint_trajectory.pb.h:97
void set_joint_names(int index, const std::string &value)
Definition: joint_trajectory.pb.h:406
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< std::string > & joint_names() const
Definition: joint_trajectory.pb.h:445
JointTrajectory()
Definition: joint_trajectory.pb.h:87
void UnsafeArenaSwap(JointTrajectory *other)
Definition: joint_trajectory.pb.h:150
int points_size() const
Definition: joint_trajectory.pb.h:459
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< std::string > * mutable_joint_names()
Definition: joint_trajectory.pb.h:450
void set_allocated_header(::ignition::msgs::Header *header)
Definition: joint_trajectory.pb.h:358
constexpr JointTrajectory(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
PROTOBUF_NODISCARD ::ignition::msgs::Header * release_header()
Definition: joint_trajectory.pb.h:323
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: joint_trajectory.pb.h:118
const ::ignition::msgs::Header & header() const
Definition: joint_trajectory.pb.h:306
static const JointTrajectory * internal_default_instance()
Definition: joint_trajectory.pb.h:127
friend void swap(JointTrajectory &a, JointTrajectory &b)
Definition: joint_trajectory.pb.h:134
static const ClassData _class_data_
Definition: joint_trajectory.pb.h:196
::ignition::msgs::JointTrajectoryPoint * add_points()
Definition: joint_trajectory.pb.h:481
::ignition::msgs::Header * unsafe_arena_release_header()
Definition: joint_trajectory.pb.h:338
~JointTrajectory() override
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fjoint_5ftrajectory_2eproto
std::unique_ptr< JointTrajectory > JointTrajectoryUniquePtr
Definition: joint_trajectory.pb.h:496
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::shared_ptr< const JointTrajectory > ConstJointTrajectorySharedPtr
Definition: joint_trajectory.pb.h:499
std::unique_ptr< const JointTrajectory > ConstJointTrajectoryUniquePtr
Definition: joint_trajectory.pb.h:497
std::shared_ptr< JointTrajectory > JointTrajectorySharedPtr
Definition: joint_trajectory.pb.h:498
IGNITION_MSGS_VISIBLE JointTrajectoryDefaultTypeInternal _JointTrajectory_default_instance_
Definition: actor.pb.h:52
Definition: joint_trajectory.pb.h:57
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)