Gazebo Msgs

API Reference

8.7.0
build/ignition-msgs8/include/ignition/msgs/discovery.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/discovery.proto
3 
4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2fdiscovery_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2fdiscovery_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/generated_enum_reflection.h>
33 #include <google/protobuf/unknown_field_set.h>
35 #ifndef _MSC_VER
36 #pragma GCC system_header
37 #else
38 #pragma warning(push)
39 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
40 #endif
41 #ifdef __linux__
42 #include <sys/sysmacros.h>
43 #endif
44 #include <memory>
45 #include <ignition/msgs/Export.hh>
46 // @@protoc_insertion_point(includes)
47 #define PROTOBUF_INTERNAL_EXPORT_protobuf_ignition_2fmsgs_2fdiscovery_2eproto IGNITION_MSGS_VISIBLE
48 
50 // Internal implementation detail -- do not use these members.
51 struct IGNITION_MSGS_VISIBLE TableStruct {
52  static const ::google::protobuf::internal::ParseTableField entries[];
53  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
54  static const ::google::protobuf::internal::ParseTable schema[6];
55  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
56  static const ::google::protobuf::internal::SerializationTable serialization_table[];
57  static const ::google::protobuf::uint32 offsets[];
58 };
59 void IGNITION_MSGS_VISIBLE AddDescriptors();
60 } // namespace protobuf_ignition_2fmsgs_2fdiscovery_2eproto
61 namespace ignition {
62 namespace msgs {
63 class Discovery;
64 class DiscoveryDefaultTypeInternal;
65 IGNITION_MSGS_VISIBLE extern DiscoveryDefaultTypeInternal _Discovery_default_instance_;
66 class Discovery_Flags;
67 class Discovery_FlagsDefaultTypeInternal;
68 IGNITION_MSGS_VISIBLE extern Discovery_FlagsDefaultTypeInternal _Discovery_Flags_default_instance_;
69 class Discovery_Publisher;
70 class Discovery_PublisherDefaultTypeInternal;
71 IGNITION_MSGS_VISIBLE extern Discovery_PublisherDefaultTypeInternal _Discovery_Publisher_default_instance_;
72 class Discovery_Publisher_MessagePublisher;
73 class Discovery_Publisher_MessagePublisherDefaultTypeInternal;
74 IGNITION_MSGS_VISIBLE extern Discovery_Publisher_MessagePublisherDefaultTypeInternal _Discovery_Publisher_MessagePublisher_default_instance_;
75 class Discovery_Publisher_ServicePublisher;
76 class Discovery_Publisher_ServicePublisherDefaultTypeInternal;
77 IGNITION_MSGS_VISIBLE extern Discovery_Publisher_ServicePublisherDefaultTypeInternal _Discovery_Publisher_ServicePublisher_default_instance_;
78 class Discovery_Subscriber;
79 class Discovery_SubscriberDefaultTypeInternal;
80 IGNITION_MSGS_VISIBLE extern Discovery_SubscriberDefaultTypeInternal _Discovery_Subscriber_default_instance_;
81 } // namespace msgs
82 } // namespace ignition
83 namespace google {
84 namespace protobuf {
85 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Discovery* Arena::CreateMaybeMessage<::ignition::msgs::Discovery>(Arena*);
86 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Discovery_Flags* Arena::CreateMaybeMessage<::ignition::msgs::Discovery_Flags>(Arena*);
87 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Discovery_Publisher* Arena::CreateMaybeMessage<::ignition::msgs::Discovery_Publisher>(Arena*);
88 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Discovery_Publisher_MessagePublisher* Arena::CreateMaybeMessage<::ignition::msgs::Discovery_Publisher_MessagePublisher>(Arena*);
89 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Discovery_Publisher_ServicePublisher* Arena::CreateMaybeMessage<::ignition::msgs::Discovery_Publisher_ServicePublisher>(Arena*);
90 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Discovery_Subscriber* Arena::CreateMaybeMessage<::ignition::msgs::Discovery_Subscriber>(Arena*);
91 } // namespace protobuf
92 } // namespace google
93 namespace ignition {
94 namespace msgs {
95 
102 };
103 IGNITION_MSGS_VISIBLE bool Discovery_Publisher_Scope_IsValid(int value);
107 
108 IGNITION_MSGS_VISIBLE const ::google::protobuf::EnumDescriptor* Discovery_Publisher_Scope_descriptor();
109 inline const ::std::string& Discovery_Publisher_Scope_Name(Discovery_Publisher_Scope value) {
110  return ::google::protobuf::internal::NameOfEnum(
112 }
114  const ::std::string& name, Discovery_Publisher_Scope* value) {
115  return ::google::protobuf::internal::ParseNamedEnum<Discovery_Publisher_Scope>(
116  Discovery_Publisher_Scope_descriptor(), name, value);
117 }
129 };
130 IGNITION_MSGS_VISIBLE bool Discovery_Type_IsValid(int value);
134 
135 IGNITION_MSGS_VISIBLE const ::google::protobuf::EnumDescriptor* Discovery_Type_descriptor();
136 inline const ::std::string& Discovery_Type_Name(Discovery_Type value) {
137  return ::google::protobuf::internal::NameOfEnum(
138  Discovery_Type_descriptor(), value);
139 }
141  const ::std::string& name, Discovery_Type* value) {
142  return ::google::protobuf::internal::ParseNamedEnum<Discovery_Type>(
143  Discovery_Type_descriptor(), name, value);
144 }
145 // ===================================================================
146 
147 class IGNITION_MSGS_VISIBLE Discovery_Flags : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Discovery.Flags) */ {
148  public:
149  Discovery_Flags();
150  virtual ~Discovery_Flags();
151 
152  Discovery_Flags(const Discovery_Flags& from);
153 
155  CopyFrom(from);
156  return *this;
157  }
158  #if LANG_CXX11
159  Discovery_Flags(Discovery_Flags&& from) noexcept
160  : Discovery_Flags() {
161  *this = ::std::move(from);
162  }
163 
164  inline Discovery_Flags& operator=(Discovery_Flags&& from) noexcept {
165  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
166  if (this != &from) InternalSwap(&from);
167  } else {
168  CopyFrom(from);
169  }
170  return *this;
171  }
172  #endif
173  static const ::google::protobuf::Descriptor* descriptor();
174  static const Discovery_Flags& default_instance();
175 
176  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
178  return reinterpret_cast<const Discovery_Flags*>(
180  }
181  static constexpr int kIndexInFileMessages =
182  0;
183 
184  void Swap(Discovery_Flags* other);
185  friend void swap(Discovery_Flags& a, Discovery_Flags& b) {
186  a.Swap(&b);
187  }
188 
189  // implements Message ----------------------------------------------
190 
191  inline Discovery_Flags* New() const final {
192  return CreateMaybeMessage<Discovery_Flags>(NULL);
193  }
194 
195  Discovery_Flags* New(::google::protobuf::Arena* arena) const final {
196  return CreateMaybeMessage<Discovery_Flags>(arena);
197  }
198  void CopyFrom(const ::google::protobuf::Message& from) final;
199  void MergeFrom(const ::google::protobuf::Message& from) final;
200  void CopyFrom(const Discovery_Flags& from);
201  void MergeFrom(const Discovery_Flags& from);
202  void Clear() final;
203  bool IsInitialized() const final;
204 
205  size_t ByteSizeLong() const final;
206  bool MergePartialFromCodedStream(
207  ::google::protobuf::io::CodedInputStream* input) final;
208  void SerializeWithCachedSizes(
209  ::google::protobuf::io::CodedOutputStream* output) const final;
210  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
211  bool deterministic, ::google::protobuf::uint8* target) const final;
212  int GetCachedSize() const final { return _cached_size_.Get(); }
213 
214  private:
215  void SharedCtor();
216  void SharedDtor();
217  void SetCachedSize(int size) const final;
218  void InternalSwap(Discovery_Flags* other);
219  private:
220  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
221  return NULL;
222  }
223  inline void* MaybeArenaPtr() const {
224  return NULL;
225  }
226  public:
227 
228  ::google::protobuf::Metadata GetMetadata() const final;
229 
230  // nested types ----------------------------------------------------
231 
232  // accessors -------------------------------------------------------
233 
234  // bool relay = 1;
235  void clear_relay();
236  static const int kRelayFieldNumber = 1;
237  bool relay() const;
238  void set_relay(bool value);
239 
240  // bool no_relay = 2;
241  void clear_no_relay();
242  static const int kNoRelayFieldNumber = 2;
243  bool no_relay() const;
244  void set_no_relay(bool value);
245 
246  // @@protoc_insertion_point(class_scope:ignition.msgs.Discovery.Flags)
247  private:
248 
249  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
250  bool relay_;
251  bool no_relay_;
252  mutable ::google::protobuf::internal::CachedSize _cached_size_;
253  friend struct ::protobuf_ignition_2fmsgs_2fdiscovery_2eproto::TableStruct;
254 };
255 // -------------------------------------------------------------------
256 
257 class IGNITION_MSGS_VISIBLE Discovery_Subscriber : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Discovery.Subscriber) */ {
258  public:
260  virtual ~Discovery_Subscriber();
261 
263 
265  CopyFrom(from);
266  return *this;
267  }
268  #if LANG_CXX11
271  *this = ::std::move(from);
272  }
273 
274  inline Discovery_Subscriber& operator=(Discovery_Subscriber&& from) noexcept {
275  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
276  if (this != &from) InternalSwap(&from);
277  } else {
278  CopyFrom(from);
279  }
280  return *this;
281  }
282  #endif
283  static const ::google::protobuf::Descriptor* descriptor();
284  static const Discovery_Subscriber& default_instance();
285 
286  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
288  return reinterpret_cast<const Discovery_Subscriber*>(
290  }
291  static constexpr int kIndexInFileMessages =
292  1;
293 
294  void Swap(Discovery_Subscriber* other);
296  a.Swap(&b);
297  }
298 
299  // implements Message ----------------------------------------------
300 
301  inline Discovery_Subscriber* New() const final {
302  return CreateMaybeMessage<Discovery_Subscriber>(NULL);
303  }
304 
305  Discovery_Subscriber* New(::google::protobuf::Arena* arena) const final {
306  return CreateMaybeMessage<Discovery_Subscriber>(arena);
307  }
308  void CopyFrom(const ::google::protobuf::Message& from) final;
309  void MergeFrom(const ::google::protobuf::Message& from) final;
310  void CopyFrom(const Discovery_Subscriber& from);
311  void MergeFrom(const Discovery_Subscriber& from);
312  void Clear() final;
313  bool IsInitialized() const final;
314 
315  size_t ByteSizeLong() const final;
316  bool MergePartialFromCodedStream(
317  ::google::protobuf::io::CodedInputStream* input) final;
318  void SerializeWithCachedSizes(
319  ::google::protobuf::io::CodedOutputStream* output) const final;
320  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
321  bool deterministic, ::google::protobuf::uint8* target) const final;
322  int GetCachedSize() const final { return _cached_size_.Get(); }
323 
324  private:
325  void SharedCtor();
326  void SharedDtor();
327  void SetCachedSize(int size) const final;
328  void InternalSwap(Discovery_Subscriber* other);
329  private:
330  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
331  return NULL;
332  }
333  inline void* MaybeArenaPtr() const {
334  return NULL;
335  }
336  public:
337 
338  ::google::protobuf::Metadata GetMetadata() const final;
339 
340  // nested types ----------------------------------------------------
341 
342  // accessors -------------------------------------------------------
343 
344  // string topic = 1;
345  void clear_topic();
346  static const int kTopicFieldNumber = 1;
347  const ::std::string& topic() const;
348  void set_topic(const ::std::string& value);
349  #if LANG_CXX11
350  void set_topic(::std::string&& value);
351  #endif
352  void set_topic(const char* value);
353  void set_topic(const char* value, size_t size);
354  ::std::string* mutable_topic();
355  ::std::string* release_topic();
356  void set_allocated_topic(::std::string* topic);
357 
358  // @@protoc_insertion_point(class_scope:ignition.msgs.Discovery.Subscriber)
359  private:
360 
361  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
362  ::google::protobuf::internal::ArenaStringPtr topic_;
363  mutable ::google::protobuf::internal::CachedSize _cached_size_;
364  friend struct ::protobuf_ignition_2fmsgs_2fdiscovery_2eproto::TableStruct;
365 };
366 // -------------------------------------------------------------------
367 
368 class IGNITION_MSGS_VISIBLE Discovery_Publisher_MessagePublisher : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Discovery.Publisher.MessagePublisher) */ {
369  public:
372 
374 
376  CopyFrom(from);
377  return *this;
378  }
379  #if LANG_CXX11
382  *this = ::std::move(from);
383  }
384 
385  inline Discovery_Publisher_MessagePublisher& operator=(Discovery_Publisher_MessagePublisher&& from) noexcept {
386  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
387  if (this != &from) InternalSwap(&from);
388  } else {
389  CopyFrom(from);
390  }
391  return *this;
392  }
393  #endif
394  static const ::google::protobuf::Descriptor* descriptor();
395  static const Discovery_Publisher_MessagePublisher& default_instance();
396 
397  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
399  return reinterpret_cast<const Discovery_Publisher_MessagePublisher*>(
401  }
402  static constexpr int kIndexInFileMessages =
403  2;
404 
405  void Swap(Discovery_Publisher_MessagePublisher* other);
407  a.Swap(&b);
408  }
409 
410  // implements Message ----------------------------------------------
411 
413  return CreateMaybeMessage<Discovery_Publisher_MessagePublisher>(NULL);
414  }
415 
416  Discovery_Publisher_MessagePublisher* New(::google::protobuf::Arena* arena) const final {
417  return CreateMaybeMessage<Discovery_Publisher_MessagePublisher>(arena);
418  }
419  void CopyFrom(const ::google::protobuf::Message& from) final;
420  void MergeFrom(const ::google::protobuf::Message& from) final;
421  void CopyFrom(const Discovery_Publisher_MessagePublisher& from);
422  void MergeFrom(const Discovery_Publisher_MessagePublisher& from);
423  void Clear() final;
424  bool IsInitialized() const final;
425 
426  size_t ByteSizeLong() const final;
427  bool MergePartialFromCodedStream(
428  ::google::protobuf::io::CodedInputStream* input) final;
429  void SerializeWithCachedSizes(
430  ::google::protobuf::io::CodedOutputStream* output) const final;
431  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
432  bool deterministic, ::google::protobuf::uint8* target) const final;
433  int GetCachedSize() const final { return _cached_size_.Get(); }
434 
435  private:
436  void SharedCtor();
437  void SharedDtor();
438  void SetCachedSize(int size) const final;
439  void InternalSwap(Discovery_Publisher_MessagePublisher* other);
440  private:
441  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
442  return NULL;
443  }
444  inline void* MaybeArenaPtr() const {
445  return NULL;
446  }
447  public:
448 
449  ::google::protobuf::Metadata GetMetadata() const final;
450 
451  // nested types ----------------------------------------------------
452 
453  // accessors -------------------------------------------------------
454 
455  // string ctrl = 1;
456  void clear_ctrl();
457  static const int kCtrlFieldNumber = 1;
458  const ::std::string& ctrl() const;
459  void set_ctrl(const ::std::string& value);
460  #if LANG_CXX11
461  void set_ctrl(::std::string&& value);
462  #endif
463  void set_ctrl(const char* value);
464  void set_ctrl(const char* value, size_t size);
465  ::std::string* mutable_ctrl();
466  ::std::string* release_ctrl();
467  void set_allocated_ctrl(::std::string* ctrl);
468 
469  // string msg_type = 2;
470  void clear_msg_type();
471  static const int kMsgTypeFieldNumber = 2;
472  const ::std::string& msg_type() const;
473  void set_msg_type(const ::std::string& value);
474  #if LANG_CXX11
475  void set_msg_type(::std::string&& value);
476  #endif
477  void set_msg_type(const char* value);
478  void set_msg_type(const char* value, size_t size);
479  ::std::string* mutable_msg_type();
480  ::std::string* release_msg_type();
481  void set_allocated_msg_type(::std::string* msg_type);
482 
483  // uint64 msgs_per_sec = 4;
484  void clear_msgs_per_sec();
485  static const int kMsgsPerSecFieldNumber = 4;
486  ::google::protobuf::uint64 msgs_per_sec() const;
487  void set_msgs_per_sec(::google::protobuf::uint64 value);
488 
489  // bool throttled = 3;
490  void clear_throttled();
491  static const int kThrottledFieldNumber = 3;
492  bool throttled() const;
493  void set_throttled(bool value);
494 
495  // @@protoc_insertion_point(class_scope:ignition.msgs.Discovery.Publisher.MessagePublisher)
496  private:
497 
498  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
499  ::google::protobuf::internal::ArenaStringPtr ctrl_;
500  ::google::protobuf::internal::ArenaStringPtr msg_type_;
501  ::google::protobuf::uint64 msgs_per_sec_;
502  bool throttled_;
503  mutable ::google::protobuf::internal::CachedSize _cached_size_;
504  friend struct ::protobuf_ignition_2fmsgs_2fdiscovery_2eproto::TableStruct;
505 };
506 // -------------------------------------------------------------------
507 
508 class IGNITION_MSGS_VISIBLE Discovery_Publisher_ServicePublisher : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Discovery.Publisher.ServicePublisher) */ {
509  public:
512 
514 
516  CopyFrom(from);
517  return *this;
518  }
519  #if LANG_CXX11
522  *this = ::std::move(from);
523  }
524 
525  inline Discovery_Publisher_ServicePublisher& operator=(Discovery_Publisher_ServicePublisher&& from) noexcept {
526  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
527  if (this != &from) InternalSwap(&from);
528  } else {
529  CopyFrom(from);
530  }
531  return *this;
532  }
533  #endif
534  static const ::google::protobuf::Descriptor* descriptor();
535  static const Discovery_Publisher_ServicePublisher& default_instance();
536 
537  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
539  return reinterpret_cast<const Discovery_Publisher_ServicePublisher*>(
541  }
542  static constexpr int kIndexInFileMessages =
543  3;
544 
545  void Swap(Discovery_Publisher_ServicePublisher* other);
547  a.Swap(&b);
548  }
549 
550  // implements Message ----------------------------------------------
551 
553  return CreateMaybeMessage<Discovery_Publisher_ServicePublisher>(NULL);
554  }
555 
556  Discovery_Publisher_ServicePublisher* New(::google::protobuf::Arena* arena) const final {
557  return CreateMaybeMessage<Discovery_Publisher_ServicePublisher>(arena);
558  }
559  void CopyFrom(const ::google::protobuf::Message& from) final;
560  void MergeFrom(const ::google::protobuf::Message& from) final;
561  void CopyFrom(const Discovery_Publisher_ServicePublisher& from);
562  void MergeFrom(const Discovery_Publisher_ServicePublisher& from);
563  void Clear() final;
564  bool IsInitialized() const final;
565 
566  size_t ByteSizeLong() const final;
567  bool MergePartialFromCodedStream(
568  ::google::protobuf::io::CodedInputStream* input) final;
569  void SerializeWithCachedSizes(
570  ::google::protobuf::io::CodedOutputStream* output) const final;
571  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
572  bool deterministic, ::google::protobuf::uint8* target) const final;
573  int GetCachedSize() const final { return _cached_size_.Get(); }
574 
575  private:
576  void SharedCtor();
577  void SharedDtor();
578  void SetCachedSize(int size) const final;
579  void InternalSwap(Discovery_Publisher_ServicePublisher* other);
580  private:
581  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
582  return NULL;
583  }
584  inline void* MaybeArenaPtr() const {
585  return NULL;
586  }
587  public:
588 
589  ::google::protobuf::Metadata GetMetadata() const final;
590 
591  // nested types ----------------------------------------------------
592 
593  // accessors -------------------------------------------------------
594 
595  // string socket_id = 1;
596  void clear_socket_id();
597  static const int kSocketIdFieldNumber = 1;
598  const ::std::string& socket_id() const;
599  void set_socket_id(const ::std::string& value);
600  #if LANG_CXX11
601  void set_socket_id(::std::string&& value);
602  #endif
603  void set_socket_id(const char* value);
604  void set_socket_id(const char* value, size_t size);
605  ::std::string* mutable_socket_id();
606  ::std::string* release_socket_id();
607  void set_allocated_socket_id(::std::string* socket_id);
608 
609  // string request_type = 2;
610  void clear_request_type();
611  static const int kRequestTypeFieldNumber = 2;
612  const ::std::string& request_type() const;
613  void set_request_type(const ::std::string& value);
614  #if LANG_CXX11
615  void set_request_type(::std::string&& value);
616  #endif
617  void set_request_type(const char* value);
618  void set_request_type(const char* value, size_t size);
619  ::std::string* mutable_request_type();
620  ::std::string* release_request_type();
621  void set_allocated_request_type(::std::string* request_type);
622 
623  // string response_type = 3;
624  void clear_response_type();
625  static const int kResponseTypeFieldNumber = 3;
626  const ::std::string& response_type() const;
627  void set_response_type(const ::std::string& value);
628  #if LANG_CXX11
629  void set_response_type(::std::string&& value);
630  #endif
631  void set_response_type(const char* value);
632  void set_response_type(const char* value, size_t size);
633  ::std::string* mutable_response_type();
634  ::std::string* release_response_type();
635  void set_allocated_response_type(::std::string* response_type);
636 
637  // @@protoc_insertion_point(class_scope:ignition.msgs.Discovery.Publisher.ServicePublisher)
638  private:
639 
640  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
641  ::google::protobuf::internal::ArenaStringPtr socket_id_;
642  ::google::protobuf::internal::ArenaStringPtr request_type_;
643  ::google::protobuf::internal::ArenaStringPtr response_type_;
644  mutable ::google::protobuf::internal::CachedSize _cached_size_;
645  friend struct ::protobuf_ignition_2fmsgs_2fdiscovery_2eproto::TableStruct;
646 };
647 // -------------------------------------------------------------------
648 
649 class IGNITION_MSGS_VISIBLE Discovery_Publisher : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Discovery.Publisher) */ {
650  public:
652  virtual ~Discovery_Publisher();
653 
655 
657  CopyFrom(from);
658  return *this;
659  }
660  #if LANG_CXX11
662  : Discovery_Publisher() {
663  *this = ::std::move(from);
664  }
665 
666  inline Discovery_Publisher& operator=(Discovery_Publisher&& from) noexcept {
667  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
668  if (this != &from) InternalSwap(&from);
669  } else {
670  CopyFrom(from);
671  }
672  return *this;
673  }
674  #endif
675  static const ::google::protobuf::Descriptor* descriptor();
676  static const Discovery_Publisher& default_instance();
677 
678  enum PubTypeCase {
679  kMsgPub = 6,
680  kSrvPub = 7,
681  PUB_TYPE_NOT_SET = 0,
682  };
683 
684  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
686  return reinterpret_cast<const Discovery_Publisher*>(
688  }
689  static constexpr int kIndexInFileMessages =
690  4;
691 
692  void Swap(Discovery_Publisher* other);
694  a.Swap(&b);
695  }
696 
697  // implements Message ----------------------------------------------
698 
699  inline Discovery_Publisher* New() const final {
700  return CreateMaybeMessage<Discovery_Publisher>(NULL);
701  }
702 
703  Discovery_Publisher* New(::google::protobuf::Arena* arena) const final {
704  return CreateMaybeMessage<Discovery_Publisher>(arena);
705  }
706  void CopyFrom(const ::google::protobuf::Message& from) final;
707  void MergeFrom(const ::google::protobuf::Message& from) final;
708  void CopyFrom(const Discovery_Publisher& from);
709  void MergeFrom(const Discovery_Publisher& from);
710  void Clear() final;
711  bool IsInitialized() const final;
712 
713  size_t ByteSizeLong() const final;
714  bool MergePartialFromCodedStream(
715  ::google::protobuf::io::CodedInputStream* input) final;
716  void SerializeWithCachedSizes(
717  ::google::protobuf::io::CodedOutputStream* output) const final;
718  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
719  bool deterministic, ::google::protobuf::uint8* target) const final;
720  int GetCachedSize() const final { return _cached_size_.Get(); }
721 
722  private:
723  void SharedCtor();
724  void SharedDtor();
725  void SetCachedSize(int size) const final;
726  void InternalSwap(Discovery_Publisher* other);
727  private:
728  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
729  return NULL;
730  }
731  inline void* MaybeArenaPtr() const {
732  return NULL;
733  }
734  public:
735 
736  ::google::protobuf::Metadata GetMetadata() const final;
737 
738  // nested types ----------------------------------------------------
739 
742 
744  static const Scope PROCESS =
746  static const Scope HOST =
748  static const Scope ALL =
750  static inline bool Scope_IsValid(int value) {
751  return Discovery_Publisher_Scope_IsValid(value);
752  }
753  static const Scope Scope_MIN =
755  static const Scope Scope_MAX =
757  static const int Scope_ARRAYSIZE =
759  static inline const ::google::protobuf::EnumDescriptor*
762  }
763  static inline const ::std::string& Scope_Name(Scope value) {
764  return Discovery_Publisher_Scope_Name(value);
765  }
766  static inline bool Scope_Parse(const ::std::string& name,
767  Scope* value) {
768  return Discovery_Publisher_Scope_Parse(name, value);
769  }
770 
771  // accessors -------------------------------------------------------
772 
773  // string topic = 1;
774  void clear_topic();
775  static const int kTopicFieldNumber = 1;
776  const ::std::string& topic() const;
777  void set_topic(const ::std::string& value);
778  #if LANG_CXX11
779  void set_topic(::std::string&& value);
780  #endif
781  void set_topic(const char* value);
782  void set_topic(const char* value, size_t size);
783  ::std::string* mutable_topic();
784  ::std::string* release_topic();
785  void set_allocated_topic(::std::string* topic);
786 
787  // string address = 2;
788  void clear_address();
789  static const int kAddressFieldNumber = 2;
790  const ::std::string& address() const;
791  void set_address(const ::std::string& value);
792  #if LANG_CXX11
793  void set_address(::std::string&& value);
794  #endif
795  void set_address(const char* value);
796  void set_address(const char* value, size_t size);
797  ::std::string* mutable_address();
798  ::std::string* release_address();
799  void set_allocated_address(::std::string* address);
800 
801  // string process_uuid = 3;
802  void clear_process_uuid();
803  static const int kProcessUuidFieldNumber = 3;
804  const ::std::string& process_uuid() const;
805  void set_process_uuid(const ::std::string& value);
806  #if LANG_CXX11
807  void set_process_uuid(::std::string&& value);
808  #endif
809  void set_process_uuid(const char* value);
810  void set_process_uuid(const char* value, size_t size);
811  ::std::string* mutable_process_uuid();
812  ::std::string* release_process_uuid();
813  void set_allocated_process_uuid(::std::string* process_uuid);
814 
815  // string node_uuid = 4;
816  void clear_node_uuid();
817  static const int kNodeUuidFieldNumber = 4;
818  const ::std::string& node_uuid() const;
819  void set_node_uuid(const ::std::string& value);
820  #if LANG_CXX11
821  void set_node_uuid(::std::string&& value);
822  #endif
823  void set_node_uuid(const char* value);
824  void set_node_uuid(const char* value, size_t size);
825  ::std::string* mutable_node_uuid();
826  ::std::string* release_node_uuid();
827  void set_allocated_node_uuid(::std::string* node_uuid);
828 
829  // .ignition.msgs.Discovery.Publisher.Scope scope = 5;
830  void clear_scope();
831  static const int kScopeFieldNumber = 5;
833  void set_scope(::ignition::msgs::Discovery_Publisher_Scope value);
834 
835  // .ignition.msgs.Discovery.Publisher.MessagePublisher msg_pub = 6;
836  bool has_msg_pub() const;
837  void clear_msg_pub();
838  static const int kMsgPubFieldNumber = 6;
839  private:
840  const ::ignition::msgs::Discovery_Publisher_MessagePublisher& _internal_msg_pub() const;
841  public:
842  const ::ignition::msgs::Discovery_Publisher_MessagePublisher& msg_pub() const;
845  void set_allocated_msg_pub(::ignition::msgs::Discovery_Publisher_MessagePublisher* msg_pub);
846 
847  // .ignition.msgs.Discovery.Publisher.ServicePublisher srv_pub = 7;
848  bool has_srv_pub() const;
849  void clear_srv_pub();
850  static const int kSrvPubFieldNumber = 7;
851  private:
852  const ::ignition::msgs::Discovery_Publisher_ServicePublisher& _internal_srv_pub() const;
853  public:
854  const ::ignition::msgs::Discovery_Publisher_ServicePublisher& srv_pub() const;
857  void set_allocated_srv_pub(::ignition::msgs::Discovery_Publisher_ServicePublisher* srv_pub);
858 
859  void clear_pub_type();
860  PubTypeCase pub_type_case() const;
861  // @@protoc_insertion_point(class_scope:ignition.msgs.Discovery.Publisher)
862  private:
863  void set_has_msg_pub();
864  void set_has_srv_pub();
865 
866  inline bool has_pub_type() const;
867  inline void clear_has_pub_type();
868 
869  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
870  ::google::protobuf::internal::ArenaStringPtr topic_;
871  ::google::protobuf::internal::ArenaStringPtr address_;
872  ::google::protobuf::internal::ArenaStringPtr process_uuid_;
873  ::google::protobuf::internal::ArenaStringPtr node_uuid_;
874  int scope_;
875  union PubTypeUnion {
876  PubTypeUnion() {}
879  } pub_type_;
880  mutable ::google::protobuf::internal::CachedSize _cached_size_;
881  ::google::protobuf::uint32 _oneof_case_[1];
882 
883  friend struct ::protobuf_ignition_2fmsgs_2fdiscovery_2eproto::TableStruct;
884 };
885 // -------------------------------------------------------------------
886 
887 class IGNITION_MSGS_VISIBLE Discovery : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Discovery) */ {
888  public:
889  Discovery();
890  virtual ~Discovery();
891 
892  Discovery(const Discovery& from);
893 
894  inline Discovery& operator=(const Discovery& from) {
895  CopyFrom(from);
896  return *this;
897  }
898  #if LANG_CXX11
899  Discovery(Discovery&& from) noexcept
900  : Discovery() {
901  *this = ::std::move(from);
902  }
903 
904  inline Discovery& operator=(Discovery&& from) noexcept {
905  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
906  if (this != &from) InternalSwap(&from);
907  } else {
908  CopyFrom(from);
909  }
910  return *this;
911  }
912  #endif
913  static const ::google::protobuf::Descriptor* descriptor();
914  static const Discovery& default_instance();
915 
917  kSub = 6,
918  kPub = 7,
919  DISC_CONTENTS_NOT_SET = 0,
920  };
921 
922  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
923  static inline const Discovery* internal_default_instance() {
924  return reinterpret_cast<const Discovery*>(
926  }
927  static constexpr int kIndexInFileMessages =
928  5;
929 
930  void Swap(Discovery* other);
931  friend void swap(Discovery& a, Discovery& b) {
932  a.Swap(&b);
933  }
934 
935  // implements Message ----------------------------------------------
936 
937  inline Discovery* New() const final {
938  return CreateMaybeMessage<Discovery>(NULL);
939  }
940 
941  Discovery* New(::google::protobuf::Arena* arena) const final {
942  return CreateMaybeMessage<Discovery>(arena);
943  }
944  void CopyFrom(const ::google::protobuf::Message& from) final;
945  void MergeFrom(const ::google::protobuf::Message& from) final;
946  void CopyFrom(const Discovery& from);
947  void MergeFrom(const Discovery& from);
948  void Clear() final;
949  bool IsInitialized() const final;
950 
951  size_t ByteSizeLong() const final;
952  bool MergePartialFromCodedStream(
953  ::google::protobuf::io::CodedInputStream* input) final;
954  void SerializeWithCachedSizes(
955  ::google::protobuf::io::CodedOutputStream* output) const final;
956  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
957  bool deterministic, ::google::protobuf::uint8* target) const final;
958  int GetCachedSize() const final { return _cached_size_.Get(); }
959 
960  private:
961  void SharedCtor();
962  void SharedDtor();
963  void SetCachedSize(int size) const final;
964  void InternalSwap(Discovery* other);
965  private:
966  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
967  return NULL;
968  }
969  inline void* MaybeArenaPtr() const {
970  return NULL;
971  }
972  public:
973 
974  ::google::protobuf::Metadata GetMetadata() const final;
975 
976  // nested types ----------------------------------------------------
977 
981 
983  static const Type UNINITIALIZED =
985  static const Type ADVERTISE =
987  static const Type SUBSCRIBE =
989  static const Type UNADVERTISE =
991  static const Type HEARTBEAT =
993  static const Type BYE =
995  static const Type NEW_CONNECTION =
997  static const Type END_CONNECTION =
999  static inline bool Type_IsValid(int value) {
1000  return Discovery_Type_IsValid(value);
1001  }
1002  static const Type Type_MIN =
1004  static const Type Type_MAX =
1006  static const int Type_ARRAYSIZE =
1008  static inline const ::google::protobuf::EnumDescriptor*
1010  return Discovery_Type_descriptor();
1011  }
1012  static inline const ::std::string& Type_Name(Type value) {
1013  return Discovery_Type_Name(value);
1014  }
1015  static inline bool Type_Parse(const ::std::string& name,
1016  Type* value) {
1017  return Discovery_Type_Parse(name, value);
1018  }
1019 
1020  // accessors -------------------------------------------------------
1021 
1022  // string process_uuid = 3;
1023  void clear_process_uuid();
1024  static const int kProcessUuidFieldNumber = 3;
1025  const ::std::string& process_uuid() const;
1026  void set_process_uuid(const ::std::string& value);
1027  #if LANG_CXX11
1028  void set_process_uuid(::std::string&& value);
1029  #endif
1030  void set_process_uuid(const char* value);
1031  void set_process_uuid(const char* value, size_t size);
1032  ::std::string* mutable_process_uuid();
1033  ::std::string* release_process_uuid();
1034  void set_allocated_process_uuid(::std::string* process_uuid);
1035 
1036  // .ignition.msgs.Header header = 1;
1037  bool has_header() const;
1038  void clear_header();
1039  static const int kHeaderFieldNumber = 1;
1040  private:
1041  const ::ignition::msgs::Header& _internal_header() const;
1042  public:
1043  const ::ignition::msgs::Header& header() const;
1044  ::ignition::msgs::Header* release_header();
1045  ::ignition::msgs::Header* mutable_header();
1046  void set_allocated_header(::ignition::msgs::Header* header);
1047 
1048  // .ignition.msgs.Discovery.Flags flags = 5;
1049  bool has_flags() const;
1050  void clear_flags();
1051  static const int kFlagsFieldNumber = 5;
1052  private:
1053  const ::ignition::msgs::Discovery_Flags& _internal_flags() const;
1054  public:
1055  const ::ignition::msgs::Discovery_Flags& flags() const;
1056  ::ignition::msgs::Discovery_Flags* release_flags();
1057  ::ignition::msgs::Discovery_Flags* mutable_flags();
1058  void set_allocated_flags(::ignition::msgs::Discovery_Flags* flags);
1059 
1060  // uint32 version = 2;
1061  void clear_version();
1062  static const int kVersionFieldNumber = 2;
1063  ::google::protobuf::uint32 version() const;
1064  void set_version(::google::protobuf::uint32 value);
1065 
1066  // .ignition.msgs.Discovery.Type type = 4;
1067  void clear_type();
1068  static const int kTypeFieldNumber = 4;
1069  ::ignition::msgs::Discovery_Type type() const;
1070  void set_type(::ignition::msgs::Discovery_Type value);
1071 
1072  // .ignition.msgs.Discovery.Subscriber sub = 6;
1073  bool has_sub() const;
1074  void clear_sub();
1075  static const int kSubFieldNumber = 6;
1076  private:
1077  const ::ignition::msgs::Discovery_Subscriber& _internal_sub() const;
1078  public:
1079  const ::ignition::msgs::Discovery_Subscriber& sub() const;
1082  void set_allocated_sub(::ignition::msgs::Discovery_Subscriber* sub);
1083 
1084  // .ignition.msgs.Discovery.Publisher pub = 7;
1085  bool has_pub() const;
1086  void clear_pub();
1087  static const int kPubFieldNumber = 7;
1088  private:
1089  const ::ignition::msgs::Discovery_Publisher& _internal_pub() const;
1090  public:
1091  const ::ignition::msgs::Discovery_Publisher& pub() const;
1094  void set_allocated_pub(::ignition::msgs::Discovery_Publisher* pub);
1095 
1096  void clear_disc_contents();
1097  DiscContentsCase disc_contents_case() const;
1098  // @@protoc_insertion_point(class_scope:ignition.msgs.Discovery)
1099  private:
1100  void set_has_sub();
1101  void set_has_pub();
1102 
1103  inline bool has_disc_contents() const;
1104  inline void clear_has_disc_contents();
1105 
1106  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1107  ::google::protobuf::internal::ArenaStringPtr process_uuid_;
1108  ::ignition::msgs::Header* header_;
1110  ::google::protobuf::uint32 version_;
1111  int type_;
1112  union DiscContentsUnion {
1113  DiscContentsUnion() {}
1116  } disc_contents_;
1117  mutable ::google::protobuf::internal::CachedSize _cached_size_;
1118  ::google::protobuf::uint32 _oneof_case_[1];
1119 
1120  friend struct ::protobuf_ignition_2fmsgs_2fdiscovery_2eproto::TableStruct;
1121 };
1122 // ===================================================================
1123 
1124 
1125 // ===================================================================
1126 
1127 #ifdef __GNUC__
1128  #pragma GCC diagnostic push
1129  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1130 #endif // __GNUC__
1131 // Discovery_Flags
1132 
1133 // bool relay = 1;
1135  relay_ = false;
1136 }
1137 inline bool Discovery_Flags::relay() const {
1138  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Flags.relay)
1139  return relay_;
1140 }
1141 inline void Discovery_Flags::set_relay(bool value) {
1142 
1143  relay_ = value;
1144  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Flags.relay)
1145 }
1146 
1147 // bool no_relay = 2;
1149  no_relay_ = false;
1150 }
1151 inline bool Discovery_Flags::no_relay() const {
1152  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Flags.no_relay)
1153  return no_relay_;
1154 }
1155 inline void Discovery_Flags::set_no_relay(bool value) {
1156 
1157  no_relay_ = value;
1158  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Flags.no_relay)
1159 }
1160 
1161 // -------------------------------------------------------------------
1162 
1163 // Discovery_Subscriber
1164 
1165 // string topic = 1;
1167  topic_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1168 }
1169 inline const ::std::string& Discovery_Subscriber::topic() const {
1170  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Subscriber.topic)
1171  return topic_.GetNoArena();
1172 }
1173 inline void Discovery_Subscriber::set_topic(const ::std::string& value) {
1174 
1175  topic_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1176  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Subscriber.topic)
1177 }
1178 #if LANG_CXX11
1179 inline void Discovery_Subscriber::set_topic(::std::string&& value) {
1180 
1181  topic_.SetNoArena(
1182  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1183  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Discovery.Subscriber.topic)
1184 }
1185 #endif
1186 inline void Discovery_Subscriber::set_topic(const char* value) {
1187  GOOGLE_DCHECK(value != NULL);
1188 
1189  topic_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1190  // @@protoc_insertion_point(field_set_char:ignition.msgs.Discovery.Subscriber.topic)
1191 }
1192 inline void Discovery_Subscriber::set_topic(const char* value, size_t size) {
1193 
1194  topic_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1195  ::std::string(reinterpret_cast<const char*>(value), size));
1196  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Discovery.Subscriber.topic)
1197 }
1198 inline ::std::string* Discovery_Subscriber::mutable_topic() {
1199 
1200  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.Subscriber.topic)
1201  return topic_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1202 }
1203 inline ::std::string* Discovery_Subscriber::release_topic() {
1204  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.Subscriber.topic)
1205 
1206  return topic_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1207 }
1209  if (topic != NULL) {
1210 
1211  } else {
1212 
1213  }
1214  topic_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), topic);
1215  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.Subscriber.topic)
1216 }
1217 
1218 // -------------------------------------------------------------------
1219 
1220 // Discovery_Publisher_MessagePublisher
1221 
1222 // string ctrl = 1;
1224  ctrl_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1225 }
1226 inline const ::std::string& Discovery_Publisher_MessagePublisher::ctrl() const {
1227  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.MessagePublisher.ctrl)
1228  return ctrl_.GetNoArena();
1229 }
1230 inline void Discovery_Publisher_MessagePublisher::set_ctrl(const ::std::string& value) {
1231 
1232  ctrl_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1233  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Publisher.MessagePublisher.ctrl)
1234 }
1235 #if LANG_CXX11
1237 
1238  ctrl_.SetNoArena(
1239  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1240  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Discovery.Publisher.MessagePublisher.ctrl)
1241 }
1242 #endif
1243 inline void Discovery_Publisher_MessagePublisher::set_ctrl(const char* value) {
1244  GOOGLE_DCHECK(value != NULL);
1245 
1246  ctrl_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1247  // @@protoc_insertion_point(field_set_char:ignition.msgs.Discovery.Publisher.MessagePublisher.ctrl)
1248 }
1249 inline void Discovery_Publisher_MessagePublisher::set_ctrl(const char* value, size_t size) {
1250 
1251  ctrl_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1252  ::std::string(reinterpret_cast<const char*>(value), size));
1253  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Discovery.Publisher.MessagePublisher.ctrl)
1254 }
1256 
1257  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.Publisher.MessagePublisher.ctrl)
1258  return ctrl_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1259 }
1261  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.Publisher.MessagePublisher.ctrl)
1262 
1263  return ctrl_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1264 }
1266  if (ctrl != NULL) {
1267 
1268  } else {
1269 
1270  }
1271  ctrl_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ctrl);
1272  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.Publisher.MessagePublisher.ctrl)
1273 }
1274 
1275 // string msg_type = 2;
1277  msg_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1278 }
1279 inline const ::std::string& Discovery_Publisher_MessagePublisher::msg_type() const {
1280  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.MessagePublisher.msg_type)
1281  return msg_type_.GetNoArena();
1282 }
1283 inline void Discovery_Publisher_MessagePublisher::set_msg_type(const ::std::string& value) {
1284 
1285  msg_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1286  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Publisher.MessagePublisher.msg_type)
1287 }
1288 #if LANG_CXX11
1290 
1291  msg_type_.SetNoArena(
1292  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1293  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Discovery.Publisher.MessagePublisher.msg_type)
1294 }
1295 #endif
1297  GOOGLE_DCHECK(value != NULL);
1298 
1299  msg_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1300  // @@protoc_insertion_point(field_set_char:ignition.msgs.Discovery.Publisher.MessagePublisher.msg_type)
1301 }
1302 inline void Discovery_Publisher_MessagePublisher::set_msg_type(const char* value, size_t size) {
1303 
1304  msg_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1305  ::std::string(reinterpret_cast<const char*>(value), size));
1306  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Discovery.Publisher.MessagePublisher.msg_type)
1307 }
1309 
1310  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.Publisher.MessagePublisher.msg_type)
1311  return msg_type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1312 }
1314  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.Publisher.MessagePublisher.msg_type)
1315 
1316  return msg_type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1317 }
1319  if (msg_type != NULL) {
1320 
1321  } else {
1322 
1323  }
1324  msg_type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), msg_type);
1325  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.Publisher.MessagePublisher.msg_type)
1326 }
1327 
1328 // bool throttled = 3;
1330  throttled_ = false;
1331 }
1333  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.MessagePublisher.throttled)
1334  return throttled_;
1335 }
1337 
1338  throttled_ = value;
1339  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Publisher.MessagePublisher.throttled)
1340 }
1341 
1342 // uint64 msgs_per_sec = 4;
1344  msgs_per_sec_ = GOOGLE_ULONGLONG(0);
1345 }
1346 inline ::google::protobuf::uint64 Discovery_Publisher_MessagePublisher::msgs_per_sec() const {
1347  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.MessagePublisher.msgs_per_sec)
1348  return msgs_per_sec_;
1349 }
1350 inline void Discovery_Publisher_MessagePublisher::set_msgs_per_sec(::google::protobuf::uint64 value) {
1351 
1352  msgs_per_sec_ = value;
1353  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Publisher.MessagePublisher.msgs_per_sec)
1354 }
1355 
1356 // -------------------------------------------------------------------
1357 
1358 // Discovery_Publisher_ServicePublisher
1359 
1360 // string socket_id = 1;
1362  socket_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1363 }
1364 inline const ::std::string& Discovery_Publisher_ServicePublisher::socket_id() const {
1365  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.ServicePublisher.socket_id)
1366  return socket_id_.GetNoArena();
1367 }
1368 inline void Discovery_Publisher_ServicePublisher::set_socket_id(const ::std::string& value) {
1369 
1370  socket_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1371  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Publisher.ServicePublisher.socket_id)
1372 }
1373 #if LANG_CXX11
1375 
1376  socket_id_.SetNoArena(
1377  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1378  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Discovery.Publisher.ServicePublisher.socket_id)
1379 }
1380 #endif
1382  GOOGLE_DCHECK(value != NULL);
1383 
1384  socket_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1385  // @@protoc_insertion_point(field_set_char:ignition.msgs.Discovery.Publisher.ServicePublisher.socket_id)
1386 }
1387 inline void Discovery_Publisher_ServicePublisher::set_socket_id(const char* value, size_t size) {
1388 
1389  socket_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1390  ::std::string(reinterpret_cast<const char*>(value), size));
1391  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Discovery.Publisher.ServicePublisher.socket_id)
1392 }
1394 
1395  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.Publisher.ServicePublisher.socket_id)
1396  return socket_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1397 }
1399  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.Publisher.ServicePublisher.socket_id)
1400 
1401  return socket_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1402 }
1404  if (socket_id != NULL) {
1405 
1406  } else {
1407 
1408  }
1409  socket_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), socket_id);
1410  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.Publisher.ServicePublisher.socket_id)
1411 }
1412 
1413 // string request_type = 2;
1415  request_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1416 }
1417 inline const ::std::string& Discovery_Publisher_ServicePublisher::request_type() const {
1418  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.ServicePublisher.request_type)
1419  return request_type_.GetNoArena();
1420 }
1421 inline void Discovery_Publisher_ServicePublisher::set_request_type(const ::std::string& value) {
1422 
1423  request_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1424  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Publisher.ServicePublisher.request_type)
1425 }
1426 #if LANG_CXX11
1428 
1429  request_type_.SetNoArena(
1430  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1431  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Discovery.Publisher.ServicePublisher.request_type)
1432 }
1433 #endif
1435  GOOGLE_DCHECK(value != NULL);
1436 
1437  request_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1438  // @@protoc_insertion_point(field_set_char:ignition.msgs.Discovery.Publisher.ServicePublisher.request_type)
1439 }
1440 inline void Discovery_Publisher_ServicePublisher::set_request_type(const char* value, size_t size) {
1441 
1442  request_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1443  ::std::string(reinterpret_cast<const char*>(value), size));
1444  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Discovery.Publisher.ServicePublisher.request_type)
1445 }
1447 
1448  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.Publisher.ServicePublisher.request_type)
1449  return request_type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1450 }
1452  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.Publisher.ServicePublisher.request_type)
1453 
1454  return request_type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1455 }
1457  if (request_type != NULL) {
1458 
1459  } else {
1460 
1461  }
1462  request_type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), request_type);
1463  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.Publisher.ServicePublisher.request_type)
1464 }
1465 
1466 // string response_type = 3;
1468  response_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1469 }
1470 inline const ::std::string& Discovery_Publisher_ServicePublisher::response_type() const {
1471  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.ServicePublisher.response_type)
1472  return response_type_.GetNoArena();
1473 }
1474 inline void Discovery_Publisher_ServicePublisher::set_response_type(const ::std::string& value) {
1475 
1476  response_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1477  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Publisher.ServicePublisher.response_type)
1478 }
1479 #if LANG_CXX11
1481 
1482  response_type_.SetNoArena(
1483  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1484  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Discovery.Publisher.ServicePublisher.response_type)
1485 }
1486 #endif
1488  GOOGLE_DCHECK(value != NULL);
1489 
1490  response_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1491  // @@protoc_insertion_point(field_set_char:ignition.msgs.Discovery.Publisher.ServicePublisher.response_type)
1492 }
1493 inline void Discovery_Publisher_ServicePublisher::set_response_type(const char* value, size_t size) {
1494 
1495  response_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1496  ::std::string(reinterpret_cast<const char*>(value), size));
1497  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Discovery.Publisher.ServicePublisher.response_type)
1498 }
1500 
1501  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.Publisher.ServicePublisher.response_type)
1502  return response_type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1503 }
1505  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.Publisher.ServicePublisher.response_type)
1506 
1507  return response_type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1508 }
1510  if (response_type != NULL) {
1511 
1512  } else {
1513 
1514  }
1515  response_type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), response_type);
1516  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.Publisher.ServicePublisher.response_type)
1517 }
1518 
1519 // -------------------------------------------------------------------
1520 
1521 // Discovery_Publisher
1522 
1523 // string topic = 1;
1525  topic_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1526 }
1527 inline const ::std::string& Discovery_Publisher::topic() const {
1528  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.topic)
1529  return topic_.GetNoArena();
1530 }
1531 inline void Discovery_Publisher::set_topic(const ::std::string& value) {
1532 
1533  topic_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1534  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Publisher.topic)
1535 }
1536 #if LANG_CXX11
1537 inline void Discovery_Publisher::set_topic(::std::string&& value) {
1538 
1539  topic_.SetNoArena(
1540  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1541  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Discovery.Publisher.topic)
1542 }
1543 #endif
1544 inline void Discovery_Publisher::set_topic(const char* value) {
1545  GOOGLE_DCHECK(value != NULL);
1546 
1547  topic_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1548  // @@protoc_insertion_point(field_set_char:ignition.msgs.Discovery.Publisher.topic)
1549 }
1550 inline void Discovery_Publisher::set_topic(const char* value, size_t size) {
1551 
1552  topic_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1553  ::std::string(reinterpret_cast<const char*>(value), size));
1554  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Discovery.Publisher.topic)
1555 }
1556 inline ::std::string* Discovery_Publisher::mutable_topic() {
1557 
1558  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.Publisher.topic)
1559  return topic_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1560 }
1561 inline ::std::string* Discovery_Publisher::release_topic() {
1562  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.Publisher.topic)
1563 
1564  return topic_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1565 }
1567  if (topic != NULL) {
1568 
1569  } else {
1570 
1571  }
1572  topic_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), topic);
1573  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.Publisher.topic)
1574 }
1575 
1576 // string address = 2;
1578  address_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1579 }
1580 inline const ::std::string& Discovery_Publisher::address() const {
1581  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.address)
1582  return address_.GetNoArena();
1583 }
1584 inline void Discovery_Publisher::set_address(const ::std::string& value) {
1585 
1586  address_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1587  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Publisher.address)
1588 }
1589 #if LANG_CXX11
1590 inline void Discovery_Publisher::set_address(::std::string&& value) {
1591 
1592  address_.SetNoArena(
1593  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1594  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Discovery.Publisher.address)
1595 }
1596 #endif
1597 inline void Discovery_Publisher::set_address(const char* value) {
1598  GOOGLE_DCHECK(value != NULL);
1599 
1600  address_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1601  // @@protoc_insertion_point(field_set_char:ignition.msgs.Discovery.Publisher.address)
1602 }
1603 inline void Discovery_Publisher::set_address(const char* value, size_t size) {
1604 
1605  address_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1606  ::std::string(reinterpret_cast<const char*>(value), size));
1607  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Discovery.Publisher.address)
1608 }
1609 inline ::std::string* Discovery_Publisher::mutable_address() {
1610 
1611  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.Publisher.address)
1612  return address_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1613 }
1614 inline ::std::string* Discovery_Publisher::release_address() {
1615  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.Publisher.address)
1616 
1617  return address_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1618 }
1620  if (address != NULL) {
1621 
1622  } else {
1623 
1624  }
1625  address_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), address);
1626  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.Publisher.address)
1627 }
1628 
1629 // string process_uuid = 3;
1631  process_uuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1632 }
1633 inline const ::std::string& Discovery_Publisher::process_uuid() const {
1634  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.process_uuid)
1635  return process_uuid_.GetNoArena();
1636 }
1637 inline void Discovery_Publisher::set_process_uuid(const ::std::string& value) {
1638 
1639  process_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1640  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Publisher.process_uuid)
1641 }
1642 #if LANG_CXX11
1643 inline void Discovery_Publisher::set_process_uuid(::std::string&& value) {
1644 
1645  process_uuid_.SetNoArena(
1646  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1647  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Discovery.Publisher.process_uuid)
1648 }
1649 #endif
1650 inline void Discovery_Publisher::set_process_uuid(const char* value) {
1651  GOOGLE_DCHECK(value != NULL);
1652 
1653  process_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1654  // @@protoc_insertion_point(field_set_char:ignition.msgs.Discovery.Publisher.process_uuid)
1655 }
1656 inline void Discovery_Publisher::set_process_uuid(const char* value, size_t size) {
1657 
1658  process_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1659  ::std::string(reinterpret_cast<const char*>(value), size));
1660  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Discovery.Publisher.process_uuid)
1661 }
1663 
1664  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.Publisher.process_uuid)
1665  return process_uuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1666 }
1668  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.Publisher.process_uuid)
1669 
1670  return process_uuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1671 }
1673  if (process_uuid != NULL) {
1674 
1675  } else {
1676 
1677  }
1678  process_uuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), process_uuid);
1679  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.Publisher.process_uuid)
1680 }
1681 
1682 // string node_uuid = 4;
1684  node_uuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1685 }
1686 inline const ::std::string& Discovery_Publisher::node_uuid() const {
1687  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.node_uuid)
1688  return node_uuid_.GetNoArena();
1689 }
1690 inline void Discovery_Publisher::set_node_uuid(const ::std::string& value) {
1691 
1692  node_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1693  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Publisher.node_uuid)
1694 }
1695 #if LANG_CXX11
1696 inline void Discovery_Publisher::set_node_uuid(::std::string&& value) {
1697 
1698  node_uuid_.SetNoArena(
1699  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1700  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Discovery.Publisher.node_uuid)
1701 }
1702 #endif
1703 inline void Discovery_Publisher::set_node_uuid(const char* value) {
1704  GOOGLE_DCHECK(value != NULL);
1705 
1706  node_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1707  // @@protoc_insertion_point(field_set_char:ignition.msgs.Discovery.Publisher.node_uuid)
1708 }
1709 inline void Discovery_Publisher::set_node_uuid(const char* value, size_t size) {
1710 
1711  node_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1712  ::std::string(reinterpret_cast<const char*>(value), size));
1713  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Discovery.Publisher.node_uuid)
1714 }
1716 
1717  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.Publisher.node_uuid)
1718  return node_uuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1719 }
1721  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.Publisher.node_uuid)
1722 
1723  return node_uuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1724 }
1726  if (node_uuid != NULL) {
1727 
1728  } else {
1729 
1730  }
1731  node_uuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), node_uuid);
1732  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.Publisher.node_uuid)
1733 }
1734 
1735 // .ignition.msgs.Discovery.Publisher.Scope scope = 5;
1737  scope_ = 0;
1738 }
1740  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.scope)
1741  return static_cast< ::ignition::msgs::Discovery_Publisher_Scope >(scope_);
1742 }
1744 
1745  scope_ = value;
1746  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Publisher.scope)
1747 }
1748 
1749 // .ignition.msgs.Discovery.Publisher.MessagePublisher msg_pub = 6;
1751  return pub_type_case() == kMsgPub;
1752 }
1753 inline void Discovery_Publisher::set_has_msg_pub() {
1754  _oneof_case_[0] = kMsgPub;
1755 }
1757  if (has_msg_pub()) {
1758  delete pub_type_.msg_pub_;
1759  clear_has_pub_type();
1760  }
1761 }
1762 inline const ::ignition::msgs::Discovery_Publisher_MessagePublisher& Discovery_Publisher::_internal_msg_pub() const {
1763  return *pub_type_.msg_pub_;
1764 }
1765 inline ::ignition::msgs::Discovery_Publisher_MessagePublisher* Discovery_Publisher::release_msg_pub() {
1766  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.Publisher.msg_pub)
1767  if (has_msg_pub()) {
1768  clear_has_pub_type();
1769  ::ignition::msgs::Discovery_Publisher_MessagePublisher* temp = pub_type_.msg_pub_;
1770  pub_type_.msg_pub_ = NULL;
1771  return temp;
1772  } else {
1773  return NULL;
1774  }
1775 }
1776 inline const ::ignition::msgs::Discovery_Publisher_MessagePublisher& Discovery_Publisher::msg_pub() const {
1777  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.msg_pub)
1778  return has_msg_pub()
1779  ? *pub_type_.msg_pub_
1781 }
1782 inline ::ignition::msgs::Discovery_Publisher_MessagePublisher* Discovery_Publisher::mutable_msg_pub() {
1783  if (!has_msg_pub()) {
1784  clear_pub_type();
1785  set_has_msg_pub();
1786  pub_type_.msg_pub_ = CreateMaybeMessage< ::ignition::msgs::Discovery_Publisher_MessagePublisher >(
1787  GetArenaNoVirtual());
1788  }
1789  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.Publisher.msg_pub)
1790  return pub_type_.msg_pub_;
1791 }
1792 
1793 // .ignition.msgs.Discovery.Publisher.ServicePublisher srv_pub = 7;
1795  return pub_type_case() == kSrvPub;
1796 }
1797 inline void Discovery_Publisher::set_has_srv_pub() {
1798  _oneof_case_[0] = kSrvPub;
1799 }
1801  if (has_srv_pub()) {
1802  delete pub_type_.srv_pub_;
1803  clear_has_pub_type();
1804  }
1805 }
1806 inline const ::ignition::msgs::Discovery_Publisher_ServicePublisher& Discovery_Publisher::_internal_srv_pub() const {
1807  return *pub_type_.srv_pub_;
1808 }
1809 inline ::ignition::msgs::Discovery_Publisher_ServicePublisher* Discovery_Publisher::release_srv_pub() {
1810  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.Publisher.srv_pub)
1811  if (has_srv_pub()) {
1812  clear_has_pub_type();
1813  ::ignition::msgs::Discovery_Publisher_ServicePublisher* temp = pub_type_.srv_pub_;
1814  pub_type_.srv_pub_ = NULL;
1815  return temp;
1816  } else {
1817  return NULL;
1818  }
1819 }
1820 inline const ::ignition::msgs::Discovery_Publisher_ServicePublisher& Discovery_Publisher::srv_pub() const {
1821  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.srv_pub)
1822  return has_srv_pub()
1823  ? *pub_type_.srv_pub_
1825 }
1826 inline ::ignition::msgs::Discovery_Publisher_ServicePublisher* Discovery_Publisher::mutable_srv_pub() {
1827  if (!has_srv_pub()) {
1828  clear_pub_type();
1829  set_has_srv_pub();
1830  pub_type_.srv_pub_ = CreateMaybeMessage< ::ignition::msgs::Discovery_Publisher_ServicePublisher >(
1831  GetArenaNoVirtual());
1832  }
1833  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.Publisher.srv_pub)
1834  return pub_type_.srv_pub_;
1835 }
1836 
1837 inline bool Discovery_Publisher::has_pub_type() const {
1838  return pub_type_case() != PUB_TYPE_NOT_SET;
1839 }
1840 inline void Discovery_Publisher::clear_has_pub_type() {
1841  _oneof_case_[0] = PUB_TYPE_NOT_SET;
1842 }
1844  return Discovery_Publisher::PubTypeCase(_oneof_case_[0]);
1845 }
1846 // -------------------------------------------------------------------
1847 
1848 // Discovery
1849 
1850 // .ignition.msgs.Header header = 1;
1851 inline bool Discovery::has_header() const {
1852  return this != internal_default_instance() && header_ != NULL;
1853 }
1854 inline const ::ignition::msgs::Header& Discovery::_internal_header() const {
1855  return *header_;
1856 }
1857 inline const ::ignition::msgs::Header& Discovery::header() const {
1858  const ::ignition::msgs::Header* p = header_;
1859  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.header)
1860  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
1862 }
1863 inline ::ignition::msgs::Header* Discovery::release_header() {
1864  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.header)
1865 
1866  ::ignition::msgs::Header* temp = header_;
1867  header_ = NULL;
1868  return temp;
1869 }
1870 inline ::ignition::msgs::Header* Discovery::mutable_header() {
1871 
1872  if (header_ == NULL) {
1873  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
1874  header_ = p;
1875  }
1876  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.header)
1877  return header_;
1878 }
1880  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1881  if (message_arena == NULL) {
1882  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
1883  }
1884  if (header) {
1885  ::google::protobuf::Arena* submessage_arena = NULL;
1886  if (message_arena != submessage_arena) {
1887  header = ::google::protobuf::internal::GetOwnedMessage(
1888  message_arena, header, submessage_arena);
1889  }
1890 
1891  } else {
1892 
1893  }
1894  header_ = header;
1895  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.header)
1896 }
1897 
1898 // uint32 version = 2;
1900  version_ = 0u;
1901 }
1902 inline ::google::protobuf::uint32 Discovery::version() const {
1903  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.version)
1904  return version_;
1905 }
1906 inline void Discovery::set_version(::google::protobuf::uint32 value) {
1907 
1908  version_ = value;
1909  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.version)
1910 }
1911 
1912 // string process_uuid = 3;
1914  process_uuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1915 }
1916 inline const ::std::string& Discovery::process_uuid() const {
1917  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.process_uuid)
1918  return process_uuid_.GetNoArena();
1919 }
1920 inline void Discovery::set_process_uuid(const ::std::string& value) {
1921 
1922  process_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1923  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.process_uuid)
1924 }
1925 #if LANG_CXX11
1926 inline void Discovery::set_process_uuid(::std::string&& value) {
1927 
1928  process_uuid_.SetNoArena(
1929  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1930  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Discovery.process_uuid)
1931 }
1932 #endif
1933 inline void Discovery::set_process_uuid(const char* value) {
1934  GOOGLE_DCHECK(value != NULL);
1935 
1936  process_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1937  // @@protoc_insertion_point(field_set_char:ignition.msgs.Discovery.process_uuid)
1938 }
1939 inline void Discovery::set_process_uuid(const char* value, size_t size) {
1940 
1941  process_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1942  ::std::string(reinterpret_cast<const char*>(value), size));
1943  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Discovery.process_uuid)
1944 }
1945 inline ::std::string* Discovery::mutable_process_uuid() {
1946 
1947  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.process_uuid)
1948  return process_uuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1949 }
1950 inline ::std::string* Discovery::release_process_uuid() {
1951  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.process_uuid)
1952 
1953  return process_uuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1954 }
1956  if (process_uuid != NULL) {
1957 
1958  } else {
1959 
1960  }
1961  process_uuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), process_uuid);
1962  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.process_uuid)
1963 }
1964 
1965 // .ignition.msgs.Discovery.Type type = 4;
1966 inline void Discovery::clear_type() {
1967  type_ = 0;
1968 }
1970  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.type)
1971  return static_cast< ::ignition::msgs::Discovery_Type >(type_);
1972 }
1974 
1975  type_ = value;
1976  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.type)
1977 }
1978 
1979 // .ignition.msgs.Discovery.Flags flags = 5;
1980 inline bool Discovery::has_flags() const {
1981  return this != internal_default_instance() && flags_ != NULL;
1982 }
1983 inline void Discovery::clear_flags() {
1984  if (GetArenaNoVirtual() == NULL && flags_ != NULL) {
1985  delete flags_;
1986  }
1987  flags_ = NULL;
1988 }
1989 inline const ::ignition::msgs::Discovery_Flags& Discovery::_internal_flags() const {
1990  return *flags_;
1991 }
1992 inline const ::ignition::msgs::Discovery_Flags& Discovery::flags() const {
1993  const ::ignition::msgs::Discovery_Flags* p = flags_;
1994  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.flags)
1995  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Discovery_Flags*>(
1997 }
1998 inline ::ignition::msgs::Discovery_Flags* Discovery::release_flags() {
1999  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.flags)
2000 
2001  ::ignition::msgs::Discovery_Flags* temp = flags_;
2002  flags_ = NULL;
2003  return temp;
2004 }
2005 inline ::ignition::msgs::Discovery_Flags* Discovery::mutable_flags() {
2006 
2007  if (flags_ == NULL) {
2008  auto* p = CreateMaybeMessage<::ignition::msgs::Discovery_Flags>(GetArenaNoVirtual());
2009  flags_ = p;
2010  }
2011  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.flags)
2012  return flags_;
2013 }
2015  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2016  if (message_arena == NULL) {
2017  delete flags_;
2018  }
2019  if (flags) {
2020  ::google::protobuf::Arena* submessage_arena = NULL;
2021  if (message_arena != submessage_arena) {
2022  flags = ::google::protobuf::internal::GetOwnedMessage(
2023  message_arena, flags, submessage_arena);
2024  }
2025 
2026  } else {
2027 
2028  }
2029  flags_ = flags;
2030  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.flags)
2031 }
2032 
2033 // .ignition.msgs.Discovery.Subscriber sub = 6;
2034 inline bool Discovery::has_sub() const {
2035  return disc_contents_case() == kSub;
2036 }
2037 inline void Discovery::set_has_sub() {
2038  _oneof_case_[0] = kSub;
2039 }
2040 inline void Discovery::clear_sub() {
2041  if (has_sub()) {
2042  delete disc_contents_.sub_;
2043  clear_has_disc_contents();
2044  }
2045 }
2046 inline const ::ignition::msgs::Discovery_Subscriber& Discovery::_internal_sub() const {
2047  return *disc_contents_.sub_;
2048 }
2049 inline ::ignition::msgs::Discovery_Subscriber* Discovery::release_sub() {
2050  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.sub)
2051  if (has_sub()) {
2052  clear_has_disc_contents();
2053  ::ignition::msgs::Discovery_Subscriber* temp = disc_contents_.sub_;
2054  disc_contents_.sub_ = NULL;
2055  return temp;
2056  } else {
2057  return NULL;
2058  }
2059 }
2060 inline const ::ignition::msgs::Discovery_Subscriber& Discovery::sub() const {
2061  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.sub)
2062  return has_sub()
2063  ? *disc_contents_.sub_
2065 }
2066 inline ::ignition::msgs::Discovery_Subscriber* Discovery::mutable_sub() {
2067  if (!has_sub()) {
2068  clear_disc_contents();
2069  set_has_sub();
2070  disc_contents_.sub_ = CreateMaybeMessage< ::ignition::msgs::Discovery_Subscriber >(
2071  GetArenaNoVirtual());
2072  }
2073  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.sub)
2074  return disc_contents_.sub_;
2075 }
2076 
2077 // .ignition.msgs.Discovery.Publisher pub = 7;
2078 inline bool Discovery::has_pub() const {
2079  return disc_contents_case() == kPub;
2080 }
2081 inline void Discovery::set_has_pub() {
2082  _oneof_case_[0] = kPub;
2083 }
2084 inline void Discovery::clear_pub() {
2085  if (has_pub()) {
2086  delete disc_contents_.pub_;
2087  clear_has_disc_contents();
2088  }
2089 }
2090 inline const ::ignition::msgs::Discovery_Publisher& Discovery::_internal_pub() const {
2091  return *disc_contents_.pub_;
2092 }
2093 inline ::ignition::msgs::Discovery_Publisher* Discovery::release_pub() {
2094  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.pub)
2095  if (has_pub()) {
2096  clear_has_disc_contents();
2097  ::ignition::msgs::Discovery_Publisher* temp = disc_contents_.pub_;
2098  disc_contents_.pub_ = NULL;
2099  return temp;
2100  } else {
2101  return NULL;
2102  }
2103 }
2104 inline const ::ignition::msgs::Discovery_Publisher& Discovery::pub() const {
2105  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.pub)
2106  return has_pub()
2107  ? *disc_contents_.pub_
2109 }
2110 inline ::ignition::msgs::Discovery_Publisher* Discovery::mutable_pub() {
2111  if (!has_pub()) {
2112  clear_disc_contents();
2113  set_has_pub();
2114  disc_contents_.pub_ = CreateMaybeMessage< ::ignition::msgs::Discovery_Publisher >(
2115  GetArenaNoVirtual());
2116  }
2117  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.pub)
2118  return disc_contents_.pub_;
2119 }
2120 
2121 inline bool Discovery::has_disc_contents() const {
2122  return disc_contents_case() != DISC_CONTENTS_NOT_SET;
2123 }
2124 inline void Discovery::clear_has_disc_contents() {
2125  _oneof_case_[0] = DISC_CONTENTS_NOT_SET;
2126 }
2128  return Discovery::DiscContentsCase(_oneof_case_[0]);
2129 }
2130 #ifdef __GNUC__
2131  #pragma GCC diagnostic pop
2132 #endif // __GNUC__
2133 // -------------------------------------------------------------------
2134 
2135 // -------------------------------------------------------------------
2136 
2137 // -------------------------------------------------------------------
2138 
2139 // -------------------------------------------------------------------
2140 
2141 // -------------------------------------------------------------------
2142 
2143 
2148 // @@protoc_insertion_point(namespace_scope)
2149 
2150 } // namespace msgs
2151 } // namespace ignition
2152 
2153 namespace google {
2154 namespace protobuf {
2155 
2156 template <> struct is_proto_enum< ::ignition::msgs::Discovery_Publisher_Scope> : ::std::true_type {};
2157 template <>
2158 inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::Discovery_Publisher_Scope>() {
2160 }
2161 template <> struct is_proto_enum< ::ignition::msgs::Discovery_Type> : ::std::true_type {};
2162 template <>
2163 inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::Discovery_Type>() {
2165 }
2166 
2167 } // namespace protobuf
2168 } // namespace google
2169 
2170 #ifdef _MSC_VER
2171 #pragma warning(pop)
2172 #endif
2173 // @@protoc_insertion_point(global_scope)
2174 
2175 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2fdiscovery_2eproto
void set_topic(const ::std::string &value)
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1531
::ignition::msgs::Discovery_Flags * mutable_flags()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:2005
::std::string * release_msg_type()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1313
void Swap(Discovery_Publisher *other)
static const Discovery_Publisher_ServicePublisher * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:538
bool has_msg_pub() const
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1750
void clear_ctrl()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1223
@ Discovery_Type_UNADVERTISE
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:122
void clear_request_type()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1414
void set_allocated_socket_id(::std::string *socket_id)
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1403
void Swap(Discovery_Flags *other)
Discovery_Subscriber * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:301
void clear_scope()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1736
::std::string * release_node_uuid()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1720
::std::string * mutable_msg_type()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1308
IGNITION_MSGS_VISIBLE bool Discovery_Publisher_Scope_IsValid(int value)
void set_relay(bool value)
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1141
IGNITION_MSGS_VISIBLE Discovery_SubscriberDefaultTypeInternal _Discovery_Subscriber_default_instance_
Discovery_Publisher_ServicePublisher * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:552
STL class.
STL class.
const IGNITION_MSGS_VISIBLE ::google::protobuf::EnumDescriptor * Discovery_Type_descriptor()
void clear_srv_pub()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1800
::std::string * release_request_type()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1451
::ignition::msgs::Discovery_Publisher * release_pub()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:2093
void set_allocated_msg_type(::std::string *msg_type)
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1318
@ Discovery_Publisher_Scope_Discovery_Publisher_Scope_INT_MIN_SENTINEL_DO_NOT_USE_
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:100
void clear_node_uuid()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1683
static const ::std::string & Type_Name(Type value)
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1012
T move(T... args)
const ::std::string & Discovery_Publisher_Scope_Name(Discovery_Publisher_Scope value)
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:109
bool has_sub() const
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:2034
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:51
bool has_srv_pub() const
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1794
void clear_socket_id()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1361
@ Discovery_Publisher_Scope_PROCESS
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:97
::std::string * mutable_request_type()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1446
friend void swap(Discovery_Subscriber &a, Discovery_Subscriber &b)
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:295
static const ::google::protobuf::EnumDescriptor * Scope_descriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:760
void set_allocated_address(::std::string *address)
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1619
@ Discovery_Type_BYE
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:124
void set_node_uuid(const ::std::string &value)
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1690
Discovery_Subscriber & operator=(const Discovery_Subscriber &from)
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:264
void set_allocated_header(::ignition::msgs::Header *header)
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1879
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:147
void clear_relay()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1134
const Discovery_Type Discovery_Type_Type_MAX
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:132
::ignition::msgs::Discovery_Flags * release_flags()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1998
void set_allocated_process_uuid(::std::string *process_uuid)
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1955
PubTypeCase pub_type_case() const
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1843
void clear_throttled()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1329
::std::string * release_ctrl()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1260
Discovery * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:941
::ignition::msgs::Discovery_Subscriber * release_sub()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:2049
::ignition::msgs::Discovery_Publisher_MessagePublisher * mutable_msg_pub()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1782
const int Discovery_Type_Type_ARRAYSIZE
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:133
void set_topic(const ::std::string &value)
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1173
@ Discovery_Publisher_Scope_ALL
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:99
const ::std::string & process_uuid() const
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1916
@ Discovery_Type_SUBSCRIBE
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:121
::ignition::msgs::Discovery_Publisher_ServicePublisher * release_srv_pub()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1809
Discovery_Publisher * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:699
Discovery_Publisher & operator=(const Discovery_Publisher &from)
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:656
const Discovery_Publisher_Scope Discovery_Publisher_Scope_Scope_MAX
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:105
::std::string * mutable_process_uuid()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1945
void Swap(Discovery_Publisher_ServicePublisher *other)
void clear_msgs_per_sec()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1343
Discovery_Publisher_MessagePublisher * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:412
IGNITION_MSGS_VISIBLE Discovery_PublisherDefaultTypeInternal _Discovery_Publisher_default_instance_
IGNITION_MSGS_VISIBLE DiscoveryDefaultTypeInternal _Discovery_default_instance_
std::shared_ptr< Discovery > DiscoverySharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:2146
::std::string * mutable_topic()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1198
void clear_topic()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1166
const Discovery_Publisher_Scope Discovery_Publisher_Scope_Scope_MIN
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:104
void set_msgs_per_sec(::google::protobuf::uint64 value)
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1350
@ Discovery_Type_Discovery_Type_INT_MIN_SENTINEL_DO_NOT_USE_
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:127
const IGNITION_MSGS_VISIBLE ::google::protobuf::EnumDescriptor * Discovery_Publisher_Scope_descriptor()
void clear_process_uuid()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1913
void clear_flags()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1983
const ::std::string & ctrl() const
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1226
const ::std::string & topic() const
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1527
::std::string * mutable_process_uuid()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1662
@ Discovery_Type_NEW_CONNECTION
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:125
void set_process_uuid(const ::std::string &value)
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1637
::std::string * mutable_address()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1609
void set_msg_type(const ::std::string &value)
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1283
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:649
void set_response_type(const ::std::string &value)
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1474
::ignition::msgs::Discovery_Publisher_MessagePublisher * release_msg_pub()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1765
void set_scope(::ignition::msgs::Discovery_Publisher_Scope value)
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1743
void clear_version()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1899
const ::ignition::msgs::Discovery_Publisher_ServicePublisher & srv_pub() const
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1820
void clear_msg_pub()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1756
::std::string * release_address()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1614
@ Discovery_Publisher_Scope_Discovery_Publisher_Scope_INT_MAX_SENTINEL_DO_NOT_USE_
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:101
@ Discovery_Type_HEARTBEAT
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:123
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:887
friend void swap(Discovery &a, Discovery &b)
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:931
void clear_topic()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1524
void set_socket_id(const ::std::string &value)
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1368
::std::string * release_topic()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1203
::ignition::msgs::Header * release_header()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1863
::ignition::msgs::Discovery_Publisher * mutable_pub()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:2110
const ::std::string & topic() const
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1169
::std::string * mutable_ctrl()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1255
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:257
PubTypeCase
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:678
void Swap(Discovery_Subscriber *other)
void clear_type()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1966
void clear_pub()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:2084
const ::ignition::msgs::Discovery_Flags & flags() const
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1992
void set_allocated_request_type(::std::string *request_type)
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1456
Discovery_Publisher_ServicePublisher & operator=(const Discovery_Publisher_ServicePublisher &from)
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:515
friend void swap(Discovery_Flags &a, Discovery_Flags &b)
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:185
const ::std::string & response_type() const
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1470
::ignition::msgs::Discovery_Type type() const
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1969
void set_process_uuid(const ::std::string &value)
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1920
::ignition::msgs::Discovery_Publisher_Scope scope() const
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1739
void set_ctrl(const ::std::string &value)
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1230
static const ::google::protobuf::EnumDescriptor * Type_descriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1009
bool Discovery_Publisher_Scope_Parse(const ::std::string &name, Discovery_Publisher_Scope *value)
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:113
std::unique_ptr< const Discovery > ConstDiscoveryUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:2145
Discovery & operator=(const Discovery &from)
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:894
void clear_sub()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:2040
static const Discovery_Publisher * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:685
friend void swap(Discovery_Publisher &a, Discovery_Publisher &b)
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:693
bool has_header() const
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1851
const ::std::string & socket_id() const
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1364
Discovery_Flags & operator=(const Discovery_Flags &from)
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:154
void set_allocated_process_uuid(::std::string *process_uuid)
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1672
std::unique_ptr< Discovery > DiscoveryUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:2144
const Discovery_Type Discovery_Type_Type_MIN
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:131
void set_request_type(const ::std::string &value)
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1421
::std::string * release_process_uuid()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1667
const ::std::string & request_type() const
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1417
const ::ignition::msgs::Discovery_Publisher & pub() const
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:2104
::std::string * mutable_socket_id()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1393
::std::string * release_socket_id()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1398
const ::ignition::msgs::Discovery_Subscriber & sub() const
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:2060
const ::ignition::msgs::Header & header() const
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1857
std::shared_ptr< const Discovery > ConstDiscoverySharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:2147
::std::string * mutable_node_uuid()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1715
friend void swap(Discovery_Publisher_ServicePublisher &a, Discovery_Publisher_ServicePublisher &b)
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:546
static bool Scope_Parse(const ::std::string &name, Scope *value)
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:766
bool has_flags() const
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1980
@ Discovery_Type_ADVERTISE
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:120
const int Discovery_Publisher_Scope_Scope_ARRAYSIZE
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:106
bool Discovery_Type_Parse(const ::std::string &name, Discovery_Type *value)
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:140
Discovery_Publisher_MessagePublisher * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:416
void set_version(::google::protobuf::uint32 value)
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1906
const ::std::string & node_uuid() const
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1686
@ Discovery_Publisher_Scope_HOST
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:98
::ignition::msgs::Header * mutable_header()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1870
Discovery_Type
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:118
void set_allocated_topic(::std::string *topic)
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1566
void set_type(::ignition::msgs::Discovery_Type value)
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1973
::std::string * mutable_topic()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1556
static const ::std::string & Scope_Name(Scope value)
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:763
IGNITION_MSGS_VISIBLE Discovery_Publisher_MessagePublisherDefaultTypeInternal _Discovery_Publisher_MessagePublisher_default_instance_
Discovery_Publisher_Scope
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:96
Discovery_Flags * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:195
void IGNITION_MSGS_VISIBLE AddDescriptors()
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
const ::std::string & process_uuid() const
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1633
static const Discovery * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:923
void set_allocated_flags(::ignition::msgs::Discovery_Flags *flags)
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:2014
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:49
void clear_process_uuid()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1630
DiscContentsCase
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:916
STL namespace.
void set_allocated_response_type(::std::string *response_type)
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1509
Definition: build/ignition-msgs8/include/ignition/msgs/header.pb.h:215
const ::std::string & address() const
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1580
Discovery * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:937
Discovery_Publisher_MessagePublisher & operator=(const Discovery_Publisher_MessagePublisher &from)
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:375
DiscContentsCase disc_contents_case() const
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:2127
@ Discovery_Type_END_CONNECTION
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:126
@ Discovery_Type_Discovery_Type_INT_MAX_SENTINEL_DO_NOT_USE_
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:128
::google::protobuf::uint32 version() const
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1902
void Swap(Discovery_Publisher_MessagePublisher *other)
void set_allocated_node_uuid(::std::string *node_uuid)
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1725
::std::string * release_process_uuid()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1950
void set_allocated_ctrl(::std::string *ctrl)
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1265
::std::string * release_response_type()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1504
bool throttled() const
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1332
static const Discovery_Publisher_MessagePublisher * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:398
void clear_response_type()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1467
bool no_relay() const
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1151
friend void swap(Discovery_Publisher_MessagePublisher &a, Discovery_Publisher_MessagePublisher &b)
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:406
void clear_msg_type()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1276
bool relay() const
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1137
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:368
const ::std::string & Discovery_Type_Name(Discovery_Type value)
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:136
static const Discovery_Flags * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:177
IGNITION_MSGS_VISIBLE Discovery_FlagsDefaultTypeInternal _Discovery_Flags_default_instance_
Discovery_Publisher_ServicePublisher * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:556
void Swap(Discovery *other)
void set_no_relay(bool value)
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1155
static bool Type_Parse(const ::std::string &name, Type *value)
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1015
void set_allocated_topic(::std::string *topic)
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1208
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:508
::std::string * release_topic()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1561
STL class.
void set_throttled(bool value)
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1336
void clear_no_relay()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1148
IGNITION_MSGS_VISIBLE Discovery_Publisher_ServicePublisherDefaultTypeInternal _Discovery_Publisher_ServicePublisher_default_instance_
static const Discovery_Subscriber * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:287
void clear_address()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1577
void set_address(const ::std::string &value)
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1584
Discovery_Flags * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:191
const ::std::string & msg_type() const
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1279
@ Discovery_Type_UNINITIALIZED
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:119
Discovery_Publisher * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:703
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:78
::std::string * mutable_response_type()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1499
::ignition::msgs::Discovery_Publisher_ServicePublisher * mutable_srv_pub()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1826
bool has_pub() const
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:2078
const ::ignition::msgs::Discovery_Publisher_MessagePublisher & msg_pub() const
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1776
::google::protobuf::uint64 msgs_per_sec() const
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:1346
IGNITION_MSGS_VISIBLE bool Discovery_Type_IsValid(int value)
Discovery_Subscriber * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:305
::ignition::msgs::Discovery_Subscriber * mutable_sub()
Definition: build/ignition-msgs8/include/ignition/msgs/discovery.pb.h:2066