Ignition Msgs

API Reference

5.8.1
subscribe.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/subscribe.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fsubscribe_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fsubscribe_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/unknown_field_set.h>
35 #ifndef _MSC_VER
36 #pragma GCC system_header
37 #else
38 #pragma warning(push)
39 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
40 #endif
41 #ifdef __linux__
42 #include <sys/sysmacros.h>
43 #endif
44 #include <memory>
45 #include <ignition/msgs/Export.hh>
46 // @@protoc_insertion_point(includes)
47 #include <google/protobuf/port_def.inc>
48 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fsubscribe_2eproto IGNITION_MSGS_VISIBLE
49 PROTOBUF_NAMESPACE_OPEN
50 namespace internal {
51 class AnyMetadata;
52 } // namespace internal
53 PROTOBUF_NAMESPACE_CLOSE
54 
55 // Internal implementation detail -- do not use these members.
57  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
58  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
59  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
60  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
61  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
62  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
63  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
64  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
65  static const uint32_t offsets[];
66 };
67 IGNITION_MSGS_VISIBLE extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fsubscribe_2eproto;
68 namespace ignition {
69 namespace msgs {
70 class Subscribe;
71 struct SubscribeDefaultTypeInternal;
72 IGNITION_MSGS_VISIBLE extern SubscribeDefaultTypeInternal _Subscribe_default_instance_;
73 } // namespace msgs
74 } // namespace ignition
75 PROTOBUF_NAMESPACE_OPEN
76 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Subscribe* Arena::CreateMaybeMessage<::ignition::msgs::Subscribe>(Arena*);
77 PROTOBUF_NAMESPACE_CLOSE
78 namespace ignition {
79 namespace msgs {
80 
81 // ===================================================================
82 
83 class IGNITION_MSGS_VISIBLE Subscribe final :
84  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Subscribe) */ {
85  public:
86  inline Subscribe() : Subscribe(nullptr) {}
87  ~Subscribe() override;
88  explicit constexpr Subscribe(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
89 
90  Subscribe(const Subscribe& from);
91  Subscribe(Subscribe&& from) noexcept
92  : Subscribe() {
93  *this = ::std::move(from);
94  }
95 
96  inline Subscribe& operator=(const Subscribe& from) {
97  CopyFrom(from);
98  return *this;
99  }
100  inline Subscribe& operator=(Subscribe&& from) noexcept {
101  if (this == &from) return *this;
102  if (GetOwningArena() == from.GetOwningArena()
103  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
104  && GetOwningArena() != nullptr
105  #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
106  ) {
107  InternalSwap(&from);
108  } else {
109  CopyFrom(from);
110  }
111  return *this;
112  }
113 
114  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
115  return GetDescriptor();
116  }
117  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
118  return default_instance().GetMetadata().descriptor;
119  }
120  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
121  return default_instance().GetMetadata().reflection;
122  }
123  static const Subscribe& default_instance() {
124  return *internal_default_instance();
125  }
126  static inline const Subscribe* internal_default_instance() {
127  return reinterpret_cast<const Subscribe*>(
129  }
130  static constexpr int kIndexInFileMessages =
131  0;
132 
133  friend void swap(Subscribe& a, Subscribe& b) {
134  a.Swap(&b);
135  }
136  inline void Swap(Subscribe* other) {
137  if (other == this) return;
138  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
139  if (GetOwningArena() != nullptr &&
140  GetOwningArena() == other->GetOwningArena()) {
141  #else // PROTOBUF_FORCE_COPY_IN_SWAP
142  if (GetOwningArena() == other->GetOwningArena()) {
143  #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
144  InternalSwap(other);
145  } else {
146  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
147  }
148  }
149  void UnsafeArenaSwap(Subscribe* other) {
150  if (other == this) return;
151  GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
152  InternalSwap(other);
153  }
154 
155  // implements Message ----------------------------------------------
156 
157  Subscribe* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
158  return CreateMaybeMessage<Subscribe>(arena);
159  }
160  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
161  void CopyFrom(const Subscribe& from);
162  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
163  void MergeFrom(const Subscribe& from);
164  private:
165  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
166  public:
167  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
168  bool IsInitialized() const final;
169 
170  size_t ByteSizeLong() const final;
171  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
172  uint8_t* _InternalSerialize(
173  uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
174  int GetCachedSize() const final { return _cached_size_.Get(); }
175 
176  private:
177  void SharedCtor();
178  void SharedDtor();
179  void SetCachedSize(int size) const final;
180  void InternalSwap(Subscribe* other);
181 
182  private:
183  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
184  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
185  return "ignition.msgs.Subscribe";
186  }
187  protected:
188  explicit Subscribe(::PROTOBUF_NAMESPACE_ID::Arena* arena,
189  bool is_message_owned = false);
190  private:
191  static void ArenaDtor(void* object);
192  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
193  public:
194 
195  static const ClassData _class_data_;
196  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
197 
198  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
199 
200  // nested types ----------------------------------------------------
201 
202  // accessors -------------------------------------------------------
203 
204  enum : int {
205  kTopicFieldNumber = 2,
206  kHostFieldNumber = 3,
207  kMsgTypeFieldNumber = 5,
208  kHeaderFieldNumber = 1,
209  kPortFieldNumber = 4,
210  kLatchingFieldNumber = 6,
211  };
212  // string topic = 2;
213  void clear_topic();
214  const std::string& topic() const;
215  template <typename ArgT0 = const std::string&, typename... ArgT>
216  void set_topic(ArgT0&& arg0, ArgT... args);
217  std::string* mutable_topic();
218  PROTOBUF_NODISCARD std::string* release_topic();
219  void set_allocated_topic(std::string* topic);
220  private:
221  const std::string& _internal_topic() const;
222  inline PROTOBUF_ALWAYS_INLINE void _internal_set_topic(const std::string& value);
223  std::string* _internal_mutable_topic();
224  public:
225 
226  // string host = 3;
227  void clear_host();
228  const std::string& host() const;
229  template <typename ArgT0 = const std::string&, typename... ArgT>
230  void set_host(ArgT0&& arg0, ArgT... args);
231  std::string* mutable_host();
232  PROTOBUF_NODISCARD std::string* release_host();
233  void set_allocated_host(std::string* host);
234  private:
235  const std::string& _internal_host() const;
236  inline PROTOBUF_ALWAYS_INLINE void _internal_set_host(const std::string& value);
237  std::string* _internal_mutable_host();
238  public:
239 
240  // string msg_type = 5;
241  void clear_msg_type();
242  const std::string& msg_type() const;
243  template <typename ArgT0 = const std::string&, typename... ArgT>
244  void set_msg_type(ArgT0&& arg0, ArgT... args);
245  std::string* mutable_msg_type();
246  PROTOBUF_NODISCARD std::string* release_msg_type();
247  void set_allocated_msg_type(std::string* msg_type);
248  private:
249  const std::string& _internal_msg_type() const;
250  inline PROTOBUF_ALWAYS_INLINE void _internal_set_msg_type(const std::string& value);
251  std::string* _internal_mutable_msg_type();
252  public:
253 
254  // .ignition.msgs.Header header = 1;
255  bool has_header() const;
256  private:
257  bool _internal_has_header() const;
258  public:
259  void clear_header();
260  const ::ignition::msgs::Header& header() const;
261  PROTOBUF_NODISCARD ::ignition::msgs::Header* release_header();
262  ::ignition::msgs::Header* mutable_header();
263  void set_allocated_header(::ignition::msgs::Header* header);
264  private:
265  const ::ignition::msgs::Header& _internal_header() const;
266  ::ignition::msgs::Header* _internal_mutable_header();
267  public:
268  void unsafe_arena_set_allocated_header(
269  ::ignition::msgs::Header* header);
270  ::ignition::msgs::Header* unsafe_arena_release_header();
271 
272  // uint32 port = 4;
273  void clear_port();
274  uint32_t port() const;
275  void set_port(uint32_t value);
276  private:
277  uint32_t _internal_port() const;
278  void _internal_set_port(uint32_t value);
279  public:
280 
281  // bool latching = 6;
282  void clear_latching();
283  bool latching() const;
284  void set_latching(bool value);
285  private:
286  bool _internal_latching() const;
287  void _internal_set_latching(bool value);
288  public:
289 
290  // @@protoc_insertion_point(class_scope:ignition.msgs.Subscribe)
291  private:
292  class _Internal;
293 
294  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
295  typedef void InternalArenaConstructable_;
296  typedef void DestructorSkippable_;
297  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr topic_;
298  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr host_;
299  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr msg_type_;
300  ::ignition::msgs::Header* header_;
301  uint32_t port_;
302  bool latching_;
303  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
304  friend struct ::TableStruct_ignition_2fmsgs_2fsubscribe_2eproto;
305 };
306 // ===================================================================
307 
308 
309 // ===================================================================
310 
311 #ifdef __GNUC__
312  #pragma GCC diagnostic push
313  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
314 #endif // __GNUC__
315 // Subscribe
316 
317 // .ignition.msgs.Header header = 1;
318 inline bool Subscribe::_internal_has_header() const {
319  return this != internal_default_instance() && header_ != nullptr;
320 }
321 inline bool Subscribe::has_header() const {
322  return _internal_has_header();
323 }
324 inline const ::ignition::msgs::Header& Subscribe::_internal_header() const {
325  const ::ignition::msgs::Header* p = header_;
326  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Header&>(
328 }
329 inline const ::ignition::msgs::Header& Subscribe::header() const {
330  // @@protoc_insertion_point(field_get:ignition.msgs.Subscribe.header)
331  return _internal_header();
332 }
334  ::ignition::msgs::Header* header) {
335  if (GetArenaForAllocation() == nullptr) {
336  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
337  }
338  header_ = header;
339  if (header) {
340 
341  } else {
342 
343  }
344  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Subscribe.header)
345 }
346 inline ::ignition::msgs::Header* Subscribe::release_header() {
347 
348  ::ignition::msgs::Header* temp = header_;
349  header_ = nullptr;
350 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
351  auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
352  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
353  if (GetArenaForAllocation() == nullptr) { delete old; }
354 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
355  if (GetArenaForAllocation() != nullptr) {
356  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
357  }
358 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
359  return temp;
360 }
361 inline ::ignition::msgs::Header* Subscribe::unsafe_arena_release_header() {
362  // @@protoc_insertion_point(field_release:ignition.msgs.Subscribe.header)
363 
364  ::ignition::msgs::Header* temp = header_;
365  header_ = nullptr;
366  return temp;
367 }
368 inline ::ignition::msgs::Header* Subscribe::_internal_mutable_header() {
369 
370  if (header_ == nullptr) {
371  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaForAllocation());
372  header_ = p;
373  }
374  return header_;
375 }
376 inline ::ignition::msgs::Header* Subscribe::mutable_header() {
377  ::ignition::msgs::Header* _msg = _internal_mutable_header();
378  // @@protoc_insertion_point(field_mutable:ignition.msgs.Subscribe.header)
379  return _msg;
380 }
382  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
383  if (message_arena == nullptr) {
384  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
385  }
386  if (header) {
387  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
388  ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
389  ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
390  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header));
391  if (message_arena != submessage_arena) {
392  header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
393  message_arena, header, submessage_arena);
394  }
395 
396  } else {
397 
398  }
399  header_ = header;
400  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Subscribe.header)
401 }
402 
403 // string topic = 2;
404 inline void Subscribe::clear_topic() {
405  topic_.ClearToEmpty();
406 }
407 inline const std::string& Subscribe::topic() const {
408  // @@protoc_insertion_point(field_get:ignition.msgs.Subscribe.topic)
409  return _internal_topic();
410 }
411 template <typename ArgT0, typename... ArgT>
412 inline PROTOBUF_ALWAYS_INLINE
413 void Subscribe::set_topic(ArgT0&& arg0, ArgT... args) {
414 
415  topic_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
416  // @@protoc_insertion_point(field_set:ignition.msgs.Subscribe.topic)
417 }
419  std::string* _s = _internal_mutable_topic();
420  // @@protoc_insertion_point(field_mutable:ignition.msgs.Subscribe.topic)
421  return _s;
422 }
423 inline const std::string& Subscribe::_internal_topic() const {
424  return topic_.Get();
425 }
426 inline void Subscribe::_internal_set_topic(const std::string& value) {
427 
428  topic_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
429 }
430 inline std::string* Subscribe::_internal_mutable_topic() {
431 
432  return topic_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
433 }
435  // @@protoc_insertion_point(field_release:ignition.msgs.Subscribe.topic)
436  return topic_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
437 }
439  if (topic != nullptr) {
440 
441  } else {
442 
443  }
444  topic_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), topic,
445  GetArenaForAllocation());
446 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
447  if (topic_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
448  topic_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
449  }
450 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
451  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Subscribe.topic)
452 }
453 
454 // string host = 3;
455 inline void Subscribe::clear_host() {
456  host_.ClearToEmpty();
457 }
458 inline const std::string& Subscribe::host() const {
459  // @@protoc_insertion_point(field_get:ignition.msgs.Subscribe.host)
460  return _internal_host();
461 }
462 template <typename ArgT0, typename... ArgT>
463 inline PROTOBUF_ALWAYS_INLINE
464 void Subscribe::set_host(ArgT0&& arg0, ArgT... args) {
465 
466  host_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
467  // @@protoc_insertion_point(field_set:ignition.msgs.Subscribe.host)
468 }
470  std::string* _s = _internal_mutable_host();
471  // @@protoc_insertion_point(field_mutable:ignition.msgs.Subscribe.host)
472  return _s;
473 }
474 inline const std::string& Subscribe::_internal_host() const {
475  return host_.Get();
476 }
477 inline void Subscribe::_internal_set_host(const std::string& value) {
478 
479  host_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
480 }
481 inline std::string* Subscribe::_internal_mutable_host() {
482 
483  return host_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
484 }
486  // @@protoc_insertion_point(field_release:ignition.msgs.Subscribe.host)
487  return host_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
488 }
490  if (host != nullptr) {
491 
492  } else {
493 
494  }
495  host_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), host,
496  GetArenaForAllocation());
497 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
498  if (host_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
499  host_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
500  }
501 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
502  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Subscribe.host)
503 }
504 
505 // uint32 port = 4;
506 inline void Subscribe::clear_port() {
507  port_ = 0u;
508 }
509 inline uint32_t Subscribe::_internal_port() const {
510  return port_;
511 }
512 inline uint32_t Subscribe::port() const {
513  // @@protoc_insertion_point(field_get:ignition.msgs.Subscribe.port)
514  return _internal_port();
515 }
516 inline void Subscribe::_internal_set_port(uint32_t value) {
517 
518  port_ = value;
519 }
520 inline void Subscribe::set_port(uint32_t value) {
521  _internal_set_port(value);
522  // @@protoc_insertion_point(field_set:ignition.msgs.Subscribe.port)
523 }
524 
525 // string msg_type = 5;
527  msg_type_.ClearToEmpty();
528 }
529 inline const std::string& Subscribe::msg_type() const {
530  // @@protoc_insertion_point(field_get:ignition.msgs.Subscribe.msg_type)
531  return _internal_msg_type();
532 }
533 template <typename ArgT0, typename... ArgT>
534 inline PROTOBUF_ALWAYS_INLINE
535 void Subscribe::set_msg_type(ArgT0&& arg0, ArgT... args) {
536 
537  msg_type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
538  // @@protoc_insertion_point(field_set:ignition.msgs.Subscribe.msg_type)
539 }
541  std::string* _s = _internal_mutable_msg_type();
542  // @@protoc_insertion_point(field_mutable:ignition.msgs.Subscribe.msg_type)
543  return _s;
544 }
545 inline const std::string& Subscribe::_internal_msg_type() const {
546  return msg_type_.Get();
547 }
548 inline void Subscribe::_internal_set_msg_type(const std::string& value) {
549 
550  msg_type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
551 }
552 inline std::string* Subscribe::_internal_mutable_msg_type() {
553 
554  return msg_type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
555 }
557  // @@protoc_insertion_point(field_release:ignition.msgs.Subscribe.msg_type)
558  return msg_type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
559 }
561  if (msg_type != nullptr) {
562 
563  } else {
564 
565  }
566  msg_type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), msg_type,
567  GetArenaForAllocation());
568 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
569  if (msg_type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
570  msg_type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
571  }
572 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
573  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Subscribe.msg_type)
574 }
575 
576 // bool latching = 6;
578  latching_ = false;
579 }
580 inline bool Subscribe::_internal_latching() const {
581  return latching_;
582 }
583 inline bool Subscribe::latching() const {
584  // @@protoc_insertion_point(field_get:ignition.msgs.Subscribe.latching)
585  return _internal_latching();
586 }
587 inline void Subscribe::_internal_set_latching(bool value) {
588 
589  latching_ = value;
590 }
591 inline void Subscribe::set_latching(bool value) {
592  _internal_set_latching(value);
593  // @@protoc_insertion_point(field_set:ignition.msgs.Subscribe.latching)
594 }
595 
596 #ifdef __GNUC__
597  #pragma GCC diagnostic pop
598 #endif // __GNUC__
599 
604 // @@protoc_insertion_point(namespace_scope)
605 
606 } // namespace msgs
607 } // namespace ignition
608 
609 #ifdef _MSC_VER
610 #pragma warning(pop)
611 #endif
612 // @@protoc_insertion_point(global_scope)
613 
614 #include <google/protobuf/port_undef.inc>
615 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fsubscribe_2eproto
Definition: header.pb.h:265
Definition: subscribe.pb.h:84
Subscribe & operator=(Subscribe &&from) noexcept
Definition: subscribe.pb.h:100
Subscribe(Subscribe &&from) noexcept
Definition: subscribe.pb.h:91
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: subscribe.pb.h:120
uint32_t port() const
Definition: subscribe.pb.h:512
bool has_header() const
Definition: subscribe.pb.h:321
void clear_port()
Definition: subscribe.pb.h:506
::ignition::msgs::Header * mutable_header()
Definition: subscribe.pb.h:376
PROTOBUF_NODISCARD std::string * release_host()
Definition: subscribe.pb.h:485
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void set_topic(ArgT0 &&arg0, ArgT... args)
void UnsafeArenaSwap(Subscribe *other)
Definition: subscribe.pb.h:149
std::string * mutable_msg_type()
Definition: subscribe.pb.h:540
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: subscribe.pb.h:114
Subscribe * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: subscribe.pb.h:157
void set_allocated_msg_type(std::string *msg_type)
Definition: subscribe.pb.h:560
const std::string & topic() const
Definition: subscribe.pb.h:407
std::string * mutable_topic()
Definition: subscribe.pb.h:418
void set_allocated_host(std::string *host)
Definition: subscribe.pb.h:489
void clear_latching()
Definition: subscribe.pb.h:577
void clear_host()
Definition: subscribe.pb.h:455
constexpr Subscribe(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
const std::string & msg_type() const
Definition: subscribe.pb.h:529
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
Definition: subscribe.pb.h:333
Subscribe()
Definition: subscribe.pb.h:86
static const Subscribe * internal_default_instance()
Definition: subscribe.pb.h:126
friend void swap(Subscribe &a, Subscribe &b)
Definition: subscribe.pb.h:133
void set_allocated_topic(std::string *topic)
Definition: subscribe.pb.h:438
PROTOBUF_NODISCARD std::string * release_msg_type()
Definition: subscribe.pb.h:556
PROTOBUF_NODISCARD std::string * release_topic()
Definition: subscribe.pb.h:434
std::string * mutable_host()
Definition: subscribe.pb.h:469
void Swap(Subscribe *other)
Definition: subscribe.pb.h:136
void set_allocated_header(::ignition::msgs::Header *header)
Definition: subscribe.pb.h:381
Subscribe(const Subscribe &from)
PROTOBUF_NODISCARD ::ignition::msgs::Header * release_header()
Definition: subscribe.pb.h:346
const std::string & host() const
Definition: subscribe.pb.h:458
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
bool latching() const
Definition: subscribe.pb.h:583
void set_latching(bool value)
Definition: subscribe.pb.h:591
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: subscribe.pb.h:117
void clear_msg_type()
Definition: subscribe.pb.h:526
void clear_topic()
Definition: subscribe.pb.h:404
const ::ignition::msgs::Header & header() const
Definition: subscribe.pb.h:329
static const ClassData _class_data_
Definition: subscribe.pb.h:195
::ignition::msgs::Header * unsafe_arena_release_header()
Definition: subscribe.pb.h:361
static const Subscribe & default_instance()
Definition: subscribe.pb.h:123
void set_host(ArgT0 &&arg0, ArgT... args)
Subscribe & operator=(const Subscribe &from)
Definition: subscribe.pb.h:96
Subscribe(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void CopyFrom(const Subscribe &from)
void set_port(uint32_t value)
Definition: subscribe.pb.h:520
void MergeFrom(const Subscribe &from)
void set_msg_type(ArgT0 &&arg0, ArgT... args)
std::unique_ptr< Subscribe > SubscribeUniquePtr
Definition: subscribe.pb.h:600
std::unique_ptr< const Subscribe > ConstSubscribeUniquePtr
Definition: subscribe.pb.h:601
std::shared_ptr< const Subscribe > ConstSubscribeSharedPtr
Definition: subscribe.pb.h:603
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::shared_ptr< Subscribe > SubscribeSharedPtr
Definition: subscribe.pb.h:602
IGNITION_MSGS_VISIBLE SubscribeDefaultTypeInternal _Subscribe_default_instance_
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[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fsubscribe_2eproto