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 < 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>
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_5fmodify_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::AuxillaryParseTableField 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 ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
72 class WorldModifyDefaultTypeInternal;
76 PROTOBUF_NAMESPACE_OPEN
77 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::WorldModify* Arena::CreateMaybeMessage<::ignition::msgs::WorldModify>(Arena*);
78 PROTOBUF_NAMESPACE_CLOSE
84 class IGNITION_MSGS_VISIBLE WorldModify PROTOBUF_FINAL :
85 public ::PROTOBUF_NAMESPACE_ID::Message {
93 *
this = ::std::move(from);
96 inline WorldModify&
operator=(
const WorldModify& from) {
100 inline WorldModify&
operator=(WorldModify&& from) noexcept {
101 if (GetArena() == from.GetArena()) {
102 if (
this != &from) InternalSwap(&from);
109 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
110 return GetDescriptor();
113 return GetMetadataStatic().descriptor;
116 return GetMetadataStatic().reflection;
122 return reinterpret_cast<const WorldModify*
>(
125 static constexpr
int kIndexInFileMessages =
128 friend void swap(WorldModify& a, WorldModify& b) {
131 inline void Swap(WorldModify* other) {
132 if (other ==
this)
return;
133 if (GetArena() == other->GetArena()) {
136 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
140 if (other ==
this)
return;
141 GOOGLE_DCHECK(GetArena() == other->GetArena());
147 inline WorldModify*
New() const final {
148 return CreateMaybeMessage<WorldModify>(
nullptr);
151 WorldModify*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
152 return CreateMaybeMessage<WorldModify>(arena);
154 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
155 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
158 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
159 bool IsInitialized() const final;
161 size_t ByteSizeLong() const final;
162 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
163 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
164 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
165 int GetCachedSize() const final {
return _cached_size_.Get(); }
168 inline void SharedCtor();
169 inline void SharedDtor();
170 void SetCachedSize(
int size)
const final;
171 void InternalSwap(WorldModify* other);
172 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
173 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
174 return "ignition.msgs.WorldModify";
179 static void ArenaDtor(
void*
object);
180 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
185 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
197 kWorldNameFieldNumber = 2,
198 kClonedUriFieldNumber = 6,
199 kHeaderFieldNumber = 1,
200 kRemoveFieldNumber = 3,
201 kCreateFieldNumber = 4,
202 kClonedFieldNumber = 5,
214 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED(
"The unsafe_arena_ accessors for"
215 " string fields are deprecated and will be removed in a"
217 std::
string* unsafe_arena_release_world_name();
218 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
219 "
string fields are deprecated and will be removed in a"
221 void unsafe_arena_set_allocated_world_name(
222 std::
string* world_name);
224 const
std::
string& _internal_world_name() const;
225 void _internal_set_world_name(const
std::
string& value);
226 std::
string* _internal_mutable_world_name();
230 void clear_cloned_uri();
231 const
std::
string& cloned_uri() const;
232 void set_cloned_uri(const
std::
string& value);
233 void set_cloned_uri(
std::
string&& value);
234 void set_cloned_uri(const
char* value);
235 void set_cloned_uri(const
char* value,
size_t size);
236 std::
string* mutable_cloned_uri();
237 std::
string* release_cloned_uri();
238 void set_allocated_cloned_uri(
std::
string* cloned_uri);
239 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
240 "
string fields are deprecated and will be removed in a"
242 std::
string* unsafe_arena_release_cloned_uri();
243 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
244 "
string fields are deprecated and will be removed in a"
246 void unsafe_arena_set_allocated_cloned_uri(
247 std::
string* cloned_uri);
249 const
std::
string& _internal_cloned_uri() const;
250 void _internal_set_cloned_uri(const
std::
string& value);
251 std::
string* _internal_mutable_cloned_uri();
255 bool has_header() const;
257 bool _internal_has_header() const;
263 void set_allocated_header(::
ignition::msgs::Header* header);
265 const ::
ignition::msgs::Header& _internal_header() const;
266 ::
ignition::msgs::Header* _internal_mutable_header();
268 void unsafe_arena_set_allocated_header(
270 ::
ignition::msgs::Header* unsafe_arena_release_header();
275 void set_remove(
bool value);
277 bool _internal_remove() const;
278 void _internal_set_remove(
bool value);
284 void set_create(
bool value);
286 bool _internal_create() const;
287 void _internal_set_create(
bool value);
293 void set_cloned(
bool value);
295 bool _internal_cloned() const;
296 void _internal_set_cloned(
bool value);
303 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
304 typedef
void InternalArenaConstructable_;
305 typedef
void DestructorSkippable_;
306 ::PROTOBUF_NAMESPACE_ID::
internal::ArenaStringPtr world_name_;
307 ::PROTOBUF_NAMESPACE_ID::
internal::ArenaStringPtr cloned_uri_;
312 mutable ::PROTOBUF_NAMESPACE_ID::
internal::CachedSize _cached_size_;
321 #pragma GCC diagnostic push
322 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
327 inline bool WorldModify::_internal_has_header()
const {
328 return this != internal_default_instance() && header_ !=
nullptr;
330 inline bool WorldModify::has_header()
const {
331 return _internal_has_header();
333 inline const ::ignition::msgs::Header& WorldModify::_internal_header()
const {
334 const ::ignition::msgs::Header* p = header_;
335 return p !=
nullptr ? *p : *
reinterpret_cast<const ::ignition::msgs::Header*
>(
338 inline const ::ignition::msgs::Header& WorldModify::header()
const {
340 return _internal_header();
342 inline void WorldModify::unsafe_arena_set_allocated_header(
343 ::ignition::msgs::Header* header) {
344 if (GetArena() ==
nullptr) {
345 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
355 inline ::ignition::msgs::Header* WorldModify::release_header() {
356 auto temp = unsafe_arena_release_header();
357 if (GetArena() !=
nullptr) {
358 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
362 inline ::ignition::msgs::Header* WorldModify::unsafe_arena_release_header() {
365 ::ignition::msgs::Header* temp = header_;
369 inline ::ignition::msgs::Header* WorldModify::_internal_mutable_header() {
371 if (header_ ==
nullptr) {
372 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
377 inline ::ignition::msgs::Header* WorldModify::mutable_header() {
379 return _internal_mutable_header();
381 inline void WorldModify::set_allocated_header(::ignition::msgs::Header* header) {
382 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
383 if (message_arena ==
nullptr) {
384 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
387 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
388 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header)->GetArena();
389 if (message_arena != submessage_arena) {
390 header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
391 message_arena, header, submessage_arena);
402 inline void WorldModify::clear_world_name() {
403 world_name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
405 inline const std::string& WorldModify::world_name()
const {
407 return _internal_world_name();
409 inline void WorldModify::set_world_name(
const std::string& value) {
410 _internal_set_world_name(value);
413 inline std::string* WorldModify::mutable_world_name() {
415 return _internal_mutable_world_name();
417 inline const std::string& WorldModify::_internal_world_name()
const {
418 return world_name_.Get();
420 inline void WorldModify::_internal_set_world_name(
const std::string& value) {
422 world_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
424 inline void WorldModify::set_world_name(
std::string&& value) {
427 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::
std::move(value), GetArena());
430 inline void WorldModify::set_world_name(
const char* value) {
431 GOOGLE_DCHECK(value !=
nullptr);
433 world_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::
std::string(value),
437 inline void WorldModify::set_world_name(
const char* value,
440 world_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::
std::string(
441 reinterpret_cast<const char*
>(value), size), GetArena());
444 inline std::string* WorldModify::_internal_mutable_world_name() {
446 return world_name_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
448 inline std::string* WorldModify::release_world_name() {
450 return world_name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
452 inline void WorldModify::set_allocated_world_name(
std::string* world_name) {
453 if (world_name !=
nullptr) {
458 world_name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), world_name,
462 inline std::string* WorldModify::unsafe_arena_release_world_name() {
464 GOOGLE_DCHECK(GetArena() !=
nullptr);
466 return world_name_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
469 inline void WorldModify::unsafe_arena_set_allocated_world_name(
471 GOOGLE_DCHECK(GetArena() !=
nullptr);
472 if (world_name !=
nullptr) {
477 world_name_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
478 world_name, GetArena());
483 inline void WorldModify::clear_remove() {
486 inline bool WorldModify::_internal_remove()
const {
489 inline bool WorldModify::remove()
const {
491 return _internal_remove();
493 inline void WorldModify::_internal_set_remove(
bool value) {
497 inline void WorldModify::set_remove(
bool value) {
498 _internal_set_remove(value);
503 inline void WorldModify::clear_create() {
506 inline bool WorldModify::_internal_create()
const {
509 inline bool WorldModify::create()
const {
511 return _internal_create();
513 inline void WorldModify::_internal_set_create(
bool value) {
517 inline void WorldModify::set_create(
bool value) {
518 _internal_set_create(value);
523 inline void WorldModify::clear_cloned() {
526 inline bool WorldModify::_internal_cloned()
const {
529 inline bool WorldModify::cloned()
const {
531 return _internal_cloned();
533 inline void WorldModify::_internal_set_cloned(
bool value) {
537 inline void WorldModify::set_cloned(
bool value) {
538 _internal_set_cloned(value);
543 inline void WorldModify::clear_cloned_uri() {
544 cloned_uri_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
546 inline const std::string& WorldModify::cloned_uri()
const {
548 return _internal_cloned_uri();
550 inline void WorldModify::set_cloned_uri(
const std::string& value) {
551 _internal_set_cloned_uri(value);
554 inline std::string* WorldModify::mutable_cloned_uri() {
556 return _internal_mutable_cloned_uri();
558 inline const std::string& WorldModify::_internal_cloned_uri()
const {
559 return cloned_uri_.Get();
561 inline void WorldModify::_internal_set_cloned_uri(
const std::string& value) {
563 cloned_uri_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
565 inline void WorldModify::set_cloned_uri(
std::string&& value) {
568 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::
std::move(value), GetArena());
571 inline void WorldModify::set_cloned_uri(
const char* value) {
572 GOOGLE_DCHECK(value !=
nullptr);
574 cloned_uri_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::
std::string(value),
578 inline void WorldModify::set_cloned_uri(
const char* value,
581 cloned_uri_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::
std::string(
582 reinterpret_cast<const char*
>(value), size), GetArena());
585 inline std::string* WorldModify::_internal_mutable_cloned_uri() {
587 return cloned_uri_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
589 inline std::string* WorldModify::release_cloned_uri() {
591 return cloned_uri_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
593 inline void WorldModify::set_allocated_cloned_uri(
std::string* cloned_uri) {
594 if (cloned_uri !=
nullptr) {
599 cloned_uri_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), cloned_uri,
603 inline std::string* WorldModify::unsafe_arena_release_cloned_uri() {
605 GOOGLE_DCHECK(GetArena() !=
nullptr);
607 return cloned_uri_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
610 inline void WorldModify::unsafe_arena_set_allocated_cloned_uri(
612 GOOGLE_DCHECK(GetArena() !=
nullptr);
613 if (cloned_uri !=
nullptr) {
618 cloned_uri_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
619 cloned_uri, GetArena());
624 #pragma GCC diagnostic pop
641 #include <google/protobuf/port_undef.inc>
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fworld_5fmodify_2eproto
static void InitAsDefaultInstance()
WorldModify * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/world_modify.pb.h:147
void set_world_name(const char *value, size_t size)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: build/ignition-msgs8/include/ignition/msgs/world_modify.pb.h:115
WorldModify(const WorldModify &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/world_modify.pb.h:109
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
static const WorldModify & default_instance()
WorldModify()
Definition: build/ignition-msgs8/include/ignition/msgs/world_modify.pb.h:87
void Swap(WorldModify *other)
Definition: build/ignition-msgs8/include/ignition/msgs/world_modify.pb.h:131
std::string * mutable_world_name()
WorldModify & operator=(WorldModify &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/world_modify.pb.h:100
std::string * release_world_name()
void CopyFrom(const WorldModify &from)
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void set_world_name(const char *value)
WorldModify & operator=(const WorldModify &from)
Definition: build/ignition-msgs8/include/ignition/msgs/world_modify.pb.h:96
WorldModify * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/world_modify.pb.h:151
void set_allocated_world_name(std::string *world_name)
friend void swap(WorldModify &a, WorldModify &b)
Definition: build/ignition-msgs8/include/ignition/msgs/world_modify.pb.h:128
WorldModify(WorldModify &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/world_modify.pb.h:91
WorldModify(::PROTOBUF_NAMESPACE_ID::Arena *arena)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/world_modify.pb.h:112
void set_world_name(const std::string &value)
void UnsafeArenaSwap(WorldModify *other)
Definition: build/ignition-msgs8/include/ignition/msgs/world_modify.pb.h:139
static const WorldModify * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/world_modify.pb.h:121
void set_world_name(std::string &&value)
void MergeFrom(const WorldModify &from)
const std::string & world_name() const
IGNITION_MSGS_VISIBLE WorldModifyDefaultTypeInternal _WorldModify_default_instance_
std::shared_ptr< const WorldModify > ConstWorldModifySharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/world_modify.pb.h:630
std::unique_ptr< const WorldModify > ConstWorldModifyUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/world_modify.pb.h:628
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::unique_ptr< WorldModify > WorldModifyUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/world_modify.pb.h:627
std::shared_ptr< WorldModify > WorldModifySharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/world_modify.pb.h:629
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:53
Definition: build/ignition-msgs8/include/ignition/msgs/world_modify.pb.h:57
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)