4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fuser_5fcmd_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fuser_5fcmd_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/generated_enum_reflection.h>
34 #include <google/protobuf/unknown_field_set.h>
41 #pragma GCC system_header
44 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
47 #include <sys/sysmacros.h>
52 #include <google/protobuf/port_def.inc>
53 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fuser_5fcmd_2eproto IGNITION_MSGS_VISIBLE
54 PROTOBUF_NAMESPACE_OPEN
58 PROTOBUF_NAMESPACE_CLOSE
62 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
64 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
66 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
68 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
69 static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
70 static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
76 class UserCmdDefaultTypeInternal;
80 PROTOBUF_NAMESPACE_OPEN
81 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::UserCmd* Arena::CreateMaybeMessage<::ignition::msgs::UserCmd>(Arena*);
82 PROTOBUF_NAMESPACE_CLOSE
104 "Incorrect type passed to function UserCmd_Type_Name.");
105 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
109 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
UserCmd_Type* value) {
110 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<UserCmd_Type>(
115 class IGNITION_MSGS_VISIBLE UserCmd PROTOBUF_FINAL :
116 public ::PROTOBUF_NAMESPACE_ID::Message {
124 *
this = ::std::move(from);
132 if (GetArena() == from.GetArena()) {
133 if (
this != &from) InternalSwap(&from);
140 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
141 return GetDescriptor();
144 return GetMetadataStatic().descriptor;
147 return GetMetadataStatic().reflection;
152 return reinterpret_cast<const UserCmd*
>(
155 static constexpr
int kIndexInFileMessages =
158 friend void swap(UserCmd& a, UserCmd& b) {
161 inline void Swap(UserCmd* other) {
162 if (other ==
this)
return;
163 if (GetArena() == other->GetArena()) {
166 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
170 if (other ==
this)
return;
171 GOOGLE_DCHECK(GetArena() == other->GetArena());
177 inline UserCmd*
New() const final {
178 return CreateMaybeMessage<UserCmd>(
nullptr);
181 UserCmd*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
182 return CreateMaybeMessage<UserCmd>(arena);
184 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
185 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
188 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
189 bool IsInitialized() const final;
191 size_t ByteSizeLong() const final;
192 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
193 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
194 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
195 int GetCachedSize() const final {
return _cached_size_.Get(); }
198 inline void SharedCtor();
199 inline void SharedDtor();
200 void SetCachedSize(
int size)
const final;
201 void InternalSwap(UserCmd* other);
202 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
203 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
204 return "ignition.msgs.UserCmd";
207 explicit UserCmd(::PROTOBUF_NAMESPACE_ID::Arena* arena);
209 static void ArenaDtor(
void*
object);
210 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
215 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
227 static constexpr
Type WORLD_CONTROL =
231 static constexpr
Type SCALING =
236 static constexpr Type Type_MIN =
238 static constexpr Type Type_MAX =
240 static constexpr
int Type_ARRAYSIZE =
242 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
250 "Incorrect type passed to function Type_Name.");
253 static inline bool Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
261 kModelFieldNumber = 5,
262 kLightFieldNumber = 6,
263 kDescriptionFieldNumber = 3,
264 kEntityNameFieldNumber = 7,
265 kHeaderFieldNumber = 1,
266 kWorldControlFieldNumber = 8,
267 kWrenchFieldNumber = 9,
269 kTypeFieldNumber = 4,
274 int _internal_model_size()
const;
278 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Model >*
281 const ::ignition::msgs::Model& _internal_model(
int index)
const;
282 ::ignition::msgs::Model* _internal_add_model();
284 const ::ignition::msgs::Model&
model(
int index)
const;
286 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Model >&
292 int _internal_light_size()
const;
296 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Light >*
299 const ::ignition::msgs::Light& _internal_light(
int index)
const;
300 ::ignition::msgs::Light* _internal_add_light();
302 const ::ignition::msgs::Light&
light(
int index)
const;
304 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Light >&
319 void _internal_set_description(
const std::string& value);
335 void _internal_set_entity_name(
const std::string& value);
342 bool _internal_has_header()
const;
345 const ::ignition::msgs::Header&
header()
const;
350 const ::ignition::msgs::Header& _internal_header()
const;
351 ::ignition::msgs::Header* _internal_mutable_header();
354 ::ignition::msgs::Header* header);
360 bool _internal_has_world_control()
const;
368 const ::ignition::msgs::WorldControl& _internal_world_control()
const;
369 ::ignition::msgs::WorldControl* _internal_mutable_world_control();
372 ::ignition::msgs::WorldControl* world_control);
378 bool _internal_has_wrench()
const;
381 const ::ignition::msgs::Wrench&
wrench()
const;
386 const ::ignition::msgs::Wrench& _internal_wrench()
const;
387 ::ignition::msgs::Wrench* _internal_mutable_wrench();
390 ::ignition::msgs::Wrench* wrench);
395 ::PROTOBUF_NAMESPACE_ID::uint32
id()
const;
396 void set_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
398 ::PROTOBUF_NAMESPACE_ID::uint32 _internal_id()
const;
399 void _internal_set_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
415 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
416 typedef void InternalArenaConstructable_;
417 typedef void DestructorSkippable_;
418 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Model > model_;
419 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Light > light_;
420 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr description_;
421 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr entity_name_;
422 ::ignition::msgs::Header* header_;
423 ::ignition::msgs::WorldControl* world_control_;
424 ::ignition::msgs::Wrench* wrench_;
425 ::PROTOBUF_NAMESPACE_ID::uint32 id_;
427 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
428 friend struct ::TableStruct_ignition_2fmsgs_2fuser_5fcmd_2eproto;
436 #pragma GCC diagnostic push
437 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
442 inline bool UserCmd::_internal_has_header()
const {
443 return this != internal_default_instance() && header_ !=
nullptr;
445 inline bool UserCmd::has_header()
const {
446 return _internal_has_header();
448 inline const ::ignition::msgs::Header& UserCmd::_internal_header()
const {
449 const ::ignition::msgs::Header* p = header_;
450 return p !=
nullptr ? *p :
reinterpret_cast<const ::ignition::msgs::Header&
>(
453 inline const ::ignition::msgs::Header& UserCmd::header()
const {
455 return _internal_header();
457 inline void UserCmd::unsafe_arena_set_allocated_header(
458 ::ignition::msgs::Header* header) {
459 if (GetArena() ==
nullptr) {
460 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
470 inline ::ignition::msgs::Header* UserCmd::release_header() {
472 ::ignition::msgs::Header* temp = header_;
474 if (GetArena() !=
nullptr) {
475 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
479 inline ::ignition::msgs::Header* UserCmd::unsafe_arena_release_header() {
482 ::ignition::msgs::Header* temp = header_;
486 inline ::ignition::msgs::Header* UserCmd::_internal_mutable_header() {
488 if (header_ ==
nullptr) {
489 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
494 inline ::ignition::msgs::Header* UserCmd::mutable_header() {
496 return _internal_mutable_header();
498 inline void UserCmd::set_allocated_header(::ignition::msgs::Header* header) {
499 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
500 if (message_arena ==
nullptr) {
501 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
504 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
505 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header)->GetArena();
506 if (message_arena != submessage_arena) {
507 header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
508 message_arena, header, submessage_arena);
519 inline void UserCmd::clear_id() {
522 inline ::PROTOBUF_NAMESPACE_ID::uint32 UserCmd::_internal_id()
const {
525 inline ::PROTOBUF_NAMESPACE_ID::uint32 UserCmd::id()
const {
527 return _internal_id();
529 inline void UserCmd::_internal_set_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
533 inline void UserCmd::set_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
534 _internal_set_id(value);
539 inline void UserCmd::clear_description() {
540 description_.ClearToEmpty();
542 inline const std::string& UserCmd::description()
const {
544 return _internal_description();
546 inline void UserCmd::set_description(
const std::string& value) {
547 _internal_set_description(value);
550 inline std::string* UserCmd::mutable_description() {
552 return _internal_mutable_description();
554 inline const std::string& UserCmd::_internal_description()
const {
555 return description_.Get();
557 inline void UserCmd::_internal_set_description(
const std::string& value) {
559 description_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
561 inline void UserCmd::set_description(
std::string&& value) {
564 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
567 inline void UserCmd::set_description(
const char* value) {
568 GOOGLE_DCHECK(value !=
nullptr);
570 description_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(value), GetArena());
573 inline void UserCmd::set_description(
const char* value,
576 description_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(
577 reinterpret_cast<const char*
>(value), size), GetArena());
580 inline std::string* UserCmd::_internal_mutable_description() {
582 return description_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
584 inline std::string* UserCmd::release_description() {
586 return description_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
588 inline void UserCmd::set_allocated_description(
std::string* description) {
589 if (description !=
nullptr) {
594 description_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), description,
600 inline void UserCmd::clear_type() {
608 return _internal_type();
615 _internal_set_type(value);
620 inline int UserCmd::_internal_model_size()
const {
621 return model_.size();
623 inline int UserCmd::model_size()
const {
624 return _internal_model_size();
626 inline ::ignition::msgs::Model* UserCmd::mutable_model(
int index) {
628 return model_.Mutable(index);
630 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Model >*
631 UserCmd::mutable_model() {
635 inline const ::ignition::msgs::Model& UserCmd::_internal_model(
int index)
const {
636 return model_.Get(index);
638 inline const ::ignition::msgs::Model& UserCmd::model(
int index)
const {
640 return _internal_model(index);
642 inline ::ignition::msgs::Model* UserCmd::_internal_add_model() {
645 inline ::ignition::msgs::Model* UserCmd::add_model() {
647 return _internal_add_model();
649 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Model >&
650 UserCmd::model()
const {
656 inline int UserCmd::_internal_light_size()
const {
657 return light_.size();
659 inline int UserCmd::light_size()
const {
660 return _internal_light_size();
662 inline ::ignition::msgs::Light* UserCmd::mutable_light(
int index) {
664 return light_.Mutable(index);
666 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Light >*
667 UserCmd::mutable_light() {
671 inline const ::ignition::msgs::Light& UserCmd::_internal_light(
int index)
const {
672 return light_.Get(index);
674 inline const ::ignition::msgs::Light& UserCmd::light(
int index)
const {
676 return _internal_light(index);
678 inline ::ignition::msgs::Light* UserCmd::_internal_add_light() {
681 inline ::ignition::msgs::Light* UserCmd::add_light() {
683 return _internal_add_light();
685 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Light >&
686 UserCmd::light()
const {
692 inline void UserCmd::clear_entity_name() {
693 entity_name_.ClearToEmpty();
695 inline const std::string& UserCmd::entity_name()
const {
697 return _internal_entity_name();
699 inline void UserCmd::set_entity_name(
const std::string& value) {
700 _internal_set_entity_name(value);
703 inline std::string* UserCmd::mutable_entity_name() {
705 return _internal_mutable_entity_name();
707 inline const std::string& UserCmd::_internal_entity_name()
const {
708 return entity_name_.Get();
710 inline void UserCmd::_internal_set_entity_name(
const std::string& value) {
712 entity_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
714 inline void UserCmd::set_entity_name(
std::string&& value) {
717 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
720 inline void UserCmd::set_entity_name(
const char* value) {
721 GOOGLE_DCHECK(value !=
nullptr);
723 entity_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(value), GetArena());
726 inline void UserCmd::set_entity_name(
const char* value,
729 entity_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(
730 reinterpret_cast<const char*
>(value), size), GetArena());
733 inline std::string* UserCmd::_internal_mutable_entity_name() {
735 return entity_name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
737 inline std::string* UserCmd::release_entity_name() {
739 return entity_name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
741 inline void UserCmd::set_allocated_entity_name(
std::string* entity_name) {
742 if (entity_name !=
nullptr) {
747 entity_name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), entity_name,
753 inline bool UserCmd::_internal_has_world_control()
const {
754 return this != internal_default_instance() && world_control_ !=
nullptr;
756 inline bool UserCmd::has_world_control()
const {
757 return _internal_has_world_control();
759 inline const ::ignition::msgs::WorldControl& UserCmd::_internal_world_control()
const {
760 const ::ignition::msgs::WorldControl* p = world_control_;
761 return p !=
nullptr ? *p :
reinterpret_cast<const ::ignition::msgs::WorldControl&
>(
764 inline const ::ignition::msgs::WorldControl& UserCmd::world_control()
const {
766 return _internal_world_control();
768 inline void UserCmd::unsafe_arena_set_allocated_world_control(
769 ::ignition::msgs::WorldControl* world_control) {
770 if (GetArena() ==
nullptr) {
771 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(world_control_);
773 world_control_ = world_control;
781 inline ::ignition::msgs::WorldControl* UserCmd::release_world_control() {
783 ::ignition::msgs::WorldControl* temp = world_control_;
784 world_control_ =
nullptr;
785 if (GetArena() !=
nullptr) {
786 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
790 inline ::ignition::msgs::WorldControl* UserCmd::unsafe_arena_release_world_control() {
793 ::ignition::msgs::WorldControl* temp = world_control_;
794 world_control_ =
nullptr;
797 inline ::ignition::msgs::WorldControl* UserCmd::_internal_mutable_world_control() {
799 if (world_control_ ==
nullptr) {
800 auto* p = CreateMaybeMessage<::ignition::msgs::WorldControl>(GetArena());
803 return world_control_;
805 inline ::ignition::msgs::WorldControl* UserCmd::mutable_world_control() {
807 return _internal_mutable_world_control();
809 inline void UserCmd::set_allocated_world_control(::ignition::msgs::WorldControl* world_control) {
810 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
811 if (message_arena ==
nullptr) {
812 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(world_control_);
815 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
816 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(world_control)->GetArena();
817 if (message_arena != submessage_arena) {
818 world_control = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
819 message_arena, world_control, submessage_arena);
825 world_control_ = world_control;
830 inline bool UserCmd::_internal_has_wrench()
const {
831 return this != internal_default_instance() && wrench_ !=
nullptr;
833 inline bool UserCmd::has_wrench()
const {
834 return _internal_has_wrench();
836 inline const ::ignition::msgs::Wrench& UserCmd::_internal_wrench()
const {
837 const ::ignition::msgs::Wrench* p = wrench_;
838 return p !=
nullptr ? *p :
reinterpret_cast<const ::ignition::msgs::Wrench&
>(
841 inline const ::ignition::msgs::Wrench& UserCmd::wrench()
const {
843 return _internal_wrench();
845 inline void UserCmd::unsafe_arena_set_allocated_wrench(
846 ::ignition::msgs::Wrench* wrench) {
847 if (GetArena() ==
nullptr) {
848 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(wrench_);
858 inline ::ignition::msgs::Wrench* UserCmd::release_wrench() {
860 ::ignition::msgs::Wrench* temp = wrench_;
862 if (GetArena() !=
nullptr) {
863 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
867 inline ::ignition::msgs::Wrench* UserCmd::unsafe_arena_release_wrench() {
870 ::ignition::msgs::Wrench* temp = wrench_;
874 inline ::ignition::msgs::Wrench* UserCmd::_internal_mutable_wrench() {
876 if (wrench_ ==
nullptr) {
877 auto* p = CreateMaybeMessage<::ignition::msgs::Wrench>(GetArena());
882 inline ::ignition::msgs::Wrench* UserCmd::mutable_wrench() {
884 return _internal_mutable_wrench();
886 inline void UserCmd::set_allocated_wrench(::ignition::msgs::Wrench* wrench) {
887 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
888 if (message_arena ==
nullptr) {
889 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(wrench_);
892 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
893 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(wrench)->GetArena();
894 if (message_arena != submessage_arena) {
895 wrench = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
896 message_arena, wrench, submessage_arena);
907 #pragma GCC diagnostic pop
919 PROTOBUF_NAMESPACE_OPEN
923 inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::UserCmd_Type>() {
927 PROTOBUF_NAMESPACE_CLOSE
934 #include <google/protobuf/port_undef.inc>
UserCmd & operator=(UserCmd &&from) noexcept
Definition: user_cmd.pb.h:131
const ::ignition::msgs::Model & model(int index) const
void set_entity_name(std::string &&value)
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Model > & model() const
::ignition::msgs::Model * add_model()
void set_description(const std::string &value)
void set_allocated_world_control(::ignition::msgs::WorldControl *world_control)
void set_type(::ignition::msgs::UserCmd_Type value)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: user_cmd.pb.h:146
static const std::string & Type_Name(T enum_t_value)
Definition: user_cmd.pb.h:247
void set_allocated_entity_name(std::string *entity_name)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::ignition::msgs::Header * release_header()
void set_description(const char *value, size_t size)
::ignition::msgs::Header * mutable_header()
void set_entity_name(const char *value, size_t size)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: user_cmd.pb.h:140
void unsafe_arena_set_allocated_wrench(::ignition::msgs::Wrench *wrench)
void set_id(::PROTOBUF_NAMESPACE_ID::uint32 value)
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Type_descriptor()
Definition: user_cmd.pb.h:243
::ignition::msgs::Model * mutable_model(int index)
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
std::string * release_entity_name()
void set_entity_name(const std::string &value)
void MergeFrom(const UserCmd &from)
UserCmd()
Definition: user_cmd.pb.h:118
static bool Type_IsValid(int value)
Definition: user_cmd.pb.h:233
::ignition::msgs::Wrench * unsafe_arena_release_wrench()
void unsafe_arena_set_allocated_world_control(::ignition::msgs::WorldControl *world_control)
void clear_world_control()
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
void set_entity_name(const char *value)
const std::string & description() const
void UnsafeArenaSwap(UserCmd *other)
Definition: user_cmd.pb.h:169
bool has_world_control() const
::ignition::msgs::Header * unsafe_arena_release_header()
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
UserCmd(const UserCmd &from)
std::string * release_description()
::ignition::msgs::Light * mutable_light(int index)
std::string * mutable_entity_name()
::ignition::msgs::Light * add_light()
::ignition::msgs::WorldControl * release_world_control()
void set_description(std::string &&value)
static const UserCmd * internal_default_instance()
Definition: user_cmd.pb.h:151
UserCmd & operator=(const UserCmd &from)
Definition: user_cmd.pb.h:127
const ::ignition::msgs::WorldControl & world_control() const
static bool Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Type *value)
Definition: user_cmd.pb.h:253
void set_allocated_header(::ignition::msgs::Header *header)
UserCmd(UserCmd &&from) noexcept
Definition: user_cmd.pb.h:122
static const UserCmd & default_instance()
const ::ignition::msgs::Wrench & wrench() const
UserCmd_Type Type
Definition: user_cmd.pb.h:224
void set_allocated_wrench(::ignition::msgs::Wrench *wrench)
void Swap(UserCmd *other)
Definition: user_cmd.pb.h:161
::ignition::msgs::WorldControl * mutable_world_control()
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Light > * mutable_light()
::ignition::msgs::Wrench * release_wrench()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
UserCmd * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: user_cmd.pb.h:181
::PROTOBUF_NAMESPACE_ID::uint32 id() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: user_cmd.pb.h:143
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Model > * mutable_model()
void CopyFrom(const UserCmd &from)
void set_description(const char *value)
const ::ignition::msgs::Light & light(int index) const
std::string * mutable_description()
::ignition::msgs::Wrench * mutable_wrench()
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Light > & light() const
::ignition::msgs::WorldControl * unsafe_arena_release_world_control()
UserCmd(::PROTOBUF_NAMESPACE_ID::Arena *arena)
UserCmd * New() const final
Definition: user_cmd.pb.h:177
void set_allocated_description(std::string *description)
friend void swap(UserCmd &a, UserCmd &b)
Definition: user_cmd.pb.h:158
const ::ignition::msgs::Header & header() const
const std::string & entity_name() const
::ignition::msgs::UserCmd_Type type() const
std::unique_ptr< const UserCmd > ConstUserCmdUniquePtr
Definition: user_cmd.pb.h:911
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * UserCmd_Type_descriptor()
IGNITION_MSGS_VISIBLE WorldControlDefaultTypeInternal _WorldControl_default_instance_
constexpr int UserCmd_Type_Type_ARRAYSIZE
Definition: user_cmd.pb.h:97
const std::string & UserCmd_Type_Name(T enum_t_value)
Definition: user_cmd.pb.h:101
bool UserCmd_Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, UserCmd_Type *value)
Definition: user_cmd.pb.h:108
std::unique_ptr< UserCmd > UserCmdUniquePtr
Definition: user_cmd.pb.h:910
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
constexpr UserCmd_Type UserCmd_Type_Type_MAX
Definition: user_cmd.pb.h:96
IGNITION_MSGS_VISIBLE UserCmdDefaultTypeInternal _UserCmd_default_instance_
IGNITION_MSGS_VISIBLE bool UserCmd_Type_IsValid(int value)
std::shared_ptr< const UserCmd > ConstUserCmdSharedPtr
Definition: user_cmd.pb.h:913
UserCmd_Type
Definition: user_cmd.pb.h:86
@ UserCmd_Type_WORLD_CONTROL
Definition: user_cmd.pb.h:88
@ UserCmd_Type_WRENCH
Definition: user_cmd.pb.h:89
@ UserCmd_Type_MOVING
Definition: user_cmd.pb.h:87
@ UserCmd_Type_SCALING
Definition: user_cmd.pb.h:90
@ UserCmd_Type_UserCmd_Type_INT_MAX_SENTINEL_DO_NOT_USE_
Definition: user_cmd.pb.h:92
@ UserCmd_Type_UserCmd_Type_INT_MIN_SENTINEL_DO_NOT_USE_
Definition: user_cmd.pb.h:91
Atmosphere_Type
Definition: atmosphere.pb.h:82
std::shared_ptr< UserCmd > UserCmdSharedPtr
Definition: user_cmd.pb.h:912
IGNITION_MSGS_VISIBLE WrenchDefaultTypeInternal _Wrench_default_instance_
constexpr UserCmd_Type UserCmd_Type_Type_MIN
Definition: user_cmd.pb.h:95
Definition: actor.pb.h:52
Definition: user_cmd.pb.h:61
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)
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fuser_5fcmd_2eproto