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 < 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_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 uint32_t offsets[];
72 struct PoseAnimationDefaultTypeInternal;
76 PROTOBUF_NAMESPACE_OPEN
77 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::PoseAnimation* Arena::CreateMaybeMessage<::ignition::msgs::PoseAnimation>(Arena*);
78 PROTOBUF_NAMESPACE_CLOSE
85 public ::PROTOBUF_NAMESPACE_ID::Message {
89 explicit constexpr
PoseAnimation(::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<PoseAnimation>(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.PoseAnimation";
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 kPoseFieldNumber = 3,
207 kTimeFieldNumber = 4,
208 kModelNameFieldNumber = 1,
209 kModelIdFieldNumber = 2,
212 int pose_size()
const;
214 int _internal_pose_size()
const;
218 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Pose >*
221 const ::ignition::msgs::Pose& _internal_pose(
int index)
const;
224 const ::ignition::msgs::Pose& pose(
int index)
const;
226 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Pose >&
230 int time_size()
const;
232 int _internal_time_size()
const;
236 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Time >*
239 const ::ignition::msgs::Time& _internal_time(
int index)
const;
242 const ::ignition::msgs::Time& time(
int index)
const;
244 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Time >&
248 void clear_model_name();
250 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
253 PROTOBUF_NODISCARD
std::string* release_model_name();
254 void set_allocated_model_name(
std::string* model_name);
257 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_model_name(
const std::string& value);
262 void clear_model_id();
263 uint32_t model_id()
const;
264 void set_model_id(uint32_t value);
266 uint32_t _internal_model_id()
const;
267 void _internal_set_model_id(uint32_t value);
274 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
275 typedef void InternalArenaConstructable_;
276 typedef void DestructorSkippable_;
277 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Pose > pose_;
278 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Time > time_;
279 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr model_name_;
281 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
282 friend struct ::TableStruct_ignition_2fmsgs_2fpose_5fanimation_2eproto;
290 #pragma GCC diagnostic push
291 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
297 model_name_.ClearToEmpty();
301 return _internal_model_name();
303 template <
typename ArgT0,
typename... ArgT>
304 inline PROTOBUF_ALWAYS_INLINE
307 model_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
315 inline const std::string& PoseAnimation::_internal_model_name()
const {
316 return model_name_.Get();
318 inline void PoseAnimation::_internal_set_model_name(
const std::string& value) {
320 model_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
322 inline std::string* PoseAnimation::_internal_mutable_model_name() {
324 return model_name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
328 return model_name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
331 if (model_name !=
nullptr) {
336 model_name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), model_name,
337 GetArenaForAllocation());
338 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
339 if (model_name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
340 model_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
"", GetArenaForAllocation());
350 inline uint32_t PoseAnimation::_internal_model_id()
const {
355 return _internal_model_id();
357 inline void PoseAnimation::_internal_set_model_id(uint32_t value) {
362 _internal_set_model_id(value);
367 inline int PoseAnimation::_internal_pose_size()
const {
371 return _internal_pose_size();
375 return pose_.Mutable(index);
377 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Pose >*
382 inline const ::ignition::msgs::Pose& PoseAnimation::_internal_pose(
int index)
const {
383 return pose_.Get(index);
387 return _internal_pose(index);
389 inline ::ignition::msgs::Pose* PoseAnimation::_internal_add_pose() {
397 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Pose >&
404 inline int PoseAnimation::_internal_time_size()
const {
408 return _internal_time_size();
412 return time_.Mutable(index);
414 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Time >*
419 inline const ::ignition::msgs::Time& PoseAnimation::_internal_time(
int index)
const {
420 return time_.Get(index);
424 return _internal_time(index);
426 inline ::ignition::msgs::Time* PoseAnimation::_internal_add_time() {
434 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Time >&
441 #pragma GCC diagnostic pop
458 #include <google/protobuf/port_undef.inc>
Definition: pose_animation.pb.h:85
std::string * mutable_model_name()
Definition: pose_animation.pb.h:310
uint32_t model_id() const
Definition: pose_animation.pb.h:353
void CopyFrom(const PoseAnimation &from)
PoseAnimation & operator=(const PoseAnimation &from)
Definition: pose_animation.pb.h:97
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: pose_animation.pb.h:121
void Swap(PoseAnimation *other)
Definition: pose_animation.pb.h:137
PoseAnimation(const PoseAnimation &from)
int time_size() const
Definition: pose_animation.pb.h:407
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
PoseAnimation(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: pose_animation.pb.h:115
friend void swap(PoseAnimation &a, PoseAnimation &b)
Definition: pose_animation.pb.h:134
void UnsafeArenaSwap(PoseAnimation *other)
Definition: pose_animation.pb.h:150
void clear_model_id()
Definition: pose_animation.pb.h:347
static const PoseAnimation * internal_default_instance()
Definition: pose_animation.pb.h:127
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Time > * mutable_time()
Definition: pose_animation.pb.h:415
int pose_size() const
Definition: pose_animation.pb.h:370
PoseAnimation & operator=(PoseAnimation &&from) noexcept
Definition: pose_animation.pb.h:101
PoseAnimation()
Definition: pose_animation.pb.h:87
void set_model_id(uint32_t value)
Definition: pose_animation.pb.h:361
PoseAnimation(PoseAnimation &&from) noexcept
Definition: pose_animation.pb.h:92
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Pose > & pose() const
Definition: pose_animation.pb.h:398
PROTOBUF_NODISCARD std::string * release_model_name()
Definition: pose_animation.pb.h:326
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Pose > * mutable_pose()
Definition: pose_animation.pb.h:378
::ignition::msgs::Time * add_time()
Definition: pose_animation.pb.h:429
PoseAnimation * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: pose_animation.pb.h:158
::ignition::msgs::Pose * add_pose()
Definition: pose_animation.pb.h:392
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: pose_animation.pb.h:118
void clear_model_name()
Definition: pose_animation.pb.h:296
~PoseAnimation() override
const std::string & model_name() const
Definition: pose_animation.pb.h:299
static const ClassData _class_data_
Definition: pose_animation.pb.h:196
void MergeFrom(const PoseAnimation &from)
void set_allocated_model_name(std::string *model_name)
Definition: pose_animation.pb.h:330
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Time > & time() const
Definition: pose_animation.pb.h:435
static const PoseAnimation & default_instance()
Definition: pose_animation.pb.h:124
void set_model_name(ArgT0 &&arg0, ArgT... args)
constexpr PoseAnimation(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
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)