4 #ifndef PROTOBUF_INCLUDED_gz_2fmsgs_2fjoint_5fanimation_2eproto
5 #define PROTOBUF_INCLUDED_gz_2fmsgs_2fjoint_5fanimation_2eproto
9 #include <google/protobuf/stubs/common.h>
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
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 3006001 < GOOGLE_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/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
29 #include <google/protobuf/message.h>
30 #include <google/protobuf/repeated_field.h>
31 #include <google/protobuf/extension_set.h>
32 #include <google/protobuf/unknown_field_set.h>
33 #include "gz/msgs/time.pb.h"
34 #include "gz/msgs/header.pb.h"
36 #define PROTOBUF_INTERNAL_EXPORT_protobuf_gz_2fmsgs_2fjoint_5fanimation_2eproto GZ_MSGS_VISIBLE
41 static const ::google::protobuf::internal::ParseTableField entries[];
42 static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
43 static const ::google::protobuf::internal::ParseTable schema[2];
44 static const ::google::protobuf::internal::FieldMetadata field_metadata[];
45 static const ::google::protobuf::internal::SerializationTable serialization_table[];
46 static const ::google::protobuf::uint32 offsets[];
53 class JointAnimationDefaultTypeInternal;
55 class JointAnimation_Joint;
56 class JointAnimation_JointDefaultTypeInternal;
62 template<> GZ_MSGS_VISIBLE ::gz::msgs::JointAnimation* Arena::CreateMaybeMessage<::gz::msgs::JointAnimation>(Arena*);
63 template<> GZ_MSGS_VISIBLE ::gz::msgs::JointAnimation_Joint* Arena::CreateMaybeMessage<::gz::msgs::JointAnimation_Joint>(Arena*);
85 *
this = ::std::move(from);
88 inline JointAnimation_Joint& operator=(JointAnimation_Joint&& from) noexcept {
89 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
90 if (
this != &from) InternalSwap(&from);
97 static const ::google::protobuf::Descriptor* descriptor();
98 static const JointAnimation_Joint& default_instance();
100 static void InitAsDefaultInstance();
105 static constexpr
int kIndexInFileMessages =
116 return CreateMaybeMessage<JointAnimation_Joint>(NULL);
120 return CreateMaybeMessage<JointAnimation_Joint>(arena);
122 void CopyFrom(const ::google::protobuf::Message& from)
final;
123 void MergeFrom(const ::google::protobuf::Message& from)
final;
127 bool IsInitialized() const final;
129 size_t ByteSizeLong() const final;
130 bool MergePartialFromCodedStream(
131 ::
google::protobuf::io::CodedInputStream* input) final;
132 void SerializeWithCachedSizes(
133 ::
google::protobuf::io::CodedOutputStream* output) const final;
134 ::
google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
135 bool deterministic, ::
google::protobuf::uint8* target) const final;
136 int GetCachedSize() const final {
return _cached_size_.Get(); }
141 void SetCachedSize(
int size)
const final;
144 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
147 inline void* MaybeArenaPtr()
const {
152 ::google::protobuf::Metadata GetMetadata() const final;
159 int name_size() const;
161 static const
int kNameFieldNumber = 1;
162 const ::
std::
string& name(
int index) const;
163 ::
std::
string* mutable_name(
int index);
164 void set_name(
int index, const ::
std::
string& value);
168 void set_name(
int index,
const char* value);
169 void set_name(
int index,
const char* value,
size_t size);
171 void add_name(const ::std::string& value);
175 void add_name(
const char* value);
176 void add_name(
const char* value,
size_t size);
177 const ::google::protobuf::RepeatedPtrField< ::std::string>& name()
const;
178 ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_name();
181 int angle_size()
const;
183 static const int kAngleFieldNumber = 2;
184 double angle(
int index)
const;
185 void set_angle(
int index,
double value);
186 void add_angle(
double value);
187 const ::google::protobuf::RepeatedField< double >&
189 ::google::protobuf::RepeatedField< double >*
195 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
196 ::google::protobuf::RepeatedPtrField< ::std::string> name_;
197 ::google::protobuf::RepeatedField< double > angle_;
198 mutable int _angle_cached_byte_size_;
199 mutable ::google::protobuf::internal::CachedSize _cached_size_;
200 friend struct ::protobuf_gz_2fmsgs_2fjoint_5fanimation_2eproto::TableStruct;
218 *
this = ::std::move(from);
221 inline JointAnimation& operator=(JointAnimation&& from) noexcept {
222 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
223 if (
this != &from) InternalSwap(&from);
230 static const ::google::protobuf::Descriptor* descriptor();
231 static const JointAnimation& default_instance();
233 static void InitAsDefaultInstance();
238 static constexpr
int kIndexInFileMessages =
249 return CreateMaybeMessage<JointAnimation>(NULL);
253 return CreateMaybeMessage<JointAnimation>(arena);
255 void CopyFrom(const ::google::protobuf::Message& from)
final;
256 void MergeFrom(const ::google::protobuf::Message& from)
final;
260 bool IsInitialized() const final;
262 size_t ByteSizeLong() const final;
263 bool MergePartialFromCodedStream(
264 ::
google::protobuf::io::CodedInputStream* input) final;
265 void SerializeWithCachedSizes(
266 ::
google::protobuf::io::CodedOutputStream* output) const final;
267 ::
google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
268 bool deterministic, ::
google::protobuf::uint8* target) const final;
269 int GetCachedSize() const final {
return _cached_size_.Get(); }
274 void SetCachedSize(
int size)
const final;
277 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
280 inline void* MaybeArenaPtr()
const {
285 ::google::protobuf::Metadata GetMetadata() const final;
294 int joint_size() const;
296 static const
int kJointFieldNumber = 3;
306 int time_size() const;
308 static const
int kTimeFieldNumber = 4;
309 ::
gz::msgs::
Time* mutable_time(
int index);
310 ::
google::protobuf::RepeatedPtrField< ::
gz::msgs::
Time >*
312 const ::
gz::msgs::
Time& time(
int index) const;
313 ::
gz::msgs::
Time* add_time();
314 const ::
google::protobuf::RepeatedPtrField< ::
gz::msgs::
Time >&
318 void clear_model_name();
319 static const
int kModelNameFieldNumber = 2;
320 const ::
std::
string& model_name() const;
321 void set_model_name(const ::
std::
string& value);
325 void set_model_name(
const char* value);
326 void set_model_name(
const char* value,
size_t size);
329 void set_allocated_model_name(::
std::string* model_name);
332 bool has_header()
const;
334 static const int kHeaderFieldNumber = 1;
336 const ::gz::msgs::Header& _internal_header()
const;
338 const ::gz::msgs::Header& header()
const;
346 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
347 ::google::protobuf::RepeatedPtrField< ::gz::msgs::JointAnimation_Joint > joint_;
348 ::google::protobuf::RepeatedPtrField< ::gz::msgs::Time > time_;
349 ::google::protobuf::internal::ArenaStringPtr model_name_;
351 mutable ::google::protobuf::internal::CachedSize _cached_size_;
352 friend struct ::protobuf_gz_2fmsgs_2fjoint_5fanimation_2eproto::TableStruct;
360 #pragma GCC diagnostic push
361 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
374 return name_.Get(index);
378 return name_.Mutable(index);
382 name_.Mutable(index)->assign(value);
387 name_.Mutable(index)->assign(
std::move(value));
391 GOOGLE_DCHECK(value != NULL);
392 name_.Mutable(index)->assign(value);
396 name_.Mutable(index)->assign(
397 reinterpret_cast<const char*
>(value), size);
405 name_.Add()->assign(value);
415 GOOGLE_DCHECK(value != NULL);
416 name_.Add()->assign(value);
420 name_.Add()->assign(
reinterpret_cast<const char*
>(value), size);
423 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
428 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
436 return angle_.size();
443 return angle_.Get(index);
446 angle_.Set(index, value);
453 inline const ::google::protobuf::RepeatedField< double >&
458 inline ::google::protobuf::RepeatedField< double >*
472 inline const ::gz::msgs::Header& JointAnimation::_internal_header()
const {
476 const ::gz::msgs::Header* p = header_;
490 if (header_ == NULL) {
491 auto* p = CreateMaybeMessage<::gz::msgs::Header>(GetArenaNoVirtual());
498 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
499 if (message_arena == NULL) {
500 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(header_);
503 ::google::protobuf::Arena* submessage_arena = NULL;
504 if (message_arena != submessage_arena) {
505 header = ::google::protobuf::internal::GetOwnedMessage(
506 message_arena,
header, submessage_arena);
518 model_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
522 return model_name_.GetNoArena();
526 model_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
532 model_name_.SetNoArena(
533 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::move(value));
538 GOOGLE_DCHECK(value != NULL);
540 model_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
545 model_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
546 ::
std::string(
reinterpret_cast<const char*
>(value), size));
552 return model_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
557 return model_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
565 model_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
model_name);
571 return joint_.size();
578 return joint_.Mutable(index);
580 inline ::google::protobuf::RepeatedPtrField< ::gz::msgs::JointAnimation_Joint >*
587 return joint_.Get(index);
593 inline const ::google::protobuf::RepeatedPtrField< ::gz::msgs::JointAnimation_Joint >&
605 return time_.Mutable(index);
607 inline ::google::protobuf::RepeatedPtrField< ::gz::msgs::Time >*
614 return time_.Get(index);
620 inline const ::google::protobuf::RepeatedPtrField< ::gz::msgs::Time >&
627 #pragma GCC diagnostic pop
639 #endif // PROTOBUF_INCLUDED_gz_2fmsgs_2fjoint_5fanimation_2eproto