Gazebo Msgs

API Reference

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