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