4 #ifndef PROTOBUF_ignition_2fmsgs_2fworld_5fmodify_2eproto__INCLUDED 5 #define PROTOBUF_ignition_2fmsgs_2fworld_5fmodify_2eproto__INCLUDED 9 #include <google/protobuf/stubs/common.h> 11 #if GOOGLE_PROTOBUF_VERSION < 3000000 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 3000000 < 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/arena.h> 23 #include <google/protobuf/arenastring.h> 24 #include <google/protobuf/generated_message_util.h> 25 #include <google/protobuf/metadata.h> 26 #include <google/protobuf/message.h> 27 #include <google/protobuf/repeated_field.h> 28 #include <google/protobuf/extension_set.h> 29 #include <google/protobuf/unknown_field_set.h> 32 #pragma GCC system_header 35 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251) 38 #include <sys/sysmacros.h> 56 class IGNITION_MSGS_VISIBLE
WorldModify :
public ::google::protobuf::Message {
68 static const ::google::protobuf::Descriptor* descriptor();
77 WorldModify* New(::google::protobuf::Arena* arena)
const;
78 void CopyFrom(const ::google::protobuf::Message& from);
79 void MergeFrom(const ::google::protobuf::Message& from);
83 bool IsInitialized()
const;
86 bool MergePartialFromCodedStream(
87 ::google::protobuf::io::CodedInputStream* input);
88 void SerializeWithCachedSizes(
89 ::google::protobuf::io::CodedOutputStream* output)
const;
90 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
91 bool deterministic, ::google::protobuf::uint8* output)
const;
93 return InternalSerializeWithCachedSizesToArray(
false, output);
99 void SetCachedSize(
int size)
const;
102 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
103 return _internal_metadata_.arena();
105 inline void* MaybeArenaPtr()
const {
106 return _internal_metadata_.raw_arena_ptr();
110 ::google::protobuf::Metadata GetMetadata()
const;
117 bool has_header()
const;
119 static const int kHeaderFieldNumber = 1;
120 const ::ignition::msgs::Header& header()
const;
126 void clear_world_name();
127 static const int kWorldNameFieldNumber = 2;
128 const ::std::string& world_name()
const;
129 void set_world_name(const ::std::string& value);
130 void set_world_name(
const char* value);
131 void set_world_name(
const char* value,
size_t size);
134 void set_allocated_world_name(::
std::string* world_name);
138 static const int kRemoveFieldNumber = 3;
140 void set_remove(
bool value);
144 static const int kCreateFieldNumber = 4;
146 void set_create(
bool value);
150 static const int kClonedFieldNumber = 5;
152 void set_cloned(
bool value);
155 void clear_cloned_uri();
156 static const int kClonedUriFieldNumber = 6;
157 const ::std::string& cloned_uri()
const;
158 void set_cloned_uri(const ::std::string& value);
159 void set_cloned_uri(
const char* value);
160 void set_cloned_uri(
const char* value,
size_t size);
163 void set_allocated_cloned_uri(::
std::string* cloned_uri);
168 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
169 bool _is_default_instance_;
171 ::google::protobuf::internal::ArenaStringPtr world_name_;
172 ::google::protobuf::internal::ArenaStringPtr cloned_uri_;
176 mutable int _cached_size_;
181 void InitAsDefaultInstance();
189 #if !PROTOBUF_INLINE_NOT_IN_HEADERS 194 return !_is_default_instance_ && header_ != NULL;
197 if (GetArenaNoVirtual() == NULL && header_ != NULL)
delete header_;
202 return header_ != NULL ? *header_ : *default_instance_->header_;
206 if (header_ == NULL) {
207 header_ = new ::ignition::msgs::Header;
232 world_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
236 return world_name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
240 world_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
245 world_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
250 world_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
251 ::
std::string(reinterpret_cast<const char*>(value), size));
257 return world_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
262 return world_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
265 if (world_name != NULL) {
270 world_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), world_name);
318 cloned_uri_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
322 return cloned_uri_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
326 cloned_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
331 cloned_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
336 cloned_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
337 ::
std::string(reinterpret_cast<const char*>(value), size));
343 return cloned_uri_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
348 return cloned_uri_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
351 if (cloned_uri != NULL) {
356 cloned_uri_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), cloned_uri);
360 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS 376 #endif // PROTOBUF_ignition_2fmsgs_2fworld_5fmodify_2eproto__INCLUDED const ::ignition::msgs::Header & header() const
Definition: world_modify.pb.h:200
std::shared_ptr< const WorldModify > ConstWorldModifySharedPtr
Definition: world_modify.pb.h:365
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: world_modify.pb.h:92
void clear_cloned_uri()
Definition: world_modify.pb.h:317
void set_world_name(const ::std::string &value)
Definition: world_modify.pb.h:238
void set_allocated_header(::ignition::msgs::Header *header)
Definition: world_modify.pb.h:219
const ::std::string & world_name() const
Definition: world_modify.pb.h:234
void set_cloned(bool value)
Definition: world_modify.pb.h:310
void clear_world_name()
Definition: world_modify.pb.h:231
void clear_create()
Definition: world_modify.pb.h:289
void clear_header()
Definition: world_modify.pb.h:196
WorldModify * New() const
Definition: world_modify.pb.h:75
void protobuf_AssignDesc_ignition_2fmsgs_2fworld_5fmodify_2eproto()
::std::string * release_world_name()
Definition: world_modify.pb.h:259
Definition: world_modify.pb.h:56
std::unique_ptr< WorldModify > WorldModifyUniquePtr
Definition: world_modify.pb.h:362
int GetCachedSize() const
Definition: world_modify.pb.h:95
std::shared_ptr< WorldModify > WorldModifySharedPtr
Definition: world_modify.pb.h:364
void set_cloned_uri(const ::std::string &value)
Definition: world_modify.pb.h:324
::std::string * release_cloned_uri()
Definition: world_modify.pb.h:345
void clear_cloned()
Definition: world_modify.pb.h:303
void set_allocated_cloned_uri(::std::string *cloned_uri)
Definition: world_modify.pb.h:350
bool remove() const
Definition: world_modify.pb.h:278
void clear_remove()
Definition: world_modify.pb.h:275
::ignition::msgs::Header * mutable_header()
Definition: world_modify.pb.h:204
WorldModify & operator=(const WorldModify &from)
Definition: world_modify.pb.h:63
void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fworld_5fmodify_2eproto()
const ::std::string & cloned_uri() const
Definition: world_modify.pb.h:320
bool create() const
Definition: world_modify.pb.h:292
bool has_header() const
Definition: world_modify.pb.h:193
::std::string * mutable_world_name()
Definition: world_modify.pb.h:254
bool cloned() const
Definition: world_modify.pb.h:306
void protobuf_ShutdownFile_ignition_2fmsgs_2fworld_5fmodify_2eproto()
std::unique_ptr< const WorldModify > ConstWorldModifyUniquePtr
Definition: world_modify.pb.h:363
::ignition::msgs::Header * release_header()
Definition: world_modify.pb.h:212
void set_allocated_world_name(::std::string *world_name)
Definition: world_modify.pb.h:264
::std::string * mutable_cloned_uri()
Definition: world_modify.pb.h:340
void set_remove(bool value)
Definition: world_modify.pb.h:282
void set_create(bool value)
Definition: world_modify.pb.h:296