Go to the documentation of this file.
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2ftimestamp_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2ftimestamp_2eproto
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3009000
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 3009001 < 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/inlined_string_field.h>
29 #include <google/protobuf/metadata.h>
30 #include <google/protobuf/generated_message_reflection.h>
31 #include <google/protobuf/message.h>
32 #include <google/protobuf/repeated_field.h>
33 #include <google/protobuf/extension_set.h>
34 #include <google/protobuf/unknown_field_set.h>
36 #include <google/protobuf/port_def.inc>
37 #define PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2ftimestamp_2eproto PROTOBUF_EXPORT
38 PROTOBUF_NAMESPACE_OPEN
42 PROTOBUF_NAMESPACE_CLOSE
46 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
48 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
50 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
52 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
53 static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
57 PROTOBUF_NAMESPACE_OPEN
61 PROTOBUF_NAMESPACE_CLOSE
62 PROTOBUF_NAMESPACE_OPEN
64 PROTOBUF_NAMESPACE_CLOSE
65 PROTOBUF_NAMESPACE_OPEN
86 if (GetArenaNoVirtual() ==
from.GetArenaNoVirtual()) {
87 if (
this != &
from) InternalSwap(&
from);
95 return GetArenaNoVirtual();
98 return MaybeArenaPtr();
104 return GetMetadataStatic().descriptor;
107 return GetMetadataStatic().reflection;
109 static const Timestamp& default_instance();
111 static void InitAsDefaultInstance();
113 return reinterpret_cast<const Timestamp*
>(
116 static constexpr
int kIndexInFileMessages =
123 if (other ==
this)
return;
131 if (other ==
this)
return;
139 return CreateMaybeMessage<Timestamp>(
nullptr);
143 return CreateMaybeMessage<Timestamp>(
arena);
149 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
152 size_t ByteSizeLong()
const final;
154 ::PROTOBUF_NAMESPACE_ID::
uint8* InternalSerializeWithCachedSizesToArray(
156 int GetCachedSize()
const final {
return _cached_size_.Get(); }
159 inline void SharedCtor();
160 inline void SharedDtor();
161 void SetCachedSize(
int size)
const final;
163 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
165 return "google.protobuf.Timestamp";
170 static void ArenaDtor(
void*
object);
174 return _internal_metadata_.arena();
177 return _internal_metadata_.raw_arena_ptr();
183 static ::PROTOBUF_NAMESPACE_ID::
Metadata GetMetadataStatic() {
195 kSecondsFieldNumber = 1,
196 kNanosFieldNumber = 2,
199 void clear_seconds();
221 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
227 friend struct ::TableStruct_google_2fprotobuf_2ftimestamp_2eproto;
235 #pragma GCC diagnostic push
236 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
281 #pragma GCC diagnostic pop
286 PROTOBUF_NAMESPACE_CLOSE
290 #include <google/protobuf/port_undef.inc>
291 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2ftimestamp_2eproto
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
std::chrono::duration< std::int_fast64_t > seconds
void _internal_set_nanos(::PROTOBUF_NAMESPACE_ID::int32 value)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
PROTOBUF_EXPORT TimestampDefaultTypeInternal _Timestamp_default_instance_
static PyObject * CopyFrom(CMessage *self, PyObject *arg)
GRPC_CUSTOM_MESSAGE Message
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
void GenericSwap(MessageLite *m1, MessageLite *m2)
const PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fprotobuf_2ftimestamp_2eproto
Timestamp(Timestamp &&from) noexcept
::PROTOBUF_NAMESPACE_ID::int64 seconds() const
Timestamp & operator=(const Timestamp &from)
grpc_core::ScopedArenaPtr arena
::PROTOBUF_NAMESPACE_ID::int32 nanos() const
void InternalArenaConstructable_
void * MaybeArenaPtr() const
::PROTOBUF_NAMESPACE_ID::int64 seconds_
::PROTOBUF_NAMESPACE_ID::int32 nanos_
constexpr absl::remove_reference_t< T > && move(T &&t) noexcept
void set_seconds(::PROTOBUF_NAMESPACE_ID::int64 value)
void DestructorSkippable_
struct Timestamp Timestamp
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_
void Swap(Timestamp *other)
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_
Timestamp * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
inline ::PROTOBUF_NAMESPACE_ID::Arena * GetArenaNoVirtual() const
Timestamp & operator=(Timestamp &&from) noexcept
void * GetMaybeArenaPointer() const final
friend void swap(Timestamp &a, Timestamp &b)
void set_nanos(::PROTOBUF_NAMESPACE_ID::int32 value)
::PROTOBUF_NAMESPACE_ID::int32 _internal_nanos() const
void UnsafeArenaSwap(Timestamp *other)
void _internal_set_seconds(::PROTOBUF_NAMESPACE_ID::int64 value)
::PROTOBUF_NAMESPACE_ID::int64 _internal_seconds() const
Timestamp * New() const final
void AssignDescriptors(const DescriptorTable *table)
std::vector< std::pair< std::string, std::string > > Metadata
GRPC_CUSTOM_DESCRIPTOR Descriptor
inline ::PROTOBUF_NAMESPACE_ID::Arena * GetArena() const final
static const Timestamp * internal_default_instance()
static ParentDescriptor GetDescriptor(PyContainer *self)
const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_google_2fprotobuf_2fany_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
grpc
Author(s):
autogenerated on Fri May 16 2025 03:00:38