4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2ftime_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2ftime_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>
35 #pragma GCC system_header
38 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
41 #include <sys/sysmacros.h>
46 #include <google/protobuf/port_def.inc>
47 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2ftime_2eproto IGNITION_MSGS_VISIBLE
48 PROTOBUF_NAMESPACE_OPEN
52 PROTOBUF_NAMESPACE_CLOSE
56 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
58 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
60 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
62 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
63 static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
64 static const uint32_t offsets[];
70 struct TimeDefaultTypeInternal;
74 PROTOBUF_NAMESPACE_OPEN
75 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Time* Arena::CreateMaybeMessage<::ignition::msgs::Time>(Arena*);
76 PROTOBUF_NAMESPACE_CLOSE
82 class IGNITION_MSGS_VISIBLE
Time final :
83 public ::PROTOBUF_NAMESPACE_ID::Message {
87 explicit constexpr
Time(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
92 *
this = ::std::move(from);
100 if (
this == &from)
return *
this;
101 if (GetOwningArena() == from.GetOwningArena()
102 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
103 && GetOwningArena() !=
nullptr
113 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
114 return GetDescriptor();
117 return default_instance().GetMetadata().descriptor;
120 return default_instance().GetMetadata().reflection;
123 return *internal_default_instance();
126 return reinterpret_cast<const Time*
>(
129 static constexpr
int kIndexInFileMessages =
136 if (other ==
this)
return;
137 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
138 if (GetOwningArena() !=
nullptr &&
139 GetOwningArena() == other->GetOwningArena()) {
141 if (GetOwningArena() == other->GetOwningArena()) {
145 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
149 if (other ==
this)
return;
150 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
156 Time*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
157 return CreateMaybeMessage<Time>(arena);
159 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
161 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
164 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
166 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
167 bool IsInitialized() const final;
169 size_t ByteSizeLong() const final;
170 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
171 uint8_t* _InternalSerialize(
172 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
173 int GetCachedSize() const final {
return _cached_size_.Get(); }
178 void SetCachedSize(
int size)
const final;
179 void InternalSwap(
Time* other);
182 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
183 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
184 return "ignition.msgs.Time";
187 explicit Time(::PROTOBUF_NAMESPACE_ID::Arena* arena,
188 bool is_message_owned =
false);
190 static void ArenaDtor(
void*
object);
191 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
195 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
197 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
205 kNsecFieldNumber = 2,
210 void set_sec(int64_t value);
212 int64_t _internal_sec()
const;
213 void _internal_set_sec(int64_t value);
218 int32_t nsec()
const;
219 void set_nsec(int32_t value);
221 int32_t _internal_nsec()
const;
222 void _internal_set_nsec(int32_t value);
229 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
230 typedef void InternalArenaConstructable_;
231 typedef void DestructorSkippable_;
234 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
235 friend struct ::TableStruct_ignition_2fmsgs_2ftime_2eproto;
243 #pragma GCC diagnostic push
244 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
252 inline int64_t Time::_internal_sec()
const {
257 return _internal_sec();
259 inline void Time::_internal_set_sec(int64_t value) {
264 _internal_set_sec(value);
272 inline int32_t Time::_internal_nsec()
const {
277 return _internal_nsec();
279 inline void Time::_internal_set_nsec(int32_t value) {
284 _internal_set_nsec(value);
289 #pragma GCC diagnostic pop
306 #include <google/protobuf/port_undef.inc>
Time * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: time.pb.h:156
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: time.pb.h:119
void MergeFrom(const Time &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const Time * internal_default_instance()
Definition: time.pb.h:125
void UnsafeArenaSwap(Time *other)
Definition: time.pb.h:148
void clear_sec()
Definition: time.pb.h:249
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: time.pb.h:113
Time(Time &&from) noexcept
Definition: time.pb.h:90
Time()
Definition: time.pb.h:85
void set_sec(int64_t value)
Definition: time.pb.h:263
int64_t sec() const
Definition: time.pb.h:255
void set_nsec(int32_t value)
Definition: time.pb.h:283
void CopyFrom(const Time &from)
constexpr Time(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: time.pb.h:116
void clear_nsec()
Definition: time.pb.h:269
Time(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
int32_t nsec() const
Definition: time.pb.h:275
Time & operator=(const Time &from)
Definition: time.pb.h:95
void Swap(Time *other)
Definition: time.pb.h:135
static const ClassData _class_data_
Definition: time.pb.h:194
friend void swap(Time &a, Time &b)
Definition: time.pb.h:132
static const Time & default_instance()
Definition: time.pb.h:122
Time & operator=(Time &&from) noexcept
Definition: time.pb.h:99
std::unique_ptr< Time > TimeUniquePtr
Definition: time.pb.h:292
std::shared_ptr< const Time > ConstTimeSharedPtr
Definition: time.pb.h:295
std::shared_ptr< Time > TimeSharedPtr
Definition: time.pb.h:294
std::unique_ptr< const Time > ConstTimeUniquePtr
Definition: time.pb.h:293
IGNITION_MSGS_VISIBLE TimeDefaultTypeInternal _Time_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)
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2ftime_2eproto