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