Gazebo Msgs

API Reference

5.11.0
build/ignition-msgs5/include/ignition/msgs/world_modify.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/world_modify.proto
3 
4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2fworld_5fmodify_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2fworld_5fmodify_2eproto
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 3006001 < 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.
20 #endif
21 
22 #include <google/protobuf/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
29 #include <google/protobuf/message.h>
30 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
31 #include <google/protobuf/extension_set.h> // IWYU pragma: export
32 #include <google/protobuf/unknown_field_set.h>
34 #ifndef _MSC_VER
35 #pragma GCC system_header
36 #else
37 #pragma warning(push)
38 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
39 #endif
40 #ifdef __linux__
41 #include <sys/sysmacros.h>
42 #endif
43 #include <memory>
44 #include <ignition/msgs/Export.hh>
45 // @@protoc_insertion_point(includes)
46 #define PROTOBUF_INTERNAL_EXPORT_protobuf_ignition_2fmsgs_2fworld_5fmodify_2eproto IGNITION_MSGS_VISIBLE
47 
49 // Internal implementation detail -- do not use these members.
50 struct IGNITION_MSGS_VISIBLE TableStruct {
51  static const ::google::protobuf::internal::ParseTableField entries[];
52  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
53  static const ::google::protobuf::internal::ParseTable schema[1];
54  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
55  static const ::google::protobuf::internal::SerializationTable serialization_table[];
56  static const ::google::protobuf::uint32 offsets[];
57 };
58 void IGNITION_MSGS_VISIBLE AddDescriptors();
59 } // namespace protobuf_ignition_2fmsgs_2fworld_5fmodify_2eproto
60 namespace ignition {
61 namespace msgs {
62 class WorldModify;
63 class WorldModifyDefaultTypeInternal;
64 IGNITION_MSGS_VISIBLE extern WorldModifyDefaultTypeInternal _WorldModify_default_instance_;
65 } // namespace msgs
66 } // namespace ignition
67 namespace google {
68 namespace protobuf {
69 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::WorldModify* Arena::CreateMaybeMessage<::ignition::msgs::WorldModify>(Arena*);
70 } // namespace protobuf
71 } // namespace google
72 namespace ignition {
73 namespace msgs {
74 
75 // ===================================================================
76 
77 class IGNITION_MSGS_VISIBLE WorldModify : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.WorldModify) */ {
78  public:
79  WorldModify();
80  virtual ~WorldModify();
81 
82  WorldModify(const WorldModify& from);
83 
84  inline WorldModify& operator=(const WorldModify& from) {
85  CopyFrom(from);
86  return *this;
87  }
88  #if LANG_CXX11
89  WorldModify(WorldModify&& from) noexcept
90  : WorldModify() {
91  *this = ::std::move(from);
92  }
93 
94  inline WorldModify& operator=(WorldModify&& from) noexcept {
95  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
96  if (this != &from) InternalSwap(&from);
97  } else {
98  CopyFrom(from);
99  }
100  return *this;
101  }
102  #endif
103  static const ::google::protobuf::Descriptor* descriptor();
104  static const WorldModify& default_instance();
105 
106  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
107  static inline const WorldModify* internal_default_instance() {
108  return reinterpret_cast<const WorldModify*>(
110  }
111  static constexpr int kIndexInFileMessages =
112  0;
113 
114  void Swap(WorldModify* other);
115  friend void swap(WorldModify& a, WorldModify& b) {
116  a.Swap(&b);
117  }
118 
119  // implements Message ----------------------------------------------
120 
121  inline WorldModify* New() const final {
122  return CreateMaybeMessage<WorldModify>(NULL);
123  }
124 
125  WorldModify* New(::google::protobuf::Arena* arena) const final {
126  return CreateMaybeMessage<WorldModify>(arena);
127  }
128  void CopyFrom(const ::google::protobuf::Message& from) final;
129  void MergeFrom(const ::google::protobuf::Message& from) final;
130  void CopyFrom(const WorldModify& from);
131  void MergeFrom(const WorldModify& from);
132  void Clear() final;
133  bool IsInitialized() const final;
134 
135  size_t ByteSizeLong() const final;
136  bool MergePartialFromCodedStream(
137  ::google::protobuf::io::CodedInputStream* input) final;
138  void SerializeWithCachedSizes(
139  ::google::protobuf::io::CodedOutputStream* output) const final;
140  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
141  bool deterministic, ::google::protobuf::uint8* target) const final;
142  int GetCachedSize() const final { return _cached_size_.Get(); }
143 
144  private:
145  void SharedCtor();
146  void SharedDtor();
147  void SetCachedSize(int size) const final;
148  void InternalSwap(WorldModify* other);
149  private:
150  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
151  return NULL;
152  }
153  inline void* MaybeArenaPtr() const {
154  return NULL;
155  }
156  public:
157 
158  ::google::protobuf::Metadata GetMetadata() const final;
159 
160  // nested types ----------------------------------------------------
161 
162  // accessors -------------------------------------------------------
163 
164  // string world_name = 2;
165  void clear_world_name();
166  static const int kWorldNameFieldNumber = 2;
167  const ::std::string& world_name() const;
168  void set_world_name(const ::std::string& value);
169  #if LANG_CXX11
170  void set_world_name(::std::string&& value);
171  #endif
172  void set_world_name(const char* value);
173  void set_world_name(const char* value, size_t size);
174  ::std::string* mutable_world_name();
175  ::std::string* release_world_name();
176  void set_allocated_world_name(::std::string* world_name);
177 
178  // string cloned_uri = 6;
179  void clear_cloned_uri();
180  static const int kClonedUriFieldNumber = 6;
181  const ::std::string& cloned_uri() const;
182  void set_cloned_uri(const ::std::string& value);
183  #if LANG_CXX11
184  void set_cloned_uri(::std::string&& value);
185  #endif
186  void set_cloned_uri(const char* value);
187  void set_cloned_uri(const char* value, size_t size);
188  ::std::string* mutable_cloned_uri();
189  ::std::string* release_cloned_uri();
190  void set_allocated_cloned_uri(::std::string* cloned_uri);
191 
192  // .ignition.msgs.Header header = 1;
193  bool has_header() const;
194  void clear_header();
195  static const int kHeaderFieldNumber = 1;
196  private:
197  const ::ignition::msgs::Header& _internal_header() const;
198  public:
199  const ::ignition::msgs::Header& header() const;
200  ::ignition::msgs::Header* release_header();
201  ::ignition::msgs::Header* mutable_header();
202  void set_allocated_header(::ignition::msgs::Header* header);
203 
204  // bool remove = 3;
205  void clear_remove();
206  static const int kRemoveFieldNumber = 3;
207  bool remove() const;
208  void set_remove(bool value);
209 
210  // bool create = 4;
211  void clear_create();
212  static const int kCreateFieldNumber = 4;
213  bool create() const;
214  void set_create(bool value);
215 
216  // bool cloned = 5;
217  void clear_cloned();
218  static const int kClonedFieldNumber = 5;
219  bool cloned() const;
220  void set_cloned(bool value);
221 
222  // @@protoc_insertion_point(class_scope:ignition.msgs.WorldModify)
223  private:
224 
225  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
226  ::google::protobuf::internal::ArenaStringPtr world_name_;
227  ::google::protobuf::internal::ArenaStringPtr cloned_uri_;
228  ::ignition::msgs::Header* header_;
229  bool remove_;
230  bool create_;
231  bool cloned_;
232  mutable ::google::protobuf::internal::CachedSize _cached_size_;
233  friend struct ::protobuf_ignition_2fmsgs_2fworld_5fmodify_2eproto::TableStruct;
234 };
235 // ===================================================================
236 
237 
238 // ===================================================================
239 
240 #ifdef __GNUC__
241  #pragma GCC diagnostic push
242  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
243 #endif // __GNUC__
244 // WorldModify
245 
246 // .ignition.msgs.Header header = 1;
247 inline bool WorldModify::has_header() const {
248  return this != internal_default_instance() && header_ != NULL;
249 }
250 inline const ::ignition::msgs::Header& WorldModify::_internal_header() const {
251  return *header_;
252 }
253 inline const ::ignition::msgs::Header& WorldModify::header() const {
254  const ::ignition::msgs::Header* p = header_;
255  // @@protoc_insertion_point(field_get:ignition.msgs.WorldModify.header)
256  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
258 }
259 inline ::ignition::msgs::Header* WorldModify::release_header() {
260  // @@protoc_insertion_point(field_release:ignition.msgs.WorldModify.header)
261 
262  ::ignition::msgs::Header* temp = header_;
263  header_ = NULL;
264  return temp;
265 }
266 inline ::ignition::msgs::Header* WorldModify::mutable_header() {
267 
268  if (header_ == NULL) {
269  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
270  header_ = p;
271  }
272  // @@protoc_insertion_point(field_mutable:ignition.msgs.WorldModify.header)
273  return header_;
274 }
276  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
277  if (message_arena == NULL) {
278  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
279  }
280  if (header) {
281  ::google::protobuf::Arena* submessage_arena = NULL;
282  if (message_arena != submessage_arena) {
283  header = ::google::protobuf::internal::GetOwnedMessage(
284  message_arena, header, submessage_arena);
285  }
286 
287  } else {
288 
289  }
290  header_ = header;
291  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.WorldModify.header)
292 }
293 
294 // string world_name = 2;
296  world_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
297 }
298 inline const ::std::string& WorldModify::world_name() const {
299  // @@protoc_insertion_point(field_get:ignition.msgs.WorldModify.world_name)
300  return world_name_.GetNoArena();
301 }
302 inline void WorldModify::set_world_name(const ::std::string& value) {
303 
304  world_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
305  // @@protoc_insertion_point(field_set:ignition.msgs.WorldModify.world_name)
306 }
307 #if LANG_CXX11
308 inline void WorldModify::set_world_name(::std::string&& value) {
309 
310  world_name_.SetNoArena(
311  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
312  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.WorldModify.world_name)
313 }
314 #endif
315 inline void WorldModify::set_world_name(const char* value) {
316  GOOGLE_DCHECK(value != NULL);
317 
318  world_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
319  // @@protoc_insertion_point(field_set_char:ignition.msgs.WorldModify.world_name)
320 }
321 inline void WorldModify::set_world_name(const char* value, size_t size) {
322 
323  world_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
324  ::std::string(reinterpret_cast<const char*>(value), size));
325  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.WorldModify.world_name)
326 }
327 inline ::std::string* WorldModify::mutable_world_name() {
328 
329  // @@protoc_insertion_point(field_mutable:ignition.msgs.WorldModify.world_name)
330  return world_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
331 }
332 inline ::std::string* WorldModify::release_world_name() {
333  // @@protoc_insertion_point(field_release:ignition.msgs.WorldModify.world_name)
334 
335  return world_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
336 }
338  if (world_name != NULL) {
339 
340  } else {
341 
342  }
343  world_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), world_name);
344  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.WorldModify.world_name)
345 }
346 
347 // bool remove = 3;
349  remove_ = false;
350 }
351 inline bool WorldModify::remove() const {
352  // @@protoc_insertion_point(field_get:ignition.msgs.WorldModify.remove)
353  return remove_;
354 }
355 inline void WorldModify::set_remove(bool value) {
356 
357  remove_ = value;
358  // @@protoc_insertion_point(field_set:ignition.msgs.WorldModify.remove)
359 }
360 
361 // bool create = 4;
363  create_ = false;
364 }
365 inline bool WorldModify::create() const {
366  // @@protoc_insertion_point(field_get:ignition.msgs.WorldModify.create)
367  return create_;
368 }
369 inline void WorldModify::set_create(bool value) {
370 
371  create_ = value;
372  // @@protoc_insertion_point(field_set:ignition.msgs.WorldModify.create)
373 }
374 
375 // bool cloned = 5;
377  cloned_ = false;
378 }
379 inline bool WorldModify::cloned() const {
380  // @@protoc_insertion_point(field_get:ignition.msgs.WorldModify.cloned)
381  return cloned_;
382 }
383 inline void WorldModify::set_cloned(bool value) {
384 
385  cloned_ = value;
386  // @@protoc_insertion_point(field_set:ignition.msgs.WorldModify.cloned)
387 }
388 
389 // string cloned_uri = 6;
391  cloned_uri_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
392 }
393 inline const ::std::string& WorldModify::cloned_uri() const {
394  // @@protoc_insertion_point(field_get:ignition.msgs.WorldModify.cloned_uri)
395  return cloned_uri_.GetNoArena();
396 }
397 inline void WorldModify::set_cloned_uri(const ::std::string& value) {
398 
399  cloned_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
400  // @@protoc_insertion_point(field_set:ignition.msgs.WorldModify.cloned_uri)
401 }
402 #if LANG_CXX11
403 inline void WorldModify::set_cloned_uri(::std::string&& value) {
404 
405  cloned_uri_.SetNoArena(
406  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
407  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.WorldModify.cloned_uri)
408 }
409 #endif
410 inline void WorldModify::set_cloned_uri(const char* value) {
411  GOOGLE_DCHECK(value != NULL);
412 
413  cloned_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
414  // @@protoc_insertion_point(field_set_char:ignition.msgs.WorldModify.cloned_uri)
415 }
416 inline void WorldModify::set_cloned_uri(const char* value, size_t size) {
417 
418  cloned_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
419  ::std::string(reinterpret_cast<const char*>(value), size));
420  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.WorldModify.cloned_uri)
421 }
422 inline ::std::string* WorldModify::mutable_cloned_uri() {
423 
424  // @@protoc_insertion_point(field_mutable:ignition.msgs.WorldModify.cloned_uri)
425  return cloned_uri_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
426 }
427 inline ::std::string* WorldModify::release_cloned_uri() {
428  // @@protoc_insertion_point(field_release:ignition.msgs.WorldModify.cloned_uri)
429 
430  return cloned_uri_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
431 }
433  if (cloned_uri != NULL) {
434 
435  } else {
436 
437  }
438  cloned_uri_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), cloned_uri);
439  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.WorldModify.cloned_uri)
440 }
441 
442 #ifdef __GNUC__
443  #pragma GCC diagnostic pop
444 #endif // __GNUC__
445 
450 // @@protoc_insertion_point(namespace_scope)
451 
452 } // namespace msgs
453 } // namespace ignition
454 
455 #ifdef _MSC_VER
456 #pragma warning(pop)
457 #endif
458 // @@protoc_insertion_point(global_scope)
459 
460 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2fworld_5fmodify_2eproto
Definition: build/ignition-msgs5/include/ignition/msgs/world_modify.pb.h:48
bool remove() const
Definition: build/ignition-msgs5/include/ignition/msgs/world_modify.pb.h:351
void clear_cloned()
Definition: build/ignition-msgs5/include/ignition/msgs/world_modify.pb.h:376
STL class.
STL class.
std::unique_ptr< const WorldModify > ConstWorldModifyUniquePtr
Definition: build/ignition-msgs5/include/ignition/msgs/world_modify.pb.h:447
T move(T... args)
bool has_header() const
Definition: build/ignition-msgs5/include/ignition/msgs/world_modify.pb.h:247
std::unique_ptr< WorldModify > WorldModifyUniquePtr
Definition: build/ignition-msgs5/include/ignition/msgs/world_modify.pb.h:446
void set_allocated_cloned_uri(::std::string *cloned_uri)
Definition: build/ignition-msgs5/include/ignition/msgs/world_modify.pb.h:432
WorldModify * New() const final
Definition: build/ignition-msgs5/include/ignition/msgs/world_modify.pb.h:121
const ::std::string & world_name() const
Definition: build/ignition-msgs5/include/ignition/msgs/world_modify.pb.h:298
std::shared_ptr< const WorldModify > ConstWorldModifySharedPtr
Definition: build/ignition-msgs5/include/ignition/msgs/world_modify.pb.h:449
const ::std::string & cloned_uri() const
Definition: build/ignition-msgs5/include/ignition/msgs/world_modify.pb.h:393
void clear_cloned_uri()
Definition: build/ignition-msgs5/include/ignition/msgs/world_modify.pb.h:390
::ignition::msgs::Header * release_header()
Definition: build/ignition-msgs5/include/ignition/msgs/world_modify.pb.h:259
void Swap(WorldModify *other)
void clear_create()
Definition: build/ignition-msgs5/include/ignition/msgs/world_modify.pb.h:362
void set_cloned(bool value)
Definition: build/ignition-msgs5/include/ignition/msgs/world_modify.pb.h:383
std::shared_ptr< WorldModify > WorldModifySharedPtr
Definition: build/ignition-msgs5/include/ignition/msgs/world_modify.pb.h:448
void set_allocated_header(::ignition::msgs::Header *header)
Definition: build/ignition-msgs5/include/ignition/msgs/world_modify.pb.h:275
::std::string * release_world_name()
Definition: build/ignition-msgs5/include/ignition/msgs/world_modify.pb.h:332
void set_world_name(const ::std::string &value)
Definition: build/ignition-msgs5/include/ignition/msgs/world_modify.pb.h:302
friend void swap(WorldModify &a, WorldModify &b)
Definition: build/ignition-msgs5/include/ignition/msgs/world_modify.pb.h:115
Definition: build/ignition-msgs5/include/ignition/msgs/world_modify.pb.h:77
Definition: build/ignition-msgs5/include/ignition/msgs/world_modify.pb.h:50
::std::string * mutable_cloned_uri()
Definition: build/ignition-msgs5/include/ignition/msgs/world_modify.pb.h:422
void set_remove(bool value)
Definition: build/ignition-msgs5/include/ignition/msgs/world_modify.pb.h:355
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
bool cloned() const
Definition: build/ignition-msgs5/include/ignition/msgs/world_modify.pb.h:379
STL namespace.
Definition: build/ignition-msgs5/include/ignition/msgs/header.pb.h:215
::ignition::msgs::Header * mutable_header()
Definition: build/ignition-msgs5/include/ignition/msgs/world_modify.pb.h:266
void clear_world_name()
Definition: build/ignition-msgs5/include/ignition/msgs/world_modify.pb.h:295
void set_allocated_world_name(::std::string *world_name)
Definition: build/ignition-msgs5/include/ignition/msgs/world_modify.pb.h:337
WorldModify & operator=(const WorldModify &from)
Definition: build/ignition-msgs5/include/ignition/msgs/world_modify.pb.h:84
bool create() const
Definition: build/ignition-msgs5/include/ignition/msgs/world_modify.pb.h:365
void clear_remove()
Definition: build/ignition-msgs5/include/ignition/msgs/world_modify.pb.h:348
::std::string * release_cloned_uri()
Definition: build/ignition-msgs5/include/ignition/msgs/world_modify.pb.h:427
IGNITION_MSGS_VISIBLE WorldModifyDefaultTypeInternal _WorldModify_default_instance_
STL class.
::std::string * mutable_world_name()
Definition: build/ignition-msgs5/include/ignition/msgs/world_modify.pb.h:327
const ::ignition::msgs::Header & header() const
Definition: build/ignition-msgs5/include/ignition/msgs/world_modify.pb.h:253
void set_create(bool value)
Definition: build/ignition-msgs5/include/ignition/msgs/world_modify.pb.h:369
static const WorldModify * internal_default_instance()
Definition: build/ignition-msgs5/include/ignition/msgs/world_modify.pb.h:107
Definition: build/ignition-msgs5/include/ignition/msgs/actor.pb.h:78
void set_cloned_uri(const ::std::string &value)
Definition: build/ignition-msgs5/include/ignition/msgs/world_modify.pb.h:397
WorldModify * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs5/include/ignition/msgs/world_modify.pb.h:125