Ignition Msgs

API Reference

5.8.1
clock.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/clock.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fclock_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fclock_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>
34 #include "ignition/msgs/time.pb.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_2fclock_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_2fclock_2eproto {
58  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
59  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
60  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField 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_2fclock_2eproto;
69 namespace ignition {
70 namespace msgs {
71 class Clock;
72 class ClockDefaultTypeInternal;
73 IGNITION_MSGS_VISIBLE extern ClockDefaultTypeInternal _Clock_default_instance_;
74 } // namespace msgs
75 } // namespace ignition
76 PROTOBUF_NAMESPACE_OPEN
77 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Clock* Arena::CreateMaybeMessage<::ignition::msgs::Clock>(Arena*);
78 PROTOBUF_NAMESPACE_CLOSE
79 namespace ignition {
80 namespace msgs {
81 
82 // ===================================================================
83 
84 class IGNITION_MSGS_VISIBLE Clock PROTOBUF_FINAL :
85  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Clock) */ {
86  public:
87  inline Clock() : Clock(nullptr) {}
88  virtual ~Clock();
89 
90  Clock(const Clock& from);
91  Clock(Clock&& from) noexcept
92  : Clock() {
93  *this = ::std::move(from);
94  }
95 
96  inline Clock& operator=(const Clock& from) {
97  CopyFrom(from);
98  return *this;
99  }
100  inline Clock& operator=(Clock&& 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 Clock& default_instance();
119 
120  static inline const Clock* internal_default_instance() {
121  return reinterpret_cast<const Clock*>(
123  }
124  static constexpr int kIndexInFileMessages =
125  0;
126 
127  friend void swap(Clock& a, Clock& b) {
128  a.Swap(&b);
129  }
130  inline void Swap(Clock* other) {
131  if (other == this) return;
132  if (GetArena() == other->GetArena()) {
133  InternalSwap(other);
134  } else {
135  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
136  }
137  }
138  void UnsafeArenaSwap(Clock* other) {
139  if (other == this) return;
140  GOOGLE_DCHECK(GetArena() == other->GetArena());
141  InternalSwap(other);
142  }
143 
144  // implements Message ----------------------------------------------
145 
146  inline Clock* New() const final {
147  return CreateMaybeMessage<Clock>(nullptr);
148  }
149 
150  Clock* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
151  return CreateMaybeMessage<Clock>(arena);
152  }
153  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
154  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
155  void CopyFrom(const Clock& from);
156  void MergeFrom(const Clock& from);
157  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
158  bool IsInitialized() const final;
159 
160  size_t ByteSizeLong() const final;
161  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
162  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
163  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
164  int GetCachedSize() const final { return _cached_size_.Get(); }
165 
166  private:
167  inline void SharedCtor();
168  inline void SharedDtor();
169  void SetCachedSize(int size) const final;
170  void InternalSwap(Clock* other);
171  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
172  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
173  return "ignition.msgs.Clock";
174  }
175  protected:
176  explicit Clock(::PROTOBUF_NAMESPACE_ID::Arena* arena);
177  private:
178  static void ArenaDtor(void* object);
179  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
180  public:
181 
182  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
183  private:
184  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
185  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_ignition_2fmsgs_2fclock_2eproto);
186  return ::descriptor_table_ignition_2fmsgs_2fclock_2eproto.file_level_metadata[kIndexInFileMessages];
187  }
188 
189  public:
190 
191  // nested types ----------------------------------------------------
192 
193  // accessors -------------------------------------------------------
194 
195  enum : int {
196  kHeaderFieldNumber = 1,
197  kSystemFieldNumber = 2,
198  kRealFieldNumber = 3,
199  kSimFieldNumber = 4,
200  };
201  // .ignition.msgs.Header header = 1;
202  bool has_header() const;
203  private:
204  bool _internal_has_header() const;
205  public:
206  void clear_header();
207  const ::ignition::msgs::Header& header() const;
208  ::ignition::msgs::Header* release_header();
209  ::ignition::msgs::Header* mutable_header();
210  void set_allocated_header(::ignition::msgs::Header* header);
211  private:
212  const ::ignition::msgs::Header& _internal_header() const;
213  ::ignition::msgs::Header* _internal_mutable_header();
214  public:
216  ::ignition::msgs::Header* header);
217  ::ignition::msgs::Header* unsafe_arena_release_header();
218 
219  // .ignition.msgs.Time system = 2;
220  bool has_system() const;
221  private:
222  bool _internal_has_system() const;
223  public:
224  void clear_system();
225  const ::ignition::msgs::Time& system() const;
226  ::ignition::msgs::Time* release_system();
227  ::ignition::msgs::Time* mutable_system();
228  void set_allocated_system(::ignition::msgs::Time* system);
229  private:
230  const ::ignition::msgs::Time& _internal_system() const;
231  ::ignition::msgs::Time* _internal_mutable_system();
232  public:
234  ::ignition::msgs::Time* system);
235  ::ignition::msgs::Time* unsafe_arena_release_system();
236 
237  // .ignition.msgs.Time real = 3;
238  bool has_real() const;
239  private:
240  bool _internal_has_real() const;
241  public:
242  void clear_real();
243  const ::ignition::msgs::Time& real() const;
244  ::ignition::msgs::Time* release_real();
245  ::ignition::msgs::Time* mutable_real();
246  void set_allocated_real(::ignition::msgs::Time* real);
247  private:
248  const ::ignition::msgs::Time& _internal_real() const;
249  ::ignition::msgs::Time* _internal_mutable_real();
250  public:
252  ::ignition::msgs::Time* real);
253  ::ignition::msgs::Time* unsafe_arena_release_real();
254 
255  // .ignition.msgs.Time sim = 4;
256  bool has_sim() const;
257  private:
258  bool _internal_has_sim() const;
259  public:
260  void clear_sim();
261  const ::ignition::msgs::Time& sim() const;
262  ::ignition::msgs::Time* release_sim();
263  ::ignition::msgs::Time* mutable_sim();
264  void set_allocated_sim(::ignition::msgs::Time* sim);
265  private:
266  const ::ignition::msgs::Time& _internal_sim() const;
267  ::ignition::msgs::Time* _internal_mutable_sim();
268  public:
270  ::ignition::msgs::Time* sim);
271  ::ignition::msgs::Time* unsafe_arena_release_sim();
272 
273  // @@protoc_insertion_point(class_scope:ignition.msgs.Clock)
274  private:
275  class _Internal;
276 
277  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
278  typedef void InternalArenaConstructable_;
279  typedef void DestructorSkippable_;
280  ::ignition::msgs::Header* header_;
281  ::ignition::msgs::Time* system_;
282  ::ignition::msgs::Time* real_;
283  ::ignition::msgs::Time* sim_;
284  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
285  friend struct ::TableStruct_ignition_2fmsgs_2fclock_2eproto;
286 };
287 // ===================================================================
288 
289 
290 // ===================================================================
291 
292 #ifdef __GNUC__
293  #pragma GCC diagnostic push
294  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
295 #endif // __GNUC__
296 // Clock
297 
298 // .ignition.msgs.Header header = 1;
299 inline bool Clock::_internal_has_header() const {
300  return this != internal_default_instance() && header_ != nullptr;
301 }
302 inline bool Clock::has_header() const {
303  return _internal_has_header();
304 }
305 inline const ::ignition::msgs::Header& Clock::_internal_header() const {
306  const ::ignition::msgs::Header* p = header_;
307  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Header&>(
309 }
310 inline const ::ignition::msgs::Header& Clock::header() const {
311  // @@protoc_insertion_point(field_get:ignition.msgs.Clock.header)
312  return _internal_header();
313 }
314 inline void Clock::unsafe_arena_set_allocated_header(
315  ::ignition::msgs::Header* header) {
316  if (GetArena() == nullptr) {
317  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
318  }
319  header_ = header;
320  if (header) {
321 
322  } else {
323 
324  }
325  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Clock.header)
326 }
327 inline ::ignition::msgs::Header* Clock::release_header() {
328 
329  ::ignition::msgs::Header* temp = header_;
330  header_ = nullptr;
331  if (GetArena() != nullptr) {
332  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
333  }
334  return temp;
335 }
336 inline ::ignition::msgs::Header* Clock::unsafe_arena_release_header() {
337  // @@protoc_insertion_point(field_release:ignition.msgs.Clock.header)
338 
339  ::ignition::msgs::Header* temp = header_;
340  header_ = nullptr;
341  return temp;
342 }
343 inline ::ignition::msgs::Header* Clock::_internal_mutable_header() {
344 
345  if (header_ == nullptr) {
346  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
347  header_ = p;
348  }
349  return header_;
350 }
351 inline ::ignition::msgs::Header* Clock::mutable_header() {
352  // @@protoc_insertion_point(field_mutable:ignition.msgs.Clock.header)
353  return _internal_mutable_header();
354 }
355 inline void Clock::set_allocated_header(::ignition::msgs::Header* header) {
356  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
357  if (message_arena == nullptr) {
358  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
359  }
360  if (header) {
361  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
362  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header)->GetArena();
363  if (message_arena != submessage_arena) {
364  header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
365  message_arena, header, submessage_arena);
366  }
367 
368  } else {
369 
370  }
371  header_ = header;
372  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Clock.header)
373 }
374 
375 // .ignition.msgs.Time system = 2;
376 inline bool Clock::_internal_has_system() const {
377  return this != internal_default_instance() && system_ != nullptr;
378 }
379 inline bool Clock::has_system() const {
380  return _internal_has_system();
381 }
382 inline const ::ignition::msgs::Time& Clock::_internal_system() const {
383  const ::ignition::msgs::Time* p = system_;
384  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Time&>(
386 }
387 inline const ::ignition::msgs::Time& Clock::system() const {
388  // @@protoc_insertion_point(field_get:ignition.msgs.Clock.system)
389  return _internal_system();
390 }
391 inline void Clock::unsafe_arena_set_allocated_system(
392  ::ignition::msgs::Time* system) {
393  if (GetArena() == nullptr) {
394  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(system_);
395  }
396  system_ = system;
397  if (system) {
398 
399  } else {
400 
401  }
402  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Clock.system)
403 }
404 inline ::ignition::msgs::Time* Clock::release_system() {
405 
406  ::ignition::msgs::Time* temp = system_;
407  system_ = nullptr;
408  if (GetArena() != nullptr) {
409  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
410  }
411  return temp;
412 }
413 inline ::ignition::msgs::Time* Clock::unsafe_arena_release_system() {
414  // @@protoc_insertion_point(field_release:ignition.msgs.Clock.system)
415 
416  ::ignition::msgs::Time* temp = system_;
417  system_ = nullptr;
418  return temp;
419 }
420 inline ::ignition::msgs::Time* Clock::_internal_mutable_system() {
421 
422  if (system_ == nullptr) {
423  auto* p = CreateMaybeMessage<::ignition::msgs::Time>(GetArena());
424  system_ = p;
425  }
426  return system_;
427 }
428 inline ::ignition::msgs::Time* Clock::mutable_system() {
429  // @@protoc_insertion_point(field_mutable:ignition.msgs.Clock.system)
430  return _internal_mutable_system();
431 }
432 inline void Clock::set_allocated_system(::ignition::msgs::Time* system) {
433  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
434  if (message_arena == nullptr) {
435  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(system_);
436  }
437  if (system) {
438  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
439  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(system)->GetArena();
440  if (message_arena != submessage_arena) {
441  system = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
442  message_arena, system, submessage_arena);
443  }
444 
445  } else {
446 
447  }
448  system_ = system;
449  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Clock.system)
450 }
451 
452 // .ignition.msgs.Time real = 3;
453 inline bool Clock::_internal_has_real() const {
454  return this != internal_default_instance() && real_ != nullptr;
455 }
456 inline bool Clock::has_real() const {
457  return _internal_has_real();
458 }
459 inline const ::ignition::msgs::Time& Clock::_internal_real() const {
460  const ::ignition::msgs::Time* p = real_;
461  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Time&>(
463 }
464 inline const ::ignition::msgs::Time& Clock::real() const {
465  // @@protoc_insertion_point(field_get:ignition.msgs.Clock.real)
466  return _internal_real();
467 }
468 inline void Clock::unsafe_arena_set_allocated_real(
469  ::ignition::msgs::Time* real) {
470  if (GetArena() == nullptr) {
471  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(real_);
472  }
473  real_ = real;
474  if (real) {
475 
476  } else {
477 
478  }
479  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Clock.real)
480 }
481 inline ::ignition::msgs::Time* Clock::release_real() {
482 
483  ::ignition::msgs::Time* temp = real_;
484  real_ = nullptr;
485  if (GetArena() != nullptr) {
486  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
487  }
488  return temp;
489 }
490 inline ::ignition::msgs::Time* Clock::unsafe_arena_release_real() {
491  // @@protoc_insertion_point(field_release:ignition.msgs.Clock.real)
492 
493  ::ignition::msgs::Time* temp = real_;
494  real_ = nullptr;
495  return temp;
496 }
497 inline ::ignition::msgs::Time* Clock::_internal_mutable_real() {
498 
499  if (real_ == nullptr) {
500  auto* p = CreateMaybeMessage<::ignition::msgs::Time>(GetArena());
501  real_ = p;
502  }
503  return real_;
504 }
505 inline ::ignition::msgs::Time* Clock::mutable_real() {
506  // @@protoc_insertion_point(field_mutable:ignition.msgs.Clock.real)
507  return _internal_mutable_real();
508 }
509 inline void Clock::set_allocated_real(::ignition::msgs::Time* real) {
510  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
511  if (message_arena == nullptr) {
512  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(real_);
513  }
514  if (real) {
515  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
516  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(real)->GetArena();
517  if (message_arena != submessage_arena) {
518  real = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
519  message_arena, real, submessage_arena);
520  }
521 
522  } else {
523 
524  }
525  real_ = real;
526  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Clock.real)
527 }
528 
529 // .ignition.msgs.Time sim = 4;
530 inline bool Clock::_internal_has_sim() const {
531  return this != internal_default_instance() && sim_ != nullptr;
532 }
533 inline bool Clock::has_sim() const {
534  return _internal_has_sim();
535 }
536 inline const ::ignition::msgs::Time& Clock::_internal_sim() const {
537  const ::ignition::msgs::Time* p = sim_;
538  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Time&>(
540 }
541 inline const ::ignition::msgs::Time& Clock::sim() const {
542  // @@protoc_insertion_point(field_get:ignition.msgs.Clock.sim)
543  return _internal_sim();
544 }
545 inline void Clock::unsafe_arena_set_allocated_sim(
546  ::ignition::msgs::Time* sim) {
547  if (GetArena() == nullptr) {
548  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(sim_);
549  }
550  sim_ = sim;
551  if (sim) {
552 
553  } else {
554 
555  }
556  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Clock.sim)
557 }
558 inline ::ignition::msgs::Time* Clock::release_sim() {
559 
560  ::ignition::msgs::Time* temp = sim_;
561  sim_ = nullptr;
562  if (GetArena() != nullptr) {
563  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
564  }
565  return temp;
566 }
567 inline ::ignition::msgs::Time* Clock::unsafe_arena_release_sim() {
568  // @@protoc_insertion_point(field_release:ignition.msgs.Clock.sim)
569 
570  ::ignition::msgs::Time* temp = sim_;
571  sim_ = nullptr;
572  return temp;
573 }
574 inline ::ignition::msgs::Time* Clock::_internal_mutable_sim() {
575 
576  if (sim_ == nullptr) {
577  auto* p = CreateMaybeMessage<::ignition::msgs::Time>(GetArena());
578  sim_ = p;
579  }
580  return sim_;
581 }
582 inline ::ignition::msgs::Time* Clock::mutable_sim() {
583  // @@protoc_insertion_point(field_mutable:ignition.msgs.Clock.sim)
584  return _internal_mutable_sim();
585 }
586 inline void Clock::set_allocated_sim(::ignition::msgs::Time* sim) {
587  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
588  if (message_arena == nullptr) {
589  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(sim_);
590  }
591  if (sim) {
592  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
593  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(sim)->GetArena();
594  if (message_arena != submessage_arena) {
595  sim = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
596  message_arena, sim, submessage_arena);
597  }
598 
599  } else {
600 
601  }
602  sim_ = sim;
603  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Clock.sim)
604 }
605 
606 #ifdef __GNUC__
607  #pragma GCC diagnostic pop
608 #endif // __GNUC__
609 
614 // @@protoc_insertion_point(namespace_scope)
615 
616 } // namespace msgs
617 } // namespace ignition
618 
619 #ifdef _MSC_VER
620 #pragma warning(pop)
621 #endif
622 // @@protoc_insertion_point(global_scope)
623 
624 #include <google/protobuf/port_undef.inc>
625 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fclock_2eproto
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: clock.pb.h:115
const ::ignition::msgs::Time & real() const
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::ignition::msgs::Header * release_header()
::ignition::msgs::Time * unsafe_arena_release_sim()
void unsafe_arena_set_allocated_sim(::ignition::msgs::Time *sim)
::ignition::msgs::Header * mutable_header()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: clock.pb.h:109
::ignition::msgs::Time * release_real()
::ignition::msgs::Time * release_system()
Clock * New() const final
Definition: clock.pb.h:146
Clock(Clock &&from) noexcept
Definition: clock.pb.h:91
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
Clock * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: clock.pb.h:150
static const Clock & default_instance()
void CopyFrom(const Clock &from)
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
friend void swap(Clock &a, Clock &b)
Definition: clock.pb.h:127
void set_allocated_real(::ignition::msgs::Time *real)
::ignition::msgs::Time * mutable_system()
Clock & operator=(Clock &&from) noexcept
Definition: clock.pb.h:100
::ignition::msgs::Time * release_sim()
::ignition::msgs::Header * unsafe_arena_release_header()
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void set_allocated_system(::ignition::msgs::Time *system)
void unsafe_arena_set_allocated_real(::ignition::msgs::Time *real)
void set_allocated_sim(::ignition::msgs::Time *sim)
::ignition::msgs::Time * mutable_sim()
void set_allocated_header(::ignition::msgs::Header *header)
::ignition::msgs::Time * unsafe_arena_release_real()
static const Clock * internal_default_instance()
Definition: clock.pb.h:120
const ::ignition::msgs::Time & system() const
const ::ignition::msgs::Time & sim() const
::ignition::msgs::Time * unsafe_arena_release_system()
void UnsafeArenaSwap(Clock *other)
Definition: clock.pb.h:138
::ignition::msgs::Time * mutable_real()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: clock.pb.h:112
void unsafe_arena_set_allocated_system(::ignition::msgs::Time *system)
Clock(::PROTOBUF_NAMESPACE_ID::Arena *arena)
Clock()
Definition: clock.pb.h:87
Clock & operator=(const Clock &from)
Definition: clock.pb.h:96
void MergeFrom(const Clock &from)
const ::ignition::msgs::Header & header() const
void Swap(Clock *other)
Definition: clock.pb.h:130
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fclock_2eproto
std::unique_ptr< Clock > ClockUniquePtr
Definition: clock.pb.h:610
std::unique_ptr< const Clock > ConstClockUniquePtr
Definition: clock.pb.h:611
std::shared_ptr< Clock > ClockSharedPtr
Definition: clock.pb.h:612
std::shared_ptr< const Clock > ConstClockSharedPtr
Definition: clock.pb.h:613
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
IGNITION_MSGS_VISIBLE TimeDefaultTypeInternal _Time_default_instance_
IGNITION_MSGS_VISIBLE ClockDefaultTypeInternal _Clock_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)
T system(T... args)