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 < 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
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.
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 ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
70 class 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 PROTOBUF_FINAL :
83 public ::PROTOBUF_NAMESPACE_ID::Message {
85 inline Time() : Time(nullptr) {}
91 *
this = ::std::move(from);
99 if (GetArena() == from.GetArena()) {
100 if (
this != &from) InternalSwap(&from);
107 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
108 return GetDescriptor();
111 return GetMetadataStatic().descriptor;
114 return GetMetadataStatic().reflection;
119 return reinterpret_cast<const Time*
>(
122 static constexpr
int kIndexInFileMessages =
125 friend void swap(Time& a, Time& b) {
128 inline void Swap(Time* other) {
129 if (other ==
this)
return;
130 if (GetArena() == other->GetArena()) {
133 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
137 if (other ==
this)
return;
138 GOOGLE_DCHECK(GetArena() == other->GetArena());
144 inline Time*
New() const final {
145 return CreateMaybeMessage<Time>(
nullptr);
148 Time*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
149 return CreateMaybeMessage<Time>(arena);
151 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
152 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
155 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
156 bool IsInitialized() const final;
158 size_t ByteSizeLong() const final;
159 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
160 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
161 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
162 int GetCachedSize() const final {
return _cached_size_.Get(); }
165 inline void SharedCtor();
166 inline void SharedDtor();
167 void SetCachedSize(
int size)
const final;
168 void InternalSwap(Time* other);
169 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
170 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
171 return "ignition.msgs.Time";
174 explicit Time(::PROTOBUF_NAMESPACE_ID::Arena* arena);
176 static void ArenaDtor(
void*
object);
177 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
182 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
195 kNsecFieldNumber = 2,
199 ::PROTOBUF_NAMESPACE_ID::int64
sec()
const;
200 void set_sec(::PROTOBUF_NAMESPACE_ID::int64 value);
202 ::PROTOBUF_NAMESPACE_ID::int64 _internal_sec()
const;
203 void _internal_set_sec(::PROTOBUF_NAMESPACE_ID::int64 value);
208 ::PROTOBUF_NAMESPACE_ID::int32
nsec()
const;
209 void set_nsec(::PROTOBUF_NAMESPACE_ID::int32 value);
211 ::PROTOBUF_NAMESPACE_ID::int32 _internal_nsec()
const;
212 void _internal_set_nsec(::PROTOBUF_NAMESPACE_ID::int32 value);
219 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
220 typedef void InternalArenaConstructable_;
221 typedef void DestructorSkippable_;
222 ::PROTOBUF_NAMESPACE_ID::int64 sec_;
223 ::PROTOBUF_NAMESPACE_ID::int32 nsec_;
224 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
225 friend struct ::TableStruct_ignition_2fmsgs_2ftime_2eproto;
233 #pragma GCC diagnostic push
234 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
239 inline void Time::clear_sec() {
240 sec_ = PROTOBUF_LONGLONG(0);
242 inline ::PROTOBUF_NAMESPACE_ID::int64 Time::_internal_sec()
const {
245 inline ::PROTOBUF_NAMESPACE_ID::int64 Time::sec()
const {
247 return _internal_sec();
249 inline void Time::_internal_set_sec(::PROTOBUF_NAMESPACE_ID::int64 value) {
253 inline void Time::set_sec(::PROTOBUF_NAMESPACE_ID::int64 value) {
254 _internal_set_sec(value);
259 inline void Time::clear_nsec() {
262 inline ::PROTOBUF_NAMESPACE_ID::int32 Time::_internal_nsec()
const {
265 inline ::PROTOBUF_NAMESPACE_ID::int32 Time::nsec()
const {
267 return _internal_nsec();
269 inline void Time::_internal_set_nsec(::PROTOBUF_NAMESPACE_ID::int32 value) {
273 inline void Time::set_nsec(::PROTOBUF_NAMESPACE_ID::int32 value) {
274 _internal_set_nsec(value);
279 #pragma GCC diagnostic pop
296 #include <google/protobuf/port_undef.inc>
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: time.pb.h:113
::PROTOBUF_NAMESPACE_ID::int64 sec() const
void MergeFrom(const Time &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const Time * internal_default_instance()
Definition: time.pb.h:118
::PROTOBUF_NAMESPACE_ID::int32 nsec() const
void UnsafeArenaSwap(Time *other)
Definition: time.pb.h:136
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: time.pb.h:107
Time(Time &&from) noexcept
Definition: time.pb.h:89
Time()
Definition: time.pb.h:85
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
Time * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: time.pb.h:148
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void set_nsec(::PROTOBUF_NAMESPACE_ID::int32 value)
void CopyFrom(const Time &from)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: time.pb.h:110
Time * New() const final
Definition: time.pb.h:144
Time & operator=(const Time &from)
Definition: time.pb.h:94
void Swap(Time *other)
Definition: time.pb.h:128
Time(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void set_sec(::PROTOBUF_NAMESPACE_ID::int64 value)
friend void swap(Time &a, Time &b)
Definition: time.pb.h:125
static const Time & default_instance()
Time & operator=(Time &&from) noexcept
Definition: time.pb.h:98
std::unique_ptr< Time > TimeUniquePtr
Definition: time.pb.h:282
std::shared_ptr< const Time > ConstTimeSharedPtr
Definition: time.pb.h:285
std::shared_ptr< Time > TimeSharedPtr
Definition: time.pb.h:284
std::unique_ptr< const Time > ConstTimeUniquePtr
Definition: time.pb.h:283
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