Ignition Msgs

API Reference

5.8.1
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 < 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_2fpublish_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.
56 struct IGNITION_MSGS_VISIBLE TableStruct_ignition_2fmsgs_2fpublish_2eproto {
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_2fpublish_2eproto;
68 namespace ignition {
69 namespace msgs {
70 class Publish;
71 struct PublishDefaultTypeInternal;
72 IGNITION_MSGS_VISIBLE extern PublishDefaultTypeInternal _Publish_default_instance_;
73 } // namespace msgs
74 } // namespace ignition
75 PROTOBUF_NAMESPACE_OPEN
76 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Publish* Arena::CreateMaybeMessage<::ignition::msgs::Publish>(Arena*);
77 PROTOBUF_NAMESPACE_CLOSE
78 namespace ignition {
79 namespace msgs {
80 
81 // ===================================================================
82 
83 class IGNITION_MSGS_VISIBLE Publish final :
84  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Publish) */ {
85  public:
86  inline Publish() : Publish(nullptr) {}
87  ~Publish() override;
88  explicit constexpr Publish(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
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 (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 Publish& default_instance() {
124  return *internal_default_instance();
125  }
126  static inline const Publish* internal_default_instance() {
127  return reinterpret_cast<const Publish*>(
129  }
130  static constexpr int kIndexInFileMessages =
131  0;
132 
133  friend void swap(Publish& a, Publish& b) {
134  a.Swap(&b);
135  }
136  inline void Swap(Publish* 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(Publish* other) {
150  if (other == this) return;
151  GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
152  InternalSwap(other);
153  }
154 
155  // implements Message ----------------------------------------------
156 
157  Publish* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
158  return CreateMaybeMessage<Publish>(arena);
159  }
160  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
161  void CopyFrom(const Publish& from);
162  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
163  void MergeFrom(const Publish& 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(Publish* other);
181 
182  private:
183  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
184  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
185  return "ignition.msgs.Publish";
186  }
187  protected:
188  explicit Publish(::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  kMsgTypeFieldNumber = 3,
207  kHostFieldNumber = 4,
208  kHeaderFieldNumber = 1,
209  kPortFieldNumber = 5,
210  };
211  // string topic = 2;
212  void clear_topic();
213  const std::string& topic() const;
214  template <typename ArgT0 = const std::string&, typename... ArgT>
215  void set_topic(ArgT0&& arg0, ArgT... args);
216  std::string* mutable_topic();
217  PROTOBUF_NODISCARD std::string* release_topic();
218  void set_allocated_topic(std::string* topic);
219  private:
220  const std::string& _internal_topic() const;
221  inline PROTOBUF_ALWAYS_INLINE void _internal_set_topic(const std::string& value);
222  std::string* _internal_mutable_topic();
223  public:
224 
225  // string msg_type = 3;
226  void clear_msg_type();
227  const std::string& msg_type() const;
228  template <typename ArgT0 = const std::string&, typename... ArgT>
229  void set_msg_type(ArgT0&& arg0, ArgT... args);
230  std::string* mutable_msg_type();
231  PROTOBUF_NODISCARD std::string* release_msg_type();
232  void set_allocated_msg_type(std::string* msg_type);
233  private:
234  const std::string& _internal_msg_type() const;
235  inline PROTOBUF_ALWAYS_INLINE void _internal_set_msg_type(const std::string& value);
236  std::string* _internal_mutable_msg_type();
237  public:
238 
239  // string host = 4;
240  void clear_host();
241  const std::string& host() const;
242  template <typename ArgT0 = const std::string&, typename... ArgT>
243  void set_host(ArgT0&& arg0, ArgT... args);
244  std::string* mutable_host();
245  PROTOBUF_NODISCARD std::string* release_host();
246  void set_allocated_host(std::string* host);
247  private:
248  const std::string& _internal_host() const;
249  inline PROTOBUF_ALWAYS_INLINE void _internal_set_host(const std::string& value);
250  std::string* _internal_mutable_host();
251  public:
252 
253  // .ignition.msgs.Header header = 1;
254  bool has_header() const;
255  private:
256  bool _internal_has_header() const;
257  public:
258  void clear_header();
259  const ::ignition::msgs::Header& header() const;
260  PROTOBUF_NODISCARD ::ignition::msgs::Header* release_header();
261  ::ignition::msgs::Header* mutable_header();
262  void set_allocated_header(::ignition::msgs::Header* header);
263  private:
264  const ::ignition::msgs::Header& _internal_header() const;
265  ::ignition::msgs::Header* _internal_mutable_header();
266  public:
267  void unsafe_arena_set_allocated_header(
268  ::ignition::msgs::Header* header);
269  ::ignition::msgs::Header* unsafe_arena_release_header();
270 
271  // uint32 port = 5;
272  void clear_port();
273  uint32_t port() const;
274  void set_port(uint32_t value);
275  private:
276  uint32_t _internal_port() const;
277  void _internal_set_port(uint32_t value);
278  public:
279 
280  // @@protoc_insertion_point(class_scope:ignition.msgs.Publish)
281  private:
282  class _Internal;
283 
284  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
285  typedef void InternalArenaConstructable_;
286  typedef void DestructorSkippable_;
287  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr topic_;
288  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr msg_type_;
289  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr host_;
290  ::ignition::msgs::Header* header_;
291  uint32_t port_;
292  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
293  friend struct ::TableStruct_ignition_2fmsgs_2fpublish_2eproto;
294 };
295 // ===================================================================
296 
297 
298 // ===================================================================
299 
300 #ifdef __GNUC__
301  #pragma GCC diagnostic push
302  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
303 #endif // __GNUC__
304 // Publish
305 
306 // .ignition.msgs.Header header = 1;
307 inline bool Publish::_internal_has_header() const {
308  return this != internal_default_instance() && header_ != nullptr;
309 }
310 inline bool Publish::has_header() const {
311  return _internal_has_header();
312 }
313 inline const ::ignition::msgs::Header& Publish::_internal_header() const {
314  const ::ignition::msgs::Header* p = header_;
315  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Header&>(
317 }
318 inline const ::ignition::msgs::Header& Publish::header() const {
319  // @@protoc_insertion_point(field_get:ignition.msgs.Publish.header)
320  return _internal_header();
321 }
323  ::ignition::msgs::Header* header) {
324  if (GetArenaForAllocation() == nullptr) {
325  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
326  }
327  header_ = header;
328  if (header) {
329 
330  } else {
331 
332  }
333  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Publish.header)
334 }
335 inline ::ignition::msgs::Header* Publish::release_header() {
336 
337  ::ignition::msgs::Header* temp = header_;
338  header_ = nullptr;
339 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
340  auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
341  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
342  if (GetArenaForAllocation() == nullptr) { delete old; }
343 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
344  if (GetArenaForAllocation() != nullptr) {
345  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
346  }
347 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
348  return temp;
349 }
350 inline ::ignition::msgs::Header* Publish::unsafe_arena_release_header() {
351  // @@protoc_insertion_point(field_release:ignition.msgs.Publish.header)
352 
353  ::ignition::msgs::Header* temp = header_;
354  header_ = nullptr;
355  return temp;
356 }
357 inline ::ignition::msgs::Header* Publish::_internal_mutable_header() {
358 
359  if (header_ == nullptr) {
360  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaForAllocation());
361  header_ = p;
362  }
363  return header_;
364 }
365 inline ::ignition::msgs::Header* Publish::mutable_header() {
366  ::ignition::msgs::Header* _msg = _internal_mutable_header();
367  // @@protoc_insertion_point(field_mutable:ignition.msgs.Publish.header)
368  return _msg;
369 }
371  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
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  ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
378  ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
379  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header));
380  if (message_arena != submessage_arena) {
381  header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
382  message_arena, header, submessage_arena);
383  }
384 
385  } else {
386 
387  }
388  header_ = header;
389  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Publish.header)
390 }
391 
392 // string topic = 2;
393 inline void Publish::clear_topic() {
394  topic_.ClearToEmpty();
395 }
396 inline const std::string& Publish::topic() const {
397  // @@protoc_insertion_point(field_get:ignition.msgs.Publish.topic)
398  return _internal_topic();
399 }
400 template <typename ArgT0, typename... ArgT>
401 inline PROTOBUF_ALWAYS_INLINE
402 void Publish::set_topic(ArgT0&& arg0, ArgT... args) {
403 
404  topic_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
405  // @@protoc_insertion_point(field_set:ignition.msgs.Publish.topic)
406 }
408  std::string* _s = _internal_mutable_topic();
409  // @@protoc_insertion_point(field_mutable:ignition.msgs.Publish.topic)
410  return _s;
411 }
412 inline const std::string& Publish::_internal_topic() const {
413  return topic_.Get();
414 }
415 inline void Publish::_internal_set_topic(const std::string& value) {
416 
417  topic_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
418 }
419 inline std::string* Publish::_internal_mutable_topic() {
420 
421  return topic_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
422 }
424  // @@protoc_insertion_point(field_release:ignition.msgs.Publish.topic)
425  return topic_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
426 }
428  if (topic != nullptr) {
429 
430  } else {
431 
432  }
433  topic_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), topic,
434  GetArenaForAllocation());
435 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
436  if (topic_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
437  topic_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
438  }
439 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
440  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Publish.topic)
441 }
442 
443 // string msg_type = 3;
444 inline void Publish::clear_msg_type() {
445  msg_type_.ClearToEmpty();
446 }
447 inline const std::string& Publish::msg_type() const {
448  // @@protoc_insertion_point(field_get:ignition.msgs.Publish.msg_type)
449  return _internal_msg_type();
450 }
451 template <typename ArgT0, typename... ArgT>
452 inline PROTOBUF_ALWAYS_INLINE
453 void Publish::set_msg_type(ArgT0&& arg0, ArgT... args) {
454 
455  msg_type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
456  // @@protoc_insertion_point(field_set:ignition.msgs.Publish.msg_type)
457 }
459  std::string* _s = _internal_mutable_msg_type();
460  // @@protoc_insertion_point(field_mutable:ignition.msgs.Publish.msg_type)
461  return _s;
462 }
463 inline const std::string& Publish::_internal_msg_type() const {
464  return msg_type_.Get();
465 }
466 inline void Publish::_internal_set_msg_type(const std::string& value) {
467 
468  msg_type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
469 }
470 inline std::string* Publish::_internal_mutable_msg_type() {
471 
472  return msg_type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
473 }
475  // @@protoc_insertion_point(field_release:ignition.msgs.Publish.msg_type)
476  return msg_type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
477 }
479  if (msg_type != nullptr) {
480 
481  } else {
482 
483  }
484  msg_type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), msg_type,
485  GetArenaForAllocation());
486 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
487  if (msg_type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
488  msg_type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
489  }
490 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
491  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Publish.msg_type)
492 }
493 
494 // string host = 4;
495 inline void Publish::clear_host() {
496  host_.ClearToEmpty();
497 }
498 inline const std::string& Publish::host() const {
499  // @@protoc_insertion_point(field_get:ignition.msgs.Publish.host)
500  return _internal_host();
501 }
502 template <typename ArgT0, typename... ArgT>
503 inline PROTOBUF_ALWAYS_INLINE
504 void Publish::set_host(ArgT0&& arg0, ArgT... args) {
505 
506  host_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
507  // @@protoc_insertion_point(field_set:ignition.msgs.Publish.host)
508 }
510  std::string* _s = _internal_mutable_host();
511  // @@protoc_insertion_point(field_mutable:ignition.msgs.Publish.host)
512  return _s;
513 }
514 inline const std::string& Publish::_internal_host() const {
515  return host_.Get();
516 }
517 inline void Publish::_internal_set_host(const std::string& value) {
518 
519  host_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
520 }
521 inline std::string* Publish::_internal_mutable_host() {
522 
523  return host_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
524 }
526  // @@protoc_insertion_point(field_release:ignition.msgs.Publish.host)
527  return host_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
528 }
530  if (host != nullptr) {
531 
532  } else {
533 
534  }
535  host_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), host,
536  GetArenaForAllocation());
537 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
538  if (host_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
539  host_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
540  }
541 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
542  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Publish.host)
543 }
544 
545 // uint32 port = 5;
546 inline void Publish::clear_port() {
547  port_ = 0u;
548 }
549 inline uint32_t Publish::_internal_port() const {
550  return port_;
551 }
552 inline uint32_t Publish::port() const {
553  // @@protoc_insertion_point(field_get:ignition.msgs.Publish.port)
554  return _internal_port();
555 }
556 inline void Publish::_internal_set_port(uint32_t value) {
557 
558  port_ = value;
559 }
560 inline void Publish::set_port(uint32_t value) {
561  _internal_set_port(value);
562  // @@protoc_insertion_point(field_set:ignition.msgs.Publish.port)
563 }
564 
565 #ifdef __GNUC__
566  #pragma GCC diagnostic pop
567 #endif // __GNUC__
568 
573 // @@protoc_insertion_point(namespace_scope)
574 
575 } // namespace msgs
576 } // namespace ignition
577 
578 #ifdef _MSC_VER
579 #pragma warning(pop)
580 #endif
581 // @@protoc_insertion_point(global_scope)
582 
583 #include <google/protobuf/port_undef.inc>
584 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fpublish_2eproto
Definition: header.pb.h:265
Definition: publish.pb.h:84
void Swap(Publish *other)
Definition: publish.pb.h:136
friend void swap(Publish &a, Publish &b)
Definition: publish.pb.h:133
static const Publish & default_instance()
Definition: publish.pb.h:123
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: publish.pb.h:120
uint32_t port() const
Definition: publish.pb.h:552
bool has_header() const
Definition: publish.pb.h:310
void clear_port()
Definition: publish.pb.h:546
::ignition::msgs::Header * mutable_header()
Definition: publish.pb.h:365
PROTOBUF_NODISCARD std::string * release_host()
Definition: publish.pb.h:525
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void set_topic(ArgT0 &&arg0, ArgT... args)
std::string * mutable_msg_type()
Definition: publish.pb.h:458
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: publish.pb.h:114
void UnsafeArenaSwap(Publish *other)
Definition: publish.pb.h:149
void set_allocated_msg_type(std::string *msg_type)
Definition: publish.pb.h:478
const std::string & topic() const
Definition: publish.pb.h:396
std::string * mutable_topic()
Definition: publish.pb.h:407
void set_allocated_host(std::string *host)
Definition: publish.pb.h:529
constexpr Publish(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void clear_host()
Definition: publish.pb.h:495
Publish(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
const std::string & msg_type() const
Definition: publish.pb.h:447
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
Definition: publish.pb.h:322
void set_allocated_topic(std::string *topic)
Definition: publish.pb.h:427
PROTOBUF_NODISCARD std::string * release_msg_type()
Definition: publish.pb.h:474
PROTOBUF_NODISCARD std::string * release_topic()
Definition: publish.pb.h:423
Publish & operator=(const Publish &from)
Definition: publish.pb.h:96
std::string * mutable_host()
Definition: publish.pb.h:509
void MergeFrom(const Publish &from)
Publish()
Definition: publish.pb.h:86
void set_allocated_header(::ignition::msgs::Header *header)
Definition: publish.pb.h:370
PROTOBUF_NODISCARD ::ignition::msgs::Header * release_header()
Definition: publish.pb.h:335
const std::string & host() const
Definition: publish.pb.h:498
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
Publish(Publish &&from) noexcept
Definition: publish.pb.h:91
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: publish.pb.h:117
void clear_msg_type()
Definition: publish.pb.h:444
void clear_topic()
Definition: publish.pb.h:393
const ::ignition::msgs::Header & header() const
Definition: publish.pb.h:318
static const ClassData _class_data_
Definition: publish.pb.h:195
::ignition::msgs::Header * unsafe_arena_release_header()
Definition: publish.pb.h:350
Publish(const Publish &from)
static const Publish * internal_default_instance()
Definition: publish.pb.h:126
void set_host(ArgT0 &&arg0, ArgT... args)
Publish & operator=(Publish &&from) noexcept
Definition: publish.pb.h:100
Publish * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: publish.pb.h:157
void set_port(uint32_t value)
Definition: publish.pb.h:560
void CopyFrom(const Publish &from)
void set_msg_type(ArgT0 &&arg0, ArgT... args)
std::shared_ptr< const Publish > ConstPublishSharedPtr
Definition: publish.pb.h:572
std::unique_ptr< const Publish > ConstPublishUniquePtr
Definition: publish.pb.h:570
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
IGNITION_MSGS_VISIBLE PublishDefaultTypeInternal _Publish_default_instance_
std::unique_ptr< Publish > PublishUniquePtr
Definition: publish.pb.h:569
std::shared_ptr< Publish > PublishSharedPtr
Definition: publish.pb.h:571
Definition: actor.pb.h:52
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fpublish_2eproto
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)