Gazebo Msgs

API Reference

5.11.0
build/ignition-msgs5/include/ignition/msgs/plugin.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/plugin.proto
3 
4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2fplugin_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2fplugin_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_2fplugin_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_2fplugin_2eproto
60 namespace ignition {
61 namespace msgs {
62 class Plugin;
63 class PluginDefaultTypeInternal;
64 IGNITION_MSGS_VISIBLE extern PluginDefaultTypeInternal _Plugin_default_instance_;
65 } // namespace msgs
66 } // namespace ignition
67 namespace google {
68 namespace protobuf {
69 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Plugin* Arena::CreateMaybeMessage<::ignition::msgs::Plugin>(Arena*);
70 } // namespace protobuf
71 } // namespace google
72 namespace ignition {
73 namespace msgs {
74 
75 // ===================================================================
76 
77 class IGNITION_MSGS_VISIBLE Plugin : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Plugin) */ {
78  public:
79  Plugin();
80  virtual ~Plugin();
81 
82  Plugin(const Plugin& from);
83 
84  inline Plugin& operator=(const Plugin& from) {
85  CopyFrom(from);
86  return *this;
87  }
88  #if LANG_CXX11
89  Plugin(Plugin&& from) noexcept
90  : Plugin() {
91  *this = ::std::move(from);
92  }
93 
94  inline Plugin& operator=(Plugin&& 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 Plugin& default_instance();
105 
106  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
107  static inline const Plugin* internal_default_instance() {
108  return reinterpret_cast<const Plugin*>(
110  }
111  static constexpr int kIndexInFileMessages =
112  0;
113 
114  void Swap(Plugin* other);
115  friend void swap(Plugin& a, Plugin& b) {
116  a.Swap(&b);
117  }
118 
119  // implements Message ----------------------------------------------
120 
121  inline Plugin* New() const final {
122  return CreateMaybeMessage<Plugin>(NULL);
123  }
124 
125  Plugin* New(::google::protobuf::Arena* arena) const final {
126  return CreateMaybeMessage<Plugin>(arena);
127  }
128  void CopyFrom(const ::google::protobuf::Message& from) final;
129  void MergeFrom(const ::google::protobuf::Message& from) final;
130  void CopyFrom(const Plugin& from);
131  void MergeFrom(const Plugin& 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(Plugin* 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 name = 2;
165  void clear_name();
166  static const int kNameFieldNumber = 2;
167  const ::std::string& name() const;
168  void set_name(const ::std::string& value);
169  #if LANG_CXX11
170  void set_name(::std::string&& value);
171  #endif
172  void set_name(const char* value);
173  void set_name(const char* value, size_t size);
174  ::std::string* mutable_name();
175  ::std::string* release_name();
176  void set_allocated_name(::std::string* name);
177 
178  // string filename = 3;
179  void clear_filename();
180  static const int kFilenameFieldNumber = 3;
181  const ::std::string& filename() const;
182  void set_filename(const ::std::string& value);
183  #if LANG_CXX11
184  void set_filename(::std::string&& value);
185  #endif
186  void set_filename(const char* value);
187  void set_filename(const char* value, size_t size);
188  ::std::string* mutable_filename();
189  ::std::string* release_filename();
190  void set_allocated_filename(::std::string* filename);
191 
192  // string innerxml = 4;
193  void clear_innerxml();
194  static const int kInnerxmlFieldNumber = 4;
195  const ::std::string& innerxml() const;
196  void set_innerxml(const ::std::string& value);
197  #if LANG_CXX11
198  void set_innerxml(::std::string&& value);
199  #endif
200  void set_innerxml(const char* value);
201  void set_innerxml(const char* value, size_t size);
202  ::std::string* mutable_innerxml();
203  ::std::string* release_innerxml();
204  void set_allocated_innerxml(::std::string* innerxml);
205 
206  // .ignition.msgs.Header header = 1;
207  bool has_header() const;
208  void clear_header();
209  static const int kHeaderFieldNumber = 1;
210  private:
211  const ::ignition::msgs::Header& _internal_header() const;
212  public:
213  const ::ignition::msgs::Header& header() const;
214  ::ignition::msgs::Header* release_header();
215  ::ignition::msgs::Header* mutable_header();
216  void set_allocated_header(::ignition::msgs::Header* header);
217 
218  // @@protoc_insertion_point(class_scope:ignition.msgs.Plugin)
219  private:
220 
221  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
222  ::google::protobuf::internal::ArenaStringPtr name_;
223  ::google::protobuf::internal::ArenaStringPtr filename_;
224  ::google::protobuf::internal::ArenaStringPtr innerxml_;
225  ::ignition::msgs::Header* header_;
226  mutable ::google::protobuf::internal::CachedSize _cached_size_;
227  friend struct ::protobuf_ignition_2fmsgs_2fplugin_2eproto::TableStruct;
228 };
229 // ===================================================================
230 
231 
232 // ===================================================================
233 
234 #ifdef __GNUC__
235  #pragma GCC diagnostic push
236  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
237 #endif // __GNUC__
238 // Plugin
239 
240 // .ignition.msgs.Header header = 1;
241 inline bool Plugin::has_header() const {
242  return this != internal_default_instance() && header_ != NULL;
243 }
244 inline const ::ignition::msgs::Header& Plugin::_internal_header() const {
245  return *header_;
246 }
247 inline const ::ignition::msgs::Header& Plugin::header() const {
248  const ::ignition::msgs::Header* p = header_;
249  // @@protoc_insertion_point(field_get:ignition.msgs.Plugin.header)
250  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
252 }
253 inline ::ignition::msgs::Header* Plugin::release_header() {
254  // @@protoc_insertion_point(field_release:ignition.msgs.Plugin.header)
255 
256  ::ignition::msgs::Header* temp = header_;
257  header_ = NULL;
258  return temp;
259 }
260 inline ::ignition::msgs::Header* Plugin::mutable_header() {
261 
262  if (header_ == NULL) {
263  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
264  header_ = p;
265  }
266  // @@protoc_insertion_point(field_mutable:ignition.msgs.Plugin.header)
267  return header_;
268 }
270  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
271  if (message_arena == NULL) {
272  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
273  }
274  if (header) {
275  ::google::protobuf::Arena* submessage_arena = NULL;
276  if (message_arena != submessage_arena) {
277  header = ::google::protobuf::internal::GetOwnedMessage(
278  message_arena, header, submessage_arena);
279  }
280 
281  } else {
282 
283  }
284  header_ = header;
285  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Plugin.header)
286 }
287 
288 // string name = 2;
289 inline void Plugin::clear_name() {
290  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
291 }
292 inline const ::std::string& Plugin::name() const {
293  // @@protoc_insertion_point(field_get:ignition.msgs.Plugin.name)
294  return name_.GetNoArena();
295 }
296 inline void Plugin::set_name(const ::std::string& value) {
297 
298  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
299  // @@protoc_insertion_point(field_set:ignition.msgs.Plugin.name)
300 }
301 #if LANG_CXX11
302 inline void Plugin::set_name(::std::string&& value) {
303 
304  name_.SetNoArena(
305  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
306  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Plugin.name)
307 }
308 #endif
309 inline void Plugin::set_name(const char* value) {
310  GOOGLE_DCHECK(value != NULL);
311 
312  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
313  // @@protoc_insertion_point(field_set_char:ignition.msgs.Plugin.name)
314 }
315 inline void Plugin::set_name(const char* value, size_t size) {
316 
317  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
318  ::std::string(reinterpret_cast<const char*>(value), size));
319  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Plugin.name)
320 }
321 inline ::std::string* Plugin::mutable_name() {
322 
323  // @@protoc_insertion_point(field_mutable:ignition.msgs.Plugin.name)
324  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
325 }
326 inline ::std::string* Plugin::release_name() {
327  // @@protoc_insertion_point(field_release:ignition.msgs.Plugin.name)
328 
329  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
330 }
332  if (name != NULL) {
333 
334  } else {
335 
336  }
337  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
338  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Plugin.name)
339 }
340 
341 // string filename = 3;
342 inline void Plugin::clear_filename() {
343  filename_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
344 }
345 inline const ::std::string& Plugin::filename() const {
346  // @@protoc_insertion_point(field_get:ignition.msgs.Plugin.filename)
347  return filename_.GetNoArena();
348 }
349 inline void Plugin::set_filename(const ::std::string& value) {
350 
351  filename_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
352  // @@protoc_insertion_point(field_set:ignition.msgs.Plugin.filename)
353 }
354 #if LANG_CXX11
355 inline void Plugin::set_filename(::std::string&& value) {
356 
357  filename_.SetNoArena(
358  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
359  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Plugin.filename)
360 }
361 #endif
362 inline void Plugin::set_filename(const char* value) {
363  GOOGLE_DCHECK(value != NULL);
364 
365  filename_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
366  // @@protoc_insertion_point(field_set_char:ignition.msgs.Plugin.filename)
367 }
368 inline void Plugin::set_filename(const char* value, size_t size) {
369 
370  filename_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
371  ::std::string(reinterpret_cast<const char*>(value), size));
372  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Plugin.filename)
373 }
374 inline ::std::string* Plugin::mutable_filename() {
375 
376  // @@protoc_insertion_point(field_mutable:ignition.msgs.Plugin.filename)
377  return filename_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
378 }
379 inline ::std::string* Plugin::release_filename() {
380  // @@protoc_insertion_point(field_release:ignition.msgs.Plugin.filename)
381 
382  return filename_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
383 }
384 inline void Plugin::set_allocated_filename(::std::string* filename) {
385  if (filename != NULL) {
386 
387  } else {
388 
389  }
390  filename_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), filename);
391  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Plugin.filename)
392 }
393 
394 // string innerxml = 4;
395 inline void Plugin::clear_innerxml() {
396  innerxml_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
397 }
398 inline const ::std::string& Plugin::innerxml() const {
399  // @@protoc_insertion_point(field_get:ignition.msgs.Plugin.innerxml)
400  return innerxml_.GetNoArena();
401 }
402 inline void Plugin::set_innerxml(const ::std::string& value) {
403 
404  innerxml_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
405  // @@protoc_insertion_point(field_set:ignition.msgs.Plugin.innerxml)
406 }
407 #if LANG_CXX11
408 inline void Plugin::set_innerxml(::std::string&& value) {
409 
410  innerxml_.SetNoArena(
411  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
412  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Plugin.innerxml)
413 }
414 #endif
415 inline void Plugin::set_innerxml(const char* value) {
416  GOOGLE_DCHECK(value != NULL);
417 
418  innerxml_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
419  // @@protoc_insertion_point(field_set_char:ignition.msgs.Plugin.innerxml)
420 }
421 inline void Plugin::set_innerxml(const char* value, size_t size) {
422 
423  innerxml_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
424  ::std::string(reinterpret_cast<const char*>(value), size));
425  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Plugin.innerxml)
426 }
427 inline ::std::string* Plugin::mutable_innerxml() {
428 
429  // @@protoc_insertion_point(field_mutable:ignition.msgs.Plugin.innerxml)
430  return innerxml_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
431 }
432 inline ::std::string* Plugin::release_innerxml() {
433  // @@protoc_insertion_point(field_release:ignition.msgs.Plugin.innerxml)
434 
435  return innerxml_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
436 }
437 inline void Plugin::set_allocated_innerxml(::std::string* innerxml) {
438  if (innerxml != NULL) {
439 
440  } else {
441 
442  }
443  innerxml_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), innerxml);
444  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Plugin.innerxml)
445 }
446 
447 #ifdef __GNUC__
448  #pragma GCC diagnostic pop
449 #endif // __GNUC__
450 
455 // @@protoc_insertion_point(namespace_scope)
456 
457 } // namespace msgs
458 } // namespace ignition
459 
460 #ifdef _MSC_VER
461 #pragma warning(pop)
462 #endif
463 // @@protoc_insertion_point(global_scope)
464 
465 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2fplugin_2eproto
void clear_filename()
Definition: build/ignition-msgs5/include/ignition/msgs/plugin.pb.h:342
std::shared_ptr< Plugin > PluginSharedPtr
Definition: build/ignition-msgs5/include/ignition/msgs/plugin.pb.h:453
::ignition::msgs::Header * mutable_header()
Definition: build/ignition-msgs5/include/ignition/msgs/plugin.pb.h:260
std::shared_ptr< const Plugin > ConstPluginSharedPtr
Definition: build/ignition-msgs5/include/ignition/msgs/plugin.pb.h:454
void set_allocated_filename(::std::string *filename)
Definition: build/ignition-msgs5/include/ignition/msgs/plugin.pb.h:384
STL class.
STL class.
::std::string * mutable_filename()
Definition: build/ignition-msgs5/include/ignition/msgs/plugin.pb.h:374
T move(T... args)
void set_name(const ::std::string &value)
Definition: build/ignition-msgs5/include/ignition/msgs/plugin.pb.h:296
friend void swap(Plugin &a, Plugin &b)
Definition: build/ignition-msgs5/include/ignition/msgs/plugin.pb.h:115
Definition: build/ignition-msgs5/include/ignition/msgs/plugin.pb.h:48
void set_filename(const ::std::string &value)
Definition: build/ignition-msgs5/include/ignition/msgs/plugin.pb.h:349
::std::string * mutable_name()
Definition: build/ignition-msgs5/include/ignition/msgs/plugin.pb.h:321
static const Plugin * internal_default_instance()
Definition: build/ignition-msgs5/include/ignition/msgs/plugin.pb.h:107
const ::std::string & name() const
Definition: build/ignition-msgs5/include/ignition/msgs/plugin.pb.h:292
void set_innerxml(const ::std::string &value)
Definition: build/ignition-msgs5/include/ignition/msgs/plugin.pb.h:402
void clear_innerxml()
Definition: build/ignition-msgs5/include/ignition/msgs/plugin.pb.h:395
Definition: build/ignition-msgs5/include/ignition/msgs/plugin.pb.h:50
std::unique_ptr< Plugin > PluginUniquePtr
Definition: build/ignition-msgs5/include/ignition/msgs/plugin.pb.h:451
bool has_header() const
Definition: build/ignition-msgs5/include/ignition/msgs/plugin.pb.h:241
void clear_name()
Definition: build/ignition-msgs5/include/ignition/msgs/plugin.pb.h:289
::std::string * release_innerxml()
Definition: build/ignition-msgs5/include/ignition/msgs/plugin.pb.h:432
::std::string * release_filename()
Definition: build/ignition-msgs5/include/ignition/msgs/plugin.pb.h:379
Plugin & operator=(const Plugin &from)
Definition: build/ignition-msgs5/include/ignition/msgs/plugin.pb.h:84
::std::string * release_name()
Definition: build/ignition-msgs5/include/ignition/msgs/plugin.pb.h:326
const ::std::string & innerxml() const
Definition: build/ignition-msgs5/include/ignition/msgs/plugin.pb.h:398
IGNITION_MSGS_VISIBLE PluginDefaultTypeInternal _Plugin_default_instance_
void IGNITION_MSGS_VISIBLE AddDescriptors()
const ::ignition::msgs::Header & header() const
Definition: build/ignition-msgs5/include/ignition/msgs/plugin.pb.h:247
::std::string * mutable_innerxml()
Definition: build/ignition-msgs5/include/ignition/msgs/plugin.pb.h:427
void set_allocated_innerxml(::std::string *innerxml)
Definition: build/ignition-msgs5/include/ignition/msgs/plugin.pb.h:437
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
STL namespace.
void set_allocated_header(::ignition::msgs::Header *header)
Definition: build/ignition-msgs5/include/ignition/msgs/plugin.pb.h:269
std::unique_ptr< const Plugin > ConstPluginUniquePtr
Definition: build/ignition-msgs5/include/ignition/msgs/plugin.pb.h:452
Definition: build/ignition-msgs5/include/ignition/msgs/header.pb.h:215
Plugin * New() const final
Definition: build/ignition-msgs5/include/ignition/msgs/plugin.pb.h:121
::ignition::msgs::Header * release_header()
Definition: build/ignition-msgs5/include/ignition/msgs/plugin.pb.h:253
void set_allocated_name(::std::string *name)
Definition: build/ignition-msgs5/include/ignition/msgs/plugin.pb.h:331
STL class.
Definition: build/ignition-msgs5/include/ignition/msgs/plugin.pb.h:77
const ::std::string & filename() const
Definition: build/ignition-msgs5/include/ignition/msgs/plugin.pb.h:345
void Swap(Plugin *other)
Plugin * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs5/include/ignition/msgs/plugin.pb.h:125
Definition: build/ignition-msgs5/include/ignition/msgs/actor.pb.h:78