Home | History | Annotate | Download | only in protobuf

Lines Matching refs:Timestamp

2 // source: google/protobuf/timestamp.proto
5 #include <google/protobuf/timestamp.pb.h>
36 "google/protobuf/timestamp.proto");
40 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Timestamp, seconds_),
41 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Timestamp, nanos_),
46 Timestamp::default_instance_,
51 sizeof(Timestamp),
52 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Timestamp, _internal_metadata_),
53 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Timestamp, _is_default_instance_));
67 Timestamp_descriptor_, &Timestamp::default_instance());
73 delete Timestamp::default_instance_;
84 "\n\037google/protobuf/timestamp.proto\022\017googl"
88 "tobuf/ptypes/timestamp\240\001\001\370\001\001\242\002\003GPB\252\002\036Goo"
91 "google/protobuf/timestamp.proto", &protobuf_RegisterTypes);
92 Timestamp::default_instance_ = new Timestamp();
93 Timestamp::default_instance_->InitAsDefaultInstance();
117 const int Timestamp::kSecondsFieldNumber;
118 const int Timestamp::kNanosFieldNumber;
121 Timestamp::Timestamp()
124 // @@protoc_insertion_point(constructor:google.protobuf.Timestamp)
127 Timestamp::Timestamp(::google::protobuf::Arena* arena)
132 // @@protoc_insertion_point(arena_constructor:google.protobuf.Timestamp)
135 void Timestamp::InitAsDefaultInstance() {
139 Timestamp::Timestamp(const Timestamp& from)
144 // @@protoc_insertion_point(copy_constructor:google.protobuf.Timestamp)
147 void Timestamp::SharedCtor() {
154 Timestamp::~Timestamp() {
155 // @@protoc_insertion_point(destructor:google.protobuf.Timestamp)
159 void Timestamp::SharedDtor() {
168 void Timestamp::ArenaDtor(void* object) {
169 Timestamp* _this = reinterpret_cast< Timestamp* >(object);
172 void Timestamp::RegisterArenaDtor(::google::protobuf::Arena* arena) {
174 void Timestamp::SetCachedSize(int size) const {
179 const ::google::protobuf::Descriptor* Timestamp::descriptor() {
184 const Timestamp& Timestamp::default_instance() {
189 Timestamp* Timestamp::default_instance_ = NULL;
191 Timestamp* Timestamp::New(::google::protobuf::Arena* arena) const {
192 return ::google::protobuf::Arena::CreateMessage<Timestamp>(arena);
195 void Timestamp::Clear() {
196 // @@protoc_insertion_point(message_clear_start:google.protobuf.Timestamp)
201 __builtin_offsetof(Timestamp, f) \
205 &reinterpret_cast<Timestamp*>(16)->f)
220 bool Timestamp::MergePartialFromCodedStream(
224 // @@protoc_insertion_point(parse_start:google.protobuf.Timestamp)
272 // @@protoc_insertion_point(parse_success:google.protobuf.Timestamp)
275 // @@protoc_insertion_point(parse_failure:google.protobuf.Timestamp)
280 void Timestamp::SerializeWithCachedSizes(
282 // @@protoc_insertion_point(serialize_start:google.protobuf.Timestamp)
293 // @@protoc_insertion_point(serialize_end:google.protobuf.Timestamp)
296 ::google::protobuf::uint8* Timestamp::SerializeWithCachedSizesToArray(
298 // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Timestamp)
309 // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.Timestamp)
313 int Timestamp::ByteSize() const {
314 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.Timestamp)
337 void Timestamp::MergeFrom(const ::google::protobuf::Message& from) {
338 // @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.Timestamp)
340 const Timestamp* source =
341 ::google::protobuf::internal::DynamicCastToGenerated<const Timestamp>(
344 // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.Timestamp)
347 // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.Timestamp)
352 void Timestamp::MergeFrom(const Timestamp& from) {
353 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Timestamp)
363 void Timestamp::CopyFrom(const ::google::protobuf::Message& from) {
364 // @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.Timestamp)
370 void Timestamp::CopyFrom(const Timestamp& from) {
371 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.Timestamp)
377 bool Timestamp::IsInitialized() const {
382 void Timestamp::Swap(Timestamp* other) {
387 Timestamp temp;
393 void Timestamp::UnsafeArenaSwap(Timestamp* other) {
398 void Timestamp::InternalSwap(Timestamp* other) {
405 ::google::protobuf::Metadata Timestamp::GetMetadata() const {
414 // Timestamp
417 void Timestamp::clear_seconds() {
420 ::google::protobuf::int64 Timestamp::seconds() const {
421 // @@protoc_insertion_point(field_get:google.protobuf.Timestamp.seconds)
424 void Timestamp::set_seconds(::google::protobuf::int64 value) {
427 // @@protoc_insertion_point(field_set:google.protobuf.Timestamp.seconds)
431 void Timestamp::clear_nanos() {
434 ::google::protobuf::int32 Timestamp::nanos() const {
435 // @@protoc_insertion_point(field_get:google.protobuf.Timestamp.nanos)
438 void Timestamp::set_nanos(::google::protobuf::int32 value) {
441 // @@protoc_insertion_point(field_set:google.protobuf.Timestamp.nanos)