Ignition Msgs

API Reference

5.8.1
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 GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fdiscovery_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fdiscovery_2eproto
6 
7 #include <limits>
8 #include <string>
9 
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3019000
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 3019000 < 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/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arena.h>
25 #include <google/protobuf/arenastring.h>
26 #include <google/protobuf/generated_message_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/metadata_lite.h>
29 #include <google/protobuf/generated_message_reflection.h>
30 #include <google/protobuf/message.h>
31 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
32 #include <google/protobuf/extension_set.h> // IWYU pragma: export
33 #include <google/protobuf/generated_enum_reflection.h>
34 #include <google/protobuf/unknown_field_set.h>
36 #ifndef _MSC_VER
37 #pragma GCC system_header
38 #else
39 #pragma warning(push)
40 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
41 #endif
42 #ifdef __linux__
43 #include <sys/sysmacros.h>
44 #endif
45 #include <memory>
46 #include <ignition/msgs/Export.hh>
47 // @@protoc_insertion_point(includes)
48 #include <google/protobuf/port_def.inc>
49 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fdiscovery_2eproto IGNITION_MSGS_VISIBLE
50 PROTOBUF_NAMESPACE_OPEN
51 namespace internal {
52 class AnyMetadata;
53 } // namespace internal
54 PROTOBUF_NAMESPACE_CLOSE
55 
56 // Internal implementation detail -- do not use these members.
58  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
59  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
60  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
61  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
62  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[6]
63  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
64  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
65  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
66  static const uint32_t offsets[];
67 };
68 IGNITION_MSGS_VISIBLE extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fdiscovery_2eproto;
69 namespace ignition {
70 namespace msgs {
71 class Discovery;
72 struct DiscoveryDefaultTypeInternal;
73 IGNITION_MSGS_VISIBLE extern DiscoveryDefaultTypeInternal _Discovery_default_instance_;
74 class Discovery_Flags;
75 struct Discovery_FlagsDefaultTypeInternal;
76 IGNITION_MSGS_VISIBLE extern Discovery_FlagsDefaultTypeInternal _Discovery_Flags_default_instance_;
77 class Discovery_Publisher;
78 struct Discovery_PublisherDefaultTypeInternal;
79 IGNITION_MSGS_VISIBLE extern Discovery_PublisherDefaultTypeInternal _Discovery_Publisher_default_instance_;
80 class Discovery_Publisher_MessagePublisher;
81 struct Discovery_Publisher_MessagePublisherDefaultTypeInternal;
82 IGNITION_MSGS_VISIBLE extern Discovery_Publisher_MessagePublisherDefaultTypeInternal _Discovery_Publisher_MessagePublisher_default_instance_;
83 class Discovery_Publisher_ServicePublisher;
84 struct Discovery_Publisher_ServicePublisherDefaultTypeInternal;
85 IGNITION_MSGS_VISIBLE extern Discovery_Publisher_ServicePublisherDefaultTypeInternal _Discovery_Publisher_ServicePublisher_default_instance_;
86 class Discovery_Subscriber;
87 struct Discovery_SubscriberDefaultTypeInternal;
88 IGNITION_MSGS_VISIBLE extern Discovery_SubscriberDefaultTypeInternal _Discovery_Subscriber_default_instance_;
89 } // namespace msgs
90 } // namespace ignition
91 PROTOBUF_NAMESPACE_OPEN
92 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Discovery* Arena::CreateMaybeMessage<::ignition::msgs::Discovery>(Arena*);
93 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Discovery_Flags* Arena::CreateMaybeMessage<::ignition::msgs::Discovery_Flags>(Arena*);
94 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Discovery_Publisher* Arena::CreateMaybeMessage<::ignition::msgs::Discovery_Publisher>(Arena*);
95 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Discovery_Publisher_MessagePublisher* Arena::CreateMaybeMessage<::ignition::msgs::Discovery_Publisher_MessagePublisher>(Arena*);
96 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Discovery_Publisher_ServicePublisher* Arena::CreateMaybeMessage<::ignition::msgs::Discovery_Publisher_ServicePublisher>(Arena*);
97 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Discovery_Subscriber* Arena::CreateMaybeMessage<::ignition::msgs::Discovery_Subscriber>(Arena*);
98 PROTOBUF_NAMESPACE_CLOSE
99 namespace ignition {
100 namespace msgs {
101 
108 };
109 IGNITION_MSGS_VISIBLE bool Discovery_Publisher_Scope_IsValid(int value);
113 
114 IGNITION_MSGS_VISIBLE const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Discovery_Publisher_Scope_descriptor();
115 template<typename T>
116 inline const std::string& Discovery_Publisher_Scope_Name(T enum_t_value) {
119  "Incorrect type passed to function Discovery_Publisher_Scope_Name.");
120  return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
121  Discovery_Publisher_Scope_descriptor(), enum_t_value);
122 }
124  ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Discovery_Publisher_Scope* value) {
125  return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Discovery_Publisher_Scope>(
126  Discovery_Publisher_Scope_descriptor(), name, value);
127 }
128 enum Discovery_Type : int {
139 };
140 IGNITION_MSGS_VISIBLE bool Discovery_Type_IsValid(int value);
144 
145 IGNITION_MSGS_VISIBLE const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Discovery_Type_descriptor();
146 template<typename T>
147 inline const std::string& Discovery_Type_Name(T enum_t_value) {
148  static_assert(::std::is_same<T, Discovery_Type>::value ||
150  "Incorrect type passed to function Discovery_Type_Name.");
151  return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
152  Discovery_Type_descriptor(), enum_t_value);
153 }
155  ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Discovery_Type* value) {
156  return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Discovery_Type>(
157  Discovery_Type_descriptor(), name, value);
158 }
159 // ===================================================================
160 
161 class IGNITION_MSGS_VISIBLE Discovery_Flags final :
162  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Discovery.Flags) */ {
163  public:
164  inline Discovery_Flags() : Discovery_Flags(nullptr) {}
165  ~Discovery_Flags() override;
166  explicit constexpr Discovery_Flags(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
167 
170  : Discovery_Flags() {
171  *this = ::std::move(from);
172  }
173 
175  CopyFrom(from);
176  return *this;
177  }
178  inline Discovery_Flags& operator=(Discovery_Flags&& from) noexcept {
179  if (this == &from) return *this;
180  if (GetOwningArena() == from.GetOwningArena()
181  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
182  && GetOwningArena() != nullptr
183  #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
184  ) {
185  InternalSwap(&from);
186  } else {
187  CopyFrom(from);
188  }
189  return *this;
190  }
191 
192  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
193  return GetDescriptor();
194  }
195  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
196  return default_instance().GetMetadata().descriptor;
197  }
198  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
199  return default_instance().GetMetadata().reflection;
200  }
202  return *internal_default_instance();
203  }
205  return reinterpret_cast<const Discovery_Flags*>(
207  }
208  static constexpr int kIndexInFileMessages =
209  0;
210 
211  friend void swap(Discovery_Flags& a, Discovery_Flags& b) {
212  a.Swap(&b);
213  }
214  inline void Swap(Discovery_Flags* other) {
215  if (other == this) return;
216  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
217  if (GetOwningArena() != nullptr &&
218  GetOwningArena() == other->GetOwningArena()) {
219  #else // PROTOBUF_FORCE_COPY_IN_SWAP
220  if (GetOwningArena() == other->GetOwningArena()) {
221  #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
222  InternalSwap(other);
223  } else {
224  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
225  }
226  }
228  if (other == this) return;
229  GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
230  InternalSwap(other);
231  }
232 
233  // implements Message ----------------------------------------------
234 
235  Discovery_Flags* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
236  return CreateMaybeMessage<Discovery_Flags>(arena);
237  }
238  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
239  void CopyFrom(const Discovery_Flags& from);
240  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
241  void MergeFrom(const Discovery_Flags& from);
242  private:
243  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
244  public:
245  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
246  bool IsInitialized() const final;
247 
248  size_t ByteSizeLong() const final;
249  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
250  uint8_t* _InternalSerialize(
251  uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
252  int GetCachedSize() const final { return _cached_size_.Get(); }
253 
254  private:
255  void SharedCtor();
256  void SharedDtor();
257  void SetCachedSize(int size) const final;
258  void InternalSwap(Discovery_Flags* other);
259 
260  private:
261  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
262  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
263  return "ignition.msgs.Discovery.Flags";
264  }
265  protected:
266  explicit Discovery_Flags(::PROTOBUF_NAMESPACE_ID::Arena* arena,
267  bool is_message_owned = false);
268  private:
269  static void ArenaDtor(void* object);
270  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
271  public:
272 
273  static const ClassData _class_data_;
274  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
275 
276  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
277 
278  // nested types ----------------------------------------------------
279 
280  // accessors -------------------------------------------------------
281 
282  enum : int {
283  kRelayFieldNumber = 1,
284  kNoRelayFieldNumber = 2,
285  };
286  // bool relay = 1;
287  void clear_relay();
288  bool relay() const;
289  void set_relay(bool value);
290  private:
291  bool _internal_relay() const;
292  void _internal_set_relay(bool value);
293  public:
294 
295  // bool no_relay = 2;
296  void clear_no_relay();
297  bool no_relay() const;
298  void set_no_relay(bool value);
299  private:
300  bool _internal_no_relay() const;
301  void _internal_set_no_relay(bool value);
302  public:
303 
304  // @@protoc_insertion_point(class_scope:ignition.msgs.Discovery.Flags)
305  private:
306  class _Internal;
307 
308  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
309  typedef void InternalArenaConstructable_;
310  typedef void DestructorSkippable_;
311  bool relay_;
312  bool no_relay_;
313  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
314  friend struct ::TableStruct_ignition_2fmsgs_2fdiscovery_2eproto;
315 };
316 // -------------------------------------------------------------------
317 
318 class IGNITION_MSGS_VISIBLE Discovery_Subscriber final :
319  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Discovery.Subscriber) */ {
320  public:
323  explicit constexpr Discovery_Subscriber(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
324 
328  *this = ::std::move(from);
329  }
330 
332  CopyFrom(from);
333  return *this;
334  }
336  if (this == &from) return *this;
337  if (GetOwningArena() == from.GetOwningArena()
338  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
339  && GetOwningArena() != nullptr
340  #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
341  ) {
342  InternalSwap(&from);
343  } else {
344  CopyFrom(from);
345  }
346  return *this;
347  }
348 
349  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
350  return GetDescriptor();
351  }
352  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
353  return default_instance().GetMetadata().descriptor;
354  }
355  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
356  return default_instance().GetMetadata().reflection;
357  }
359  return *internal_default_instance();
360  }
362  return reinterpret_cast<const Discovery_Subscriber*>(
364  }
365  static constexpr int kIndexInFileMessages =
366  1;
367 
369  a.Swap(&b);
370  }
371  inline void Swap(Discovery_Subscriber* other) {
372  if (other == this) return;
373  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
374  if (GetOwningArena() != nullptr &&
375  GetOwningArena() == other->GetOwningArena()) {
376  #else // PROTOBUF_FORCE_COPY_IN_SWAP
377  if (GetOwningArena() == other->GetOwningArena()) {
378  #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
379  InternalSwap(other);
380  } else {
381  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
382  }
383  }
385  if (other == this) return;
386  GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
387  InternalSwap(other);
388  }
389 
390  // implements Message ----------------------------------------------
391 
392  Discovery_Subscriber* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
393  return CreateMaybeMessage<Discovery_Subscriber>(arena);
394  }
395  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
396  void CopyFrom(const Discovery_Subscriber& from);
397  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
398  void MergeFrom(const Discovery_Subscriber& from);
399  private:
400  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
401  public:
402  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
403  bool IsInitialized() const final;
404 
405  size_t ByteSizeLong() const final;
406  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
407  uint8_t* _InternalSerialize(
408  uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
409  int GetCachedSize() const final { return _cached_size_.Get(); }
410 
411  private:
412  void SharedCtor();
413  void SharedDtor();
414  void SetCachedSize(int size) const final;
415  void InternalSwap(Discovery_Subscriber* other);
416 
417  private:
418  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
419  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
420  return "ignition.msgs.Discovery.Subscriber";
421  }
422  protected:
423  explicit Discovery_Subscriber(::PROTOBUF_NAMESPACE_ID::Arena* arena,
424  bool is_message_owned = false);
425  private:
426  static void ArenaDtor(void* object);
427  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
428  public:
429 
430  static const ClassData _class_data_;
431  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
432 
433  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
434 
435  // nested types ----------------------------------------------------
436 
437  // accessors -------------------------------------------------------
438 
439  enum : int {
440  kTopicFieldNumber = 1,
441  };
442  // string topic = 1;
443  void clear_topic();
444  const std::string& topic() const;
445  template <typename ArgT0 = const std::string&, typename... ArgT>
446  void set_topic(ArgT0&& arg0, ArgT... args);
447  std::string* mutable_topic();
448  PROTOBUF_NODISCARD std::string* release_topic();
449  void set_allocated_topic(std::string* topic);
450  private:
451  const std::string& _internal_topic() const;
452  inline PROTOBUF_ALWAYS_INLINE void _internal_set_topic(const std::string& value);
453  std::string* _internal_mutable_topic();
454  public:
455 
456  // @@protoc_insertion_point(class_scope:ignition.msgs.Discovery.Subscriber)
457  private:
458  class _Internal;
459 
460  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
461  typedef void InternalArenaConstructable_;
462  typedef void DestructorSkippable_;
463  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr topic_;
464  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
465  friend struct ::TableStruct_ignition_2fmsgs_2fdiscovery_2eproto;
466 };
467 // -------------------------------------------------------------------
468 
469 class IGNITION_MSGS_VISIBLE Discovery_Publisher_MessagePublisher final :
470  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Discovery.Publisher.MessagePublisher) */ {
471  public:
474  explicit constexpr Discovery_Publisher_MessagePublisher(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
475 
479  *this = ::std::move(from);
480  }
481 
483  CopyFrom(from);
484  return *this;
485  }
487  if (this == &from) return *this;
488  if (GetOwningArena() == from.GetOwningArena()
489  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
490  && GetOwningArena() != nullptr
491  #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
492  ) {
493  InternalSwap(&from);
494  } else {
495  CopyFrom(from);
496  }
497  return *this;
498  }
499 
500  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
501  return GetDescriptor();
502  }
503  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
504  return default_instance().GetMetadata().descriptor;
505  }
506  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
507  return default_instance().GetMetadata().reflection;
508  }
510  return *internal_default_instance();
511  }
513  return reinterpret_cast<const Discovery_Publisher_MessagePublisher*>(
515  }
516  static constexpr int kIndexInFileMessages =
517  2;
518 
520  a.Swap(&b);
521  }
523  if (other == this) return;
524  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
525  if (GetOwningArena() != nullptr &&
526  GetOwningArena() == other->GetOwningArena()) {
527  #else // PROTOBUF_FORCE_COPY_IN_SWAP
528  if (GetOwningArena() == other->GetOwningArena()) {
529  #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
530  InternalSwap(other);
531  } else {
532  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
533  }
534  }
536  if (other == this) return;
537  GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
538  InternalSwap(other);
539  }
540 
541  // implements Message ----------------------------------------------
542 
543  Discovery_Publisher_MessagePublisher* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
544  return CreateMaybeMessage<Discovery_Publisher_MessagePublisher>(arena);
545  }
546  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
548  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
550  private:
551  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
552  public:
553  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
554  bool IsInitialized() const final;
555 
556  size_t ByteSizeLong() const final;
557  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
558  uint8_t* _InternalSerialize(
559  uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
560  int GetCachedSize() const final { return _cached_size_.Get(); }
561 
562  private:
563  void SharedCtor();
564  void SharedDtor();
565  void SetCachedSize(int size) const final;
566  void InternalSwap(Discovery_Publisher_MessagePublisher* other);
567 
568  private:
569  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
570  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
571  return "ignition.msgs.Discovery.Publisher.MessagePublisher";
572  }
573  protected:
574  explicit Discovery_Publisher_MessagePublisher(::PROTOBUF_NAMESPACE_ID::Arena* arena,
575  bool is_message_owned = false);
576  private:
577  static void ArenaDtor(void* object);
578  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
579  public:
580 
581  static const ClassData _class_data_;
582  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
583 
584  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
585 
586  // nested types ----------------------------------------------------
587 
588  // accessors -------------------------------------------------------
589 
590  enum : int {
591  kCtrlFieldNumber = 1,
592  kMsgTypeFieldNumber = 2,
593  kMsgsPerSecFieldNumber = 4,
594  kThrottledFieldNumber = 3,
595  };
596  // string ctrl = 1;
597  void clear_ctrl();
598  const std::string& ctrl() const;
599  template <typename ArgT0 = const std::string&, typename... ArgT>
600  void set_ctrl(ArgT0&& arg0, ArgT... args);
601  std::string* mutable_ctrl();
602  PROTOBUF_NODISCARD std::string* release_ctrl();
603  void set_allocated_ctrl(std::string* ctrl);
604  private:
605  const std::string& _internal_ctrl() const;
606  inline PROTOBUF_ALWAYS_INLINE void _internal_set_ctrl(const std::string& value);
607  std::string* _internal_mutable_ctrl();
608  public:
609 
610  // string msg_type = 2;
611  void clear_msg_type();
612  const std::string& msg_type() const;
613  template <typename ArgT0 = const std::string&, typename... ArgT>
614  void set_msg_type(ArgT0&& arg0, ArgT... args);
615  std::string* mutable_msg_type();
616  PROTOBUF_NODISCARD std::string* release_msg_type();
617  void set_allocated_msg_type(std::string* msg_type);
618  private:
619  const std::string& _internal_msg_type() const;
620  inline PROTOBUF_ALWAYS_INLINE void _internal_set_msg_type(const std::string& value);
621  std::string* _internal_mutable_msg_type();
622  public:
623 
624  // uint64 msgs_per_sec = 4;
625  void clear_msgs_per_sec();
626  uint64_t msgs_per_sec() const;
627  void set_msgs_per_sec(uint64_t value);
628  private:
629  uint64_t _internal_msgs_per_sec() const;
630  void _internal_set_msgs_per_sec(uint64_t value);
631  public:
632 
633  // bool throttled = 3;
634  void clear_throttled();
635  bool throttled() const;
636  void set_throttled(bool value);
637  private:
638  bool _internal_throttled() const;
639  void _internal_set_throttled(bool value);
640  public:
641 
642  // @@protoc_insertion_point(class_scope:ignition.msgs.Discovery.Publisher.MessagePublisher)
643  private:
644  class _Internal;
645 
646  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
647  typedef void InternalArenaConstructable_;
648  typedef void DestructorSkippable_;
649  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ctrl_;
650  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr msg_type_;
651  uint64_t msgs_per_sec_;
652  bool throttled_;
653  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
654  friend struct ::TableStruct_ignition_2fmsgs_2fdiscovery_2eproto;
655 };
656 // -------------------------------------------------------------------
657 
658 class IGNITION_MSGS_VISIBLE Discovery_Publisher_ServicePublisher final :
659  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Discovery.Publisher.ServicePublisher) */ {
660  public:
663  explicit constexpr Discovery_Publisher_ServicePublisher(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
664 
668  *this = ::std::move(from);
669  }
670 
672  CopyFrom(from);
673  return *this;
674  }
676  if (this == &from) return *this;
677  if (GetOwningArena() == from.GetOwningArena()
678  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
679  && GetOwningArena() != nullptr
680  #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
681  ) {
682  InternalSwap(&from);
683  } else {
684  CopyFrom(from);
685  }
686  return *this;
687  }
688 
689  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
690  return GetDescriptor();
691  }
692  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
693  return default_instance().GetMetadata().descriptor;
694  }
695  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
696  return default_instance().GetMetadata().reflection;
697  }
699  return *internal_default_instance();
700  }
702  return reinterpret_cast<const Discovery_Publisher_ServicePublisher*>(
704  }
705  static constexpr int kIndexInFileMessages =
706  3;
707 
709  a.Swap(&b);
710  }
712  if (other == this) return;
713  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
714  if (GetOwningArena() != nullptr &&
715  GetOwningArena() == other->GetOwningArena()) {
716  #else // PROTOBUF_FORCE_COPY_IN_SWAP
717  if (GetOwningArena() == other->GetOwningArena()) {
718  #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
719  InternalSwap(other);
720  } else {
721  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
722  }
723  }
725  if (other == this) return;
726  GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
727  InternalSwap(other);
728  }
729 
730  // implements Message ----------------------------------------------
731 
732  Discovery_Publisher_ServicePublisher* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
733  return CreateMaybeMessage<Discovery_Publisher_ServicePublisher>(arena);
734  }
735  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
737  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
739  private:
740  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
741  public:
742  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
743  bool IsInitialized() const final;
744 
745  size_t ByteSizeLong() const final;
746  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
747  uint8_t* _InternalSerialize(
748  uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
749  int GetCachedSize() const final { return _cached_size_.Get(); }
750 
751  private:
752  void SharedCtor();
753  void SharedDtor();
754  void SetCachedSize(int size) const final;
755  void InternalSwap(Discovery_Publisher_ServicePublisher* other);
756 
757  private:
758  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
759  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
760  return "ignition.msgs.Discovery.Publisher.ServicePublisher";
761  }
762  protected:
763  explicit Discovery_Publisher_ServicePublisher(::PROTOBUF_NAMESPACE_ID::Arena* arena,
764  bool is_message_owned = false);
765  private:
766  static void ArenaDtor(void* object);
767  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
768  public:
769 
770  static const ClassData _class_data_;
771  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
772 
773  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
774 
775  // nested types ----------------------------------------------------
776 
777  // accessors -------------------------------------------------------
778 
779  enum : int {
780  kSocketIdFieldNumber = 1,
781  kRequestTypeFieldNumber = 2,
782  kResponseTypeFieldNumber = 3,
783  };
784  // string socket_id = 1;
785  void clear_socket_id();
786  const std::string& socket_id() const;
787  template <typename ArgT0 = const std::string&, typename... ArgT>
788  void set_socket_id(ArgT0&& arg0, ArgT... args);
789  std::string* mutable_socket_id();
790  PROTOBUF_NODISCARD std::string* release_socket_id();
791  void set_allocated_socket_id(std::string* socket_id);
792  private:
793  const std::string& _internal_socket_id() const;
794  inline PROTOBUF_ALWAYS_INLINE void _internal_set_socket_id(const std::string& value);
795  std::string* _internal_mutable_socket_id();
796  public:
797 
798  // string request_type = 2;
799  void clear_request_type();
800  const std::string& request_type() const;
801  template <typename ArgT0 = const std::string&, typename... ArgT>
802  void set_request_type(ArgT0&& arg0, ArgT... args);
803  std::string* mutable_request_type();
804  PROTOBUF_NODISCARD std::string* release_request_type();
805  void set_allocated_request_type(std::string* request_type);
806  private:
807  const std::string& _internal_request_type() const;
808  inline PROTOBUF_ALWAYS_INLINE void _internal_set_request_type(const std::string& value);
809  std::string* _internal_mutable_request_type();
810  public:
811 
812  // string response_type = 3;
813  void clear_response_type();
814  const std::string& response_type() const;
815  template <typename ArgT0 = const std::string&, typename... ArgT>
816  void set_response_type(ArgT0&& arg0, ArgT... args);
817  std::string* mutable_response_type();
818  PROTOBUF_NODISCARD std::string* release_response_type();
819  void set_allocated_response_type(std::string* response_type);
820  private:
821  const std::string& _internal_response_type() const;
822  inline PROTOBUF_ALWAYS_INLINE void _internal_set_response_type(const std::string& value);
823  std::string* _internal_mutable_response_type();
824  public:
825 
826  // @@protoc_insertion_point(class_scope:ignition.msgs.Discovery.Publisher.ServicePublisher)
827  private:
828  class _Internal;
829 
830  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
831  typedef void InternalArenaConstructable_;
832  typedef void DestructorSkippable_;
833  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr socket_id_;
834  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr request_type_;
835  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr response_type_;
836  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
837  friend struct ::TableStruct_ignition_2fmsgs_2fdiscovery_2eproto;
838 };
839 // -------------------------------------------------------------------
840 
841 class IGNITION_MSGS_VISIBLE Discovery_Publisher final :
842  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Discovery.Publisher) */ {
843  public:
846  explicit constexpr Discovery_Publisher(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
847 
850  : Discovery_Publisher() {
851  *this = ::std::move(from);
852  }
853 
855  CopyFrom(from);
856  return *this;
857  }
859  if (this == &from) return *this;
860  if (GetOwningArena() == from.GetOwningArena()
861  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
862  && GetOwningArena() != nullptr
863  #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
864  ) {
865  InternalSwap(&from);
866  } else {
867  CopyFrom(from);
868  }
869  return *this;
870  }
871 
872  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
873  return GetDescriptor();
874  }
875  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
876  return default_instance().GetMetadata().descriptor;
877  }
878  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
879  return default_instance().GetMetadata().reflection;
880  }
882  return *internal_default_instance();
883  }
884  enum PubTypeCase {
885  kMsgPub = 6,
886  kSrvPub = 7,
887  PUB_TYPE_NOT_SET = 0,
888  };
889 
891  return reinterpret_cast<const Discovery_Publisher*>(
893  }
894  static constexpr int kIndexInFileMessages =
895  4;
896 
898  a.Swap(&b);
899  }
900  inline void Swap(Discovery_Publisher* other) {
901  if (other == this) return;
902  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
903  if (GetOwningArena() != nullptr &&
904  GetOwningArena() == other->GetOwningArena()) {
905  #else // PROTOBUF_FORCE_COPY_IN_SWAP
906  if (GetOwningArena() == other->GetOwningArena()) {
907  #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
908  InternalSwap(other);
909  } else {
910  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
911  }
912  }
914  if (other == this) return;
915  GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
916  InternalSwap(other);
917  }
918 
919  // implements Message ----------------------------------------------
920 
921  Discovery_Publisher* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
922  return CreateMaybeMessage<Discovery_Publisher>(arena);
923  }
924  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
925  void CopyFrom(const Discovery_Publisher& from);
926  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
927  void MergeFrom(const Discovery_Publisher& from);
928  private:
929  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
930  public:
931  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
932  bool IsInitialized() const final;
933 
934  size_t ByteSizeLong() const final;
935  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
936  uint8_t* _InternalSerialize(
937  uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
938  int GetCachedSize() const final { return _cached_size_.Get(); }
939 
940  private:
941  void SharedCtor();
942  void SharedDtor();
943  void SetCachedSize(int size) const final;
944  void InternalSwap(Discovery_Publisher* other);
945 
946  private:
947  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
948  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
949  return "ignition.msgs.Discovery.Publisher";
950  }
951  protected:
952  explicit Discovery_Publisher(::PROTOBUF_NAMESPACE_ID::Arena* arena,
953  bool is_message_owned = false);
954  private:
955  static void ArenaDtor(void* object);
956  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
957  public:
958 
959  static const ClassData _class_data_;
960  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
961 
962  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
963 
964  // nested types ----------------------------------------------------
965 
968 
970  static constexpr Scope PROCESS =
972  static constexpr Scope HOST =
974  static constexpr Scope ALL =
976  static inline bool Scope_IsValid(int value) {
977  return Discovery_Publisher_Scope_IsValid(value);
978  }
979  static constexpr Scope Scope_MIN =
981  static constexpr Scope Scope_MAX =
983  static constexpr int Scope_ARRAYSIZE =
985  static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
988  }
989  template<typename T>
990  static inline const std::string& Scope_Name(T enum_t_value) {
991  static_assert(::std::is_same<T, Scope>::value ||
993  "Incorrect type passed to function Scope_Name.");
994  return Discovery_Publisher_Scope_Name(enum_t_value);
995  }
996  static inline bool Scope_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
997  Scope* value) {
998  return Discovery_Publisher_Scope_Parse(name, value);
999  }
1000 
1001  // accessors -------------------------------------------------------
1002 
1003  enum : int {
1004  kTopicFieldNumber = 1,
1005  kAddressFieldNumber = 2,
1006  kProcessUuidFieldNumber = 3,
1007  kNodeUuidFieldNumber = 4,
1008  kScopeFieldNumber = 5,
1009  kMsgPubFieldNumber = 6,
1010  kSrvPubFieldNumber = 7,
1011  };
1012  // string topic = 1;
1013  void clear_topic();
1014  const std::string& topic() const;
1015  template <typename ArgT0 = const std::string&, typename... ArgT>
1016  void set_topic(ArgT0&& arg0, ArgT... args);
1017  std::string* mutable_topic();
1018  PROTOBUF_NODISCARD std::string* release_topic();
1019  void set_allocated_topic(std::string* topic);
1020  private:
1021  const std::string& _internal_topic() const;
1022  inline PROTOBUF_ALWAYS_INLINE void _internal_set_topic(const std::string& value);
1023  std::string* _internal_mutable_topic();
1024  public:
1025 
1026  // string address = 2;
1027  void clear_address();
1028  const std::string& address() const;
1029  template <typename ArgT0 = const std::string&, typename... ArgT>
1030  void set_address(ArgT0&& arg0, ArgT... args);
1031  std::string* mutable_address();
1032  PROTOBUF_NODISCARD std::string* release_address();
1033  void set_allocated_address(std::string* address);
1034  private:
1035  const std::string& _internal_address() const;
1036  inline PROTOBUF_ALWAYS_INLINE void _internal_set_address(const std::string& value);
1037  std::string* _internal_mutable_address();
1038  public:
1039 
1040  // string process_uuid = 3;
1041  void clear_process_uuid();
1042  const std::string& process_uuid() const;
1043  template <typename ArgT0 = const std::string&, typename... ArgT>
1044  void set_process_uuid(ArgT0&& arg0, ArgT... args);
1045  std::string* mutable_process_uuid();
1046  PROTOBUF_NODISCARD std::string* release_process_uuid();
1047  void set_allocated_process_uuid(std::string* process_uuid);
1048  private:
1049  const std::string& _internal_process_uuid() const;
1050  inline PROTOBUF_ALWAYS_INLINE void _internal_set_process_uuid(const std::string& value);
1051  std::string* _internal_mutable_process_uuid();
1052  public:
1053 
1054  // string node_uuid = 4;
1055  void clear_node_uuid();
1056  const std::string& node_uuid() const;
1057  template <typename ArgT0 = const std::string&, typename... ArgT>
1058  void set_node_uuid(ArgT0&& arg0, ArgT... args);
1059  std::string* mutable_node_uuid();
1060  PROTOBUF_NODISCARD std::string* release_node_uuid();
1061  void set_allocated_node_uuid(std::string* node_uuid);
1062  private:
1063  const std::string& _internal_node_uuid() const;
1064  inline PROTOBUF_ALWAYS_INLINE void _internal_set_node_uuid(const std::string& value);
1065  std::string* _internal_mutable_node_uuid();
1066  public:
1067 
1068  // .ignition.msgs.Discovery.Publisher.Scope scope = 5;
1069  void clear_scope();
1071  void set_scope(::ignition::msgs::Discovery_Publisher_Scope value);
1072  private:
1073  ::ignition::msgs::Discovery_Publisher_Scope _internal_scope() const;
1074  void _internal_set_scope(::ignition::msgs::Discovery_Publisher_Scope value);
1075  public:
1076 
1077  // .ignition.msgs.Discovery.Publisher.MessagePublisher msg_pub = 6;
1078  bool has_msg_pub() const;
1079  private:
1080  bool _internal_has_msg_pub() const;
1081  public:
1082  void clear_msg_pub();
1083  const ::ignition::msgs::Discovery_Publisher_MessagePublisher& msg_pub() const;
1084  PROTOBUF_NODISCARD ::ignition::msgs::Discovery_Publisher_MessagePublisher* release_msg_pub();
1087  private:
1088  const ::ignition::msgs::Discovery_Publisher_MessagePublisher& _internal_msg_pub() const;
1089  ::ignition::msgs::Discovery_Publisher_MessagePublisher* _internal_mutable_msg_pub();
1090  public:
1091  void unsafe_arena_set_allocated_msg_pub(
1093  ::ignition::msgs::Discovery_Publisher_MessagePublisher* unsafe_arena_release_msg_pub();
1094 
1095  // .ignition.msgs.Discovery.Publisher.ServicePublisher srv_pub = 7;
1096  bool has_srv_pub() const;
1097  private:
1098  bool _internal_has_srv_pub() const;
1099  public:
1100  void clear_srv_pub();
1101  const ::ignition::msgs::Discovery_Publisher_ServicePublisher& srv_pub() const;
1102  PROTOBUF_NODISCARD ::ignition::msgs::Discovery_Publisher_ServicePublisher* release_srv_pub();
1105  private:
1106  const ::ignition::msgs::Discovery_Publisher_ServicePublisher& _internal_srv_pub() const;
1107  ::ignition::msgs::Discovery_Publisher_ServicePublisher* _internal_mutable_srv_pub();
1108  public:
1109  void unsafe_arena_set_allocated_srv_pub(
1111  ::ignition::msgs::Discovery_Publisher_ServicePublisher* unsafe_arena_release_srv_pub();
1112 
1114  PubTypeCase pub_type_case() const;
1115  // @@protoc_insertion_point(class_scope:ignition.msgs.Discovery.Publisher)
1116  private:
1117  class _Internal;
1118  void set_has_msg_pub();
1119  void set_has_srv_pub();
1120 
1121  inline bool has_pub_type() const;
1122  inline void clear_has_pub_type();
1123 
1124  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1125  typedef void InternalArenaConstructable_;
1126  typedef void DestructorSkippable_;
1127  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr topic_;
1128  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr address_;
1129  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr process_uuid_;
1130  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr node_uuid_;
1131  int scope_;
1132  union PubTypeUnion {
1133  constexpr PubTypeUnion() : _constinit_{} {}
1134  ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
1137  } pub_type_;
1138  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1139  uint32_t _oneof_case_[1];
1140 
1141  friend struct ::TableStruct_ignition_2fmsgs_2fdiscovery_2eproto;
1142 };
1143 // -------------------------------------------------------------------
1144 
1145 class IGNITION_MSGS_VISIBLE Discovery final :
1146  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Discovery) */ {
1147  public:
1148  inline Discovery() : Discovery(nullptr) {}
1149  ~Discovery() override;
1150  explicit constexpr Discovery(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1151 
1152  Discovery(const Discovery& from);
1153  Discovery(Discovery&& from) noexcept
1154  : Discovery() {
1155  *this = ::std::move(from);
1156  }
1157 
1158  inline Discovery& operator=(const Discovery& from) {
1159  CopyFrom(from);
1160  return *this;
1161  }
1162  inline Discovery& operator=(Discovery&& from) noexcept {
1163  if (this == &from) return *this;
1164  if (GetOwningArena() == from.GetOwningArena()
1165  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1166  && GetOwningArena() != nullptr
1167  #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1168  ) {
1169  InternalSwap(&from);
1170  } else {
1171  CopyFrom(from);
1172  }
1173  return *this;
1174  }
1175 
1176  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1177  return GetDescriptor();
1178  }
1179  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1180  return default_instance().GetMetadata().descriptor;
1181  }
1182  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1183  return default_instance().GetMetadata().reflection;
1184  }
1185  static const Discovery& default_instance() {
1186  return *internal_default_instance();
1187  }
1189  kSub = 6,
1190  kPub = 7,
1191  DISC_CONTENTS_NOT_SET = 0,
1192  };
1193 
1194  static inline const Discovery* internal_default_instance() {
1195  return reinterpret_cast<const Discovery*>(
1197  }
1198  static constexpr int kIndexInFileMessages =
1199  5;
1200 
1201  friend void swap(Discovery& a, Discovery& b) {
1202  a.Swap(&b);
1203  }
1204  inline void Swap(Discovery* other) {
1205  if (other == this) return;
1206  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1207  if (GetOwningArena() != nullptr &&
1208  GetOwningArena() == other->GetOwningArena()) {
1209  #else // PROTOBUF_FORCE_COPY_IN_SWAP
1210  if (GetOwningArena() == other->GetOwningArena()) {
1211  #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1212  InternalSwap(other);
1213  } else {
1214  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1215  }
1216  }
1218  if (other == this) return;
1219  GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1220  InternalSwap(other);
1221  }
1222 
1223  // implements Message ----------------------------------------------
1224 
1225  Discovery* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
1226  return CreateMaybeMessage<Discovery>(arena);
1227  }
1228  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1229  void CopyFrom(const Discovery& from);
1230  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1231  void MergeFrom(const Discovery& from);
1232  private:
1233  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
1234  public:
1235  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1236  bool IsInitialized() const final;
1237 
1238  size_t ByteSizeLong() const final;
1239  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1240  uint8_t* _InternalSerialize(
1241  uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1242  int GetCachedSize() const final { return _cached_size_.Get(); }
1243 
1244  private:
1245  void SharedCtor();
1246  void SharedDtor();
1247  void SetCachedSize(int size) const final;
1248  void InternalSwap(Discovery* other);
1249 
1250  private:
1251  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1252  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1253  return "ignition.msgs.Discovery";
1254  }
1255  protected:
1256  explicit Discovery(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1257  bool is_message_owned = false);
1258  private:
1259  static void ArenaDtor(void* object);
1260  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1261  public:
1262 
1263  static const ClassData _class_data_;
1264  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
1265 
1266  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1267 
1268  // nested types ----------------------------------------------------
1269 
1273 
1275  static constexpr Type UNINITIALIZED =
1277  static constexpr Type ADVERTISE =
1279  static constexpr Type SUBSCRIBE =
1281  static constexpr Type UNADVERTISE =
1283  static constexpr Type HEARTBEAT =
1285  static constexpr Type BYE =
1287  static constexpr Type NEW_CONNECTION =
1289  static constexpr Type END_CONNECTION =
1291  static inline bool Type_IsValid(int value) {
1292  return Discovery_Type_IsValid(value);
1293  }
1294  static constexpr Type Type_MIN =
1296  static constexpr Type Type_MAX =
1298  static constexpr int Type_ARRAYSIZE =
1300  static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
1302  return Discovery_Type_descriptor();
1303  }
1304  template<typename T>
1305  static inline const std::string& Type_Name(T enum_t_value) {
1306  static_assert(::std::is_same<T, Type>::value ||
1308  "Incorrect type passed to function Type_Name.");
1309  return Discovery_Type_Name(enum_t_value);
1310  }
1311  static inline bool Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
1312  Type* value) {
1313  return Discovery_Type_Parse(name, value);
1314  }
1315 
1316  // accessors -------------------------------------------------------
1317 
1318  enum : int {
1319  kProcessUuidFieldNumber = 3,
1320  kHeaderFieldNumber = 1,
1321  kFlagsFieldNumber = 5,
1322  kVersionFieldNumber = 2,
1323  kTypeFieldNumber = 4,
1324  kSubFieldNumber = 6,
1325  kPubFieldNumber = 7,
1326  };
1327  // string process_uuid = 3;
1328  void clear_process_uuid();
1329  const std::string& process_uuid() const;
1330  template <typename ArgT0 = const std::string&, typename... ArgT>
1331  void set_process_uuid(ArgT0&& arg0, ArgT... args);
1332  std::string* mutable_process_uuid();
1333  PROTOBUF_NODISCARD std::string* release_process_uuid();
1334  void set_allocated_process_uuid(std::string* process_uuid);
1335  private:
1336  const std::string& _internal_process_uuid() const;
1337  inline PROTOBUF_ALWAYS_INLINE void _internal_set_process_uuid(const std::string& value);
1338  std::string* _internal_mutable_process_uuid();
1339  public:
1340 
1341  // .ignition.msgs.Header header = 1;
1342  bool has_header() const;
1343  private:
1344  bool _internal_has_header() const;
1345  public:
1347  const ::ignition::msgs::Header& header() const;
1348  PROTOBUF_NODISCARD ::ignition::msgs::Header* release_header();
1349  ::ignition::msgs::Header* mutable_header();
1350  void set_allocated_header(::ignition::msgs::Header* header);
1351  private:
1352  const ::ignition::msgs::Header& _internal_header() const;
1353  ::ignition::msgs::Header* _internal_mutable_header();
1354  public:
1355  void unsafe_arena_set_allocated_header(
1356  ::ignition::msgs::Header* header);
1357  ::ignition::msgs::Header* unsafe_arena_release_header();
1358 
1359  // .ignition.msgs.Discovery.Flags flags = 5;
1360  bool has_flags() const;
1361  private:
1362  bool _internal_has_flags() const;
1363  public:
1364  void clear_flags();
1365  const ::ignition::msgs::Discovery_Flags& flags() const;
1366  PROTOBUF_NODISCARD ::ignition::msgs::Discovery_Flags* release_flags();
1367  ::ignition::msgs::Discovery_Flags* mutable_flags();
1368  void set_allocated_flags(::ignition::msgs::Discovery_Flags* flags);
1369  private:
1370  const ::ignition::msgs::Discovery_Flags& _internal_flags() const;
1371  ::ignition::msgs::Discovery_Flags* _internal_mutable_flags();
1372  public:
1373  void unsafe_arena_set_allocated_flags(
1375  ::ignition::msgs::Discovery_Flags* unsafe_arena_release_flags();
1376 
1377  // uint32 version = 2;
1378  void clear_version();
1379  uint32_t version() const;
1380  void set_version(uint32_t value);
1381  private:
1382  uint32_t _internal_version() const;
1383  void _internal_set_version(uint32_t value);
1384  public:
1385 
1386  // .ignition.msgs.Discovery.Type type = 4;
1387  void clear_type();
1388  ::ignition::msgs::Discovery_Type type() const;
1389  void set_type(::ignition::msgs::Discovery_Type value);
1390  private:
1391  ::ignition::msgs::Discovery_Type _internal_type() const;
1392  void _internal_set_type(::ignition::msgs::Discovery_Type value);
1393  public:
1394 
1395  // .ignition.msgs.Discovery.Subscriber sub = 6;
1396  bool has_sub() const;
1397  private:
1398  bool _internal_has_sub() const;
1399  public:
1400  void clear_sub();
1401  const ::ignition::msgs::Discovery_Subscriber& sub() const;
1402  PROTOBUF_NODISCARD ::ignition::msgs::Discovery_Subscriber* release_sub();
1405  private:
1406  const ::ignition::msgs::Discovery_Subscriber& _internal_sub() const;
1407  ::ignition::msgs::Discovery_Subscriber* _internal_mutable_sub();
1408  public:
1409  void unsafe_arena_set_allocated_sub(
1411  ::ignition::msgs::Discovery_Subscriber* unsafe_arena_release_sub();
1412 
1413  // .ignition.msgs.Discovery.Publisher pub = 7;
1414  bool has_pub() const;
1415  private:
1416  bool _internal_has_pub() const;
1417  public:
1418  void clear_pub();
1419  const ::ignition::msgs::Discovery_Publisher& pub() const;
1420  PROTOBUF_NODISCARD ::ignition::msgs::Discovery_Publisher* release_pub();
1423  private:
1424  const ::ignition::msgs::Discovery_Publisher& _internal_pub() const;
1425  ::ignition::msgs::Discovery_Publisher* _internal_mutable_pub();
1426  public:
1427  void unsafe_arena_set_allocated_pub(
1429  ::ignition::msgs::Discovery_Publisher* unsafe_arena_release_pub();
1430 
1432  DiscContentsCase disc_contents_case() const;
1433  // @@protoc_insertion_point(class_scope:ignition.msgs.Discovery)
1434  private:
1435  class _Internal;
1436  void set_has_sub();
1437  void set_has_pub();
1438 
1439  inline bool has_disc_contents() const;
1440  inline void clear_has_disc_contents();
1441 
1442  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1443  typedef void InternalArenaConstructable_;
1444  typedef void DestructorSkippable_;
1445  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr process_uuid_;
1446  ::ignition::msgs::Header* header_;
1448  uint32_t version_;
1449  int type_;
1450  union DiscContentsUnion {
1451  constexpr DiscContentsUnion() : _constinit_{} {}
1452  ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
1455  } disc_contents_;
1456  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1457  uint32_t _oneof_case_[1];
1458 
1459  friend struct ::TableStruct_ignition_2fmsgs_2fdiscovery_2eproto;
1460 };
1461 // ===================================================================
1462 
1463 
1464 // ===================================================================
1465 
1466 #ifdef __GNUC__
1467  #pragma GCC diagnostic push
1468  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1469 #endif // __GNUC__
1470 // Discovery_Flags
1471 
1472 // bool relay = 1;
1474  relay_ = false;
1475 }
1476 inline bool Discovery_Flags::_internal_relay() const {
1477  return relay_;
1478 }
1479 inline bool Discovery_Flags::relay() const {
1480  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Flags.relay)
1481  return _internal_relay();
1482 }
1483 inline void Discovery_Flags::_internal_set_relay(bool value) {
1484 
1485  relay_ = value;
1486 }
1487 inline void Discovery_Flags::set_relay(bool value) {
1488  _internal_set_relay(value);
1489  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Flags.relay)
1490 }
1491 
1492 // bool no_relay = 2;
1494  no_relay_ = false;
1495 }
1496 inline bool Discovery_Flags::_internal_no_relay() const {
1497  return no_relay_;
1498 }
1499 inline bool Discovery_Flags::no_relay() const {
1500  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Flags.no_relay)
1501  return _internal_no_relay();
1502 }
1503 inline void Discovery_Flags::_internal_set_no_relay(bool value) {
1504 
1505  no_relay_ = value;
1506 }
1507 inline void Discovery_Flags::set_no_relay(bool value) {
1508  _internal_set_no_relay(value);
1509  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Flags.no_relay)
1510 }
1511 
1512 // -------------------------------------------------------------------
1513 
1514 // Discovery_Subscriber
1515 
1516 // string topic = 1;
1518  topic_.ClearToEmpty();
1519 }
1521  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Subscriber.topic)
1522  return _internal_topic();
1523 }
1524 template <typename ArgT0, typename... ArgT>
1525 inline PROTOBUF_ALWAYS_INLINE
1526 void Discovery_Subscriber::set_topic(ArgT0&& arg0, ArgT... args) {
1527 
1528  topic_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1529  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Subscriber.topic)
1530 }
1532  std::string* _s = _internal_mutable_topic();
1533  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.Subscriber.topic)
1534  return _s;
1535 }
1536 inline const std::string& Discovery_Subscriber::_internal_topic() const {
1537  return topic_.Get();
1538 }
1539 inline void Discovery_Subscriber::_internal_set_topic(const std::string& value) {
1540 
1541  topic_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
1542 }
1543 inline std::string* Discovery_Subscriber::_internal_mutable_topic() {
1544 
1545  return topic_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
1546 }
1548  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.Subscriber.topic)
1549  return topic_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
1550 }
1552  if (topic != nullptr) {
1553 
1554  } else {
1555 
1556  }
1557  topic_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), topic,
1558  GetArenaForAllocation());
1559 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1560  if (topic_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
1561  topic_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
1562  }
1563 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1564  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.Subscriber.topic)
1565 }
1566 
1567 // -------------------------------------------------------------------
1568 
1569 // Discovery_Publisher_MessagePublisher
1570 
1571 // string ctrl = 1;
1573  ctrl_.ClearToEmpty();
1574 }
1576  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.MessagePublisher.ctrl)
1577  return _internal_ctrl();
1578 }
1579 template <typename ArgT0, typename... ArgT>
1580 inline PROTOBUF_ALWAYS_INLINE
1581 void Discovery_Publisher_MessagePublisher::set_ctrl(ArgT0&& arg0, ArgT... args) {
1582 
1583  ctrl_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1584  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Publisher.MessagePublisher.ctrl)
1585 }
1587  std::string* _s = _internal_mutable_ctrl();
1588  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.Publisher.MessagePublisher.ctrl)
1589  return _s;
1590 }
1591 inline const std::string& Discovery_Publisher_MessagePublisher::_internal_ctrl() const {
1592  return ctrl_.Get();
1593 }
1594 inline void Discovery_Publisher_MessagePublisher::_internal_set_ctrl(const std::string& value) {
1595 
1596  ctrl_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
1597 }
1598 inline std::string* Discovery_Publisher_MessagePublisher::_internal_mutable_ctrl() {
1599 
1600  return ctrl_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
1601 }
1603  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.Publisher.MessagePublisher.ctrl)
1604  return ctrl_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
1605 }
1607  if (ctrl != nullptr) {
1608 
1609  } else {
1610 
1611  }
1612  ctrl_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ctrl,
1613  GetArenaForAllocation());
1614 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1615  if (ctrl_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
1616  ctrl_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
1617  }
1618 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1619  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.Publisher.MessagePublisher.ctrl)
1620 }
1621 
1622 // string msg_type = 2;
1624  msg_type_.ClearToEmpty();
1625 }
1627  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.MessagePublisher.msg_type)
1628  return _internal_msg_type();
1629 }
1630 template <typename ArgT0, typename... ArgT>
1631 inline PROTOBUF_ALWAYS_INLINE
1632 void Discovery_Publisher_MessagePublisher::set_msg_type(ArgT0&& arg0, ArgT... args) {
1633 
1634  msg_type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1635  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Publisher.MessagePublisher.msg_type)
1636 }
1638  std::string* _s = _internal_mutable_msg_type();
1639  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.Publisher.MessagePublisher.msg_type)
1640  return _s;
1641 }
1642 inline const std::string& Discovery_Publisher_MessagePublisher::_internal_msg_type() const {
1643  return msg_type_.Get();
1644 }
1645 inline void Discovery_Publisher_MessagePublisher::_internal_set_msg_type(const std::string& value) {
1646 
1647  msg_type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
1648 }
1649 inline std::string* Discovery_Publisher_MessagePublisher::_internal_mutable_msg_type() {
1650 
1651  return msg_type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
1652 }
1654  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.Publisher.MessagePublisher.msg_type)
1655  return msg_type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
1656 }
1658  if (msg_type != nullptr) {
1659 
1660  } else {
1661 
1662  }
1663  msg_type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), msg_type,
1664  GetArenaForAllocation());
1665 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1666  if (msg_type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
1667  msg_type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
1668  }
1669 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1670  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.Publisher.MessagePublisher.msg_type)
1671 }
1672 
1673 // bool throttled = 3;
1675  throttled_ = false;
1676 }
1677 inline bool Discovery_Publisher_MessagePublisher::_internal_throttled() const {
1678  return throttled_;
1679 }
1681  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.MessagePublisher.throttled)
1682  return _internal_throttled();
1683 }
1684 inline void Discovery_Publisher_MessagePublisher::_internal_set_throttled(bool value) {
1685 
1686  throttled_ = value;
1687 }
1689  _internal_set_throttled(value);
1690  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Publisher.MessagePublisher.throttled)
1691 }
1692 
1693 // uint64 msgs_per_sec = 4;
1695  msgs_per_sec_ = uint64_t{0u};
1696 }
1697 inline uint64_t Discovery_Publisher_MessagePublisher::_internal_msgs_per_sec() const {
1698  return msgs_per_sec_;
1699 }
1701  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.MessagePublisher.msgs_per_sec)
1702  return _internal_msgs_per_sec();
1703 }
1704 inline void Discovery_Publisher_MessagePublisher::_internal_set_msgs_per_sec(uint64_t value) {
1705 
1706  msgs_per_sec_ = value;
1707 }
1709  _internal_set_msgs_per_sec(value);
1710  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Publisher.MessagePublisher.msgs_per_sec)
1711 }
1712 
1713 // -------------------------------------------------------------------
1714 
1715 // Discovery_Publisher_ServicePublisher
1716 
1717 // string socket_id = 1;
1719  socket_id_.ClearToEmpty();
1720 }
1722  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.ServicePublisher.socket_id)
1723  return _internal_socket_id();
1724 }
1725 template <typename ArgT0, typename... ArgT>
1726 inline PROTOBUF_ALWAYS_INLINE
1728 
1729  socket_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1730  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Publisher.ServicePublisher.socket_id)
1731 }
1733  std::string* _s = _internal_mutable_socket_id();
1734  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.Publisher.ServicePublisher.socket_id)
1735  return _s;
1736 }
1737 inline const std::string& Discovery_Publisher_ServicePublisher::_internal_socket_id() const {
1738  return socket_id_.Get();
1739 }
1740 inline void Discovery_Publisher_ServicePublisher::_internal_set_socket_id(const std::string& value) {
1741 
1742  socket_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
1743 }
1744 inline std::string* Discovery_Publisher_ServicePublisher::_internal_mutable_socket_id() {
1745 
1746  return socket_id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
1747 }
1749  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.Publisher.ServicePublisher.socket_id)
1750  return socket_id_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
1751 }
1753  if (socket_id != nullptr) {
1754 
1755  } else {
1756 
1757  }
1758  socket_id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), socket_id,
1759  GetArenaForAllocation());
1760 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1761  if (socket_id_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
1762  socket_id_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
1763  }
1764 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1765  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.Publisher.ServicePublisher.socket_id)
1766 }
1767 
1768 // string request_type = 2;
1770  request_type_.ClearToEmpty();
1771 }
1773  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.ServicePublisher.request_type)
1774  return _internal_request_type();
1775 }
1776 template <typename ArgT0, typename... ArgT>
1777 inline PROTOBUF_ALWAYS_INLINE
1779 
1780  request_type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1781  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Publisher.ServicePublisher.request_type)
1782 }
1784  std::string* _s = _internal_mutable_request_type();
1785  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.Publisher.ServicePublisher.request_type)
1786  return _s;
1787 }
1788 inline const std::string& Discovery_Publisher_ServicePublisher::_internal_request_type() const {
1789  return request_type_.Get();
1790 }
1791 inline void Discovery_Publisher_ServicePublisher::_internal_set_request_type(const std::string& value) {
1792 
1793  request_type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
1794 }
1795 inline std::string* Discovery_Publisher_ServicePublisher::_internal_mutable_request_type() {
1796 
1797  return request_type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
1798 }
1800  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.Publisher.ServicePublisher.request_type)
1801  return request_type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
1802 }
1804  if (request_type != nullptr) {
1805 
1806  } else {
1807 
1808  }
1809  request_type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), request_type,
1810  GetArenaForAllocation());
1811 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1812  if (request_type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
1813  request_type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
1814  }
1815 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1816  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.Publisher.ServicePublisher.request_type)
1817 }
1818 
1819 // string response_type = 3;
1821  response_type_.ClearToEmpty();
1822 }
1824  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.ServicePublisher.response_type)
1825  return _internal_response_type();
1826 }
1827 template <typename ArgT0, typename... ArgT>
1828 inline PROTOBUF_ALWAYS_INLINE
1830 
1831  response_type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1832  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Publisher.ServicePublisher.response_type)
1833 }
1835  std::string* _s = _internal_mutable_response_type();
1836  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.Publisher.ServicePublisher.response_type)
1837  return _s;
1838 }
1839 inline const std::string& Discovery_Publisher_ServicePublisher::_internal_response_type() const {
1840  return response_type_.Get();
1841 }
1842 inline void Discovery_Publisher_ServicePublisher::_internal_set_response_type(const std::string& value) {
1843 
1844  response_type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
1845 }
1846 inline std::string* Discovery_Publisher_ServicePublisher::_internal_mutable_response_type() {
1847 
1848  return response_type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
1849 }
1851  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.Publisher.ServicePublisher.response_type)
1852  return response_type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
1853 }
1855  if (response_type != nullptr) {
1856 
1857  } else {
1858 
1859  }
1860  response_type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), response_type,
1861  GetArenaForAllocation());
1862 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1863  if (response_type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
1864  response_type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
1865  }
1866 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1867  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.Publisher.ServicePublisher.response_type)
1868 }
1869 
1870 // -------------------------------------------------------------------
1871 
1872 // Discovery_Publisher
1873 
1874 // string topic = 1;
1876  topic_.ClearToEmpty();
1877 }
1879  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.topic)
1880  return _internal_topic();
1881 }
1882 template <typename ArgT0, typename... ArgT>
1883 inline PROTOBUF_ALWAYS_INLINE
1884 void Discovery_Publisher::set_topic(ArgT0&& arg0, ArgT... args) {
1885 
1886  topic_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1887  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Publisher.topic)
1888 }
1890  std::string* _s = _internal_mutable_topic();
1891  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.Publisher.topic)
1892  return _s;
1893 }
1894 inline const std::string& Discovery_Publisher::_internal_topic() const {
1895  return topic_.Get();
1896 }
1897 inline void Discovery_Publisher::_internal_set_topic(const std::string& value) {
1898 
1899  topic_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
1900 }
1901 inline std::string* Discovery_Publisher::_internal_mutable_topic() {
1902 
1903  return topic_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
1904 }
1906  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.Publisher.topic)
1907  return topic_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
1908 }
1910  if (topic != nullptr) {
1911 
1912  } else {
1913 
1914  }
1915  topic_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), topic,
1916  GetArenaForAllocation());
1917 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1918  if (topic_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
1919  topic_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
1920  }
1921 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1922  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.Publisher.topic)
1923 }
1924 
1925 // string address = 2;
1927  address_.ClearToEmpty();
1928 }
1930  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.address)
1931  return _internal_address();
1932 }
1933 template <typename ArgT0, typename... ArgT>
1934 inline PROTOBUF_ALWAYS_INLINE
1935 void Discovery_Publisher::set_address(ArgT0&& arg0, ArgT... args) {
1936 
1937  address_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1938  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Publisher.address)
1939 }
1941  std::string* _s = _internal_mutable_address();
1942  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.Publisher.address)
1943  return _s;
1944 }
1945 inline const std::string& Discovery_Publisher::_internal_address() const {
1946  return address_.Get();
1947 }
1948 inline void Discovery_Publisher::_internal_set_address(const std::string& value) {
1949 
1950  address_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
1951 }
1952 inline std::string* Discovery_Publisher::_internal_mutable_address() {
1953 
1954  return address_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
1955 }
1957  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.Publisher.address)
1958  return address_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
1959 }
1961  if (address != nullptr) {
1962 
1963  } else {
1964 
1965  }
1966  address_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), address,
1967  GetArenaForAllocation());
1968 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1969  if (address_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
1970  address_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
1971  }
1972 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1973  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.Publisher.address)
1974 }
1975 
1976 // string process_uuid = 3;
1978  process_uuid_.ClearToEmpty();
1979 }
1981  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.process_uuid)
1982  return _internal_process_uuid();
1983 }
1984 template <typename ArgT0, typename... ArgT>
1985 inline PROTOBUF_ALWAYS_INLINE
1986 void Discovery_Publisher::set_process_uuid(ArgT0&& arg0, ArgT... args) {
1987 
1988  process_uuid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1989  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Publisher.process_uuid)
1990 }
1992  std::string* _s = _internal_mutable_process_uuid();
1993  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.Publisher.process_uuid)
1994  return _s;
1995 }
1996 inline const std::string& Discovery_Publisher::_internal_process_uuid() const {
1997  return process_uuid_.Get();
1998 }
1999 inline void Discovery_Publisher::_internal_set_process_uuid(const std::string& value) {
2000 
2001  process_uuid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
2002 }
2003 inline std::string* Discovery_Publisher::_internal_mutable_process_uuid() {
2004 
2005  return process_uuid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
2006 }
2008  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.Publisher.process_uuid)
2009  return process_uuid_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
2010 }
2012  if (process_uuid != nullptr) {
2013 
2014  } else {
2015 
2016  }
2017  process_uuid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), process_uuid,
2018  GetArenaForAllocation());
2019 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2020  if (process_uuid_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
2021  process_uuid_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
2022  }
2023 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2024  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.Publisher.process_uuid)
2025 }
2026 
2027 // string node_uuid = 4;
2029  node_uuid_.ClearToEmpty();
2030 }
2032  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.node_uuid)
2033  return _internal_node_uuid();
2034 }
2035 template <typename ArgT0, typename... ArgT>
2036 inline PROTOBUF_ALWAYS_INLINE
2037 void Discovery_Publisher::set_node_uuid(ArgT0&& arg0, ArgT... args) {
2038 
2039  node_uuid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
2040  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Publisher.node_uuid)
2041 }
2043  std::string* _s = _internal_mutable_node_uuid();
2044  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.Publisher.node_uuid)
2045  return _s;
2046 }
2047 inline const std::string& Discovery_Publisher::_internal_node_uuid() const {
2048  return node_uuid_.Get();
2049 }
2050 inline void Discovery_Publisher::_internal_set_node_uuid(const std::string& value) {
2051 
2052  node_uuid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
2053 }
2054 inline std::string* Discovery_Publisher::_internal_mutable_node_uuid() {
2055 
2056  return node_uuid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
2057 }
2059  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.Publisher.node_uuid)
2060  return node_uuid_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
2061 }
2063  if (node_uuid != nullptr) {
2064 
2065  } else {
2066 
2067  }
2068  node_uuid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), node_uuid,
2069  GetArenaForAllocation());
2070 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2071  if (node_uuid_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
2072  node_uuid_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
2073  }
2074 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2075  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.Publisher.node_uuid)
2076 }
2077 
2078 // .ignition.msgs.Discovery.Publisher.Scope scope = 5;
2080  scope_ = 0;
2081 }
2082 inline ::ignition::msgs::Discovery_Publisher_Scope Discovery_Publisher::_internal_scope() const {
2083  return static_cast< ::ignition::msgs::Discovery_Publisher_Scope >(scope_);
2084 }
2086  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.scope)
2087  return _internal_scope();
2088 }
2089 inline void Discovery_Publisher::_internal_set_scope(::ignition::msgs::Discovery_Publisher_Scope value) {
2090 
2091  scope_ = value;
2092 }
2094  _internal_set_scope(value);
2095  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Publisher.scope)
2096 }
2097 
2098 // .ignition.msgs.Discovery.Publisher.MessagePublisher msg_pub = 6;
2099 inline bool Discovery_Publisher::_internal_has_msg_pub() const {
2100  return pub_type_case() == kMsgPub;
2101 }
2103  return _internal_has_msg_pub();
2104 }
2105 inline void Discovery_Publisher::set_has_msg_pub() {
2106  _oneof_case_[0] = kMsgPub;
2107 }
2109  if (_internal_has_msg_pub()) {
2110  if (GetArenaForAllocation() == nullptr) {
2111  delete pub_type_.msg_pub_;
2112  }
2113  clear_has_pub_type();
2114  }
2115 }
2116 inline ::ignition::msgs::Discovery_Publisher_MessagePublisher* Discovery_Publisher::release_msg_pub() {
2117  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.Publisher.msg_pub)
2118  if (_internal_has_msg_pub()) {
2119  clear_has_pub_type();
2120  ::ignition::msgs::Discovery_Publisher_MessagePublisher* temp = pub_type_.msg_pub_;
2121  if (GetArenaForAllocation() != nullptr) {
2122  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2123  }
2124  pub_type_.msg_pub_ = nullptr;
2125  return temp;
2126  } else {
2127  return nullptr;
2128  }
2129 }
2130 inline const ::ignition::msgs::Discovery_Publisher_MessagePublisher& Discovery_Publisher::_internal_msg_pub() const {
2131  return _internal_has_msg_pub()
2132  ? *pub_type_.msg_pub_
2134 }
2135 inline const ::ignition::msgs::Discovery_Publisher_MessagePublisher& Discovery_Publisher::msg_pub() const {
2136  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.msg_pub)
2137  return _internal_msg_pub();
2138 }
2139 inline ::ignition::msgs::Discovery_Publisher_MessagePublisher* Discovery_Publisher::unsafe_arena_release_msg_pub() {
2140  // @@protoc_insertion_point(field_unsafe_arena_release:ignition.msgs.Discovery.Publisher.msg_pub)
2141  if (_internal_has_msg_pub()) {
2142  clear_has_pub_type();
2143  ::ignition::msgs::Discovery_Publisher_MessagePublisher* temp = pub_type_.msg_pub_;
2144  pub_type_.msg_pub_ = nullptr;
2145  return temp;
2146  } else {
2147  return nullptr;
2148  }
2149 }
2151  clear_pub_type();
2152  if (msg_pub) {
2153  set_has_msg_pub();
2154  pub_type_.msg_pub_ = msg_pub;
2155  }
2156  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Discovery.Publisher.msg_pub)
2157 }
2158 inline ::ignition::msgs::Discovery_Publisher_MessagePublisher* Discovery_Publisher::_internal_mutable_msg_pub() {
2159  if (!_internal_has_msg_pub()) {
2160  clear_pub_type();
2161  set_has_msg_pub();
2162  pub_type_.msg_pub_ = CreateMaybeMessage< ::ignition::msgs::Discovery_Publisher_MessagePublisher >(GetArenaForAllocation());
2163  }
2164  return pub_type_.msg_pub_;
2165 }
2166 inline ::ignition::msgs::Discovery_Publisher_MessagePublisher* Discovery_Publisher::mutable_msg_pub() {
2167  ::ignition::msgs::Discovery_Publisher_MessagePublisher* _msg = _internal_mutable_msg_pub();
2168  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.Publisher.msg_pub)
2169  return _msg;
2170 }
2171 
2172 // .ignition.msgs.Discovery.Publisher.ServicePublisher srv_pub = 7;
2173 inline bool Discovery_Publisher::_internal_has_srv_pub() const {
2174  return pub_type_case() == kSrvPub;
2175 }
2177  return _internal_has_srv_pub();
2178 }
2179 inline void Discovery_Publisher::set_has_srv_pub() {
2180  _oneof_case_[0] = kSrvPub;
2181 }
2183  if (_internal_has_srv_pub()) {
2184  if (GetArenaForAllocation() == nullptr) {
2185  delete pub_type_.srv_pub_;
2186  }
2187  clear_has_pub_type();
2188  }
2189 }
2190 inline ::ignition::msgs::Discovery_Publisher_ServicePublisher* Discovery_Publisher::release_srv_pub() {
2191  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.Publisher.srv_pub)
2192  if (_internal_has_srv_pub()) {
2193  clear_has_pub_type();
2194  ::ignition::msgs::Discovery_Publisher_ServicePublisher* temp = pub_type_.srv_pub_;
2195  if (GetArenaForAllocation() != nullptr) {
2196  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2197  }
2198  pub_type_.srv_pub_ = nullptr;
2199  return temp;
2200  } else {
2201  return nullptr;
2202  }
2203 }
2204 inline const ::ignition::msgs::Discovery_Publisher_ServicePublisher& Discovery_Publisher::_internal_srv_pub() const {
2205  return _internal_has_srv_pub()
2206  ? *pub_type_.srv_pub_
2208 }
2209 inline const ::ignition::msgs::Discovery_Publisher_ServicePublisher& Discovery_Publisher::srv_pub() const {
2210  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.srv_pub)
2211  return _internal_srv_pub();
2212 }
2213 inline ::ignition::msgs::Discovery_Publisher_ServicePublisher* Discovery_Publisher::unsafe_arena_release_srv_pub() {
2214  // @@protoc_insertion_point(field_unsafe_arena_release:ignition.msgs.Discovery.Publisher.srv_pub)
2215  if (_internal_has_srv_pub()) {
2216  clear_has_pub_type();
2217  ::ignition::msgs::Discovery_Publisher_ServicePublisher* temp = pub_type_.srv_pub_;
2218  pub_type_.srv_pub_ = nullptr;
2219  return temp;
2220  } else {
2221  return nullptr;
2222  }
2223 }
2225  clear_pub_type();
2226  if (srv_pub) {
2227  set_has_srv_pub();
2228  pub_type_.srv_pub_ = srv_pub;
2229  }
2230  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Discovery.Publisher.srv_pub)
2231 }
2232 inline ::ignition::msgs::Discovery_Publisher_ServicePublisher* Discovery_Publisher::_internal_mutable_srv_pub() {
2233  if (!_internal_has_srv_pub()) {
2234  clear_pub_type();
2235  set_has_srv_pub();
2236  pub_type_.srv_pub_ = CreateMaybeMessage< ::ignition::msgs::Discovery_Publisher_ServicePublisher >(GetArenaForAllocation());
2237  }
2238  return pub_type_.srv_pub_;
2239 }
2240 inline ::ignition::msgs::Discovery_Publisher_ServicePublisher* Discovery_Publisher::mutable_srv_pub() {
2241  ::ignition::msgs::Discovery_Publisher_ServicePublisher* _msg = _internal_mutable_srv_pub();
2242  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.Publisher.srv_pub)
2243  return _msg;
2244 }
2245 
2246 inline bool Discovery_Publisher::has_pub_type() const {
2247  return pub_type_case() != PUB_TYPE_NOT_SET;
2248 }
2249 inline void Discovery_Publisher::clear_has_pub_type() {
2250  _oneof_case_[0] = PUB_TYPE_NOT_SET;
2251 }
2253  return Discovery_Publisher::PubTypeCase(_oneof_case_[0]);
2254 }
2255 // -------------------------------------------------------------------
2256 
2257 // Discovery
2258 
2259 // .ignition.msgs.Header header = 1;
2260 inline bool Discovery::_internal_has_header() const {
2261  return this != internal_default_instance() && header_ != nullptr;
2262 }
2263 inline bool Discovery::has_header() const {
2264  return _internal_has_header();
2265 }
2266 inline const ::ignition::msgs::Header& Discovery::_internal_header() const {
2267  const ::ignition::msgs::Header* p = header_;
2268  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Header&>(
2270 }
2271 inline const ::ignition::msgs::Header& Discovery::header() const {
2272  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.header)
2273  return _internal_header();
2274 }
2276  ::ignition::msgs::Header* header) {
2277  if (GetArenaForAllocation() == nullptr) {
2278  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
2279  }
2280  header_ = header;
2281  if (header) {
2282 
2283  } else {
2284 
2285  }
2286  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Discovery.header)
2287 }
2288 inline ::ignition::msgs::Header* Discovery::release_header() {
2289 
2290  ::ignition::msgs::Header* temp = header_;
2291  header_ = nullptr;
2292 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2293  auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
2294  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2295  if (GetArenaForAllocation() == nullptr) { delete old; }
2296 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
2297  if (GetArenaForAllocation() != nullptr) {
2298  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2299  }
2300 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
2301  return temp;
2302 }
2303 inline ::ignition::msgs::Header* Discovery::unsafe_arena_release_header() {
2304  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.header)
2305 
2306  ::ignition::msgs::Header* temp = header_;
2307  header_ = nullptr;
2308  return temp;
2309 }
2310 inline ::ignition::msgs::Header* Discovery::_internal_mutable_header() {
2311 
2312  if (header_ == nullptr) {
2313  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaForAllocation());
2314  header_ = p;
2315  }
2316  return header_;
2317 }
2318 inline ::ignition::msgs::Header* Discovery::mutable_header() {
2319  ::ignition::msgs::Header* _msg = _internal_mutable_header();
2320  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.header)
2321  return _msg;
2322 }
2324  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2325  if (message_arena == nullptr) {
2326  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
2327  }
2328  if (header) {
2329  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2330  ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
2331  ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
2332  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header));
2333  if (message_arena != submessage_arena) {
2334  header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2335  message_arena, header, submessage_arena);
2336  }
2337 
2338  } else {
2339 
2340  }
2341  header_ = header;
2342  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.header)
2343 }
2344 
2345 // uint32 version = 2;
2347  version_ = 0u;
2348 }
2349 inline uint32_t Discovery::_internal_version() const {
2350  return version_;
2351 }
2352 inline uint32_t Discovery::version() const {
2353  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.version)
2354  return _internal_version();
2355 }
2356 inline void Discovery::_internal_set_version(uint32_t value) {
2357 
2358  version_ = value;
2359 }
2360 inline void Discovery::set_version(uint32_t value) {
2361  _internal_set_version(value);
2362  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.version)
2363 }
2364 
2365 // string process_uuid = 3;
2367  process_uuid_.ClearToEmpty();
2368 }
2369 inline const std::string& Discovery::process_uuid() const {
2370  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.process_uuid)
2371  return _internal_process_uuid();
2372 }
2373 template <typename ArgT0, typename... ArgT>
2374 inline PROTOBUF_ALWAYS_INLINE
2375 void Discovery::set_process_uuid(ArgT0&& arg0, ArgT... args) {
2376 
2377  process_uuid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
2378  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.process_uuid)
2379 }
2381  std::string* _s = _internal_mutable_process_uuid();
2382  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.process_uuid)
2383  return _s;
2384 }
2385 inline const std::string& Discovery::_internal_process_uuid() const {
2386  return process_uuid_.Get();
2387 }
2388 inline void Discovery::_internal_set_process_uuid(const std::string& value) {
2389 
2390  process_uuid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
2391 }
2392 inline std::string* Discovery::_internal_mutable_process_uuid() {
2393 
2394  return process_uuid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
2395 }
2397  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.process_uuid)
2398  return process_uuid_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
2399 }
2401  if (process_uuid != nullptr) {
2402 
2403  } else {
2404 
2405  }
2406  process_uuid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), process_uuid,
2407  GetArenaForAllocation());
2408 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2409  if (process_uuid_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
2410  process_uuid_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
2411  }
2412 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2413  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.process_uuid)
2414 }
2415 
2416 // .ignition.msgs.Discovery.Type type = 4;
2417 inline void Discovery::clear_type() {
2418  type_ = 0;
2419 }
2420 inline ::ignition::msgs::Discovery_Type Discovery::_internal_type() const {
2421  return static_cast< ::ignition::msgs::Discovery_Type >(type_);
2422 }
2424  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.type)
2425  return _internal_type();
2426 }
2427 inline void Discovery::_internal_set_type(::ignition::msgs::Discovery_Type value) {
2428 
2429  type_ = value;
2430 }
2432  _internal_set_type(value);
2433  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.type)
2434 }
2435 
2436 // .ignition.msgs.Discovery.Flags flags = 5;
2437 inline bool Discovery::_internal_has_flags() const {
2438  return this != internal_default_instance() && flags_ != nullptr;
2439 }
2440 inline bool Discovery::has_flags() const {
2441  return _internal_has_flags();
2442 }
2443 inline void Discovery::clear_flags() {
2444  if (GetArenaForAllocation() == nullptr && flags_ != nullptr) {
2445  delete flags_;
2446  }
2447  flags_ = nullptr;
2448 }
2449 inline const ::ignition::msgs::Discovery_Flags& Discovery::_internal_flags() const {
2450  const ::ignition::msgs::Discovery_Flags* p = flags_;
2451  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Discovery_Flags&>(
2453 }
2454 inline const ::ignition::msgs::Discovery_Flags& Discovery::flags() const {
2455  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.flags)
2456  return _internal_flags();
2457 }
2460  if (GetArenaForAllocation() == nullptr) {
2461  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(flags_);
2462  }
2463  flags_ = flags;
2464  if (flags) {
2465 
2466  } else {
2467 
2468  }
2469  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Discovery.flags)
2470 }
2471 inline ::ignition::msgs::Discovery_Flags* Discovery::release_flags() {
2472 
2473  ::ignition::msgs::Discovery_Flags* temp = flags_;
2474  flags_ = nullptr;
2475 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2476  auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
2477  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2478  if (GetArenaForAllocation() == nullptr) { delete old; }
2479 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
2480  if (GetArenaForAllocation() != nullptr) {
2481  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2482  }
2483 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
2484  return temp;
2485 }
2486 inline ::ignition::msgs::Discovery_Flags* Discovery::unsafe_arena_release_flags() {
2487  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.flags)
2488 
2489  ::ignition::msgs::Discovery_Flags* temp = flags_;
2490  flags_ = nullptr;
2491  return temp;
2492 }
2493 inline ::ignition::msgs::Discovery_Flags* Discovery::_internal_mutable_flags() {
2494 
2495  if (flags_ == nullptr) {
2496  auto* p = CreateMaybeMessage<::ignition::msgs::Discovery_Flags>(GetArenaForAllocation());
2497  flags_ = p;
2498  }
2499  return flags_;
2500 }
2501 inline ::ignition::msgs::Discovery_Flags* Discovery::mutable_flags() {
2502  ::ignition::msgs::Discovery_Flags* _msg = _internal_mutable_flags();
2503  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.flags)
2504  return _msg;
2505 }
2507  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2508  if (message_arena == nullptr) {
2509  delete flags_;
2510  }
2511  if (flags) {
2512  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2513  ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::ignition::msgs::Discovery_Flags>::GetOwningArena(flags);
2514  if (message_arena != submessage_arena) {
2515  flags = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2516  message_arena, flags, submessage_arena);
2517  }
2518 
2519  } else {
2520 
2521  }
2522  flags_ = flags;
2523  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.flags)
2524 }
2525 
2526 // .ignition.msgs.Discovery.Subscriber sub = 6;
2527 inline bool Discovery::_internal_has_sub() const {
2528  return disc_contents_case() == kSub;
2529 }
2530 inline bool Discovery::has_sub() const {
2531  return _internal_has_sub();
2532 }
2533 inline void Discovery::set_has_sub() {
2534  _oneof_case_[0] = kSub;
2535 }
2536 inline void Discovery::clear_sub() {
2537  if (_internal_has_sub()) {
2538  if (GetArenaForAllocation() == nullptr) {
2539  delete disc_contents_.sub_;
2540  }
2541  clear_has_disc_contents();
2542  }
2543 }
2544 inline ::ignition::msgs::Discovery_Subscriber* Discovery::release_sub() {
2545  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.sub)
2546  if (_internal_has_sub()) {
2547  clear_has_disc_contents();
2548  ::ignition::msgs::Discovery_Subscriber* temp = disc_contents_.sub_;
2549  if (GetArenaForAllocation() != nullptr) {
2550  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2551  }
2552  disc_contents_.sub_ = nullptr;
2553  return temp;
2554  } else {
2555  return nullptr;
2556  }
2557 }
2558 inline const ::ignition::msgs::Discovery_Subscriber& Discovery::_internal_sub() const {
2559  return _internal_has_sub()
2560  ? *disc_contents_.sub_
2562 }
2563 inline const ::ignition::msgs::Discovery_Subscriber& Discovery::sub() const {
2564  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.sub)
2565  return _internal_sub();
2566 }
2567 inline ::ignition::msgs::Discovery_Subscriber* Discovery::unsafe_arena_release_sub() {
2568  // @@protoc_insertion_point(field_unsafe_arena_release:ignition.msgs.Discovery.sub)
2569  if (_internal_has_sub()) {
2570  clear_has_disc_contents();
2571  ::ignition::msgs::Discovery_Subscriber* temp = disc_contents_.sub_;
2572  disc_contents_.sub_ = nullptr;
2573  return temp;
2574  } else {
2575  return nullptr;
2576  }
2577 }
2579  clear_disc_contents();
2580  if (sub) {
2581  set_has_sub();
2582  disc_contents_.sub_ = sub;
2583  }
2584  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Discovery.sub)
2585 }
2586 inline ::ignition::msgs::Discovery_Subscriber* Discovery::_internal_mutable_sub() {
2587  if (!_internal_has_sub()) {
2588  clear_disc_contents();
2589  set_has_sub();
2590  disc_contents_.sub_ = CreateMaybeMessage< ::ignition::msgs::Discovery_Subscriber >(GetArenaForAllocation());
2591  }
2592  return disc_contents_.sub_;
2593 }
2594 inline ::ignition::msgs::Discovery_Subscriber* Discovery::mutable_sub() {
2595  ::ignition::msgs::Discovery_Subscriber* _msg = _internal_mutable_sub();
2596  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.sub)
2597  return _msg;
2598 }
2599 
2600 // .ignition.msgs.Discovery.Publisher pub = 7;
2601 inline bool Discovery::_internal_has_pub() const {
2602  return disc_contents_case() == kPub;
2603 }
2604 inline bool Discovery::has_pub() const {
2605  return _internal_has_pub();
2606 }
2607 inline void Discovery::set_has_pub() {
2608  _oneof_case_[0] = kPub;
2609 }
2610 inline void Discovery::clear_pub() {
2611  if (_internal_has_pub()) {
2612  if (GetArenaForAllocation() == nullptr) {
2613  delete disc_contents_.pub_;
2614  }
2615  clear_has_disc_contents();
2616  }
2617 }
2618 inline ::ignition::msgs::Discovery_Publisher* Discovery::release_pub() {
2619  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.pub)
2620  if (_internal_has_pub()) {
2621  clear_has_disc_contents();
2622  ::ignition::msgs::Discovery_Publisher* temp = disc_contents_.pub_;
2623  if (GetArenaForAllocation() != nullptr) {
2624  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2625  }
2626  disc_contents_.pub_ = nullptr;
2627  return temp;
2628  } else {
2629  return nullptr;
2630  }
2631 }
2632 inline const ::ignition::msgs::Discovery_Publisher& Discovery::_internal_pub() const {
2633  return _internal_has_pub()
2634  ? *disc_contents_.pub_
2636 }
2637 inline const ::ignition::msgs::Discovery_Publisher& Discovery::pub() const {
2638  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.pub)
2639  return _internal_pub();
2640 }
2641 inline ::ignition::msgs::Discovery_Publisher* Discovery::unsafe_arena_release_pub() {
2642  // @@protoc_insertion_point(field_unsafe_arena_release:ignition.msgs.Discovery.pub)
2643  if (_internal_has_pub()) {
2644  clear_has_disc_contents();
2645  ::ignition::msgs::Discovery_Publisher* temp = disc_contents_.pub_;
2646  disc_contents_.pub_ = nullptr;
2647  return temp;
2648  } else {
2649  return nullptr;
2650  }
2651 }
2653  clear_disc_contents();
2654  if (pub) {
2655  set_has_pub();
2656  disc_contents_.pub_ = pub;
2657  }
2658  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Discovery.pub)
2659 }
2660 inline ::ignition::msgs::Discovery_Publisher* Discovery::_internal_mutable_pub() {
2661  if (!_internal_has_pub()) {
2662  clear_disc_contents();
2663  set_has_pub();
2664  disc_contents_.pub_ = CreateMaybeMessage< ::ignition::msgs::Discovery_Publisher >(GetArenaForAllocation());
2665  }
2666  return disc_contents_.pub_;
2667 }
2668 inline ::ignition::msgs::Discovery_Publisher* Discovery::mutable_pub() {
2669  ::ignition::msgs::Discovery_Publisher* _msg = _internal_mutable_pub();
2670  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.pub)
2671  return _msg;
2672 }
2673 
2674 inline bool Discovery::has_disc_contents() const {
2675  return disc_contents_case() != DISC_CONTENTS_NOT_SET;
2676 }
2677 inline void Discovery::clear_has_disc_contents() {
2678  _oneof_case_[0] = DISC_CONTENTS_NOT_SET;
2679 }
2681  return Discovery::DiscContentsCase(_oneof_case_[0]);
2682 }
2683 #ifdef __GNUC__
2684  #pragma GCC diagnostic pop
2685 #endif // __GNUC__
2686 // -------------------------------------------------------------------
2687 
2688 // -------------------------------------------------------------------
2689 
2690 // -------------------------------------------------------------------
2691 
2692 // -------------------------------------------------------------------
2693 
2694 // -------------------------------------------------------------------
2695 
2696 
2701 // @@protoc_insertion_point(namespace_scope)
2702 
2703 } // namespace msgs
2704 } // namespace ignition
2705 
2706 PROTOBUF_NAMESPACE_OPEN
2707 
2708 template <> struct is_proto_enum< ::ignition::msgs::Discovery_Publisher_Scope> : ::std::true_type {};
2709 template <>
2710 inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::Discovery_Publisher_Scope>() {
2712 }
2713 template <> struct is_proto_enum< ::ignition::msgs::Discovery_Type> : ::std::true_type {};
2714 template <>
2715 inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::Discovery_Type>() {
2717 }
2718 
2719 PROTOBUF_NAMESPACE_CLOSE
2720 
2721 #ifdef _MSC_VER
2722 #pragma warning(pop)
2723 #endif
2724 // @@protoc_insertion_point(global_scope)
2725 
2726 #include <google/protobuf/port_undef.inc>
2727 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fdiscovery_2eproto
Definition: discovery.pb.h:162
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: discovery.pb.h:198
friend void swap(Discovery_Flags &a, Discovery_Flags &b)
Definition: discovery.pb.h:211
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Discovery_Flags(const Discovery_Flags &from)
bool relay() const
Definition: discovery.pb.h:1479
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: discovery.pb.h:192
void clear_no_relay()
Definition: discovery.pb.h:1493
void CopyFrom(const Discovery_Flags &from)
Discovery_Flags & operator=(const Discovery_Flags &from)
Definition: discovery.pb.h:174
Discovery_Flags * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: discovery.pb.h:235
void clear_relay()
Definition: discovery.pb.h:1473
void set_relay(bool value)
Definition: discovery.pb.h:1487
void Swap(Discovery_Flags *other)
Definition: discovery.pb.h:214
Discovery_Flags(Discovery_Flags &&from) noexcept
Definition: discovery.pb.h:169
void MergeFrom(const Discovery_Flags &from)
Discovery_Flags(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: discovery.pb.h:195
bool no_relay() const
Definition: discovery.pb.h:1499
Discovery_Flags & operator=(Discovery_Flags &&from) noexcept
Definition: discovery.pb.h:178
void UnsafeArenaSwap(Discovery_Flags *other)
Definition: discovery.pb.h:227
Discovery_Flags()
Definition: discovery.pb.h:164
static const ClassData _class_data_
Definition: discovery.pb.h:273
constexpr Discovery_Flags(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static const Discovery_Flags * internal_default_instance()
Definition: discovery.pb.h:204
void set_no_relay(bool value)
Definition: discovery.pb.h:1507
static const Discovery_Flags & default_instance()
Definition: discovery.pb.h:201
Discovery_Publisher_MessagePublisher * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: discovery.pb.h:543
std::string * mutable_ctrl()
Definition: discovery.pb.h:1586
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: discovery.pb.h:506
uint64_t msgs_per_sec() const
Definition: discovery.pb.h:1700
friend void swap(Discovery_Publisher_MessagePublisher &a, Discovery_Publisher_MessagePublisher &b)
Definition: discovery.pb.h:519
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void clear_msgs_per_sec()
Definition: discovery.pb.h:1694
std::string * mutable_msg_type()
Definition: discovery.pb.h:1637
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: discovery.pb.h:500
Discovery_Publisher_MessagePublisher & operator=(Discovery_Publisher_MessagePublisher &&from) noexcept
Definition: discovery.pb.h:486
static const Discovery_Publisher_MessagePublisher * internal_default_instance()
Definition: discovery.pb.h:512
void set_allocated_msg_type(std::string *msg_type)
Definition: discovery.pb.h:1657
Discovery_Publisher_MessagePublisher(const Discovery_Publisher_MessagePublisher &from)
constexpr Discovery_Publisher_MessagePublisher(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static const Discovery_Publisher_MessagePublisher & default_instance()
Definition: discovery.pb.h:509
void Swap(Discovery_Publisher_MessagePublisher *other)
Definition: discovery.pb.h:522
Discovery_Publisher_MessagePublisher(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
const std::string & msg_type() const
Definition: discovery.pb.h:1626
void set_allocated_ctrl(std::string *ctrl)
Definition: discovery.pb.h:1606
void UnsafeArenaSwap(Discovery_Publisher_MessagePublisher *other)
Definition: discovery.pb.h:535
PROTOBUF_NODISCARD std::string * release_msg_type()
Definition: discovery.pb.h:1653
PROTOBUF_NODISCARD std::string * release_ctrl()
Definition: discovery.pb.h:1602
void set_throttled(bool value)
Definition: discovery.pb.h:1688
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
Discovery_Publisher_MessagePublisher(Discovery_Publisher_MessagePublisher &&from) noexcept
Definition: discovery.pb.h:477
Discovery_Publisher_MessagePublisher()
Definition: discovery.pb.h:472
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: discovery.pb.h:503
void clear_ctrl()
Definition: discovery.pb.h:1572
void clear_msg_type()
Definition: discovery.pb.h:1623
void CopyFrom(const Discovery_Publisher_MessagePublisher &from)
const std::string & ctrl() const
Definition: discovery.pb.h:1575
void MergeFrom(const Discovery_Publisher_MessagePublisher &from)
void set_msgs_per_sec(uint64_t value)
Definition: discovery.pb.h:1708
static const ClassData _class_data_
Definition: discovery.pb.h:581
Discovery_Publisher_MessagePublisher & operator=(const Discovery_Publisher_MessagePublisher &from)
Definition: discovery.pb.h:482
void set_msg_type(ArgT0 &&arg0, ArgT... args)
void clear_throttled()
Definition: discovery.pb.h:1674
bool throttled() const
Definition: discovery.pb.h:1680
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: discovery.pb.h:695
Discovery_Publisher_ServicePublisher(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void set_request_type(ArgT0 &&arg0, ArgT... args)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: discovery.pb.h:689
const std::string & socket_id() const
Definition: discovery.pb.h:1721
std::string * mutable_socket_id()
Definition: discovery.pb.h:1732
Discovery_Publisher_ServicePublisher(Discovery_Publisher_ServicePublisher &&from) noexcept
Definition: discovery.pb.h:666
const std::string & response_type() const
Definition: discovery.pb.h:1823
constexpr Discovery_Publisher_ServicePublisher(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
Discovery_Publisher_ServicePublisher * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: discovery.pb.h:732
static const Discovery_Publisher_ServicePublisher & default_instance()
Definition: discovery.pb.h:698
void set_allocated_response_type(std::string *response_type)
Definition: discovery.pb.h:1854
const std::string & request_type() const
Definition: discovery.pb.h:1772
void MergeFrom(const Discovery_Publisher_ServicePublisher &from)
Discovery_Publisher_ServicePublisher(const Discovery_Publisher_ServicePublisher &from)
PROTOBUF_NODISCARD std::string * release_request_type()
Definition: discovery.pb.h:1799
friend void swap(Discovery_Publisher_ServicePublisher &a, Discovery_Publisher_ServicePublisher &b)
Definition: discovery.pb.h:708
Discovery_Publisher_ServicePublisher & operator=(Discovery_Publisher_ServicePublisher &&from) noexcept
Definition: discovery.pb.h:675
void set_socket_id(ArgT0 &&arg0, ArgT... args)
std::string * mutable_request_type()
Definition: discovery.pb.h:1783
PROTOBUF_NODISCARD std::string * release_response_type()
Definition: discovery.pb.h:1850
void clear_response_type()
Definition: discovery.pb.h:1820
std::string * mutable_response_type()
Definition: discovery.pb.h:1834
void clear_request_type()
Definition: discovery.pb.h:1769
void CopyFrom(const Discovery_Publisher_ServicePublisher &from)
void set_allocated_request_type(std::string *request_type)
Definition: discovery.pb.h:1803
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
Discovery_Publisher_ServicePublisher()
Definition: discovery.pb.h:661
PROTOBUF_NODISCARD std::string * release_socket_id()
Definition: discovery.pb.h:1748
void set_response_type(ArgT0 &&arg0, ArgT... args)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: discovery.pb.h:692
void Swap(Discovery_Publisher_ServicePublisher *other)
Definition: discovery.pb.h:711
Discovery_Publisher_ServicePublisher & operator=(const Discovery_Publisher_ServicePublisher &from)
Definition: discovery.pb.h:671
void UnsafeArenaSwap(Discovery_Publisher_ServicePublisher *other)
Definition: discovery.pb.h:724
static const ClassData _class_data_
Definition: discovery.pb.h:770
void set_allocated_socket_id(std::string *socket_id)
Definition: discovery.pb.h:1752
static const Discovery_Publisher_ServicePublisher * internal_default_instance()
Definition: discovery.pb.h:701
void clear_socket_id()
Definition: discovery.pb.h:1718
Definition: discovery.pb.h:842
::ignition::msgs::Discovery_Publisher_ServicePublisher * mutable_srv_pub()
Definition: discovery.pb.h:2240
static const Discovery_Publisher * internal_default_instance()
Definition: discovery.pb.h:890
const std::string & node_uuid() const
Definition: discovery.pb.h:2031
const std::string & process_uuid() const
Definition: discovery.pb.h:1980
PubTypeCase pub_type_case() const
Definition: discovery.pb.h:2252
::ignition::msgs::Discovery_Publisher_MessagePublisher * unsafe_arena_release_msg_pub()
Definition: discovery.pb.h:2139
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: discovery.pb.h:878
Discovery_Publisher()
Definition: discovery.pb.h:844
std::string * mutable_node_uuid()
Definition: discovery.pb.h:2042
Discovery_Publisher & operator=(const Discovery_Publisher &from)
Definition: discovery.pb.h:854
PROTOBUF_NODISCARD std::string * release_node_uuid()
Definition: discovery.pb.h:2058
friend void swap(Discovery_Publisher &a, Discovery_Publisher &b)
Definition: discovery.pb.h:897
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void set_address(ArgT0 &&arg0, ArgT... args)
void unsafe_arena_set_allocated_msg_pub(::ignition::msgs::Discovery_Publisher_MessagePublisher *msg_pub)
Definition: discovery.pb.h:2150
void set_topic(ArgT0 &&arg0, ArgT... args)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: discovery.pb.h:872
void clear_msg_pub()
Definition: discovery.pb.h:2108
void UnsafeArenaSwap(Discovery_Publisher *other)
Definition: discovery.pb.h:913
void set_allocated_process_uuid(std::string *process_uuid)
Definition: discovery.pb.h:2011
const ::ignition::msgs::Discovery_Publisher_MessagePublisher & msg_pub() const
Definition: discovery.pb.h:2135
static bool Scope_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Scope *value)
Definition: discovery.pb.h:996
const std::string & topic() const
Definition: discovery.pb.h:1878
std::string * mutable_topic()
Definition: discovery.pb.h:1889
Discovery_Publisher(Discovery_Publisher &&from) noexcept
Definition: discovery.pb.h:849
PubTypeCase
Definition: discovery.pb.h:884
PROTOBUF_NODISCARD std::string * release_address()
Definition: discovery.pb.h:1956
void set_allocated_srv_pub(::ignition::msgs::Discovery_Publisher_ServicePublisher *srv_pub)
Discovery_Publisher & operator=(Discovery_Publisher &&from) noexcept
Definition: discovery.pb.h:858
void set_allocated_address(std::string *address)
Definition: discovery.pb.h:1960
void clear_node_uuid()
Definition: discovery.pb.h:2028
const std::string & address() const
Definition: discovery.pb.h:1929
void clear_scope()
Definition: discovery.pb.h:2079
void unsafe_arena_set_allocated_srv_pub(::ignition::msgs::Discovery_Publisher_ServicePublisher *srv_pub)
Definition: discovery.pb.h:2224
static const std::string & Scope_Name(T enum_t_value)
Definition: discovery.pb.h:990
void set_process_uuid(ArgT0 &&arg0, ArgT... args)
void set_node_uuid(ArgT0 &&arg0, ArgT... args)
bool has_srv_pub() const
Definition: discovery.pb.h:2176
void set_allocated_topic(std::string *topic)
Definition: discovery.pb.h:1909
Discovery_Publisher(const Discovery_Publisher &from)
PROTOBUF_NODISCARD std::string * release_topic()
Definition: discovery.pb.h:1905
static const Discovery_Publisher & default_instance()
Definition: discovery.pb.h:881
PROTOBUF_NODISCARD ::ignition::msgs::Discovery_Publisher_MessagePublisher * release_msg_pub()
Definition: discovery.pb.h:2116
const ::ignition::msgs::Discovery_Publisher_ServicePublisher & srv_pub() const
Definition: discovery.pb.h:2209
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Scope_descriptor()
Definition: discovery.pb.h:986
void MergeFrom(const Discovery_Publisher &from)
void set_scope(::ignition::msgs::Discovery_Publisher_Scope value)
Definition: discovery.pb.h:2093
::ignition::msgs::Discovery_Publisher_MessagePublisher * mutable_msg_pub()
Definition: discovery.pb.h:2166
void set_allocated_msg_pub(::ignition::msgs::Discovery_Publisher_MessagePublisher *msg_pub)
void clear_srv_pub()
Definition: discovery.pb.h:2182
void clear_process_uuid()
Definition: discovery.pb.h:1977
void clear_address()
Definition: discovery.pb.h:1926
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: discovery.pb.h:875
std::string * mutable_process_uuid()
Definition: discovery.pb.h:1991
void clear_topic()
Definition: discovery.pb.h:1875
void set_allocated_node_uuid(std::string *node_uuid)
Definition: discovery.pb.h:2062
static const ClassData _class_data_
Definition: discovery.pb.h:959
void Swap(Discovery_Publisher *other)
Definition: discovery.pb.h:900
::ignition::msgs::Discovery_Publisher_ServicePublisher * unsafe_arena_release_srv_pub()
Definition: discovery.pb.h:2213
std::string * mutable_address()
Definition: discovery.pb.h:1940
constexpr Discovery_Publisher(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
Discovery_Publisher * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: discovery.pb.h:921
void CopyFrom(const Discovery_Publisher &from)
PROTOBUF_NODISCARD ::ignition::msgs::Discovery_Publisher_ServicePublisher * release_srv_pub()
Definition: discovery.pb.h:2190
bool has_msg_pub() const
Definition: discovery.pb.h:2102
PROTOBUF_NODISCARD std::string * release_process_uuid()
Definition: discovery.pb.h:2007
::ignition::msgs::Discovery_Publisher_Scope scope() const
Definition: discovery.pb.h:2085
Discovery_Publisher(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
Definition: discovery.pb.h:319
void UnsafeArenaSwap(Discovery_Subscriber *other)
Definition: discovery.pb.h:384
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: discovery.pb.h:355
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void set_topic(ArgT0 &&arg0, ArgT... args)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: discovery.pb.h:349
Discovery_Subscriber(const Discovery_Subscriber &from)
static const Discovery_Subscriber * internal_default_instance()
Definition: discovery.pb.h:361
void CopyFrom(const Discovery_Subscriber &from)
const std::string & topic() const
Definition: discovery.pb.h:1520
std::string * mutable_topic()
Definition: discovery.pb.h:1531
friend void swap(Discovery_Subscriber &a, Discovery_Subscriber &b)
Definition: discovery.pb.h:368
Discovery_Subscriber * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: discovery.pb.h:392
Discovery_Subscriber(Discovery_Subscriber &&from) noexcept
Definition: discovery.pb.h:326
void set_allocated_topic(std::string *topic)
Definition: discovery.pb.h:1551
Discovery_Subscriber & operator=(const Discovery_Subscriber &from)
Definition: discovery.pb.h:331
PROTOBUF_NODISCARD std::string * release_topic()
Definition: discovery.pb.h:1547
Discovery_Subscriber()
Definition: discovery.pb.h:321
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
constexpr Discovery_Subscriber(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
Discovery_Subscriber & operator=(Discovery_Subscriber &&from) noexcept
Definition: discovery.pb.h:335
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: discovery.pb.h:352
void clear_topic()
Definition: discovery.pb.h:1517
static const Discovery_Subscriber & default_instance()
Definition: discovery.pb.h:358
static const ClassData _class_data_
Definition: discovery.pb.h:430
void MergeFrom(const Discovery_Subscriber &from)
void Swap(Discovery_Subscriber *other)
Definition: discovery.pb.h:371
Discovery_Subscriber(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
Definition: discovery.pb.h:1146
void set_version(uint32_t value)
Definition: discovery.pb.h:2360
const ::ignition::msgs::Discovery_Subscriber & sub() const
Definition: discovery.pb.h:2563
::ignition::msgs::Discovery_Type type() const
Definition: discovery.pb.h:2423
bool has_flags() const
Definition: discovery.pb.h:2440
const std::string & process_uuid() const
Definition: discovery.pb.h:2369
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: discovery.pb.h:1182
void set_allocated_sub(::ignition::msgs::Discovery_Subscriber *sub)
bool has_header() const
Definition: discovery.pb.h:2263
static const std::string & Type_Name(T enum_t_value)
Definition: discovery.pb.h:1305
void Swap(Discovery *other)
Definition: discovery.pb.h:1204
::ignition::msgs::Discovery_Publisher * mutable_pub()
Definition: discovery.pb.h:2668
::ignition::msgs::Header * mutable_header()
Definition: discovery.pb.h:2318
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
DiscContentsCase
Definition: discovery.pb.h:1188
static const Discovery * internal_default_instance()
Definition: discovery.pb.h:1194
void CopyFrom(const Discovery &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: discovery.pb.h:1176
void set_allocated_process_uuid(std::string *process_uuid)
Definition: discovery.pb.h:2400
Discovery & operator=(const Discovery &from)
Definition: discovery.pb.h:1158
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Type_descriptor()
Definition: discovery.pb.h:1301
void set_allocated_flags(::ignition::msgs::Discovery_Flags *flags)
Definition: discovery.pb.h:2506
::ignition::msgs::Discovery_Subscriber * unsafe_arena_release_sub()
Definition: discovery.pb.h:2567
::ignition::msgs::Discovery_Flags * mutable_flags()
Definition: discovery.pb.h:2501
void UnsafeArenaSwap(Discovery *other)
Definition: discovery.pb.h:1217
::ignition::msgs::Discovery_Publisher * unsafe_arena_release_pub()
Definition: discovery.pb.h:2641
constexpr Discovery(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
Definition: discovery.pb.h:2275
const ::ignition::msgs::Discovery_Flags & flags() const
Definition: discovery.pb.h:2454
DiscContentsCase disc_contents_case() const
Definition: discovery.pb.h:2680
friend void swap(Discovery &a, Discovery &b)
Definition: discovery.pb.h:1201
void clear_flags()
Definition: discovery.pb.h:2443
static const Discovery & default_instance()
Definition: discovery.pb.h:1185
void set_process_uuid(ArgT0 &&arg0, ArgT... args)
Discovery(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
const ::ignition::msgs::Discovery_Publisher & pub() const
Definition: discovery.pb.h:2637
Discovery & operator=(Discovery &&from) noexcept
Definition: discovery.pb.h:1162
Discovery(const Discovery &from)
static bool Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Type *value)
Definition: discovery.pb.h:1311
void set_allocated_pub(::ignition::msgs::Discovery_Publisher *pub)
void unsafe_arena_set_allocated_sub(::ignition::msgs::Discovery_Subscriber *sub)
Definition: discovery.pb.h:2578
void clear_type()
Definition: discovery.pb.h:2417
void set_allocated_header(::ignition::msgs::Header *header)
Definition: discovery.pb.h:2323
void MergeFrom(const Discovery &from)
bool has_sub() const
Definition: discovery.pb.h:2530
uint32_t version() const
Definition: discovery.pb.h:2352
void clear_process_uuid()
Definition: discovery.pb.h:2366
PROTOBUF_NODISCARD ::ignition::msgs::Header * release_header()
Definition: discovery.pb.h:2288
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
Discovery(Discovery &&from) noexcept
Definition: discovery.pb.h:1153
PROTOBUF_NODISCARD ::ignition::msgs::Discovery_Flags * release_flags()
Definition: discovery.pb.h:2471
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: discovery.pb.h:1179
std::string * mutable_process_uuid()
Definition: discovery.pb.h:2380
Discovery()
Definition: discovery.pb.h:1148
const ::ignition::msgs::Header & header() const
Definition: discovery.pb.h:2271
void set_type(::ignition::msgs::Discovery_Type value)
Definition: discovery.pb.h:2431
::ignition::msgs::Discovery_Flags * unsafe_arena_release_flags()
Definition: discovery.pb.h:2486
PROTOBUF_NODISCARD ::ignition::msgs::Discovery_Publisher * release_pub()
Definition: discovery.pb.h:2618
void unsafe_arena_set_allocated_pub(::ignition::msgs::Discovery_Publisher *pub)
Definition: discovery.pb.h:2652
static const ClassData _class_data_
Definition: discovery.pb.h:1263
bool has_pub() const
Definition: discovery.pb.h:2604
void unsafe_arena_set_allocated_flags(::ignition::msgs::Discovery_Flags *flags)
Definition: discovery.pb.h:2458
::ignition::msgs::Header * unsafe_arena_release_header()
Definition: discovery.pb.h:2303
void clear_version()
Definition: discovery.pb.h:2346
::ignition::msgs::Discovery_Subscriber * mutable_sub()
Definition: discovery.pb.h:2594
PROTOBUF_NODISCARD ::ignition::msgs::Discovery_Subscriber * release_sub()
Definition: discovery.pb.h:2544
void clear_sub()
Definition: discovery.pb.h:2536
Discovery * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: discovery.pb.h:1225
PROTOBUF_NODISCARD std::string * release_process_uuid()
Definition: discovery.pb.h:2396
void clear_pub()
Definition: discovery.pb.h:2610
Definition: header.pb.h:265
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fdiscovery_2eproto
T max(T... args)
T min(T... args)
IGNITION_MSGS_VISIBLE Discovery_SubscriberDefaultTypeInternal _Discovery_Subscriber_default_instance_
constexpr Discovery_Publisher_Scope Discovery_Publisher_Scope_Scope_MIN
Definition: discovery.pb.h:110
IGNITION_MSGS_VISIBLE DiscoveryDefaultTypeInternal _Discovery_default_instance_
constexpr Discovery_Type Discovery_Type_Type_MAX
Definition: discovery.pb.h:142
std::unique_ptr< const Discovery > ConstDiscoveryUniquePtr
Definition: discovery.pb.h:2698
IGNITION_MSGS_VISIBLE bool Discovery_Publisher_Scope_IsValid(int value)
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Discovery_Type_descriptor()
constexpr Discovery_Publisher_Scope Discovery_Publisher_Scope_Scope_MAX
Definition: discovery.pb.h:111
IGNITION_MSGS_VISIBLE Discovery_Publisher_ServicePublisherDefaultTypeInternal _Discovery_Publisher_ServicePublisher_default_instance_
std::unique_ptr< Discovery > DiscoveryUniquePtr
Definition: discovery.pb.h:2697
bool Discovery_Publisher_Scope_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Discovery_Publisher_Scope *value)
Definition: discovery.pb.h:123
bool Discovery_Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Discovery_Type *value)
Definition: discovery.pb.h:154
IGNITION_MSGS_VISIBLE bool Discovery_Type_IsValid(int value)
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
constexpr Discovery_Type Discovery_Type_Type_MIN
Definition: discovery.pb.h:141
Discovery_Publisher_Scope
Definition: discovery.pb.h:102
@ Discovery_Publisher_Scope_HOST
Definition: discovery.pb.h:104
@ Discovery_Publisher_Scope_Discovery_Publisher_Scope_INT_MAX_SENTINEL_DO_NOT_USE_
Definition: discovery.pb.h:107
@ Discovery_Publisher_Scope_ALL
Definition: discovery.pb.h:105
@ Discovery_Publisher_Scope_PROCESS
Definition: discovery.pb.h:103
@ Discovery_Publisher_Scope_Discovery_Publisher_Scope_INT_MIN_SENTINEL_DO_NOT_USE_
Definition: discovery.pb.h:106
IGNITION_MSGS_VISIBLE Discovery_Publisher_MessagePublisherDefaultTypeInternal _Discovery_Publisher_MessagePublisher_default_instance_
IGNITION_MSGS_VISIBLE Discovery_PublisherDefaultTypeInternal _Discovery_Publisher_default_instance_
constexpr int Discovery_Type_Type_ARRAYSIZE
Definition: discovery.pb.h:143
std::shared_ptr< const Discovery > ConstDiscoverySharedPtr
Definition: discovery.pb.h:2700
constexpr int Discovery_Publisher_Scope_Scope_ARRAYSIZE
Definition: discovery.pb.h:112
const std::string & Discovery_Type_Name(T enum_t_value)
Definition: discovery.pb.h:147
IGNITION_MSGS_VISIBLE Discovery_FlagsDefaultTypeInternal _Discovery_Flags_default_instance_
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Discovery_Publisher_Scope_descriptor()
const std::string & Discovery_Publisher_Scope_Name(T enum_t_value)
Definition: discovery.pb.h:116
Discovery_Type
Definition: discovery.pb.h:128
@ Discovery_Type_ADVERTISE
Definition: discovery.pb.h:130
@ Discovery_Type_Discovery_Type_INT_MAX_SENTINEL_DO_NOT_USE_
Definition: discovery.pb.h:138
@ Discovery_Type_HEARTBEAT
Definition: discovery.pb.h:133
@ Discovery_Type_Discovery_Type_INT_MIN_SENTINEL_DO_NOT_USE_
Definition: discovery.pb.h:137
@ Discovery_Type_NEW_CONNECTION
Definition: discovery.pb.h:135
@ Discovery_Type_UNADVERTISE
Definition: discovery.pb.h:132
@ Discovery_Type_UNINITIALIZED
Definition: discovery.pb.h:129
@ Discovery_Type_END_CONNECTION
Definition: discovery.pb.h:136
@ Discovery_Type_SUBSCRIBE
Definition: discovery.pb.h:131
@ Discovery_Type_BYE
Definition: discovery.pb.h:134
std::shared_ptr< Discovery > DiscoverySharedPtr
Definition: discovery.pb.h:2699
Definition: actor.pb.h:52
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[6] PROTOBUF_SECTION_VARIABLE(protodesc_cold)