4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fworld_5fcontrol_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fworld_5fcontrol_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_2fworld_5fcontrol_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 WorldControlDefaultTypeInternal;
76 PROTOBUF_NAMESPACE_OPEN
77 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::WorldControl* Arena::CreateMaybeMessage<::ignition::msgs::WorldControl>(Arena*);
78 PROTOBUF_NAMESPACE_CLOSE
85 public ::PROTOBUF_NAMESPACE_ID::Message {
89 explicit constexpr
WorldControl(::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<WorldControl>(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.WorldControl";
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 kHeaderFieldNumber = 1,
207 kResetFieldNumber = 5,
208 kPauseFieldNumber = 2,
209 kStepFieldNumber = 3,
210 kMultiStepFieldNumber = 4,
211 kSeedFieldNumber = 6,
214 bool has_header()
const;
216 bool _internal_has_header()
const;
219 const ::ignition::msgs::Header& header()
const;
220 PROTOBUF_NODISCARD ::ignition::msgs::Header* release_header();
224 const ::ignition::msgs::Header& _internal_header()
const;
227 void unsafe_arena_set_allocated_header(
232 bool has_reset()
const;
234 bool _internal_has_reset()
const;
237 const ::ignition::msgs::WorldReset& reset()
const;
238 PROTOBUF_NODISCARD ::ignition::msgs::WorldReset* release_reset();
242 const ::ignition::msgs::WorldReset& _internal_reset()
const;
245 void unsafe_arena_set_allocated_reset(
252 void set_pause(
bool value);
254 bool _internal_pause()
const;
255 void _internal_set_pause(
bool value);
261 void set_step(
bool value);
263 bool _internal_step()
const;
264 void _internal_set_step(
bool value);
268 void clear_multi_step();
269 uint32_t multi_step()
const;
270 void set_multi_step(uint32_t value);
272 uint32_t _internal_multi_step()
const;
273 void _internal_set_multi_step(uint32_t value);
278 uint32_t seed()
const;
279 void set_seed(uint32_t value);
281 uint32_t _internal_seed()
const;
282 void _internal_set_seed(uint32_t value);
289 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
290 typedef void InternalArenaConstructable_;
291 typedef void DestructorSkippable_;
296 uint32_t multi_step_;
298 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
299 friend struct ::TableStruct_ignition_2fmsgs_2fworld_5fcontrol_2eproto;
307 #pragma GCC diagnostic push
308 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
313 inline bool WorldControl::_internal_has_header()
const {
314 return this != internal_default_instance() && header_ !=
nullptr;
317 return _internal_has_header();
319 inline const ::ignition::msgs::Header& WorldControl::_internal_header()
const {
320 const ::ignition::msgs::Header* p = header_;
326 return _internal_header();
330 if (GetArenaForAllocation() ==
nullptr) {
331 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
345 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
346 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
347 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
348 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
350 if (GetArenaForAllocation() !=
nullptr) {
351 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
363 inline ::ignition::msgs::Header* WorldControl::_internal_mutable_header() {
365 if (header_ ==
nullptr) {
366 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaForAllocation());
377 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
378 if (message_arena ==
nullptr) {
379 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
382 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
383 ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
384 ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
385 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header));
386 if (message_arena != submessage_arena) {
387 header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
388 message_arena, header, submessage_arena);
402 inline bool WorldControl::_internal_pause()
const {
407 return _internal_pause();
409 inline void WorldControl::_internal_set_pause(
bool value) {
414 _internal_set_pause(value);
422 inline bool WorldControl::_internal_step()
const {
427 return _internal_step();
429 inline void WorldControl::_internal_set_step(
bool value) {
434 _internal_set_step(value);
442 inline uint32_t WorldControl::_internal_multi_step()
const {
447 return _internal_multi_step();
449 inline void WorldControl::_internal_set_multi_step(uint32_t value) {
454 _internal_set_multi_step(value);
459 inline bool WorldControl::_internal_has_reset()
const {
460 return this != internal_default_instance() && reset_ !=
nullptr;
463 return _internal_has_reset();
465 inline const ::ignition::msgs::WorldReset& WorldControl::_internal_reset()
const {
466 const ::ignition::msgs::WorldReset* p = reset_;
472 return _internal_reset();
476 if (GetArenaForAllocation() ==
nullptr) {
477 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(reset_);
491 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
492 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
493 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
494 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
496 if (GetArenaForAllocation() !=
nullptr) {
497 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
509 inline ::ignition::msgs::WorldReset* WorldControl::_internal_mutable_reset() {
511 if (reset_ ==
nullptr) {
512 auto* p = CreateMaybeMessage<::ignition::msgs::WorldReset>(GetArenaForAllocation());
523 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
524 if (message_arena ==
nullptr) {
525 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(reset_);
528 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
529 ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
530 ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
531 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(reset));
532 if (message_arena != submessage_arena) {
533 reset = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
534 message_arena, reset, submessage_arena);
548 inline uint32_t WorldControl::_internal_seed()
const {
553 return _internal_seed();
555 inline void WorldControl::_internal_set_seed(uint32_t value) {
560 _internal_set_seed(value);
565 #pragma GCC diagnostic pop
582 #include <google/protobuf/port_undef.inc>
Definition: world_control.pb.h:85
WorldControl(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: world_control.pb.h:121
WorldControl()
Definition: world_control.pb.h:87
bool has_header() const
Definition: world_control.pb.h:316
::ignition::msgs::Header * mutable_header()
Definition: world_control.pb.h:371
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
WorldControl(WorldControl &&from) noexcept
Definition: world_control.pb.h:92
uint32_t seed() const
Definition: world_control.pb.h:551
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: world_control.pb.h:115
WorldControl(const WorldControl &from)
::ignition::msgs::WorldReset * unsafe_arena_release_reset()
Definition: world_control.pb.h:502
WorldControl & operator=(WorldControl &&from) noexcept
Definition: world_control.pb.h:101
uint32_t multi_step() const
Definition: world_control.pb.h:445
void set_allocated_reset(::ignition::msgs::WorldReset *reset)
Definition: world_control.pb.h:522
constexpr WorldControl(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void set_seed(uint32_t value)
Definition: world_control.pb.h:559
bool step() const
Definition: world_control.pb.h:425
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
Definition: world_control.pb.h:328
void unsafe_arena_set_allocated_reset(::ignition::msgs::WorldReset *reset)
Definition: world_control.pb.h:474
void clear_step()
Definition: world_control.pb.h:419
bool pause() const
Definition: world_control.pb.h:405
friend void swap(WorldControl &a, WorldControl &b)
Definition: world_control.pb.h:134
void UnsafeArenaSwap(WorldControl *other)
Definition: world_control.pb.h:150
WorldControl * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: world_control.pb.h:158
const ::ignition::msgs::WorldReset & reset() const
Definition: world_control.pb.h:470
static const WorldControl & default_instance()
Definition: world_control.pb.h:124
PROTOBUF_NODISCARD ::ignition::msgs::WorldReset * release_reset()
Definition: world_control.pb.h:487
static const WorldControl * internal_default_instance()
Definition: world_control.pb.h:127
void set_pause(bool value)
Definition: world_control.pb.h:413
void set_allocated_header(::ignition::msgs::Header *header)
Definition: world_control.pb.h:376
void CopyFrom(const WorldControl &from)
void MergeFrom(const WorldControl &from)
PROTOBUF_NODISCARD ::ignition::msgs::Header * release_header()
Definition: world_control.pb.h:341
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void clear_multi_step()
Definition: world_control.pb.h:439
::ignition::msgs::WorldReset * mutable_reset()
Definition: world_control.pb.h:517
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: world_control.pb.h:118
void clear_pause()
Definition: world_control.pb.h:399
bool has_reset() const
Definition: world_control.pb.h:462
void set_step(bool value)
Definition: world_control.pb.h:433
const ::ignition::msgs::Header & header() const
Definition: world_control.pb.h:324
static const ClassData _class_data_
Definition: world_control.pb.h:196
::ignition::msgs::Header * unsafe_arena_release_header()
Definition: world_control.pb.h:356
WorldControl & operator=(const WorldControl &from)
Definition: world_control.pb.h:97
void set_multi_step(uint32_t value)
Definition: world_control.pb.h:453
void Swap(WorldControl *other)
Definition: world_control.pb.h:137
void clear_seed()
Definition: world_control.pb.h:545
Definition: world_reset.pb.h:84
std::unique_ptr< WorldControl > WorldControlUniquePtr
Definition: world_control.pb.h:568
std::shared_ptr< WorldControl > WorldControlSharedPtr
Definition: world_control.pb.h:570
IGNITION_MSGS_VISIBLE WorldControlDefaultTypeInternal _WorldControl_default_instance_
IGNITION_MSGS_VISIBLE WorldResetDefaultTypeInternal _WorldReset_default_instance_
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::unique_ptr< const WorldControl > ConstWorldControlUniquePtr
Definition: world_control.pb.h:569
std::shared_ptr< const WorldControl > ConstWorldControlSharedPtr
Definition: world_control.pb.h:571
Definition: actor.pb.h:52
Definition: world_control.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)
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fworld_5fcontrol_2eproto