4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fworld_5fmodify_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fworld_5fmodify_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>
36 #pragma GCC system_header
39 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
42 #include <sys/sysmacros.h>
47 #include <google/protobuf/port_def.inc>
48 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fworld_5fmodify_2eproto IGNITION_MSGS_VISIBLE
49 PROTOBUF_NAMESPACE_OPEN
53 PROTOBUF_NAMESPACE_CLOSE
57 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
59 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
61 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
63 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
64 static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
65 static const uint32_t offsets[];
71 struct WorldModifyDefaultTypeInternal;
75 PROTOBUF_NAMESPACE_OPEN
76 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::WorldModify* Arena::CreateMaybeMessage<::ignition::msgs::WorldModify>(Arena*);
77 PROTOBUF_NAMESPACE_CLOSE
84 public ::PROTOBUF_NAMESPACE_ID::Message {
88 explicit constexpr
WorldModify(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
93 *
this = ::std::move(from);
101 if (
this == &from)
return *
this;
102 if (GetOwningArena() == from.GetOwningArena()
103 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
104 && GetOwningArena() !=
nullptr
114 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
115 return GetDescriptor();
118 return default_instance().GetMetadata().descriptor;
121 return default_instance().GetMetadata().reflection;
124 return *internal_default_instance();
130 static constexpr
int kIndexInFileMessages =
137 if (other ==
this)
return;
138 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
139 if (GetOwningArena() !=
nullptr &&
140 GetOwningArena() == other->GetOwningArena()) {
142 if (GetOwningArena() == other->GetOwningArena()) {
146 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
150 if (other ==
this)
return;
151 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
158 return CreateMaybeMessage<WorldModify>(arena);
160 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
162 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
165 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
167 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
168 bool IsInitialized() const final;
170 size_t ByteSizeLong() const final;
171 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
172 uint8_t* _InternalSerialize(
173 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
174 int GetCachedSize() const final {
return _cached_size_.Get(); }
179 void SetCachedSize(
int size)
const final;
183 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
184 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
185 return "ignition.msgs.WorldModify";
189 bool is_message_owned =
false);
191 static void ArenaDtor(
void*
object);
192 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
196 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
198 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
205 kWorldNameFieldNumber = 2,
206 kClonedUriFieldNumber = 6,
207 kHeaderFieldNumber = 1,
208 kRemoveFieldNumber = 3,
209 kCreateFieldNumber = 4,
210 kClonedFieldNumber = 5,
213 void clear_world_name();
215 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
218 PROTOBUF_NODISCARD
std::string* release_world_name();
219 void set_allocated_world_name(
std::string* world_name);
222 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_world_name(
const std::string& value);
227 void clear_cloned_uri();
229 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
232 PROTOBUF_NODISCARD
std::string* release_cloned_uri();
233 void set_allocated_cloned_uri(
std::string* cloned_uri);
236 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_cloned_uri(
const std::string& value);
241 bool has_header()
const;
243 bool _internal_has_header()
const;
246 const ::ignition::msgs::Header& header()
const;
247 PROTOBUF_NODISCARD ::ignition::msgs::Header* release_header();
251 const ::ignition::msgs::Header& _internal_header()
const;
254 void unsafe_arena_set_allocated_header(
261 void set_remove(
bool value);
263 bool _internal_remove()
const;
264 void _internal_set_remove(
bool value);
270 void set_create(
bool value);
272 bool _internal_create()
const;
273 void _internal_set_create(
bool value);
279 void set_cloned(
bool value);
281 bool _internal_cloned()
const;
282 void _internal_set_cloned(
bool value);
289 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
290 typedef void InternalArenaConstructable_;
291 typedef void DestructorSkippable_;
292 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr world_name_;
293 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr cloned_uri_;
298 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
299 friend struct ::TableStruct_ignition_2fmsgs_2fworld_5fmodify_2eproto;
307 #pragma GCC diagnostic push
308 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
313 inline bool WorldModify::_internal_has_header()
const {
314 return this != internal_default_instance() && header_ !=
nullptr;
317 return _internal_has_header();
319 inline const ::ignition::msgs::Header& WorldModify::_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* WorldModify::_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);
400 world_name_.ClearToEmpty();
404 return _internal_world_name();
406 template <
typename ArgT0,
typename... ArgT>
407 inline PROTOBUF_ALWAYS_INLINE
410 world_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
418 inline const std::string& WorldModify::_internal_world_name()
const {
419 return world_name_.Get();
421 inline void WorldModify::_internal_set_world_name(
const std::string& value) {
423 world_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
425 inline std::string* WorldModify::_internal_mutable_world_name() {
427 return world_name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
431 return world_name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
434 if (world_name !=
nullptr) {
439 world_name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), world_name,
440 GetArenaForAllocation());
441 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
442 if (world_name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
443 world_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
"", GetArenaForAllocation());
453 inline bool WorldModify::_internal_remove()
const {
458 return _internal_remove();
460 inline void WorldModify::_internal_set_remove(
bool value) {
465 _internal_set_remove(value);
473 inline bool WorldModify::_internal_create()
const {
478 return _internal_create();
480 inline void WorldModify::_internal_set_create(
bool value) {
485 _internal_set_create(value);
493 inline bool WorldModify::_internal_cloned()
const {
498 return _internal_cloned();
500 inline void WorldModify::_internal_set_cloned(
bool value) {
505 _internal_set_cloned(value);
511 cloned_uri_.ClearToEmpty();
515 return _internal_cloned_uri();
517 template <
typename ArgT0,
typename... ArgT>
518 inline PROTOBUF_ALWAYS_INLINE
521 cloned_uri_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
529 inline const std::string& WorldModify::_internal_cloned_uri()
const {
530 return cloned_uri_.Get();
532 inline void WorldModify::_internal_set_cloned_uri(
const std::string& value) {
534 cloned_uri_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
536 inline std::string* WorldModify::_internal_mutable_cloned_uri() {
538 return cloned_uri_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
542 return cloned_uri_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
545 if (cloned_uri !=
nullptr) {
550 cloned_uri_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), cloned_uri,
551 GetArenaForAllocation());
552 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
553 if (cloned_uri_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
554 cloned_uri_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
"", GetArenaForAllocation());
561 #pragma GCC diagnostic pop
578 #include <google/protobuf/port_undef.inc>
Definition: world_modify.pb.h:84
std::string * mutable_world_name()
Definition: world_modify.pb.h:413
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: world_modify.pb.h:120
void clear_world_name()
Definition: world_modify.pb.h:399
void set_remove(bool value)
Definition: world_modify.pb.h:464
PROTOBUF_NODISCARD std::string * release_world_name()
Definition: world_modify.pb.h:429
bool has_header() const
Definition: world_modify.pb.h:316
const std::string & world_name() const
Definition: world_modify.pb.h:402
WorldModify(const WorldModify &from)
::ignition::msgs::Header * mutable_header()
Definition: world_modify.pb.h:371
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
WorldModify(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: world_modify.pb.h:114
void clear_remove()
Definition: world_modify.pb.h:450
static const WorldModify & default_instance()
Definition: world_modify.pb.h:123
void set_cloned_uri(ArgT0 &&arg0, ArgT... args)
void set_allocated_cloned_uri(std::string *cloned_uri)
Definition: world_modify.pb.h:544
void set_create(bool value)
Definition: world_modify.pb.h:484
bool cloned() const
Definition: world_modify.pb.h:496
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
Definition: world_modify.pb.h:328
WorldModify()
Definition: world_modify.pb.h:86
void Swap(WorldModify *other)
Definition: world_modify.pb.h:136
WorldModify & operator=(WorldModify &&from) noexcept
Definition: world_modify.pb.h:100
void set_cloned(bool value)
Definition: world_modify.pb.h:504
void CopyFrom(const WorldModify &from)
PROTOBUF_NODISCARD std::string * release_cloned_uri()
Definition: world_modify.pb.h:540
WorldModify & operator=(const WorldModify &from)
Definition: world_modify.pb.h:96
void set_world_name(ArgT0 &&arg0, ArgT... args)
void set_allocated_world_name(std::string *world_name)
Definition: world_modify.pb.h:433
friend void swap(WorldModify &a, WorldModify &b)
Definition: world_modify.pb.h:133
void set_allocated_header(::ignition::msgs::Header *header)
Definition: world_modify.pb.h:376
WorldModify(WorldModify &&from) noexcept
Definition: world_modify.pb.h:91
PROTOBUF_NODISCARD ::ignition::msgs::Header * release_header()
Definition: world_modify.pb.h:341
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void clear_create()
Definition: world_modify.pb.h:470
void clear_cloned_uri()
Definition: world_modify.pb.h:510
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: world_modify.pb.h:117
const ::ignition::msgs::Header & header() const
Definition: world_modify.pb.h:324
constexpr WorldModify(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void UnsafeArenaSwap(WorldModify *other)
Definition: world_modify.pb.h:149
static const ClassData _class_data_
Definition: world_modify.pb.h:195
static const WorldModify * internal_default_instance()
Definition: world_modify.pb.h:126
::ignition::msgs::Header * unsafe_arena_release_header()
Definition: world_modify.pb.h:356
void clear_cloned()
Definition: world_modify.pb.h:490
WorldModify * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: world_modify.pb.h:157
const std::string & cloned_uri() const
Definition: world_modify.pb.h:513
bool remove() const
Definition: world_modify.pb.h:456
bool create() const
Definition: world_modify.pb.h:476
void MergeFrom(const WorldModify &from)
std::string * mutable_cloned_uri()
Definition: world_modify.pb.h:524
IGNITION_MSGS_VISIBLE WorldModifyDefaultTypeInternal _WorldModify_default_instance_
std::shared_ptr< const WorldModify > ConstWorldModifySharedPtr
Definition: world_modify.pb.h:567
std::unique_ptr< const WorldModify > ConstWorldModifyUniquePtr
Definition: world_modify.pb.h:565
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::unique_ptr< WorldModify > WorldModifyUniquePtr
Definition: world_modify.pb.h:564
std::shared_ptr< WorldModify > WorldModifySharedPtr
Definition: world_modify.pb.h:566
Definition: actor.pb.h:52
Definition: world_modify.pb.h:56
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_5fmodify_2eproto