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 < 3012000
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 3012004 < 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/inlined_string_field.h>
29 #include <google/protobuf/metadata_lite.h>
30 #include <google/protobuf/generated_message_reflection.h>
31 #include <google/protobuf/message.h>
32 #include <google/protobuf/repeated_field.h>
33 #include <google/protobuf/extension_set.h>
34 #include <google/protobuf/unknown_field_set.h>
38 #pragma GCC system_header
41 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
44 #include <sys/sysmacros.h>
49 #include <google/protobuf/port_def.inc>
50 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fpose_5fanimation_2eproto IGNITION_MSGS_VISIBLE
51 PROTOBUF_NAMESPACE_OPEN
55 PROTOBUF_NAMESPACE_CLOSE
59 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
61 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
63 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
65 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
66 static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
67 static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
73 class PoseAnimationDefaultTypeInternal;
77 PROTOBUF_NAMESPACE_OPEN
78 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::PoseAnimation* Arena::CreateMaybeMessage<::ignition::msgs::PoseAnimation>(Arena*);
79 PROTOBUF_NAMESPACE_CLOSE
85 class IGNITION_MSGS_VISIBLE PoseAnimation PROTOBUF_FINAL :
86 public ::PROTOBUF_NAMESPACE_ID::Message {
94 *
this = ::std::move(from);
97 inline PoseAnimation&
operator=(
const PoseAnimation& from) {
101 inline PoseAnimation&
operator=(PoseAnimation&& from) noexcept {
102 if (GetArena() == from.GetArena()) {
103 if (
this != &from) InternalSwap(&from);
110 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
111 return GetDescriptor();
114 return GetMetadataStatic().descriptor;
117 return GetMetadataStatic().reflection;
123 return reinterpret_cast<const PoseAnimation*
>(
126 static constexpr
int kIndexInFileMessages =
129 friend void swap(PoseAnimation& a, PoseAnimation& b) {
132 inline void Swap(PoseAnimation* other) {
133 if (other ==
this)
return;
134 if (GetArena() == other->GetArena()) {
137 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
141 if (other ==
this)
return;
142 GOOGLE_DCHECK(GetArena() == other->GetArena());
148 inline PoseAnimation*
New() const final {
149 return CreateMaybeMessage<PoseAnimation>(
nullptr);
152 PoseAnimation*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
153 return CreateMaybeMessage<PoseAnimation>(arena);
155 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
156 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
159 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
160 bool IsInitialized() const final;
162 size_t ByteSizeLong() const final;
163 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
164 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
165 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
166 int GetCachedSize() const final {
return _cached_size_.Get(); }
169 inline void SharedCtor();
170 inline void SharedDtor();
171 void SetCachedSize(
int size)
const final;
172 void InternalSwap(PoseAnimation* other);
173 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
174 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
175 return "ignition.msgs.PoseAnimation";
180 static void ArenaDtor(
void*
object);
181 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
186 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
198 kPoseFieldNumber = 3,
199 kTimeFieldNumber = 4,
200 kModelNameFieldNumber = 1,
201 kModelIdFieldNumber = 2,
206 int _internal_pose_size()
const;
210 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Pose >*
213 const ::ignition::msgs::Pose& _internal_pose(
int index)
const;
214 ::ignition::msgs::Pose* _internal_add_pose();
216 const ::ignition::msgs::Pose&
pose(
int index)
const;
218 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Pose >&
224 int _internal_time_size()
const;
228 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Time >*
231 const ::ignition::msgs::Time& _internal_time(
int index)
const;
232 ::ignition::msgs::Time* _internal_add_time();
234 const ::ignition::msgs::Time&
time(
int index)
const;
236 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Time >&
249 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED(
"The unsafe_arena_ accessors for"
250 " string fields are deprecated and will be removed in a"
252 std::
string* unsafe_arena_release_model_name();
253 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
254 "
string fields are deprecated and will be removed in a"
256 void unsafe_arena_set_allocated_model_name(
257 std::
string* model_name);
259 const
std::
string& _internal_model_name() const;
260 void _internal_set_model_name(const
std::
string& value);
261 std::
string* _internal_mutable_model_name();
265 void clear_model_id();
266 ::PROTOBUF_NAMESPACE_ID::uint32 model_id() const;
267 void set_model_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
269 ::PROTOBUF_NAMESPACE_ID::uint32 _internal_model_id() const;
270 void _internal_set_model_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
277 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
278 typedef
void InternalArenaConstructable_;
279 typedef
void DestructorSkippable_;
280 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::
ignition::msgs::Pose > pose_;
281 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::
ignition::msgs::Time > time_;
282 ::PROTOBUF_NAMESPACE_ID::
internal::ArenaStringPtr model_name_;
283 ::PROTOBUF_NAMESPACE_ID::uint32 model_id_;
284 mutable ::PROTOBUF_NAMESPACE_ID::
internal::CachedSize _cached_size_;
293 #pragma GCC diagnostic push
294 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
299 inline void PoseAnimation::clear_model_name() {
300 model_name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
302 inline const std::string& PoseAnimation::model_name()
const {
304 return _internal_model_name();
306 inline void PoseAnimation::set_model_name(
const std::string& value) {
307 _internal_set_model_name(value);
310 inline std::string* PoseAnimation::mutable_model_name() {
312 return _internal_mutable_model_name();
314 inline const std::string& PoseAnimation::_internal_model_name()
const {
315 return model_name_.Get();
317 inline void PoseAnimation::_internal_set_model_name(
const std::string& value) {
319 model_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
321 inline void PoseAnimation::set_model_name(
std::string&& value) {
324 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::
std::move(value), GetArena());
327 inline void PoseAnimation::set_model_name(
const char* value) {
328 GOOGLE_DCHECK(value !=
nullptr);
330 model_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::
std::string(value),
334 inline void PoseAnimation::set_model_name(
const char* value,
337 model_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::
std::string(
338 reinterpret_cast<const char*
>(value), size), GetArena());
341 inline std::string* PoseAnimation::_internal_mutable_model_name() {
343 return model_name_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
345 inline std::string* PoseAnimation::release_model_name() {
347 return model_name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
349 inline void PoseAnimation::set_allocated_model_name(
std::string* model_name) {
350 if (model_name !=
nullptr) {
355 model_name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), model_name,
359 inline std::string* PoseAnimation::unsafe_arena_release_model_name() {
361 GOOGLE_DCHECK(GetArena() !=
nullptr);
363 return model_name_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
366 inline void PoseAnimation::unsafe_arena_set_allocated_model_name(
368 GOOGLE_DCHECK(GetArena() !=
nullptr);
369 if (model_name !=
nullptr) {
374 model_name_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
375 model_name, GetArena());
380 inline void PoseAnimation::clear_model_id() {
383 inline ::PROTOBUF_NAMESPACE_ID::uint32 PoseAnimation::_internal_model_id()
const {
386 inline ::PROTOBUF_NAMESPACE_ID::uint32 PoseAnimation::model_id()
const {
388 return _internal_model_id();
390 inline void PoseAnimation::_internal_set_model_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
394 inline void PoseAnimation::set_model_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
395 _internal_set_model_id(value);
400 inline int PoseAnimation::_internal_pose_size()
const {
403 inline int PoseAnimation::pose_size()
const {
404 return _internal_pose_size();
406 inline ::ignition::msgs::Pose* PoseAnimation::mutable_pose(
int index) {
408 return pose_.Mutable(index);
410 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Pose >*
411 PoseAnimation::mutable_pose() {
415 inline const ::ignition::msgs::Pose& PoseAnimation::_internal_pose(
int index)
const {
416 return pose_.Get(index);
418 inline const ::ignition::msgs::Pose& PoseAnimation::pose(
int index)
const {
420 return _internal_pose(index);
422 inline ::ignition::msgs::Pose* PoseAnimation::_internal_add_pose() {
425 inline ::ignition::msgs::Pose* PoseAnimation::add_pose() {
427 return _internal_add_pose();
429 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Pose >&
430 PoseAnimation::pose()
const {
436 inline int PoseAnimation::_internal_time_size()
const {
439 inline int PoseAnimation::time_size()
const {
440 return _internal_time_size();
442 inline ::ignition::msgs::Time* PoseAnimation::mutable_time(
int index) {
444 return time_.Mutable(index);
446 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Time >*
447 PoseAnimation::mutable_time() {
451 inline const ::ignition::msgs::Time& PoseAnimation::_internal_time(
int index)
const {
452 return time_.Get(index);
454 inline const ::ignition::msgs::Time& PoseAnimation::time(
int index)
const {
456 return _internal_time(index);
458 inline ::ignition::msgs::Time* PoseAnimation::_internal_add_time() {
461 inline ::ignition::msgs::Time* PoseAnimation::add_time() {
463 return _internal_add_time();
465 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Time >&
466 PoseAnimation::time()
const {
472 #pragma GCC diagnostic pop
489 #include <google/protobuf/port_undef.inc>
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fpose_5fanimation_2eproto
static void InitAsDefaultInstance()
void CopyFrom(const PoseAnimation &from)
PoseAnimation & operator=(const PoseAnimation &from)
Definition: build/ignition-msgs8/include/ignition/msgs/pose_animation.pb.h:97
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: build/ignition-msgs8/include/ignition/msgs/pose_animation.pb.h:116
void Swap(PoseAnimation *other)
Definition: build/ignition-msgs8/include/ignition/msgs/pose_animation.pb.h:132
PoseAnimation(const PoseAnimation &from)
PoseAnimation * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/pose_animation.pb.h:152
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/pose_animation.pb.h:110
const ::ignition::msgs::Pose & pose(int index) const
friend void swap(PoseAnimation &a, PoseAnimation &b)
Definition: build/ignition-msgs8/include/ignition/msgs/pose_animation.pb.h:129
void UnsafeArenaSwap(PoseAnimation *other)
Definition: build/ignition-msgs8/include/ignition/msgs/pose_animation.pb.h:140
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
std::string * mutable_model_name()
static const PoseAnimation * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/pose_animation.pb.h:122
void set_model_name(std::string &&value)
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Pose > & pose() const
PoseAnimation & operator=(PoseAnimation &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/pose_animation.pb.h:101
PoseAnimation()
Definition: build/ignition-msgs8/include/ignition/msgs/pose_animation.pb.h:88
void set_model_name(const char *value)
PoseAnimation(PoseAnimation &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/pose_animation.pb.h:92
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void set_model_name(const std::string &value)
::ignition::msgs::Time * mutable_time(int index)
::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: build/ignition-msgs8/include/ignition/msgs/pose_animation.pb.h:113
PoseAnimation(::PROTOBUF_NAMESPACE_ID::Arena *arena)
PoseAnimation * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/pose_animation.pb.h:148
::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: build/ignition-msgs8/include/ignition/msgs/pose_animation.pb.h:478
std::unique_ptr< PoseAnimation > PoseAnimationUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/pose_animation.pb.h:475
std::shared_ptr< PoseAnimation > PoseAnimationSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/pose_animation.pb.h:477
std::unique_ptr< const PoseAnimation > ConstPoseAnimationUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/pose_animation.pb.h:476
IGNITION_MSGS_VISIBLE PoseAnimationDefaultTypeInternal _PoseAnimation_default_instance_
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:53
Definition: build/ignition-msgs8/include/ignition/msgs/pose_animation.pb.h:58
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)
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)