4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fpose_5fanimation_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fpose_5fanimation_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_2fpose_5fanimation_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[];
72 class PoseAnimationDefaultTypeInternal;
76 PROTOBUF_NAMESPACE_OPEN
77 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::PoseAnimation* Arena::CreateMaybeMessage<::ignition::msgs::PoseAnimation>(Arena*);
78 PROTOBUF_NAMESPACE_CLOSE
84 class IGNITION_MSGS_VISIBLE PoseAnimation PROTOBUF_FINAL :
85 public ::PROTOBUF_NAMESPACE_ID::Message {
93 *
this = ::std::move(from);
96 inline PoseAnimation&
operator=(
const PoseAnimation& from) {
100 inline PoseAnimation&
operator=(PoseAnimation&& 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 PoseAnimation*
>(
124 static constexpr
int kIndexInFileMessages =
127 friend void swap(PoseAnimation& a, PoseAnimation& b) {
130 inline void Swap(PoseAnimation* 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 PoseAnimation*
New() const final {
147 return CreateMaybeMessage<PoseAnimation>(
nullptr);
150 PoseAnimation*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
151 return CreateMaybeMessage<PoseAnimation>(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(PoseAnimation* other);
171 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
172 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
173 return "ignition.msgs.PoseAnimation";
178 static void ArenaDtor(
void*
object);
179 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
184 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
196 kPoseFieldNumber = 3,
197 kTimeFieldNumber = 4,
198 kModelNameFieldNumber = 1,
199 kModelIdFieldNumber = 2,
204 int _internal_pose_size()
const;
208 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Pose >*
211 const ::ignition::msgs::Pose& _internal_pose(
int index)
const;
212 ::ignition::msgs::Pose* _internal_add_pose();
214 const ::ignition::msgs::Pose&
pose(
int index)
const;
216 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Pose >&
222 int _internal_time_size()
const;
226 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Time >*
229 const ::ignition::msgs::Time& _internal_time(
int index)
const;
230 ::ignition::msgs::Time* _internal_add_time();
232 const ::ignition::msgs::Time&
time(
int index)
const;
234 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Time >&
249 void _internal_set_model_name(
const std::string& value);
258 ::PROTOBUF_NAMESPACE_ID::uint32 _internal_model_id()
const;
259 void _internal_set_model_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
266 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
267 typedef void InternalArenaConstructable_;
268 typedef void DestructorSkippable_;
269 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Pose > pose_;
270 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Time > time_;
271 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr model_name_;
272 ::PROTOBUF_NAMESPACE_ID::uint32 model_id_;
273 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
274 friend struct ::TableStruct_ignition_2fmsgs_2fpose_5fanimation_2eproto;
282 #pragma GCC diagnostic push
283 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
288 inline void PoseAnimation::clear_model_name() {
289 model_name_.ClearToEmpty();
291 inline const std::string& PoseAnimation::model_name()
const {
293 return _internal_model_name();
295 inline void PoseAnimation::set_model_name(
const std::string& value) {
296 _internal_set_model_name(value);
299 inline std::string* PoseAnimation::mutable_model_name() {
301 return _internal_mutable_model_name();
303 inline const std::string& PoseAnimation::_internal_model_name()
const {
304 return model_name_.Get();
306 inline void PoseAnimation::_internal_set_model_name(
const std::string& value) {
308 model_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
310 inline void PoseAnimation::set_model_name(
std::string&& value) {
313 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
316 inline void PoseAnimation::set_model_name(
const char* value) {
317 GOOGLE_DCHECK(value !=
nullptr);
319 model_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(value), GetArena());
322 inline void PoseAnimation::set_model_name(
const char* value,
325 model_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(
326 reinterpret_cast<const char*
>(value), size), GetArena());
329 inline std::string* PoseAnimation::_internal_mutable_model_name() {
331 return model_name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
333 inline std::string* PoseAnimation::release_model_name() {
335 return model_name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
337 inline void PoseAnimation::set_allocated_model_name(
std::string* model_name) {
338 if (model_name !=
nullptr) {
343 model_name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), model_name,
349 inline void PoseAnimation::clear_model_id() {
352 inline ::PROTOBUF_NAMESPACE_ID::uint32 PoseAnimation::_internal_model_id()
const {
355 inline ::PROTOBUF_NAMESPACE_ID::uint32 PoseAnimation::model_id()
const {
357 return _internal_model_id();
359 inline void PoseAnimation::_internal_set_model_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
363 inline void PoseAnimation::set_model_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
364 _internal_set_model_id(value);
369 inline int PoseAnimation::_internal_pose_size()
const {
372 inline int PoseAnimation::pose_size()
const {
373 return _internal_pose_size();
375 inline ::ignition::msgs::Pose* PoseAnimation::mutable_pose(
int index) {
377 return pose_.Mutable(index);
379 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Pose >*
380 PoseAnimation::mutable_pose() {
384 inline const ::ignition::msgs::Pose& PoseAnimation::_internal_pose(
int index)
const {
385 return pose_.Get(index);
387 inline const ::ignition::msgs::Pose& PoseAnimation::pose(
int index)
const {
389 return _internal_pose(index);
391 inline ::ignition::msgs::Pose* PoseAnimation::_internal_add_pose() {
394 inline ::ignition::msgs::Pose* PoseAnimation::add_pose() {
396 return _internal_add_pose();
398 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Pose >&
399 PoseAnimation::pose()
const {
405 inline int PoseAnimation::_internal_time_size()
const {
408 inline int PoseAnimation::time_size()
const {
409 return _internal_time_size();
411 inline ::ignition::msgs::Time* PoseAnimation::mutable_time(
int index) {
413 return time_.Mutable(index);
415 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Time >*
416 PoseAnimation::mutable_time() {
420 inline const ::ignition::msgs::Time& PoseAnimation::_internal_time(
int index)
const {
421 return time_.Get(index);
423 inline const ::ignition::msgs::Time& PoseAnimation::time(
int index)
const {
425 return _internal_time(index);
427 inline ::ignition::msgs::Time* PoseAnimation::_internal_add_time() {
430 inline ::ignition::msgs::Time* PoseAnimation::add_time() {
432 return _internal_add_time();
434 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Time >&
435 PoseAnimation::time()
const {
441 #pragma GCC diagnostic pop
458 #include <google/protobuf/port_undef.inc>
void CopyFrom(const PoseAnimation &from)
PoseAnimation & operator=(const PoseAnimation &from)
Definition: pose_animation.pb.h:96
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: pose_animation.pb.h:115
void Swap(PoseAnimation *other)
Definition: pose_animation.pb.h:130
PoseAnimation(const PoseAnimation &from)
PoseAnimation * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: pose_animation.pb.h:150
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: pose_animation.pb.h:109
const ::ignition::msgs::Pose & pose(int index) const
friend void swap(PoseAnimation &a, PoseAnimation &b)
Definition: pose_animation.pb.h:127
void UnsafeArenaSwap(PoseAnimation *other)
Definition: pose_animation.pb.h:138
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
std::string * mutable_model_name()
static const PoseAnimation * internal_default_instance()
Definition: pose_animation.pb.h:120
void set_model_name(std::string &&value)
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Pose > & pose() const
PoseAnimation & operator=(PoseAnimation &&from) noexcept
Definition: pose_animation.pb.h:100
PoseAnimation()
Definition: pose_animation.pb.h:87
void set_model_name(const char *value)
PoseAnimation(PoseAnimation &&from) noexcept
Definition: pose_animation.pb.h:91
::PROTOBUF_NAMESPACE_ID::uint32 model_id() const
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void set_model_name(const std::string &value)
::ignition::msgs::Time * mutable_time(int index)
void set_model_id(::PROTOBUF_NAMESPACE_ID::uint32 value)
::ignition::msgs::Time * add_time()
void set_model_name(const char *value, size_t size)
const std::string & model_name() const
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: pose_animation.pb.h:112
PoseAnimation(::PROTOBUF_NAMESPACE_ID::Arena *arena)
PoseAnimation * New() const final
Definition: pose_animation.pb.h:146
::ignition::msgs::Pose * add_pose()
::ignition::msgs::Pose * mutable_pose(int index)
void MergeFrom(const PoseAnimation &from)
void set_allocated_model_name(std::string *model_name)
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Pose > * mutable_pose()
static const PoseAnimation & default_instance()
std::string * release_model_name()
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Time > & time() const
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Time > * mutable_time()
const ::ignition::msgs::Time & time(int index) const
std::shared_ptr< const PoseAnimation > ConstPoseAnimationSharedPtr
Definition: pose_animation.pb.h:447
std::unique_ptr< PoseAnimation > PoseAnimationUniquePtr
Definition: pose_animation.pb.h:444
std::shared_ptr< PoseAnimation > PoseAnimationSharedPtr
Definition: pose_animation.pb.h:446
std::unique_ptr< const PoseAnimation > ConstPoseAnimationUniquePtr
Definition: pose_animation.pb.h:445
IGNITION_MSGS_VISIBLE PoseAnimationDefaultTypeInternal _PoseAnimation_default_instance_
Definition: actor.pb.h:52
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fpose_5fanimation_2eproto
Definition: pose_animation.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)