Ignition Msgs

API Reference

5.6.0
discovery.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/discovery.proto
3 
4 #ifndef PROTOBUF_ignition_2fmsgs_2fdiscovery_2eproto__INCLUDED
5 #define PROTOBUF_ignition_2fmsgs_2fdiscovery_2eproto__INCLUDED
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 3000000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 3000000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
20 #endif
21 
22 #include <google/protobuf/arena.h>
23 #include <google/protobuf/arenastring.h>
24 #include <google/protobuf/generated_message_util.h>
25 #include <google/protobuf/metadata.h>
26 #include <google/protobuf/message.h>
27 #include <google/protobuf/repeated_field.h>
28 #include <google/protobuf/extension_set.h>
29 #include <google/protobuf/generated_enum_reflection.h>
30 #include <google/protobuf/unknown_field_set.h>
32 #ifndef _MSC_VER
33 #pragma GCC system_header
34 #else
35 #pragma warning(push)
36 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
37 #endif
38 #ifdef __linux__
39 #include <sys/sysmacros.h>
40 #endif
41 #include <memory>
42 #include <ignition/msgs/Export.hh>
43 // @@protoc_insertion_point(includes)
44 
45 namespace ignition {
46 namespace msgs {
47 
48 // Internal implementation detail -- do not call these.
49 void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fdiscovery_2eproto();
52 
53 class Discovery;
54 class Discovery_Flags;
55 class Discovery_Publisher;
56 class Discovery_Publisher_MessagePublisher;
57 class Discovery_Publisher_ServicePublisher;
58 class Discovery_Subscriber;
59 
66 };
67 IGNITION_MSGS_VISIBLE bool Discovery_Publisher_Scope_IsValid(int value);
70 const int Discovery_Publisher_Scope_Scope_ARRAYSIZE = Discovery_Publisher_Scope_Scope_MAX + 1;
71 
72 IGNITION_MSGS_VISIBLE const ::google::protobuf::EnumDescriptor* Discovery_Publisher_Scope_descriptor();
73 inline const ::std::string& Discovery_Publisher_Scope_Name(Discovery_Publisher_Scope value) {
74  return ::google::protobuf::internal::NameOfEnum(
76 }
78  const ::std::string& name, Discovery_Publisher_Scope* value) {
79  return ::google::protobuf::internal::ParseNamedEnum<Discovery_Publisher_Scope>(
81 }
93 };
94 IGNITION_MSGS_VISIBLE bool Discovery_Type_IsValid(int value);
97 const int Discovery_Type_Type_ARRAYSIZE = Discovery_Type_Type_MAX + 1;
98 
99 IGNITION_MSGS_VISIBLE const ::google::protobuf::EnumDescriptor* Discovery_Type_descriptor();
100 inline const ::std::string& Discovery_Type_Name(Discovery_Type value) {
101  return ::google::protobuf::internal::NameOfEnum(
102  Discovery_Type_descriptor(), value);
103 }
105  const ::std::string& name, Discovery_Type* value) {
106  return ::google::protobuf::internal::ParseNamedEnum<Discovery_Type>(
107  Discovery_Type_descriptor(), name, value);
108 }
109 // ===================================================================
110 
111 class IGNITION_MSGS_VISIBLE Discovery_Flags : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Discovery.Flags) */ {
112  public:
113  Discovery_Flags();
114  virtual ~Discovery_Flags();
115 
116  Discovery_Flags(const Discovery_Flags& from);
117 
119  CopyFrom(from);
120  return *this;
121  }
122 
123  static const ::google::protobuf::Descriptor* descriptor();
124  static const Discovery_Flags& default_instance();
125 
126  void Swap(Discovery_Flags* other);
127 
128  // implements Message ----------------------------------------------
129 
130  inline Discovery_Flags* New() const { return New(NULL); }
131 
132  Discovery_Flags* New(::google::protobuf::Arena* arena) const;
133  void CopyFrom(const ::google::protobuf::Message& from);
134  void MergeFrom(const ::google::protobuf::Message& from);
135  void CopyFrom(const Discovery_Flags& from);
136  void MergeFrom(const Discovery_Flags& from);
137  void Clear();
138  bool IsInitialized() const;
139 
140  int ByteSize() const;
141  bool MergePartialFromCodedStream(
142  ::google::protobuf::io::CodedInputStream* input);
143  void SerializeWithCachedSizes(
144  ::google::protobuf::io::CodedOutputStream* output) const;
145  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
146  bool deterministic, ::google::protobuf::uint8* output) const;
147  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
148  return InternalSerializeWithCachedSizesToArray(false, output);
149  }
150  int GetCachedSize() const { return _cached_size_; }
151  private:
152  void SharedCtor();
153  void SharedDtor();
154  void SetCachedSize(int size) const;
155  void InternalSwap(Discovery_Flags* other);
156  private:
157  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
158  return _internal_metadata_.arena();
159  }
160  inline void* MaybeArenaPtr() const {
161  return _internal_metadata_.raw_arena_ptr();
162  }
163  public:
164 
165  ::google::protobuf::Metadata GetMetadata() const;
166 
167  // nested types ----------------------------------------------------
168 
169  // accessors -------------------------------------------------------
170 
171  // optional bool relay = 1;
172  void clear_relay();
173  static const int kRelayFieldNumber = 1;
174  bool relay() const;
175  void set_relay(bool value);
176 
177  // optional bool no_relay = 2;
178  void clear_no_relay();
179  static const int kNoRelayFieldNumber = 2;
180  bool no_relay() const;
181  void set_no_relay(bool value);
182 
183  // @@protoc_insertion_point(class_scope:ignition.msgs.Discovery.Flags)
184  private:
185 
186  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
187  bool _is_default_instance_;
188  bool relay_;
189  bool no_relay_;
190  mutable int _cached_size_;
191  friend void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fdiscovery_2eproto();
194 
195  void InitAsDefaultInstance();
196  static Discovery_Flags* default_instance_;
197 };
198 // -------------------------------------------------------------------
199 
200 class IGNITION_MSGS_VISIBLE Discovery_Subscriber : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Discovery.Subscriber) */ {
201  public:
203  virtual ~Discovery_Subscriber();
204 
206 
208  CopyFrom(from);
209  return *this;
210  }
211 
212  static const ::google::protobuf::Descriptor* descriptor();
213  static const Discovery_Subscriber& default_instance();
214 
215  void Swap(Discovery_Subscriber* other);
216 
217  // implements Message ----------------------------------------------
218 
219  inline Discovery_Subscriber* New() const { return New(NULL); }
220 
221  Discovery_Subscriber* New(::google::protobuf::Arena* arena) const;
222  void CopyFrom(const ::google::protobuf::Message& from);
223  void MergeFrom(const ::google::protobuf::Message& from);
224  void CopyFrom(const Discovery_Subscriber& from);
225  void MergeFrom(const Discovery_Subscriber& from);
226  void Clear();
227  bool IsInitialized() const;
228 
229  int ByteSize() const;
230  bool MergePartialFromCodedStream(
231  ::google::protobuf::io::CodedInputStream* input);
232  void SerializeWithCachedSizes(
233  ::google::protobuf::io::CodedOutputStream* output) const;
234  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
235  bool deterministic, ::google::protobuf::uint8* output) const;
236  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
237  return InternalSerializeWithCachedSizesToArray(false, output);
238  }
239  int GetCachedSize() const { return _cached_size_; }
240  private:
241  void SharedCtor();
242  void SharedDtor();
243  void SetCachedSize(int size) const;
244  void InternalSwap(Discovery_Subscriber* other);
245  private:
246  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
247  return _internal_metadata_.arena();
248  }
249  inline void* MaybeArenaPtr() const {
250  return _internal_metadata_.raw_arena_ptr();
251  }
252  public:
253 
254  ::google::protobuf::Metadata GetMetadata() const;
255 
256  // nested types ----------------------------------------------------
257 
258  // accessors -------------------------------------------------------
259 
260  // optional string topic = 1;
261  void clear_topic();
262  static const int kTopicFieldNumber = 1;
263  const ::std::string& topic() const;
264  void set_topic(const ::std::string& value);
265  void set_topic(const char* value);
266  void set_topic(const char* value, size_t size);
267  ::std::string* mutable_topic();
268  ::std::string* release_topic();
269  void set_allocated_topic(::std::string* topic);
270 
271  // @@protoc_insertion_point(class_scope:ignition.msgs.Discovery.Subscriber)
272  private:
273 
274  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
275  bool _is_default_instance_;
276  ::google::protobuf::internal::ArenaStringPtr topic_;
277  mutable int _cached_size_;
278  friend void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fdiscovery_2eproto();
281 
282  void InitAsDefaultInstance();
283  static Discovery_Subscriber* default_instance_;
284 };
285 // -------------------------------------------------------------------
286 
287 class IGNITION_MSGS_VISIBLE Discovery_Publisher_MessagePublisher : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Discovery.Publisher.MessagePublisher) */ {
288  public:
291 
293 
295  CopyFrom(from);
296  return *this;
297  }
298 
299  static const ::google::protobuf::Descriptor* descriptor();
300  static const Discovery_Publisher_MessagePublisher& default_instance();
301 
302  void Swap(Discovery_Publisher_MessagePublisher* other);
303 
304  // implements Message ----------------------------------------------
305 
306  inline Discovery_Publisher_MessagePublisher* New() const { return New(NULL); }
307 
308  Discovery_Publisher_MessagePublisher* New(::google::protobuf::Arena* arena) const;
309  void CopyFrom(const ::google::protobuf::Message& from);
310  void MergeFrom(const ::google::protobuf::Message& from);
311  void CopyFrom(const Discovery_Publisher_MessagePublisher& from);
312  void MergeFrom(const Discovery_Publisher_MessagePublisher& from);
313  void Clear();
314  bool IsInitialized() const;
315 
316  int ByteSize() const;
317  bool MergePartialFromCodedStream(
318  ::google::protobuf::io::CodedInputStream* input);
319  void SerializeWithCachedSizes(
320  ::google::protobuf::io::CodedOutputStream* output) const;
321  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
322  bool deterministic, ::google::protobuf::uint8* output) const;
323  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
324  return InternalSerializeWithCachedSizesToArray(false, output);
325  }
326  int GetCachedSize() const { return _cached_size_; }
327  private:
328  void SharedCtor();
329  void SharedDtor();
330  void SetCachedSize(int size) const;
331  void InternalSwap(Discovery_Publisher_MessagePublisher* other);
332  private:
333  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
334  return _internal_metadata_.arena();
335  }
336  inline void* MaybeArenaPtr() const {
337  return _internal_metadata_.raw_arena_ptr();
338  }
339  public:
340 
341  ::google::protobuf::Metadata GetMetadata() const;
342 
343  // nested types ----------------------------------------------------
344 
345  // accessors -------------------------------------------------------
346 
347  // optional string ctrl = 1;
348  void clear_ctrl();
349  static const int kCtrlFieldNumber = 1;
350  const ::std::string& ctrl() const;
351  void set_ctrl(const ::std::string& value);
352  void set_ctrl(const char* value);
353  void set_ctrl(const char* value, size_t size);
354  ::std::string* mutable_ctrl();
355  ::std::string* release_ctrl();
356  void set_allocated_ctrl(::std::string* ctrl);
357 
358  // optional string msg_type = 2;
359  void clear_msg_type();
360  static const int kMsgTypeFieldNumber = 2;
361  const ::std::string& msg_type() const;
362  void set_msg_type(const ::std::string& value);
363  void set_msg_type(const char* value);
364  void set_msg_type(const char* value, size_t size);
365  ::std::string* mutable_msg_type();
366  ::std::string* release_msg_type();
367  void set_allocated_msg_type(::std::string* msg_type);
368 
369  // optional bool throttled = 3;
370  void clear_throttled();
371  static const int kThrottledFieldNumber = 3;
372  bool throttled() const;
373  void set_throttled(bool value);
374 
375  // optional uint64 msgs_per_sec = 4;
376  void clear_msgs_per_sec();
377  static const int kMsgsPerSecFieldNumber = 4;
378  ::google::protobuf::uint64 msgs_per_sec() const;
379  void set_msgs_per_sec(::google::protobuf::uint64 value);
380 
381  // @@protoc_insertion_point(class_scope:ignition.msgs.Discovery.Publisher.MessagePublisher)
382  private:
383 
384  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
385  bool _is_default_instance_;
386  ::google::protobuf::internal::ArenaStringPtr ctrl_;
387  ::google::protobuf::internal::ArenaStringPtr msg_type_;
388  ::google::protobuf::uint64 msgs_per_sec_;
389  bool throttled_;
390  mutable int _cached_size_;
391  friend void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fdiscovery_2eproto();
394 
395  void InitAsDefaultInstance();
396  static Discovery_Publisher_MessagePublisher* default_instance_;
397 };
398 // -------------------------------------------------------------------
399 
400 class IGNITION_MSGS_VISIBLE Discovery_Publisher_ServicePublisher : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Discovery.Publisher.ServicePublisher) */ {
401  public:
404 
406 
408  CopyFrom(from);
409  return *this;
410  }
411 
412  static const ::google::protobuf::Descriptor* descriptor();
413  static const Discovery_Publisher_ServicePublisher& default_instance();
414 
415  void Swap(Discovery_Publisher_ServicePublisher* other);
416 
417  // implements Message ----------------------------------------------
418 
419  inline Discovery_Publisher_ServicePublisher* New() const { return New(NULL); }
420 
421  Discovery_Publisher_ServicePublisher* New(::google::protobuf::Arena* arena) const;
422  void CopyFrom(const ::google::protobuf::Message& from);
423  void MergeFrom(const ::google::protobuf::Message& from);
424  void CopyFrom(const Discovery_Publisher_ServicePublisher& from);
425  void MergeFrom(const Discovery_Publisher_ServicePublisher& from);
426  void Clear();
427  bool IsInitialized() const;
428 
429  int ByteSize() const;
430  bool MergePartialFromCodedStream(
431  ::google::protobuf::io::CodedInputStream* input);
432  void SerializeWithCachedSizes(
433  ::google::protobuf::io::CodedOutputStream* output) const;
434  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
435  bool deterministic, ::google::protobuf::uint8* output) const;
436  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
437  return InternalSerializeWithCachedSizesToArray(false, output);
438  }
439  int GetCachedSize() const { return _cached_size_; }
440  private:
441  void SharedCtor();
442  void SharedDtor();
443  void SetCachedSize(int size) const;
444  void InternalSwap(Discovery_Publisher_ServicePublisher* other);
445  private:
446  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
447  return _internal_metadata_.arena();
448  }
449  inline void* MaybeArenaPtr() const {
450  return _internal_metadata_.raw_arena_ptr();
451  }
452  public:
453 
454  ::google::protobuf::Metadata GetMetadata() const;
455 
456  // nested types ----------------------------------------------------
457 
458  // accessors -------------------------------------------------------
459 
460  // optional string socket_id = 1;
461  void clear_socket_id();
462  static const int kSocketIdFieldNumber = 1;
463  const ::std::string& socket_id() const;
464  void set_socket_id(const ::std::string& value);
465  void set_socket_id(const char* value);
466  void set_socket_id(const char* value, size_t size);
467  ::std::string* mutable_socket_id();
468  ::std::string* release_socket_id();
469  void set_allocated_socket_id(::std::string* socket_id);
470 
471  // optional string request_type = 2;
472  void clear_request_type();
473  static const int kRequestTypeFieldNumber = 2;
474  const ::std::string& request_type() const;
475  void set_request_type(const ::std::string& value);
476  void set_request_type(const char* value);
477  void set_request_type(const char* value, size_t size);
478  ::std::string* mutable_request_type();
479  ::std::string* release_request_type();
480  void set_allocated_request_type(::std::string* request_type);
481 
482  // optional string response_type = 3;
483  void clear_response_type();
484  static const int kResponseTypeFieldNumber = 3;
485  const ::std::string& response_type() const;
486  void set_response_type(const ::std::string& value);
487  void set_response_type(const char* value);
488  void set_response_type(const char* value, size_t size);
489  ::std::string* mutable_response_type();
490  ::std::string* release_response_type();
491  void set_allocated_response_type(::std::string* response_type);
492 
493  // @@protoc_insertion_point(class_scope:ignition.msgs.Discovery.Publisher.ServicePublisher)
494  private:
495 
496  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
497  bool _is_default_instance_;
498  ::google::protobuf::internal::ArenaStringPtr socket_id_;
499  ::google::protobuf::internal::ArenaStringPtr request_type_;
500  ::google::protobuf::internal::ArenaStringPtr response_type_;
501  mutable int _cached_size_;
502  friend void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fdiscovery_2eproto();
505 
506  void InitAsDefaultInstance();
507  static Discovery_Publisher_ServicePublisher* default_instance_;
508 };
509 // -------------------------------------------------------------------
510 
511 class IGNITION_MSGS_VISIBLE Discovery_Publisher : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Discovery.Publisher) */ {
512  public:
514  virtual ~Discovery_Publisher();
515 
517 
519  CopyFrom(from);
520  return *this;
521  }
522 
523  static const ::google::protobuf::Descriptor* descriptor();
524  static const Discovery_Publisher& default_instance();
525 
526  enum PubTypeCase {
527  kMsgPub = 6,
528  kSrvPub = 7,
529  PUB_TYPE_NOT_SET = 0,
530  };
531 
532  void Swap(Discovery_Publisher* other);
533 
534  // implements Message ----------------------------------------------
535 
536  inline Discovery_Publisher* New() const { return New(NULL); }
537 
538  Discovery_Publisher* New(::google::protobuf::Arena* arena) const;
539  void CopyFrom(const ::google::protobuf::Message& from);
540  void MergeFrom(const ::google::protobuf::Message& from);
541  void CopyFrom(const Discovery_Publisher& from);
542  void MergeFrom(const Discovery_Publisher& from);
543  void Clear();
544  bool IsInitialized() const;
545 
546  int ByteSize() const;
547  bool MergePartialFromCodedStream(
548  ::google::protobuf::io::CodedInputStream* input);
549  void SerializeWithCachedSizes(
550  ::google::protobuf::io::CodedOutputStream* output) const;
551  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
552  bool deterministic, ::google::protobuf::uint8* output) const;
553  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
554  return InternalSerializeWithCachedSizesToArray(false, output);
555  }
556  int GetCachedSize() const { return _cached_size_; }
557  private:
558  void SharedCtor();
559  void SharedDtor();
560  void SetCachedSize(int size) const;
561  void InternalSwap(Discovery_Publisher* other);
562  private:
563  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
564  return _internal_metadata_.arena();
565  }
566  inline void* MaybeArenaPtr() const {
567  return _internal_metadata_.raw_arena_ptr();
568  }
569  public:
570 
571  ::google::protobuf::Metadata GetMetadata() const;
572 
573  // nested types ----------------------------------------------------
574 
577 
579  static const Scope PROCESS =
581  static const Scope HOST =
583  static const Scope ALL =
585  static inline bool Scope_IsValid(int value) {
586  return Discovery_Publisher_Scope_IsValid(value);
587  }
588  static const Scope Scope_MIN =
590  static const Scope Scope_MAX =
592  static const int Scope_ARRAYSIZE =
594  static inline const ::google::protobuf::EnumDescriptor*
597  }
598  static inline const ::std::string& Scope_Name(Scope value) {
599  return Discovery_Publisher_Scope_Name(value);
600  }
601  static inline bool Scope_Parse(const ::std::string& name,
602  Scope* value) {
603  return Discovery_Publisher_Scope_Parse(name, value);
604  }
605 
606  // accessors -------------------------------------------------------
607 
608  // optional string topic = 1;
609  void clear_topic();
610  static const int kTopicFieldNumber = 1;
611  const ::std::string& topic() const;
612  void set_topic(const ::std::string& value);
613  void set_topic(const char* value);
614  void set_topic(const char* value, size_t size);
615  ::std::string* mutable_topic();
616  ::std::string* release_topic();
617  void set_allocated_topic(::std::string* topic);
618 
619  // optional string address = 2;
620  void clear_address();
621  static const int kAddressFieldNumber = 2;
622  const ::std::string& address() const;
623  void set_address(const ::std::string& value);
624  void set_address(const char* value);
625  void set_address(const char* value, size_t size);
626  ::std::string* mutable_address();
627  ::std::string* release_address();
628  void set_allocated_address(::std::string* address);
629 
630  // optional string process_uuid = 3;
631  void clear_process_uuid();
632  static const int kProcessUuidFieldNumber = 3;
633  const ::std::string& process_uuid() const;
634  void set_process_uuid(const ::std::string& value);
635  void set_process_uuid(const char* value);
636  void set_process_uuid(const char* value, size_t size);
637  ::std::string* mutable_process_uuid();
638  ::std::string* release_process_uuid();
639  void set_allocated_process_uuid(::std::string* process_uuid);
640 
641  // optional string node_uuid = 4;
642  void clear_node_uuid();
643  static const int kNodeUuidFieldNumber = 4;
644  const ::std::string& node_uuid() const;
645  void set_node_uuid(const ::std::string& value);
646  void set_node_uuid(const char* value);
647  void set_node_uuid(const char* value, size_t size);
648  ::std::string* mutable_node_uuid();
649  ::std::string* release_node_uuid();
650  void set_allocated_node_uuid(::std::string* node_uuid);
651 
652  // optional .ignition.msgs.Discovery.Publisher.Scope scope = 5;
653  void clear_scope();
654  static const int kScopeFieldNumber = 5;
656  void set_scope(::ignition::msgs::Discovery_Publisher_Scope value);
657 
658  // optional .ignition.msgs.Discovery.Publisher.MessagePublisher msg_pub = 6;
659  bool has_msg_pub() const;
660  void clear_msg_pub();
661  static const int kMsgPubFieldNumber = 6;
662  const ::ignition::msgs::Discovery_Publisher_MessagePublisher& msg_pub() const;
665  void set_allocated_msg_pub(::ignition::msgs::Discovery_Publisher_MessagePublisher* msg_pub);
666 
667  // optional .ignition.msgs.Discovery.Publisher.ServicePublisher srv_pub = 7;
668  bool has_srv_pub() const;
669  void clear_srv_pub();
670  static const int kSrvPubFieldNumber = 7;
671  const ::ignition::msgs::Discovery_Publisher_ServicePublisher& srv_pub() const;
674  void set_allocated_srv_pub(::ignition::msgs::Discovery_Publisher_ServicePublisher* srv_pub);
675 
676  PubTypeCase pub_type_case() const;
677  // @@protoc_insertion_point(class_scope:ignition.msgs.Discovery.Publisher)
678  private:
679  inline void set_has_msg_pub();
680  inline void set_has_srv_pub();
681 
682  inline bool has_pub_type() const;
683  void clear_pub_type();
684  inline void clear_has_pub_type();
685 
686  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
687  bool _is_default_instance_;
688  ::google::protobuf::internal::ArenaStringPtr topic_;
689  ::google::protobuf::internal::ArenaStringPtr address_;
690  ::google::protobuf::internal::ArenaStringPtr process_uuid_;
691  ::google::protobuf::internal::ArenaStringPtr node_uuid_;
692  int scope_;
693  union PubTypeUnion {
694  PubTypeUnion() {}
697  } pub_type_;
698  mutable int _cached_size_;
699  ::google::protobuf::uint32 _oneof_case_[1];
700 
701  friend void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fdiscovery_2eproto();
704 
705  void InitAsDefaultInstance();
706  static Discovery_Publisher* default_instance_;
707 };
708 // -------------------------------------------------------------------
709 
710 class IGNITION_MSGS_VISIBLE Discovery : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Discovery) */ {
711  public:
712  Discovery();
713  virtual ~Discovery();
714 
715  Discovery(const Discovery& from);
716 
717  inline Discovery& operator=(const Discovery& from) {
718  CopyFrom(from);
719  return *this;
720  }
721 
722  static const ::google::protobuf::Descriptor* descriptor();
723  static const Discovery& default_instance();
724 
726  kSub = 6,
727  kPub = 7,
728  DISC_CONTENTS_NOT_SET = 0,
729  };
730 
731  void Swap(Discovery* other);
732 
733  // implements Message ----------------------------------------------
734 
735  inline Discovery* New() const { return New(NULL); }
736 
737  Discovery* New(::google::protobuf::Arena* arena) const;
738  void CopyFrom(const ::google::protobuf::Message& from);
739  void MergeFrom(const ::google::protobuf::Message& from);
740  void CopyFrom(const Discovery& from);
741  void MergeFrom(const Discovery& from);
742  void Clear();
743  bool IsInitialized() const;
744 
745  int ByteSize() const;
746  bool MergePartialFromCodedStream(
747  ::google::protobuf::io::CodedInputStream* input);
748  void SerializeWithCachedSizes(
749  ::google::protobuf::io::CodedOutputStream* output) const;
750  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
751  bool deterministic, ::google::protobuf::uint8* output) const;
752  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
753  return InternalSerializeWithCachedSizesToArray(false, output);
754  }
755  int GetCachedSize() const { return _cached_size_; }
756  private:
757  void SharedCtor();
758  void SharedDtor();
759  void SetCachedSize(int size) const;
760  void InternalSwap(Discovery* other);
761  private:
762  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
763  return _internal_metadata_.arena();
764  }
765  inline void* MaybeArenaPtr() const {
766  return _internal_metadata_.raw_arena_ptr();
767  }
768  public:
769 
770  ::google::protobuf::Metadata GetMetadata() const;
771 
772  // nested types ----------------------------------------------------
773 
777 
779  static const Type UNINITIALIZED =
781  static const Type ADVERTISE =
783  static const Type SUBSCRIBE =
785  static const Type UNADVERTISE =
787  static const Type HEARTBEAT =
789  static const Type BYE =
791  static const Type NEW_CONNECTION =
793  static const Type END_CONNECTION =
795  static inline bool Type_IsValid(int value) {
796  return Discovery_Type_IsValid(value);
797  }
798  static const Type Type_MIN =
800  static const Type Type_MAX =
802  static const int Type_ARRAYSIZE =
804  static inline const ::google::protobuf::EnumDescriptor*
806  return Discovery_Type_descriptor();
807  }
808  static inline const ::std::string& Type_Name(Type value) {
809  return Discovery_Type_Name(value);
810  }
811  static inline bool Type_Parse(const ::std::string& name,
812  Type* value) {
813  return Discovery_Type_Parse(name, value);
814  }
815 
816  // accessors -------------------------------------------------------
817 
818  // optional .ignition.msgs.Header header = 1;
819  bool has_header() const;
820  void clear_header();
821  static const int kHeaderFieldNumber = 1;
822  const ::ignition::msgs::Header& header() const;
823  ::ignition::msgs::Header* mutable_header();
824  ::ignition::msgs::Header* release_header();
825  void set_allocated_header(::ignition::msgs::Header* header);
826 
827  // optional uint32 version = 2;
828  void clear_version();
829  static const int kVersionFieldNumber = 2;
830  ::google::protobuf::uint32 version() const;
831  void set_version(::google::protobuf::uint32 value);
832 
833  // optional string process_uuid = 3;
834  void clear_process_uuid();
835  static const int kProcessUuidFieldNumber = 3;
836  const ::std::string& process_uuid() const;
837  void set_process_uuid(const ::std::string& value);
838  void set_process_uuid(const char* value);
839  void set_process_uuid(const char* value, size_t size);
840  ::std::string* mutable_process_uuid();
841  ::std::string* release_process_uuid();
842  void set_allocated_process_uuid(::std::string* process_uuid);
843 
844  // optional .ignition.msgs.Discovery.Type type = 4;
845  void clear_type();
846  static const int kTypeFieldNumber = 4;
848  void set_type(::ignition::msgs::Discovery_Type value);
849 
850  // optional .ignition.msgs.Discovery.Flags flags = 5;
851  bool has_flags() const;
852  void clear_flags();
853  static const int kFlagsFieldNumber = 5;
854  const ::ignition::msgs::Discovery_Flags& flags() const;
855  ::ignition::msgs::Discovery_Flags* mutable_flags();
856  ::ignition::msgs::Discovery_Flags* release_flags();
857  void set_allocated_flags(::ignition::msgs::Discovery_Flags* flags);
858 
859  // optional .ignition.msgs.Discovery.Subscriber sub = 6;
860  bool has_sub() const;
861  void clear_sub();
862  static const int kSubFieldNumber = 6;
863  const ::ignition::msgs::Discovery_Subscriber& sub() const;
866  void set_allocated_sub(::ignition::msgs::Discovery_Subscriber* sub);
867 
868  // optional .ignition.msgs.Discovery.Publisher pub = 7;
869  bool has_pub() const;
870  void clear_pub();
871  static const int kPubFieldNumber = 7;
872  const ::ignition::msgs::Discovery_Publisher& pub() const;
875  void set_allocated_pub(::ignition::msgs::Discovery_Publisher* pub);
876 
877  DiscContentsCase disc_contents_case() const;
878  // @@protoc_insertion_point(class_scope:ignition.msgs.Discovery)
879  private:
880  inline void set_has_sub();
881  inline void set_has_pub();
882 
883  inline bool has_disc_contents() const;
884  void clear_disc_contents();
885  inline void clear_has_disc_contents();
886 
887  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
888  bool _is_default_instance_;
889  ::ignition::msgs::Header* header_;
890  ::google::protobuf::internal::ArenaStringPtr process_uuid_;
891  ::google::protobuf::uint32 version_;
892  int type_;
894  union DiscContentsUnion {
895  DiscContentsUnion() {}
898  } disc_contents_;
899  mutable int _cached_size_;
900  ::google::protobuf::uint32 _oneof_case_[1];
901 
902  friend void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fdiscovery_2eproto();
905 
906  void InitAsDefaultInstance();
907  static Discovery* default_instance_;
908 };
909 // ===================================================================
910 
911 
912 // ===================================================================
913 
914 #if !PROTOBUF_INLINE_NOT_IN_HEADERS
915 // Discovery_Flags
916 
917 // optional bool relay = 1;
919  relay_ = false;
920 }
921 inline bool Discovery_Flags::relay() const {
922  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Flags.relay)
923  return relay_;
924 }
925 inline void Discovery_Flags::set_relay(bool value) {
926 
927  relay_ = value;
928  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Flags.relay)
929 }
930 
931 // optional bool no_relay = 2;
933  no_relay_ = false;
934 }
935 inline bool Discovery_Flags::no_relay() const {
936  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Flags.no_relay)
937  return no_relay_;
938 }
939 inline void Discovery_Flags::set_no_relay(bool value) {
940 
941  no_relay_ = value;
942  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Flags.no_relay)
943 }
944 
945 // -------------------------------------------------------------------
946 
947 // Discovery_Subscriber
948 
949 // optional string topic = 1;
951  topic_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
952 }
953 inline const ::std::string& Discovery_Subscriber::topic() const {
954  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Subscriber.topic)
955  return topic_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
956 }
957 inline void Discovery_Subscriber::set_topic(const ::std::string& value) {
958 
959  topic_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
960  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Subscriber.topic)
961 }
962 inline void Discovery_Subscriber::set_topic(const char* value) {
963 
964  topic_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
965  // @@protoc_insertion_point(field_set_char:ignition.msgs.Discovery.Subscriber.topic)
966 }
967 inline void Discovery_Subscriber::set_topic(const char* value, size_t size) {
968 
969  topic_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
970  ::std::string(reinterpret_cast<const char*>(value), size));
971  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Discovery.Subscriber.topic)
972 }
973 inline ::std::string* Discovery_Subscriber::mutable_topic() {
974 
975  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.Subscriber.topic)
976  return topic_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
977 }
978 inline ::std::string* Discovery_Subscriber::release_topic() {
979  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.Subscriber.topic)
980 
981  return topic_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
982 }
984  if (topic != NULL) {
985 
986  } else {
987 
988  }
989  topic_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), topic);
990  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.Subscriber.topic)
991 }
992 
993 // -------------------------------------------------------------------
994 
995 // Discovery_Publisher_MessagePublisher
996 
997 // optional string ctrl = 1;
999  ctrl_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1000 }
1001 inline const ::std::string& Discovery_Publisher_MessagePublisher::ctrl() const {
1002  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.MessagePublisher.ctrl)
1003  return ctrl_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1004 }
1005 inline void Discovery_Publisher_MessagePublisher::set_ctrl(const ::std::string& value) {
1006 
1007  ctrl_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1008  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Publisher.MessagePublisher.ctrl)
1009 }
1010 inline void Discovery_Publisher_MessagePublisher::set_ctrl(const char* value) {
1011 
1012  ctrl_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1013  // @@protoc_insertion_point(field_set_char:ignition.msgs.Discovery.Publisher.MessagePublisher.ctrl)
1014 }
1015 inline void Discovery_Publisher_MessagePublisher::set_ctrl(const char* value, size_t size) {
1016 
1017  ctrl_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1018  ::std::string(reinterpret_cast<const char*>(value), size));
1019  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Discovery.Publisher.MessagePublisher.ctrl)
1020 }
1022 
1023  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.Publisher.MessagePublisher.ctrl)
1024  return ctrl_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1025 }
1027  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.Publisher.MessagePublisher.ctrl)
1028 
1029  return ctrl_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1030 }
1032  if (ctrl != NULL) {
1033 
1034  } else {
1035 
1036  }
1037  ctrl_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ctrl);
1038  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.Publisher.MessagePublisher.ctrl)
1039 }
1040 
1041 // optional string msg_type = 2;
1043  msg_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1044 }
1045 inline const ::std::string& Discovery_Publisher_MessagePublisher::msg_type() const {
1046  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.MessagePublisher.msg_type)
1047  return msg_type_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1048 }
1049 inline void Discovery_Publisher_MessagePublisher::set_msg_type(const ::std::string& value) {
1050 
1051  msg_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1052  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Publisher.MessagePublisher.msg_type)
1053 }
1055 
1056  msg_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1057  // @@protoc_insertion_point(field_set_char:ignition.msgs.Discovery.Publisher.MessagePublisher.msg_type)
1058 }
1059 inline void Discovery_Publisher_MessagePublisher::set_msg_type(const char* value, size_t size) {
1060 
1061  msg_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1062  ::std::string(reinterpret_cast<const char*>(value), size));
1063  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Discovery.Publisher.MessagePublisher.msg_type)
1064 }
1066 
1067  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.Publisher.MessagePublisher.msg_type)
1068  return msg_type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1069 }
1071  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.Publisher.MessagePublisher.msg_type)
1072 
1073  return msg_type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1074 }
1076  if (msg_type != NULL) {
1077 
1078  } else {
1079 
1080  }
1081  msg_type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), msg_type);
1082  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.Publisher.MessagePublisher.msg_type)
1083 }
1084 
1085 // optional bool throttled = 3;
1087  throttled_ = false;
1088 }
1090  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.MessagePublisher.throttled)
1091  return throttled_;
1092 }
1094 
1095  throttled_ = value;
1096  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Publisher.MessagePublisher.throttled)
1097 }
1098 
1099 // optional uint64 msgs_per_sec = 4;
1101  msgs_per_sec_ = GOOGLE_ULONGLONG(0);
1102 }
1103 inline ::google::protobuf::uint64 Discovery_Publisher_MessagePublisher::msgs_per_sec() const {
1104  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.MessagePublisher.msgs_per_sec)
1105  return msgs_per_sec_;
1106 }
1107 inline void Discovery_Publisher_MessagePublisher::set_msgs_per_sec(::google::protobuf::uint64 value) {
1108 
1109  msgs_per_sec_ = value;
1110  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Publisher.MessagePublisher.msgs_per_sec)
1111 }
1112 
1113 // -------------------------------------------------------------------
1114 
1115 // Discovery_Publisher_ServicePublisher
1116 
1117 // optional string socket_id = 1;
1119  socket_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1120 }
1121 inline const ::std::string& Discovery_Publisher_ServicePublisher::socket_id() const {
1122  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.ServicePublisher.socket_id)
1123  return socket_id_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1124 }
1125 inline void Discovery_Publisher_ServicePublisher::set_socket_id(const ::std::string& value) {
1126 
1127  socket_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1128  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Publisher.ServicePublisher.socket_id)
1129 }
1131 
1132  socket_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1133  // @@protoc_insertion_point(field_set_char:ignition.msgs.Discovery.Publisher.ServicePublisher.socket_id)
1134 }
1135 inline void Discovery_Publisher_ServicePublisher::set_socket_id(const char* value, size_t size) {
1136 
1137  socket_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1138  ::std::string(reinterpret_cast<const char*>(value), size));
1139  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Discovery.Publisher.ServicePublisher.socket_id)
1140 }
1142 
1143  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.Publisher.ServicePublisher.socket_id)
1144  return socket_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1145 }
1147  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.Publisher.ServicePublisher.socket_id)
1148 
1149  return socket_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1150 }
1152  if (socket_id != NULL) {
1153 
1154  } else {
1155 
1156  }
1157  socket_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), socket_id);
1158  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.Publisher.ServicePublisher.socket_id)
1159 }
1160 
1161 // optional string request_type = 2;
1163  request_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1164 }
1165 inline const ::std::string& Discovery_Publisher_ServicePublisher::request_type() const {
1166  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.ServicePublisher.request_type)
1167  return request_type_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1168 }
1169 inline void Discovery_Publisher_ServicePublisher::set_request_type(const ::std::string& value) {
1170 
1171  request_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1172  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Publisher.ServicePublisher.request_type)
1173 }
1175 
1176  request_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1177  // @@protoc_insertion_point(field_set_char:ignition.msgs.Discovery.Publisher.ServicePublisher.request_type)
1178 }
1179 inline void Discovery_Publisher_ServicePublisher::set_request_type(const char* value, size_t size) {
1180 
1181  request_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1182  ::std::string(reinterpret_cast<const char*>(value), size));
1183  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Discovery.Publisher.ServicePublisher.request_type)
1184 }
1186 
1187  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.Publisher.ServicePublisher.request_type)
1188  return request_type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1189 }
1191  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.Publisher.ServicePublisher.request_type)
1192 
1193  return request_type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1194 }
1196  if (request_type != NULL) {
1197 
1198  } else {
1199 
1200  }
1201  request_type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), request_type);
1202  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.Publisher.ServicePublisher.request_type)
1203 }
1204 
1205 // optional string response_type = 3;
1207  response_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1208 }
1209 inline const ::std::string& Discovery_Publisher_ServicePublisher::response_type() const {
1210  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.ServicePublisher.response_type)
1211  return response_type_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1212 }
1213 inline void Discovery_Publisher_ServicePublisher::set_response_type(const ::std::string& value) {
1214 
1215  response_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1216  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Publisher.ServicePublisher.response_type)
1217 }
1219 
1220  response_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1221  // @@protoc_insertion_point(field_set_char:ignition.msgs.Discovery.Publisher.ServicePublisher.response_type)
1222 }
1223 inline void Discovery_Publisher_ServicePublisher::set_response_type(const char* value, size_t size) {
1224 
1225  response_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1226  ::std::string(reinterpret_cast<const char*>(value), size));
1227  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Discovery.Publisher.ServicePublisher.response_type)
1228 }
1230 
1231  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.Publisher.ServicePublisher.response_type)
1232  return response_type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1233 }
1235  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.Publisher.ServicePublisher.response_type)
1236 
1237  return response_type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1238 }
1240  if (response_type != NULL) {
1241 
1242  } else {
1243 
1244  }
1245  response_type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), response_type);
1246  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.Publisher.ServicePublisher.response_type)
1247 }
1248 
1249 // -------------------------------------------------------------------
1250 
1251 // Discovery_Publisher
1252 
1253 // optional string topic = 1;
1255  topic_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1256 }
1257 inline const ::std::string& Discovery_Publisher::topic() const {
1258  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.topic)
1259  return topic_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1260 }
1261 inline void Discovery_Publisher::set_topic(const ::std::string& value) {
1262 
1263  topic_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1264  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Publisher.topic)
1265 }
1266 inline void Discovery_Publisher::set_topic(const char* value) {
1267 
1268  topic_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1269  // @@protoc_insertion_point(field_set_char:ignition.msgs.Discovery.Publisher.topic)
1270 }
1271 inline void Discovery_Publisher::set_topic(const char* value, size_t size) {
1272 
1273  topic_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1274  ::std::string(reinterpret_cast<const char*>(value), size));
1275  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Discovery.Publisher.topic)
1276 }
1277 inline ::std::string* Discovery_Publisher::mutable_topic() {
1278 
1279  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.Publisher.topic)
1280  return topic_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1281 }
1282 inline ::std::string* Discovery_Publisher::release_topic() {
1283  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.Publisher.topic)
1284 
1285  return topic_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1286 }
1288  if (topic != NULL) {
1289 
1290  } else {
1291 
1292  }
1293  topic_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), topic);
1294  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.Publisher.topic)
1295 }
1296 
1297 // optional string address = 2;
1299  address_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1300 }
1301 inline const ::std::string& Discovery_Publisher::address() const {
1302  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.address)
1303  return address_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1304 }
1305 inline void Discovery_Publisher::set_address(const ::std::string& value) {
1306 
1307  address_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1308  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Publisher.address)
1309 }
1310 inline void Discovery_Publisher::set_address(const char* value) {
1311 
1312  address_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1313  // @@protoc_insertion_point(field_set_char:ignition.msgs.Discovery.Publisher.address)
1314 }
1315 inline void Discovery_Publisher::set_address(const char* value, size_t size) {
1316 
1317  address_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1318  ::std::string(reinterpret_cast<const char*>(value), size));
1319  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Discovery.Publisher.address)
1320 }
1321 inline ::std::string* Discovery_Publisher::mutable_address() {
1322 
1323  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.Publisher.address)
1324  return address_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1325 }
1326 inline ::std::string* Discovery_Publisher::release_address() {
1327  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.Publisher.address)
1328 
1329  return address_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1330 }
1332  if (address != NULL) {
1333 
1334  } else {
1335 
1336  }
1337  address_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), address);
1338  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.Publisher.address)
1339 }
1340 
1341 // optional string process_uuid = 3;
1343  process_uuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1344 }
1345 inline const ::std::string& Discovery_Publisher::process_uuid() const {
1346  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.process_uuid)
1347  return process_uuid_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1348 }
1349 inline void Discovery_Publisher::set_process_uuid(const ::std::string& value) {
1350 
1351  process_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1352  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Publisher.process_uuid)
1353 }
1354 inline void Discovery_Publisher::set_process_uuid(const char* value) {
1355 
1356  process_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1357  // @@protoc_insertion_point(field_set_char:ignition.msgs.Discovery.Publisher.process_uuid)
1358 }
1359 inline void Discovery_Publisher::set_process_uuid(const char* value, size_t size) {
1360 
1361  process_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1362  ::std::string(reinterpret_cast<const char*>(value), size));
1363  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Discovery.Publisher.process_uuid)
1364 }
1366 
1367  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.Publisher.process_uuid)
1368  return process_uuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1369 }
1371  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.Publisher.process_uuid)
1372 
1373  return process_uuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1374 }
1376  if (process_uuid != NULL) {
1377 
1378  } else {
1379 
1380  }
1381  process_uuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), process_uuid);
1382  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.Publisher.process_uuid)
1383 }
1384 
1385 // optional string node_uuid = 4;
1387  node_uuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1388 }
1389 inline const ::std::string& Discovery_Publisher::node_uuid() const {
1390  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.node_uuid)
1391  return node_uuid_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1392 }
1393 inline void Discovery_Publisher::set_node_uuid(const ::std::string& value) {
1394 
1395  node_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1396  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Publisher.node_uuid)
1397 }
1398 inline void Discovery_Publisher::set_node_uuid(const char* value) {
1399 
1400  node_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1401  // @@protoc_insertion_point(field_set_char:ignition.msgs.Discovery.Publisher.node_uuid)
1402 }
1403 inline void Discovery_Publisher::set_node_uuid(const char* value, size_t size) {
1404 
1405  node_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1406  ::std::string(reinterpret_cast<const char*>(value), size));
1407  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Discovery.Publisher.node_uuid)
1408 }
1410 
1411  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.Publisher.node_uuid)
1412  return node_uuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1413 }
1415  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.Publisher.node_uuid)
1416 
1417  return node_uuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1418 }
1420  if (node_uuid != NULL) {
1421 
1422  } else {
1423 
1424  }
1425  node_uuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), node_uuid);
1426  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.Publisher.node_uuid)
1427 }
1428 
1429 // optional .ignition.msgs.Discovery.Publisher.Scope scope = 5;
1431  scope_ = 0;
1432 }
1434  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.scope)
1435  return static_cast< ::ignition::msgs::Discovery_Publisher_Scope >(scope_);
1436 }
1438 
1439  scope_ = value;
1440  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.Publisher.scope)
1441 }
1442 
1443 // optional .ignition.msgs.Discovery.Publisher.MessagePublisher msg_pub = 6;
1445  return pub_type_case() == kMsgPub;
1446 }
1447 inline void Discovery_Publisher::set_has_msg_pub() {
1448  _oneof_case_[0] = kMsgPub;
1449 }
1451  if (has_msg_pub()) {
1452  delete pub_type_.msg_pub_;
1453  clear_has_pub_type();
1454  }
1455 }
1456 inline const ::ignition::msgs::Discovery_Publisher_MessagePublisher& Discovery_Publisher::msg_pub() const {
1457  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.msg_pub)
1458  return has_msg_pub()
1459  ? *pub_type_.msg_pub_
1461 }
1462 inline ::ignition::msgs::Discovery_Publisher_MessagePublisher* Discovery_Publisher::mutable_msg_pub() {
1463  if (!has_msg_pub()) {
1464  clear_pub_type();
1465  set_has_msg_pub();
1466  pub_type_.msg_pub_ = new ::ignition::msgs::Discovery_Publisher_MessagePublisher;
1467  }
1468  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.Publisher.msg_pub)
1469  return pub_type_.msg_pub_;
1470 }
1471 inline ::ignition::msgs::Discovery_Publisher_MessagePublisher* Discovery_Publisher::release_msg_pub() {
1472  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.Publisher.msg_pub)
1473  if (has_msg_pub()) {
1474  clear_has_pub_type();
1475  ::ignition::msgs::Discovery_Publisher_MessagePublisher* temp = pub_type_.msg_pub_;
1476  pub_type_.msg_pub_ = NULL;
1477  return temp;
1478  } else {
1479  return NULL;
1480  }
1481 }
1483  clear_pub_type();
1484  if (msg_pub) {
1485  set_has_msg_pub();
1486  pub_type_.msg_pub_ = msg_pub;
1487  }
1488  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.Publisher.msg_pub)
1489 }
1490 
1491 // optional .ignition.msgs.Discovery.Publisher.ServicePublisher srv_pub = 7;
1493  return pub_type_case() == kSrvPub;
1494 }
1495 inline void Discovery_Publisher::set_has_srv_pub() {
1496  _oneof_case_[0] = kSrvPub;
1497 }
1499  if (has_srv_pub()) {
1500  delete pub_type_.srv_pub_;
1501  clear_has_pub_type();
1502  }
1503 }
1504 inline const ::ignition::msgs::Discovery_Publisher_ServicePublisher& Discovery_Publisher::srv_pub() const {
1505  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.Publisher.srv_pub)
1506  return has_srv_pub()
1507  ? *pub_type_.srv_pub_
1509 }
1510 inline ::ignition::msgs::Discovery_Publisher_ServicePublisher* Discovery_Publisher::mutable_srv_pub() {
1511  if (!has_srv_pub()) {
1512  clear_pub_type();
1513  set_has_srv_pub();
1514  pub_type_.srv_pub_ = new ::ignition::msgs::Discovery_Publisher_ServicePublisher;
1515  }
1516  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.Publisher.srv_pub)
1517  return pub_type_.srv_pub_;
1518 }
1519 inline ::ignition::msgs::Discovery_Publisher_ServicePublisher* Discovery_Publisher::release_srv_pub() {
1520  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.Publisher.srv_pub)
1521  if (has_srv_pub()) {
1522  clear_has_pub_type();
1523  ::ignition::msgs::Discovery_Publisher_ServicePublisher* temp = pub_type_.srv_pub_;
1524  pub_type_.srv_pub_ = NULL;
1525  return temp;
1526  } else {
1527  return NULL;
1528  }
1529 }
1531  clear_pub_type();
1532  if (srv_pub) {
1533  set_has_srv_pub();
1534  pub_type_.srv_pub_ = srv_pub;
1535  }
1536  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.Publisher.srv_pub)
1537 }
1538 
1539 inline bool Discovery_Publisher::has_pub_type() const {
1540  return pub_type_case() != PUB_TYPE_NOT_SET;
1541 }
1542 inline void Discovery_Publisher::clear_has_pub_type() {
1543  _oneof_case_[0] = PUB_TYPE_NOT_SET;
1544 }
1546  return Discovery_Publisher::PubTypeCase(_oneof_case_[0]);
1547 }
1548 // -------------------------------------------------------------------
1549 
1550 // Discovery
1551 
1552 // optional .ignition.msgs.Header header = 1;
1553 inline bool Discovery::has_header() const {
1554  return !_is_default_instance_ && header_ != NULL;
1555 }
1557  if (GetArenaNoVirtual() == NULL && header_ != NULL) delete header_;
1558  header_ = NULL;
1559 }
1560 inline const ::ignition::msgs::Header& Discovery::header() const {
1561  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.header)
1562  return header_ != NULL ? *header_ : *default_instance_->header_;
1563 }
1564 inline ::ignition::msgs::Header* Discovery::mutable_header() {
1565 
1566  if (header_ == NULL) {
1567  header_ = new ::ignition::msgs::Header;
1568  }
1569  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.header)
1570  return header_;
1571 }
1572 inline ::ignition::msgs::Header* Discovery::release_header() {
1573  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.header)
1574 
1575  ::ignition::msgs::Header* temp = header_;
1576  header_ = NULL;
1577  return temp;
1578 }
1580  delete header_;
1581  header_ = header;
1582  if (header) {
1583 
1584  } else {
1585 
1586  }
1587  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.header)
1588 }
1589 
1590 // optional uint32 version = 2;
1592  version_ = 0u;
1593 }
1594 inline ::google::protobuf::uint32 Discovery::version() const {
1595  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.version)
1596  return version_;
1597 }
1598 inline void Discovery::set_version(::google::protobuf::uint32 value) {
1599 
1600  version_ = value;
1601  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.version)
1602 }
1603 
1604 // optional string process_uuid = 3;
1606  process_uuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1607 }
1608 inline const ::std::string& Discovery::process_uuid() const {
1609  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.process_uuid)
1610  return process_uuid_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1611 }
1612 inline void Discovery::set_process_uuid(const ::std::string& value) {
1613 
1614  process_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1615  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.process_uuid)
1616 }
1617 inline void Discovery::set_process_uuid(const char* value) {
1618 
1619  process_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1620  // @@protoc_insertion_point(field_set_char:ignition.msgs.Discovery.process_uuid)
1621 }
1622 inline void Discovery::set_process_uuid(const char* value, size_t size) {
1623 
1624  process_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1625  ::std::string(reinterpret_cast<const char*>(value), size));
1626  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Discovery.process_uuid)
1627 }
1628 inline ::std::string* Discovery::mutable_process_uuid() {
1629 
1630  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.process_uuid)
1631  return process_uuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1632 }
1633 inline ::std::string* Discovery::release_process_uuid() {
1634  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.process_uuid)
1635 
1636  return process_uuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1637 }
1639  if (process_uuid != NULL) {
1640 
1641  } else {
1642 
1643  }
1644  process_uuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), process_uuid);
1645  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.process_uuid)
1646 }
1647 
1648 // optional .ignition.msgs.Discovery.Type type = 4;
1649 inline void Discovery::clear_type() {
1650  type_ = 0;
1651 }
1653  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.type)
1654  return static_cast< ::ignition::msgs::Discovery_Type >(type_);
1655 }
1657 
1658  type_ = value;
1659  // @@protoc_insertion_point(field_set:ignition.msgs.Discovery.type)
1660 }
1661 
1662 // optional .ignition.msgs.Discovery.Flags flags = 5;
1663 inline bool Discovery::has_flags() const {
1664  return !_is_default_instance_ && flags_ != NULL;
1665 }
1666 inline void Discovery::clear_flags() {
1667  if (GetArenaNoVirtual() == NULL && flags_ != NULL) delete flags_;
1668  flags_ = NULL;
1669 }
1670 inline const ::ignition::msgs::Discovery_Flags& Discovery::flags() const {
1671  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.flags)
1672  return flags_ != NULL ? *flags_ : *default_instance_->flags_;
1673 }
1674 inline ::ignition::msgs::Discovery_Flags* Discovery::mutable_flags() {
1675 
1676  if (flags_ == NULL) {
1677  flags_ = new ::ignition::msgs::Discovery_Flags;
1678  }
1679  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.flags)
1680  return flags_;
1681 }
1682 inline ::ignition::msgs::Discovery_Flags* Discovery::release_flags() {
1683  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.flags)
1684 
1685  ::ignition::msgs::Discovery_Flags* temp = flags_;
1686  flags_ = NULL;
1687  return temp;
1688 }
1690  delete flags_;
1691  flags_ = flags;
1692  if (flags) {
1693 
1694  } else {
1695 
1696  }
1697  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.flags)
1698 }
1699 
1700 // optional .ignition.msgs.Discovery.Subscriber sub = 6;
1701 inline bool Discovery::has_sub() const {
1702  return disc_contents_case() == kSub;
1703 }
1704 inline void Discovery::set_has_sub() {
1705  _oneof_case_[0] = kSub;
1706 }
1707 inline void Discovery::clear_sub() {
1708  if (has_sub()) {
1709  delete disc_contents_.sub_;
1710  clear_has_disc_contents();
1711  }
1712 }
1713 inline const ::ignition::msgs::Discovery_Subscriber& Discovery::sub() const {
1714  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.sub)
1715  return has_sub()
1716  ? *disc_contents_.sub_
1718 }
1719 inline ::ignition::msgs::Discovery_Subscriber* Discovery::mutable_sub() {
1720  if (!has_sub()) {
1721  clear_disc_contents();
1722  set_has_sub();
1723  disc_contents_.sub_ = new ::ignition::msgs::Discovery_Subscriber;
1724  }
1725  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.sub)
1726  return disc_contents_.sub_;
1727 }
1728 inline ::ignition::msgs::Discovery_Subscriber* Discovery::release_sub() {
1729  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.sub)
1730  if (has_sub()) {
1731  clear_has_disc_contents();
1732  ::ignition::msgs::Discovery_Subscriber* temp = disc_contents_.sub_;
1733  disc_contents_.sub_ = NULL;
1734  return temp;
1735  } else {
1736  return NULL;
1737  }
1738 }
1740  clear_disc_contents();
1741  if (sub) {
1742  set_has_sub();
1743  disc_contents_.sub_ = sub;
1744  }
1745  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.sub)
1746 }
1747 
1748 // optional .ignition.msgs.Discovery.Publisher pub = 7;
1749 inline bool Discovery::has_pub() const {
1750  return disc_contents_case() == kPub;
1751 }
1752 inline void Discovery::set_has_pub() {
1753  _oneof_case_[0] = kPub;
1754 }
1755 inline void Discovery::clear_pub() {
1756  if (has_pub()) {
1757  delete disc_contents_.pub_;
1758  clear_has_disc_contents();
1759  }
1760 }
1761 inline const ::ignition::msgs::Discovery_Publisher& Discovery::pub() const {
1762  // @@protoc_insertion_point(field_get:ignition.msgs.Discovery.pub)
1763  return has_pub()
1764  ? *disc_contents_.pub_
1766 }
1767 inline ::ignition::msgs::Discovery_Publisher* Discovery::mutable_pub() {
1768  if (!has_pub()) {
1769  clear_disc_contents();
1770  set_has_pub();
1771  disc_contents_.pub_ = new ::ignition::msgs::Discovery_Publisher;
1772  }
1773  // @@protoc_insertion_point(field_mutable:ignition.msgs.Discovery.pub)
1774  return disc_contents_.pub_;
1775 }
1776 inline ::ignition::msgs::Discovery_Publisher* Discovery::release_pub() {
1777  // @@protoc_insertion_point(field_release:ignition.msgs.Discovery.pub)
1778  if (has_pub()) {
1779  clear_has_disc_contents();
1780  ::ignition::msgs::Discovery_Publisher* temp = disc_contents_.pub_;
1781  disc_contents_.pub_ = NULL;
1782  return temp;
1783  } else {
1784  return NULL;
1785  }
1786 }
1788  clear_disc_contents();
1789  if (pub) {
1790  set_has_pub();
1791  disc_contents_.pub_ = pub;
1792  }
1793  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Discovery.pub)
1794 }
1795 
1796 inline bool Discovery::has_disc_contents() const {
1797  return disc_contents_case() != DISC_CONTENTS_NOT_SET;
1798 }
1799 inline void Discovery::clear_has_disc_contents() {
1800  _oneof_case_[0] = DISC_CONTENTS_NOT_SET;
1801 }
1803  return Discovery::DiscContentsCase(_oneof_case_[0]);
1804 }
1805 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS
1806 // -------------------------------------------------------------------
1807 
1808 // -------------------------------------------------------------------
1809 
1810 // -------------------------------------------------------------------
1811 
1812 // -------------------------------------------------------------------
1813 
1814 // -------------------------------------------------------------------
1815 
1816 
1821 // @@protoc_insertion_point(namespace_scope)
1822 
1823 } // namespace msgs
1824 } // namespace ignition
1825 
1826 #ifndef SWIG
1827 namespace google {
1828 namespace protobuf {
1829 
1830 template <> struct is_proto_enum< ::ignition::msgs::Discovery_Publisher_Scope> : ::google::protobuf::internal::true_type {};
1831 template <>
1832 inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::Discovery_Publisher_Scope>() {
1834 }
1835 template <> struct is_proto_enum< ::ignition::msgs::Discovery_Type> : ::google::protobuf::internal::true_type {};
1836 template <>
1837 inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::Discovery_Type>() {
1839 }
1840 
1841 } // namespace protobuf
1842 } // namespace google
1843 #endif // SWIG
1844 
1845 #ifdef _MSC_VER
1846 #pragma warning(pop)
1847 #endif
1848 // @@protoc_insertion_point(global_scope)
1849 
1850 #endif // PROTOBUF_ignition_2fmsgs_2fdiscovery_2eproto__INCLUDED
Discovery_Publisher_Scope
Definition: discovery.pb.h:60
void set_socket_id(const ::std::string &value)
Definition: discovery.pb.h:1125
void set_allocated_pub(::ignition::msgs::Discovery_Publisher *pub)
Definition: discovery.pb.h:1787
::std::string * release_process_uuid()
Definition: discovery.pb.h:1633
void set_response_type(const ::std::string &value)
Definition: discovery.pb.h:1213
static bool Scope_Parse(const ::std::string &name, Scope *value)
Definition: discovery.pb.h:601
void set_topic(const ::std::string &value)
Definition: discovery.pb.h:957
void set_allocated_process_uuid(::std::string *process_uuid)
Definition: discovery.pb.h:1375
Discovery_Publisher_ServicePublisher * New() const
Definition: discovery.pb.h:419
const ::std::string & node_uuid() const
Definition: discovery.pb.h:1389
IGNITION_MSGS_VISIBLE bool Discovery_Publisher_Scope_IsValid(int value)
Discovery_Subscriber & operator=(const Discovery_Subscriber &from)
Definition: discovery.pb.h:207
void set_allocated_header(::ignition::msgs::Header *header)
Definition: discovery.pb.h:1579
::std::string * release_process_uuid()
Definition: discovery.pb.h:1370
const ::std::string & response_type() const
Definition: discovery.pb.h:1209
void set_allocated_topic(::std::string *topic)
Definition: discovery.pb.h:1287
::std::string * mutable_topic()
Definition: discovery.pb.h:1277
void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fdiscovery_2eproto()
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: discovery.pb.h:752
::ignition::msgs::Header * release_header()
Definition: discovery.pb.h:1572
::std::string * mutable_node_uuid()
Definition: discovery.pb.h:1409
::ignition::msgs::Discovery_Publisher * mutable_pub()
Definition: discovery.pb.h:1767
const ::std::string & Discovery_Publisher_Scope_Name(Discovery_Publisher_Scope value)
Definition: discovery.pb.h:73
static bool Type_IsValid(int value)
Definition: discovery.pb.h:795
void clear_flags()
Definition: discovery.pb.h:1666
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: discovery.pb.h:553
Definition: discovery.pb.h:86
static const ::std::string & Scope_Name(Scope value)
Definition: discovery.pb.h:598
Definition: discovery.pb.h:511
::ignition::msgs::Discovery_Flags * mutable_flags()
Definition: discovery.pb.h:1674
const int Discovery_Type_Type_ARRAYSIZE
Definition: discovery.pb.h:97
Discovery_Publisher_Scope Scope
Definition: discovery.pb.h:578
void clear_version()
Definition: discovery.pb.h:1591
::std::string * mutable_process_uuid()
Definition: discovery.pb.h:1628
static const Discovery_Publisher_MessagePublisher & default_instance()
const ::std::string & address() const
Definition: discovery.pb.h:1301
::std::string * mutable_response_type()
Definition: discovery.pb.h:1229
::ignition::msgs::Discovery_Type type() const
Definition: discovery.pb.h:1652
::ignition::msgs::Discovery_Flags * release_flags()
Definition: discovery.pb.h:1682
void set_allocated_msg_pub(::ignition::msgs::Discovery_Publisher_MessagePublisher *msg_pub)
Definition: discovery.pb.h:1482
bool throttled() const
Definition: discovery.pb.h:1089
void set_allocated_ctrl(::std::string *ctrl)
Definition: discovery.pb.h:1031
const ::std::string & process_uuid() const
Definition: discovery.pb.h:1345
void set_allocated_topic(::std::string *topic)
Definition: discovery.pb.h:983
::ignition::msgs::Discovery_Subscriber * mutable_sub()
Definition: discovery.pb.h:1719
Discovery_Subscriber Subscriber
Definition: discovery.pb.h:775
void clear_process_uuid()
Definition: discovery.pb.h:1342
Discovery_Publisher_MessagePublisher * New() const
Definition: discovery.pb.h:306
const int Discovery_Publisher_Scope_Scope_ARRAYSIZE
Definition: discovery.pb.h:70
Discovery_Publisher * New() const
Definition: discovery.pb.h:536
void set_allocated_socket_id(::std::string *socket_id)
Definition: discovery.pb.h:1151
Discovery * New() const
Definition: discovery.pb.h:735
void set_relay(bool value)
Definition: discovery.pb.h:925
::std::string * mutable_topic()
Definition: discovery.pb.h:973
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: discovery.pb.h:147
bool has_pub() const
Definition: discovery.pb.h:1749
Discovery_Flags * New() const
Definition: discovery.pb.h:130
void set_allocated_process_uuid(::std::string *process_uuid)
Definition: discovery.pb.h:1638
Discovery_Publisher_ServicePublisher ServicePublisher
Definition: discovery.pb.h:576
Discovery_Publisher_MessagePublisher & operator=(const Discovery_Publisher_MessagePublisher &from)
Definition: discovery.pb.h:294
void set_allocated_node_uuid(::std::string *node_uuid)
Definition: discovery.pb.h:1419
const Discovery_Publisher_Scope Discovery_Publisher_Scope_Scope_MAX
Definition: discovery.pb.h:69
std::shared_ptr< const Discovery > ConstDiscoverySharedPtr
Definition: discovery.pb.h:1820
Discovery_Type
Definition: discovery.pb.h:82
int GetCachedSize() const
Definition: discovery.pb.h:150
void set_allocated_sub(::ignition::msgs::Discovery_Subscriber *sub)
Definition: discovery.pb.h:1739
const ::std::string & topic() const
Definition: discovery.pb.h:953
static const ::google::protobuf::EnumDescriptor * Type_descriptor()
Definition: discovery.pb.h:805
void clear_address()
Definition: discovery.pb.h:1298
static const Discovery_Subscriber & default_instance()
Discovery & operator=(const Discovery &from)
Definition: discovery.pb.h:717
void clear_sub()
Definition: discovery.pb.h:1707
bool has_header() const
Definition: discovery.pb.h:1553
const ::std::string & msg_type() const
Definition: discovery.pb.h:1045
Definition: header.pb.h:161
STL class.
void clear_msg_type()
Definition: discovery.pb.h:1042
void set_throttled(bool value)
Definition: discovery.pb.h:1093
void set_version(::google::protobuf::uint32 value)
Definition: discovery.pb.h:1598
bool relay() const
Definition: discovery.pb.h:921
void set_allocated_response_type(::std::string *response_type)
Definition: discovery.pb.h:1239
void set_address(const ::std::string &value)
Definition: discovery.pb.h:1305
const ::std::string & Discovery_Type_Name(Discovery_Type value)
Definition: discovery.pb.h:100
::google::protobuf::uint64 msgs_per_sec() const
Definition: discovery.pb.h:1103
void clear_topic()
Definition: discovery.pb.h:950
::std::string * release_request_type()
Definition: discovery.pb.h:1190
::ignition::msgs::Discovery_Publisher * release_pub()
Definition: discovery.pb.h:1776
std::unique_ptr< Discovery > DiscoveryUniquePtr
Definition: discovery.pb.h:1817
::std::string * release_topic()
Definition: discovery.pb.h:978
void clear_ctrl()
Definition: discovery.pb.h:998
::std::string * release_msg_type()
Definition: discovery.pb.h:1070
void clear_process_uuid()
Definition: discovery.pb.h:1605
::ignition::msgs::Discovery_Subscriber * release_sub()
Definition: discovery.pb.h:1728
::std::string * release_topic()
Definition: discovery.pb.h:1282
void clear_socket_id()
Definition: discovery.pb.h:1118
int GetCachedSize() const
Definition: discovery.pb.h:239
IGNITION_MSGS_VISIBLEconst ::google::protobuf::EnumDescriptor * Discovery_Publisher_Scope_descriptor()
const ::std::string & process_uuid() const
Definition: discovery.pb.h:1608
const Discovery_Type Discovery_Type_Type_MAX
Definition: discovery.pb.h:96
Definition: discovery.pb.h:85
static bool Scope_IsValid(int value)
Definition: discovery.pb.h:585
const ::ignition::msgs::Discovery_Publisher_MessagePublisher & msg_pub() const
Definition: discovery.pb.h:1456
int GetCachedSize() const
Definition: discovery.pb.h:439
void clear_scope()
Definition: discovery.pb.h:1430
const ::ignition::msgs::Discovery_Publisher & pub() const
Definition: discovery.pb.h:1761
::ignition::msgs::Discovery_Publisher_ServicePublisher * mutable_srv_pub()
Definition: discovery.pb.h:1510
std::unique_ptr< const Discovery > ConstDiscoveryUniquePtr
Definition: discovery.pb.h:1818
Discovery_Type Type
Definition: discovery.pb.h:778
::std::string * release_response_type()
Definition: discovery.pb.h:1234
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: discovery.pb.h:236
int GetCachedSize() const
Definition: discovery.pb.h:755
void set_topic(const ::std::string &value)
Definition: discovery.pb.h:1261
IGNITION_MSGS_VISIBLEconst ::google::protobuf::EnumDescriptor * Discovery_Type_descriptor()
void clear_response_type()
Definition: discovery.pb.h:1206
bool has_msg_pub() const
Definition: discovery.pb.h:1444
::std::string * mutable_msg_type()
Definition: discovery.pb.h:1065
::std::string * release_node_uuid()
Definition: discovery.pb.h:1414
void set_node_uuid(const ::std::string &value)
Definition: discovery.pb.h:1393
static const ::google::protobuf::EnumDescriptor * Scope_descriptor()
Definition: discovery.pb.h:595
Definition: discovery.pb.h:87
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: discovery.pb.h:323
void set_allocated_address(::std::string *address)
Definition: discovery.pb.h:1331
void set_type(::ignition::msgs::Discovery_Type value)
Definition: discovery.pb.h:1656
static bool Type_Parse(const ::std::string &name, Type *value)
Definition: discovery.pb.h:811
void clear_srv_pub()
Definition: discovery.pb.h:1498
Discovery_Publisher Publisher
Definition: discovery.pb.h:776
void clear_request_type()
Definition: discovery.pb.h:1162
::std::string * release_ctrl()
Definition: discovery.pb.h:1026
bool has_srv_pub() const
Definition: discovery.pb.h:1492
void set_allocated_msg_type(::std::string *msg_type)
Definition: discovery.pb.h:1075
void clear_throttled()
Definition: discovery.pb.h:1086
void clear_node_uuid()
Definition: discovery.pb.h:1386
Discovery_Publisher & operator=(const Discovery_Publisher &from)
Definition: discovery.pb.h:518
::ignition::msgs::Discovery_Publisher_ServicePublisher * release_srv_pub()
Definition: discovery.pb.h:1519
std::shared_ptr< Discovery > DiscoverySharedPtr
Definition: discovery.pb.h:1819
const Discovery_Type Discovery_Type_Type_MIN
Definition: discovery.pb.h:95
Definition: discovery.pb.h:710
bool has_flags() const
Definition: discovery.pb.h:1663
void clear_no_relay()
Definition: discovery.pb.h:932
const Discovery_Publisher_Scope Discovery_Publisher_Scope_Scope_MIN
Definition: discovery.pb.h:68
DiscContentsCase
Definition: discovery.pb.h:725
STL class.
void clear_header()
Definition: discovery.pb.h:1556
Discovery_Flags & operator=(const Discovery_Flags &from)
Definition: discovery.pb.h:118
void clear_type()
Definition: discovery.pb.h:1649
void protobuf_AssignDesc_ignition_2fmsgs_2fdiscovery_2eproto()
::ignition::msgs::Header * mutable_header()
Definition: discovery.pb.h:1564
Discovery_Publisher_ServicePublisher & operator=(const Discovery_Publisher_ServicePublisher &from)
Definition: discovery.pb.h:407
const ::ignition::msgs::Discovery_Flags & flags() const
Definition: discovery.pb.h:1670
bool no_relay() const
Definition: discovery.pb.h:935
::ignition::msgs::Discovery_Publisher_MessagePublisher * mutable_msg_pub()
Definition: discovery.pb.h:1462
void clear_msgs_per_sec()
Definition: discovery.pb.h:1100
void set_msgs_per_sec(::google::protobuf::uint64 value)
Definition: discovery.pb.h:1107
Discovery_Flags Flags
Definition: discovery.pb.h:774
bool Discovery_Publisher_Scope_Parse(const ::std::string &name, Discovery_Publisher_Scope *value)
Definition: discovery.pb.h:77
PubTypeCase pub_type_case() const
Definition: discovery.pb.h:1545
void set_process_uuid(const ::std::string &value)
Definition: discovery.pb.h:1612
static const ::std::string & Type_Name(Type value)
Definition: discovery.pb.h:808
int GetCachedSize() const
Definition: discovery.pb.h:556
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: discovery.pb.h:436
bool has_sub() const
Definition: discovery.pb.h:1701
void set_allocated_flags(::ignition::msgs::Discovery_Flags *flags)
Definition: discovery.pb.h:1689
static const Discovery_Publisher & default_instance()
const ::std::string & socket_id() const
Definition: discovery.pb.h:1121
void set_scope(::ignition::msgs::Discovery_Publisher_Scope value)
Definition: discovery.pb.h:1437
Definition: discovery.pb.h:111
Definition: discovery.pb.h:84
const ::ignition::msgs::Discovery_Publisher_ServicePublisher & srv_pub() const
Definition: discovery.pb.h:1504
void clear_pub()
Definition: discovery.pb.h:1755
const ::std::string & request_type() const
Definition: discovery.pb.h:1165
::google::protobuf::uint32 version() const
Definition: discovery.pb.h:1594
Definition: any.pb.h:839
const ::std::string & ctrl() const
Definition: discovery.pb.h:1001
void set_allocated_request_type(::std::string *request_type)
Definition: discovery.pb.h:1195
::std::string * mutable_socket_id()
Definition: discovery.pb.h:1141
void set_process_uuid(const ::std::string &value)
Definition: discovery.pb.h:1349
const ::ignition::msgs::Header & header() const
Definition: discovery.pb.h:1560
const ::ignition::msgs::Discovery_Subscriber & sub() const
Definition: discovery.pb.h:1713
::std::string * mutable_address()
Definition: discovery.pb.h:1321
void set_msg_type(const ::std::string &value)
Definition: discovery.pb.h:1049
const ::std::string & topic() const
Definition: discovery.pb.h:1257
::std::string * mutable_request_type()
Definition: discovery.pb.h:1185
Discovery_Subscriber * New() const
Definition: discovery.pb.h:219
PubTypeCase
Definition: discovery.pb.h:526
::std::string * mutable_process_uuid()
Definition: discovery.pb.h:1365
::std::string * release_socket_id()
Definition: discovery.pb.h:1146
void protobuf_ShutdownFile_ignition_2fmsgs_2fdiscovery_2eproto()
::std::string * release_address()
Definition: discovery.pb.h:1326
void clear_msg_pub()
Definition: discovery.pb.h:1450
::ignition::msgs::Discovery_Publisher_MessagePublisher * release_msg_pub()
Definition: discovery.pb.h:1471
::std::string * mutable_ctrl()
Definition: discovery.pb.h:1021
Definition: discovery.pb.h:88
static const Discovery_Publisher_ServicePublisher & default_instance()
IGNITION_MSGS_VISIBLE bool Discovery_Type_IsValid(int value)
void set_request_type(const ::std::string &value)
Definition: discovery.pb.h:1169
DiscContentsCase disc_contents_case() const
Definition: discovery.pb.h:1802
void set_allocated_srv_pub(::ignition::msgs::Discovery_Publisher_ServicePublisher *srv_pub)
Definition: discovery.pb.h:1530
void clear_relay()
Definition: discovery.pb.h:918
Definition: discovery.pb.h:200
void set_no_relay(bool value)
Definition: discovery.pb.h:939
void set_ctrl(const ::std::string &value)
Definition: discovery.pb.h:1005
bool Discovery_Type_Parse(const ::std::string &name, Discovery_Type *value)
Definition: discovery.pb.h:104
void clear_topic()
Definition: discovery.pb.h:1254
Discovery_Publisher_MessagePublisher MessagePublisher
Definition: discovery.pb.h:575
int GetCachedSize() const
Definition: discovery.pb.h:326
::ignition::msgs::Discovery_Publisher_Scope scope() const
Definition: discovery.pb.h:1433