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 < 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
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.
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 ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
71 class JointTrajectory;
72 class JointTrajectoryDefaultTypeInternal;
76 PROTOBUF_NAMESPACE_OPEN
77 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::JointTrajectory* Arena::CreateMaybeMessage<::ignition::msgs::JointTrajectory>(Arena*);
78 PROTOBUF_NAMESPACE_CLOSE
84 class IGNITION_MSGS_VISIBLE JointTrajectory PROTOBUF_FINAL :
85 public ::PROTOBUF_NAMESPACE_ID::Message {
93 *
this = ::std::move(from);
96 inline JointTrajectory&
operator=(
const JointTrajectory& from) {
100 inline JointTrajectory&
operator=(JointTrajectory&& from) noexcept {
101 if (GetArena() == from.GetArena()) {
102 if (
this != &from) InternalSwap(&from);
109 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
110 return GetDescriptor();
113 return GetMetadataStatic().descriptor;
116 return GetMetadataStatic().reflection;
121 return reinterpret_cast<const JointTrajectory*
>(
124 static constexpr
int kIndexInFileMessages =
127 friend void swap(JointTrajectory& a, JointTrajectory& b) {
130 inline void Swap(JointTrajectory* other) {
131 if (other ==
this)
return;
132 if (GetArena() == other->GetArena()) {
135 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
139 if (other ==
this)
return;
140 GOOGLE_DCHECK(GetArena() == other->GetArena());
146 inline JointTrajectory*
New() const final {
147 return CreateMaybeMessage<JointTrajectory>(
nullptr);
150 JointTrajectory*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
151 return CreateMaybeMessage<JointTrajectory>(arena);
153 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
154 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
157 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
158 bool IsInitialized() const final;
160 size_t ByteSizeLong() const final;
161 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
162 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
163 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
164 int GetCachedSize() const final {
return _cached_size_.Get(); }
167 inline void SharedCtor();
168 inline void SharedDtor();
169 void SetCachedSize(
int size)
const final;
170 void InternalSwap(JointTrajectory* other);
171 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
172 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
173 return "ignition.msgs.JointTrajectory";
178 static void ArenaDtor(
void*
object);
179 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
184 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
196 kJointNamesFieldNumber = 2,
197 kPointsFieldNumber = 3,
198 kHeaderFieldNumber = 1,
203 int _internal_joint_names_size()
const;
217 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
joint_names()
const;
220 const std::string& _internal_joint_names(
int index)
const;
227 int _internal_points_size()
const;
231 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::JointTrajectoryPoint >*
234 const ::ignition::msgs::JointTrajectoryPoint& _internal_points(
int index)
const;
235 ::ignition::msgs::JointTrajectoryPoint* _internal_add_points();
237 const ::ignition::msgs::JointTrajectoryPoint&
points(
int index)
const;
239 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::JointTrajectoryPoint >&
245 bool _internal_has_header()
const;
248 const ::ignition::msgs::Header&
header()
const;
253 const ::ignition::msgs::Header& _internal_header()
const;
254 ::ignition::msgs::Header* _internal_mutable_header();
257 ::ignition::msgs::Header* header);
264 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
265 typedef void InternalArenaConstructable_;
266 typedef void DestructorSkippable_;
267 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> joint_names_;
268 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::JointTrajectoryPoint > points_;
269 ::ignition::msgs::Header* header_;
270 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
271 friend struct ::TableStruct_ignition_2fmsgs_2fjoint_5ftrajectory_2eproto;
279 #pragma GCC diagnostic push
280 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
285 inline bool JointTrajectory::_internal_has_header()
const {
286 return this != internal_default_instance() && header_ !=
nullptr;
288 inline bool JointTrajectory::has_header()
const {
289 return _internal_has_header();
291 inline const ::ignition::msgs::Header& JointTrajectory::_internal_header()
const {
292 const ::ignition::msgs::Header* p = header_;
293 return p !=
nullptr ? *p :
reinterpret_cast<const ::ignition::msgs::Header&
>(
296 inline const ::ignition::msgs::Header& JointTrajectory::header()
const {
298 return _internal_header();
300 inline void JointTrajectory::unsafe_arena_set_allocated_header(
301 ::ignition::msgs::Header* header) {
302 if (GetArena() ==
nullptr) {
303 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
313 inline ::ignition::msgs::Header* JointTrajectory::release_header() {
315 ::ignition::msgs::Header* temp = header_;
317 if (GetArena() !=
nullptr) {
318 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
322 inline ::ignition::msgs::Header* JointTrajectory::unsafe_arena_release_header() {
325 ::ignition::msgs::Header* temp = header_;
329 inline ::ignition::msgs::Header* JointTrajectory::_internal_mutable_header() {
331 if (header_ ==
nullptr) {
332 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
337 inline ::ignition::msgs::Header* JointTrajectory::mutable_header() {
339 return _internal_mutable_header();
341 inline void JointTrajectory::set_allocated_header(::ignition::msgs::Header* header) {
342 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
343 if (message_arena ==
nullptr) {
344 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
347 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
348 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header)->GetArena();
349 if (message_arena != submessage_arena) {
350 header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
351 message_arena, header, submessage_arena);
362 inline int JointTrajectory::_internal_joint_names_size()
const {
363 return joint_names_.size();
365 inline int JointTrajectory::joint_names_size()
const {
366 return _internal_joint_names_size();
368 inline void JointTrajectory::clear_joint_names() {
369 joint_names_.Clear();
371 inline std::string* JointTrajectory::add_joint_names() {
373 return _internal_add_joint_names();
375 inline const std::string& JointTrajectory::_internal_joint_names(
int index)
const {
376 return joint_names_.Get(index);
378 inline const std::string& JointTrajectory::joint_names(
int index)
const {
380 return _internal_joint_names(index);
382 inline std::string* JointTrajectory::mutable_joint_names(
int index) {
384 return joint_names_.Mutable(index);
386 inline void JointTrajectory::set_joint_names(
int index,
const std::string& value) {
388 joint_names_.Mutable(index)->
assign(value);
390 inline void JointTrajectory::set_joint_names(
int index,
std::string&& value) {
392 joint_names_.Mutable(index)->assign(
std::move(value));
394 inline void JointTrajectory::set_joint_names(
int index,
const char* value) {
395 GOOGLE_DCHECK(value !=
nullptr);
396 joint_names_.Mutable(index)->assign(value);
399 inline void JointTrajectory::set_joint_names(
int index,
const char* value,
size_t size) {
400 joint_names_.Mutable(index)->assign(
401 reinterpret_cast<const char*
>(value), size);
404 inline std::string* JointTrajectory::_internal_add_joint_names() {
405 return joint_names_.Add();
407 inline void JointTrajectory::add_joint_names(
const std::string& value) {
408 joint_names_.Add()->
assign(value);
411 inline void JointTrajectory::add_joint_names(
std::string&& value) {
415 inline void JointTrajectory::add_joint_names(
const char* value) {
416 GOOGLE_DCHECK(value !=
nullptr);
417 joint_names_.Add()->assign(value);
420 inline void JointTrajectory::add_joint_names(
const char* value,
size_t size) {
421 joint_names_.Add()->assign(
reinterpret_cast<const char*
>(value), size);
424 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
425 JointTrajectory::joint_names()
const {
429 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
430 JointTrajectory::mutable_joint_names() {
432 return &joint_names_;
436 inline int JointTrajectory::_internal_points_size()
const {
437 return points_.size();
439 inline int JointTrajectory::points_size()
const {
440 return _internal_points_size();
442 inline ::ignition::msgs::JointTrajectoryPoint* JointTrajectory::mutable_points(
int index) {
444 return points_.Mutable(index);
446 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::JointTrajectoryPoint >*
447 JointTrajectory::mutable_points() {
451 inline const ::ignition::msgs::JointTrajectoryPoint& JointTrajectory::_internal_points(
int index)
const {
452 return points_.Get(index);
454 inline const ::ignition::msgs::JointTrajectoryPoint& JointTrajectory::points(
int index)
const {
456 return _internal_points(index);
458 inline ::ignition::msgs::JointTrajectoryPoint* JointTrajectory::_internal_add_points() {
459 return points_.Add();
461 inline ::ignition::msgs::JointTrajectoryPoint* JointTrajectory::add_points() {
463 return _internal_add_points();
465 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::JointTrajectoryPoint >&
466 JointTrajectory::points()
const {
472 #pragma GCC diagnostic pop
489 #include <google/protobuf/port_undef.inc>
::ignition::msgs::JointTrajectoryPoint * mutable_points(int index)
void add_joint_names(const std::string &value)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: joint_trajectory.pb.h:115
int joint_names_size() const
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::JointTrajectoryPoint > * mutable_points()
::ignition::msgs::Header * release_header()
std::string * mutable_joint_names(int index)
JointTrajectory(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void set_joint_names(int index, const char *value)
void MergeFrom(const JointTrajectory &from)
::ignition::msgs::JointTrajectoryPoint * add_points()
::ignition::msgs::Header * mutable_header()
JointTrajectory * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: joint_trajectory.pb.h:150
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: joint_trajectory.pb.h:109
void add_joint_names(const char *value)
virtual ~JointTrajectory()
void set_joint_names(int index, const char *value, size_t size)
static const JointTrajectory & default_instance()
const ::ignition::msgs::JointTrajectoryPoint & points(int index) const
JointTrajectory & operator=(JointTrajectory &&from) noexcept
Definition: joint_trajectory.pb.h:100
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
JointTrajectory(const JointTrajectory &from)
void Swap(JointTrajectory *other)
Definition: joint_trajectory.pb.h:130
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< std::string > & joint_names() const
JointTrajectory(JointTrajectory &&from) noexcept
Definition: joint_trajectory.pb.h:91
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
void CopyFrom(const JointTrajectory &from)
JointTrajectory & operator=(const JointTrajectory &from)
Definition: joint_trajectory.pb.h:96
void set_joint_names(int index, const std::string &value)
void add_joint_names(const char *value, size_t size)
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::JointTrajectoryPoint > & points() const
::ignition::msgs::Header * unsafe_arena_release_header()
JointTrajectory()
Definition: joint_trajectory.pb.h:87
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void UnsafeArenaSwap(JointTrajectory *other)
Definition: joint_trajectory.pb.h:138
void set_allocated_header(::ignition::msgs::Header *header)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
const std::string & joint_names(int index) const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: joint_trajectory.pb.h:112
std::string * add_joint_names()
static const JointTrajectory * internal_default_instance()
Definition: joint_trajectory.pb.h:120
friend void swap(JointTrajectory &a, JointTrajectory &b)
Definition: joint_trajectory.pb.h:127
JointTrajectory * New() const final
Definition: joint_trajectory.pb.h:146
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< std::string > * mutable_joint_names()
void add_joint_names(std::string &&value)
void set_joint_names(int index, std::string &&value)
const ::ignition::msgs::Header & header() const
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:475
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::shared_ptr< const JointTrajectory > ConstJointTrajectorySharedPtr
Definition: joint_trajectory.pb.h:478
std::unique_ptr< const JointTrajectory > ConstJointTrajectoryUniquePtr
Definition: joint_trajectory.pb.h:476
std::shared_ptr< JointTrajectory > JointTrajectorySharedPtr
Definition: joint_trajectory.pb.h:477
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)