Lines Matching refs:protobuf
2 // source: google/protobuf/timestamp.proto
9 #include <google/protobuf/stubs/common.h>
22 #include <google/protobuf/arena.h>
23 #include <google/protobuf/arenastring.h>
24 #include <google/protobuf/generated_message_util.h>
25 #include <google/protobuf/metadata.h>
26 #include <google/protobuf/message.h>
27 #include <google/protobuf/repeated_field.h>
28 #include <google/protobuf/extension_set.h>
29 #include <google/protobuf/unknown_field_set.h>
33 namespace protobuf {
44 class LIBPROTOBUF_EXPORT Timestamp : public ::google::protobuf::Message {
56 inline ::google::protobuf::Arena* GetArena() const { return GetArenaNoVirtual(); }
60 static const ::google::protobuf::Descriptor* descriptor();
70 Timestamp* New(::google::protobuf::Arena* arena) const;
71 void CopyFrom(const ::google::protobuf::Message& from);
72 void MergeFrom(const ::google::protobuf::Message& from);
80 ::google::protobuf::io::CodedInputStream* input);
82 ::google::protobuf::io::CodedOutputStream* output) const;
83 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
91 explicit Timestamp(::google::protobuf::Arena* arena);
94 inline void RegisterArenaDtor(::google::protobuf::Arena* arena);
96 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
104 ::google::protobuf::Metadata GetMetadata() const;
113 ::google::protobuf::int64 seconds() const;
114 void set_seconds(::google::protobuf::int64 value);
119 ::google::protobuf::int32 nanos() const;
120 void set_nanos(::google::protobuf::int32 value);
122 // @@protoc_insertion_point(class_scope:google.protobuf.Timestamp)
125 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
126 friend class ::google::protobuf::Arena;
130 ::google::protobuf::int64 seconds_;
131 ::google::protobuf::int32 nanos_;
152 inline ::google::protobuf::int64 Timestamp::seconds() const {
153 // @@protoc_insertion_point(field_get:google.protobuf.Timestamp.seconds)
156 inline void Timestamp::set_seconds(::google::protobuf::int64 value) {
159 // @@protoc_insertion_point(field_set:google.protobuf.Timestamp.seconds)
166 inline ::google::protobuf::int32 Timestamp::nanos() const {
167 // @@protoc_insertion_point(field_get:google.protobuf.Timestamp.nanos)
170 inline void Timestamp::set_nanos(::google::protobuf::int32 value) {
173 // @@protoc_insertion_point(field_set:google.protobuf.Timestamp.nanos)
180 } // namespace protobuf