4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fclock_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fclock_2eproto
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
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.
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>
32 #include <google/protobuf/extension_set.h>
33 #include <google/protobuf/unknown_field_set.h>
37 #pragma GCC system_header
40 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
43 #include <sys/sysmacros.h>
48 #include <google/protobuf/port_def.inc>
49 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fclock_2eproto IGNITION_MSGS_VISIBLE
50 PROTOBUF_NAMESPACE_OPEN
54 PROTOBUF_NAMESPACE_CLOSE
58 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
60 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
62 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
64 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
65 static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
66 static const uint32_t offsets[];
72 struct ClockDefaultTypeInternal;
76 PROTOBUF_NAMESPACE_OPEN
77 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Clock* Arena::CreateMaybeMessage<::ignition::msgs::Clock>(Arena*);
78 PROTOBUF_NAMESPACE_CLOSE
84 class IGNITION_MSGS_VISIBLE
Clock final :
85 public ::PROTOBUF_NAMESPACE_ID::Message {
89 explicit constexpr
Clock(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
94 *
this = ::std::move(from);
102 if (
this == &from)
return *
this;
103 if (GetOwningArena() == from.GetOwningArena()
104 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
105 && GetOwningArena() !=
nullptr
115 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
116 return GetDescriptor();
119 return default_instance().GetMetadata().descriptor;
122 return default_instance().GetMetadata().reflection;
125 return *internal_default_instance();
128 return reinterpret_cast<const Clock*
>(
131 static constexpr
int kIndexInFileMessages =
138 if (other ==
this)
return;
139 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
140 if (GetOwningArena() !=
nullptr &&
141 GetOwningArena() == other->GetOwningArena()) {
143 if (GetOwningArena() == other->GetOwningArena()) {
147 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
151 if (other ==
this)
return;
152 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
158 Clock*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
159 return CreateMaybeMessage<Clock>(arena);
161 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
163 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
166 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
168 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
169 bool IsInitialized() const final;
171 size_t ByteSizeLong() const final;
172 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
173 uint8_t* _InternalSerialize(
174 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
175 int GetCachedSize() const final {
return _cached_size_.Get(); }
180 void SetCachedSize(
int size)
const final;
181 void InternalSwap(
Clock* other);
184 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
185 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
186 return "ignition.msgs.Clock";
189 explicit Clock(::PROTOBUF_NAMESPACE_ID::Arena* arena,
190 bool is_message_owned =
false);
192 static void ArenaDtor(
void*
object);
193 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
197 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
199 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
206 kHeaderFieldNumber = 1,
207 kSystemFieldNumber = 2,
208 kRealFieldNumber = 3,
212 bool has_header()
const;
214 bool _internal_has_header()
const;
217 const ::ignition::msgs::Header& header()
const;
218 PROTOBUF_NODISCARD ::ignition::msgs::Header* release_header();
222 const ::ignition::msgs::Header& _internal_header()
const;
225 void unsafe_arena_set_allocated_header(
230 bool has_system()
const;
232 bool _internal_has_system()
const;
235 const ::ignition::msgs::Time& system()
const;
236 PROTOBUF_NODISCARD ::ignition::msgs::Time* release_system();
240 const ::ignition::msgs::Time& _internal_system()
const;
243 void unsafe_arena_set_allocated_system(
248 bool has_real()
const;
250 bool _internal_has_real()
const;
253 const ::ignition::msgs::Time& real()
const;
254 PROTOBUF_NODISCARD ::ignition::msgs::Time* release_real();
258 const ::ignition::msgs::Time& _internal_real()
const;
261 void unsafe_arena_set_allocated_real(
266 bool has_sim()
const;
268 bool _internal_has_sim()
const;
271 const ::ignition::msgs::Time& sim()
const;
272 PROTOBUF_NODISCARD ::ignition::msgs::Time* release_sim();
276 const ::ignition::msgs::Time& _internal_sim()
const;
279 void unsafe_arena_set_allocated_sim(
287 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
288 typedef void InternalArenaConstructable_;
289 typedef void DestructorSkippable_;
294 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
295 friend struct ::TableStruct_ignition_2fmsgs_2fclock_2eproto;
303 #pragma GCC diagnostic push
304 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
309 inline bool Clock::_internal_has_header()
const {
310 return this != internal_default_instance() && header_ !=
nullptr;
313 return _internal_has_header();
315 inline const ::ignition::msgs::Header& Clock::_internal_header()
const {
316 const ::ignition::msgs::Header* p = header_;
322 return _internal_header();
326 if (GetArenaForAllocation() ==
nullptr) {
327 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
341 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
342 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
343 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
344 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
346 if (GetArenaForAllocation() !=
nullptr) {
347 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
359 inline ::ignition::msgs::Header* Clock::_internal_mutable_header() {
361 if (header_ ==
nullptr) {
362 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaForAllocation());
373 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
374 if (message_arena ==
nullptr) {
375 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
378 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
379 ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
380 ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
381 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header));
382 if (message_arena != submessage_arena) {
383 header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
384 message_arena, header, submessage_arena);
395 inline bool Clock::_internal_has_system()
const {
396 return this != internal_default_instance() && system_ !=
nullptr;
399 return _internal_has_system();
401 inline const ::ignition::msgs::Time& Clock::_internal_system()
const {
402 const ::ignition::msgs::Time* p = system_;
408 return _internal_system();
412 if (GetArenaForAllocation() ==
nullptr) {
413 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(system_);
427 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
428 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
429 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
430 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
432 if (GetArenaForAllocation() !=
nullptr) {
433 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
445 inline ::ignition::msgs::Time* Clock::_internal_mutable_system() {
447 if (system_ ==
nullptr) {
448 auto* p = CreateMaybeMessage<::ignition::msgs::Time>(GetArenaForAllocation());
459 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
460 if (message_arena ==
nullptr) {
461 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(system_);
464 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
465 ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
466 ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
467 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(system));
468 if (message_arena != submessage_arena) {
469 system = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
470 message_arena, system, submessage_arena);
481 inline bool Clock::_internal_has_real()
const {
482 return this != internal_default_instance() && real_ !=
nullptr;
485 return _internal_has_real();
487 inline const ::ignition::msgs::Time& Clock::_internal_real()
const {
488 const ::ignition::msgs::Time* p = real_;
494 return _internal_real();
498 if (GetArenaForAllocation() ==
nullptr) {
499 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(real_);
513 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
514 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
515 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
516 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
518 if (GetArenaForAllocation() !=
nullptr) {
519 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
531 inline ::ignition::msgs::Time* Clock::_internal_mutable_real() {
533 if (real_ ==
nullptr) {
534 auto* p = CreateMaybeMessage<::ignition::msgs::Time>(GetArenaForAllocation());
545 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
546 if (message_arena ==
nullptr) {
547 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(real_);
550 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
551 ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
552 ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
553 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(real));
554 if (message_arena != submessage_arena) {
555 real = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
556 message_arena, real, submessage_arena);
567 inline bool Clock::_internal_has_sim()
const {
568 return this != internal_default_instance() && sim_ !=
nullptr;
571 return _internal_has_sim();
573 inline const ::ignition::msgs::Time& Clock::_internal_sim()
const {
574 const ::ignition::msgs::Time* p = sim_;
580 return _internal_sim();
584 if (GetArenaForAllocation() ==
nullptr) {
585 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(sim_);
599 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
600 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
601 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
602 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
604 if (GetArenaForAllocation() !=
nullptr) {
605 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
617 inline ::ignition::msgs::Time* Clock::_internal_mutable_sim() {
619 if (sim_ ==
nullptr) {
620 auto* p = CreateMaybeMessage<::ignition::msgs::Time>(GetArenaForAllocation());
631 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
632 if (message_arena ==
nullptr) {
633 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(sim_);
636 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
637 ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
638 ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
639 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(sim));
640 if (message_arena != submessage_arena) {
641 sim = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
642 message_arena, sim, submessage_arena);
653 #pragma GCC diagnostic pop
670 #include <google/protobuf/port_undef.inc>
Definition: clock.pb.h:85
constexpr Clock(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
PROTOBUF_NODISCARD ::ignition::msgs::Time * release_system()
Definition: clock.pb.h:423
PROTOBUF_NODISCARD ::ignition::msgs::Time * release_real()
Definition: clock.pb.h:509
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: clock.pb.h:121
bool has_header() const
Definition: clock.pb.h:312
::ignition::msgs::Header * mutable_header()
Definition: clock.pb.h:367
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Clock * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: clock.pb.h:158
void unsafe_arena_set_allocated_sim(::ignition::msgs::Time *sim)
Definition: clock.pb.h:582
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: clock.pb.h:115
::ignition::msgs::Time * mutable_real()
Definition: clock.pb.h:539
Clock(Clock &&from) noexcept
Definition: clock.pb.h:92
::ignition::msgs::Time * mutable_sim()
Definition: clock.pb.h:625
bool has_sim() const
Definition: clock.pb.h:570
::ignition::msgs::Time * unsafe_arena_release_real()
Definition: clock.pb.h:524
static const Clock & default_instance()
Definition: clock.pb.h:124
void CopyFrom(const Clock &from)
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
Definition: clock.pb.h:324
::ignition::msgs::Time * unsafe_arena_release_system()
Definition: clock.pb.h:438
friend void swap(Clock &a, Clock &b)
Definition: clock.pb.h:134
PROTOBUF_NODISCARD ::ignition::msgs::Time * release_sim()
Definition: clock.pb.h:595
void set_allocated_real(::ignition::msgs::Time *real)
Definition: clock.pb.h:544
Clock & operator=(Clock &&from) noexcept
Definition: clock.pb.h:101
const ::ignition::msgs::Time & sim() const
Definition: clock.pb.h:578
void set_allocated_system(::ignition::msgs::Time *system)
Definition: clock.pb.h:458
void unsafe_arena_set_allocated_real(::ignition::msgs::Time *real)
Definition: clock.pb.h:496
void set_allocated_sim(::ignition::msgs::Time *sim)
Definition: clock.pb.h:630
Clock(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void set_allocated_header(::ignition::msgs::Header *header)
Definition: clock.pb.h:372
bool has_system() const
Definition: clock.pb.h:398
bool has_real() const
Definition: clock.pb.h:484
static const Clock * internal_default_instance()
Definition: clock.pb.h:127
::ignition::msgs::Time * mutable_system()
Definition: clock.pb.h:453
PROTOBUF_NODISCARD ::ignition::msgs::Header * release_header()
Definition: clock.pb.h:337
void UnsafeArenaSwap(Clock *other)
Definition: clock.pb.h:150
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: clock.pb.h:118
::ignition::msgs::Time * unsafe_arena_release_sim()
Definition: clock.pb.h:610
const ::ignition::msgs::Time & real() const
Definition: clock.pb.h:492
const ::ignition::msgs::Header & header() const
Definition: clock.pb.h:320
void unsafe_arena_set_allocated_system(::ignition::msgs::Time *system)
Definition: clock.pb.h:410
static const ClassData _class_data_
Definition: clock.pb.h:196
Clock()
Definition: clock.pb.h:87
::ignition::msgs::Header * unsafe_arena_release_header()
Definition: clock.pb.h:352
const ::ignition::msgs::Time & system() const
Definition: clock.pb.h:406
Clock & operator=(const Clock &from)
Definition: clock.pb.h:97
void MergeFrom(const Clock &from)
void Swap(Clock *other)
Definition: clock.pb.h:137
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fclock_2eproto
std::unique_ptr< Clock > ClockUniquePtr
Definition: clock.pb.h:656
std::unique_ptr< const Clock > ConstClockUniquePtr
Definition: clock.pb.h:657
std::shared_ptr< Clock > ClockSharedPtr
Definition: clock.pb.h:658
std::shared_ptr< const Clock > ConstClockSharedPtr
Definition: clock.pb.h:659
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
Definition: clock.pb.h:57
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)