4 #ifndef PROTOBUF_INCLUDED_gz_2fmsgs_2ftime_2eproto
5 #define PROTOBUF_INCLUDED_gz_2fmsgs_2ftime_2eproto
9 #include <google/protobuf/stubs/common.h>
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
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 3006001 < GOOGLE_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/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
29 #include <google/protobuf/message.h>
30 #include <google/protobuf/repeated_field.h>
31 #include <google/protobuf/extension_set.h>
32 #include <google/protobuf/unknown_field_set.h>
34 #define PROTOBUF_INTERNAL_EXPORT_protobuf_gz_2fmsgs_2ftime_2eproto GZ_MSGS_VISIBLE
39 static const ::google::protobuf::internal::ParseTableField entries[];
40 static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
41 static const ::google::protobuf::internal::ParseTable schema[1];
42 static const ::google::protobuf::internal::FieldMetadata field_metadata[];
43 static const ::google::protobuf::internal::SerializationTable serialization_table[];
44 static const ::google::protobuf::uint32 offsets[];
51 class TimeDefaultTypeInternal;
57 template<> GZ_MSGS_VISIBLE ::gz::msgs::Time* Arena::CreateMaybeMessage<::gz::msgs::Time>(Arena*);
65 class GZ_MSGS_VISIBLE
Time :
public ::google::protobuf::Message {
79 *
this = ::std::move(from);
82 inline Time& operator=(Time&& from) noexcept {
83 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
84 if (
this != &from) InternalSwap(&from);
91 static const ::google::protobuf::Descriptor* descriptor();
92 static const Time& default_instance();
94 static void InitAsDefaultInstance();
96 return reinterpret_cast<const Time*
>(
99 static constexpr
int kIndexInFileMessages =
102 void Swap(
Time* other);
110 return CreateMaybeMessage<Time>(NULL);
113 Time*
New(::google::protobuf::Arena* arena)
const final {
114 return CreateMaybeMessage<Time>(arena);
116 void CopyFrom(const ::google::protobuf::Message& from)
final;
117 void MergeFrom(const ::google::protobuf::Message& from)
final;
118 void CopyFrom(
const Time& from);
119 void MergeFrom(
const Time& from);
121 bool IsInitialized() const final;
123 size_t ByteSizeLong() const final;
124 bool MergePartialFromCodedStream(
125 ::
google::protobuf::io::CodedInputStream* input) final;
126 void SerializeWithCachedSizes(
127 ::
google::protobuf::io::CodedOutputStream* output) const final;
128 ::
google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
129 bool deterministic, ::
google::protobuf::uint8* target) const final;
130 int GetCachedSize() const final {
return _cached_size_.Get(); }
135 void SetCachedSize(
int size)
const final;
136 void InternalSwap(
Time* other);
138 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
141 inline void* MaybeArenaPtr()
const {
146 ::google::protobuf::Metadata GetMetadata() const final;
154 static const
int kSecFieldNumber = 1;
155 ::
google::protobuf::int64 sec() const;
156 void set_sec(::
google::protobuf::int64 value);
160 static const
int kNsecFieldNumber = 2;
161 ::
google::protobuf::int32 nsec() const;
162 void set_nsec(::
google::protobuf::int32 value);
167 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
168 ::
google::protobuf::int64 sec_;
169 ::
google::protobuf::int32 nsec_;
170 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
179 #pragma GCC diagnostic push
180 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
186 sec_ = GOOGLE_LONGLONG(0);
213 #pragma GCC diagnostic pop
223 #endif // PROTOBUF_INCLUDED_gz_2fmsgs_2ftime_2eproto