bloaty/third_party/protobuf/src/google/protobuf/timestamp.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: google/protobuf/timestamp.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2ftimestamp_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2ftimestamp_2eproto
6 
7 #include <limits>
8 #include <string>
9 
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
14 #error your headers.
15 #endif
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.
20 #endif
21 
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> // IWYU pragma: export
33 #include <google/protobuf/extension_set.h> // IWYU pragma: export
34 #include <google/protobuf/unknown_field_set.h>
35 // @@protoc_insertion_point(includes)
36 #include <google/protobuf/port_def.inc>
37 #define PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2ftimestamp_2eproto PROTOBUF_EXPORT
38 PROTOBUF_NAMESPACE_OPEN
39 namespace internal {
40 class AnyMetadata;
41 } // namespace internal
42 PROTOBUF_NAMESPACE_CLOSE
43 
44 // Internal implementation detail -- do not use these members.
46  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
47  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
48  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
49  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
50  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
51  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
52  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
53  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
55 };
56 extern PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fprotobuf_2ftimestamp_2eproto;
57 PROTOBUF_NAMESPACE_OPEN
58 class Timestamp;
61 PROTOBUF_NAMESPACE_CLOSE
62 PROTOBUF_NAMESPACE_OPEN
63 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::Timestamp* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::Timestamp>(Arena*);
64 PROTOBUF_NAMESPACE_CLOSE
65 PROTOBUF_NAMESPACE_OPEN
66 
67 // ===================================================================
68 
69 class PROTOBUF_EXPORT Timestamp :
70  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Timestamp) */ {
71  public:
72  Timestamp();
73  virtual ~Timestamp();
74 
75  Timestamp(const Timestamp& from);
76  Timestamp(Timestamp&& from) noexcept
77  : Timestamp() {
78  *this = ::std::move(from);
79  }
80 
81  inline Timestamp& operator=(const Timestamp& from) {
82  CopyFrom(from);
83  return *this;
84  }
85  inline Timestamp& operator=(Timestamp&& from) noexcept {
86  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
87  if (this != &from) InternalSwap(&from);
88  } else {
89  CopyFrom(from);
90  }
91  return *this;
92  }
93 
95  return GetArenaNoVirtual();
96  }
97  inline void* GetMaybeArenaPointer() const final {
98  return MaybeArenaPtr();
99  }
101  return GetDescriptor();
102  }
104  return GetMetadataStatic().descriptor;
105  }
106  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
107  return GetMetadataStatic().reflection;
108  }
109  static const Timestamp& default_instance();
110 
111  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
112  static inline const Timestamp* internal_default_instance() {
113  return reinterpret_cast<const Timestamp*>(
115  }
116  static constexpr int kIndexInFileMessages =
117  0;
118 
119  friend void swap(Timestamp& a, Timestamp& b) {
120  a.Swap(&b);
121  }
122  inline void Swap(Timestamp* other) {
123  if (other == this) return;
124  if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
125  InternalSwap(other);
126  } else {
128  }
129  }
130  void UnsafeArenaSwap(Timestamp* other) {
131  if (other == this) return;
132  GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
133  InternalSwap(other);
134  }
135 
136  // implements Message ----------------------------------------------
137 
138  inline Timestamp* New() const final {
139  return CreateMaybeMessage<Timestamp>(nullptr);
140  }
141 
143  return CreateMaybeMessage<Timestamp>(arena);
144  }
147  void CopyFrom(const Timestamp& from);
148  void MergeFrom(const Timestamp& from);
149  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
150  bool IsInitialized() const final;
151 
152  size_t ByteSizeLong() const final;
153  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
154  ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
155  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
156  int GetCachedSize() const final { return _cached_size_.Get(); }
157 
158  private:
159  inline void SharedCtor();
160  inline void SharedDtor();
161  void SetCachedSize(int size) const final;
162  void InternalSwap(Timestamp* other);
163  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
164  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
165  return "google.protobuf.Timestamp";
166  }
167  protected:
169  private:
170  static void ArenaDtor(void* object);
171  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
172  private:
174  return _internal_metadata_.arena();
175  }
176  inline void* MaybeArenaPtr() const {
177  return _internal_metadata_.raw_arena_ptr();
178  }
179  public:
180 
181  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
182  private:
183  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
185  return ::descriptor_table_google_2fprotobuf_2ftimestamp_2eproto.file_level_metadata[kIndexInFileMessages];
186  }
187 
188  public:
189 
190  // nested types ----------------------------------------------------
191 
192  // accessors -------------------------------------------------------
193 
194  enum : int {
195  kSecondsFieldNumber = 1,
196  kNanosFieldNumber = 2,
197  };
198  // int64 seconds = 1;
199  void clear_seconds();
201  void set_seconds(::PROTOBUF_NAMESPACE_ID::int64 value);
202  private:
203  ::PROTOBUF_NAMESPACE_ID::int64 _internal_seconds() const;
204  void _internal_set_seconds(::PROTOBUF_NAMESPACE_ID::int64 value);
205  public:
206 
207  // int32 nanos = 2;
208  void clear_nanos();
209  ::PROTOBUF_NAMESPACE_ID::int32 nanos() const;
210  void set_nanos(::PROTOBUF_NAMESPACE_ID::int32 value);
211  private:
212  ::PROTOBUF_NAMESPACE_ID::int32 _internal_nanos() const;
213  void _internal_set_nanos(::PROTOBUF_NAMESPACE_ID::int32 value);
214  public:
215 
216  // @@protoc_insertion_point(class_scope:google.protobuf.Timestamp)
217  private:
218  class _Internal;
219 
220  ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
221  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
223  typedef void DestructorSkippable_;
226  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
227  friend struct ::TableStruct_google_2fprotobuf_2ftimestamp_2eproto;
228 };
229 // ===================================================================
230 
231 
232 // ===================================================================
233 
234 #ifdef __GNUC__
235  #pragma GCC diagnostic push
236  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
237 #endif // __GNUC__
238 // Timestamp
239 
240 // int64 seconds = 1;
242  seconds_ = PROTOBUF_LONGLONG(0);
243 }
245  return seconds_;
246 }
248  // @@protoc_insertion_point(field_get:google.protobuf.Timestamp.seconds)
249  return _internal_seconds();
250 }
252 
253  seconds_ = value;
254 }
257  // @@protoc_insertion_point(field_set:google.protobuf.Timestamp.seconds)
258 }
259 
260 // int32 nanos = 2;
261 inline void Timestamp::clear_nanos() {
262  nanos_ = 0;
263 }
265  return nanos_;
266 }
268  // @@protoc_insertion_point(field_get:google.protobuf.Timestamp.nanos)
269  return _internal_nanos();
270 }
272 
273  nanos_ = value;
274 }
277  // @@protoc_insertion_point(field_set:google.protobuf.Timestamp.nanos)
278 }
279 
280 #ifdef __GNUC__
281  #pragma GCC diagnostic pop
282 #endif // __GNUC__
283 
284 // @@protoc_insertion_point(namespace_scope)
285 
286 PROTOBUF_NAMESPACE_CLOSE
287 
288 // @@protoc_insertion_point(global_scope)
289 
290 #include <google/protobuf/port_undef.inc>
291 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2ftimestamp_2eproto
Timestamp::GetDescriptor
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: bloaty/third_party/protobuf/src/google/protobuf/timestamp.pb.h:103
ptr
char * ptr
Definition: abseil-cpp/absl/base/internal/low_level_alloc_test.cc:45
absl::time_internal::cctz::seconds
std::chrono::duration< std::int_fast64_t > seconds
Definition: abseil-cpp/absl/time/internal/cctz/include/cctz/time_zone.h:40
Arena
struct Arena Arena
Definition: third_party/bloaty/third_party/protobuf/src/google/protobuf/arena.h:189
ctx
Definition: benchmark-async.c:30
const
#define const
Definition: bloaty/third_party/zlib/zconf.h:230
Timestamp::_internal_set_nanos
void _internal_set_nanos(::PROTOBUF_NAMESPACE_ID::int32 value)
Definition: bloaty/third_party/protobuf/src/google/protobuf/timestamp.pb.h:271
Timestamp::descriptor
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: bloaty/third_party/protobuf/src/google/protobuf/timestamp.pb.h:100
Timestamp
Definition: bloaty/third_party/protobuf/src/google/protobuf/timestamp.pb.h:69
google::protobuf::int64
int64_t int64
Definition: third_party/bloaty/third_party/protobuf/src/google/protobuf/stubs/port.h:151
_Timestamp_default_instance_
PROTOBUF_EXPORT TimestampDefaultTypeInternal _Timestamp_default_instance_
Definition: protobuf/src/google/protobuf/timestamp.pb.cc:32
google::protobuf.internal.python_message.MergeFrom
MergeFrom
Definition: bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py:1339
TimestampDefaultTypeInternal
Definition: bloaty/third_party/protobuf/src/google/protobuf/timestamp.pb.cc:18
google::protobuf::uint8
uint8_t uint8
Definition: third_party/bloaty/third_party/protobuf/src/google/protobuf/stubs/port.h:153
GOOGLE_DCHECK
#define GOOGLE_DCHECK
Definition: bloaty/third_party/protobuf/src/google/protobuf/stubs/logging.h:194
google::protobuf::python::cmessage::CopyFrom
static PyObject * CopyFrom(CMessage *self, PyObject *arg)
Definition: bloaty/third_party/protobuf/python/google/protobuf/pyext/message.cc:1862
Arena
Definition: arena.c:39
grpc::protobuf::Message
GRPC_CUSTOM_MESSAGE Message
Definition: include/grpcpp/impl/codegen/config_protobuf.h:78
google::protobuf::uint32
uint32_t uint32
Definition: third_party/bloaty/third_party/protobuf/src/google/protobuf/stubs/port.h:155
Timestamp::GetReflection
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: bloaty/third_party/protobuf/src/google/protobuf/timestamp.pb.h:106
TableStruct_google_2fprotobuf_2ftimestamp_2eproto
Definition: bloaty/third_party/protobuf/src/google/protobuf/timestamp.pb.h:45
Timestamp::FullMessageName
::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
Definition: bloaty/third_party/protobuf/src/google/protobuf/timestamp.pb.h:164
a
int a
Definition: abseil-cpp/absl/container/internal/hash_policy_traits_test.cc:88
google::protobuf.internal::GenericSwap
void GenericSwap(MessageLite *m1, MessageLite *m2)
Definition: bloaty/third_party/protobuf/src/google/protobuf/generated_message_util.cc:735
google::protobuf.internal.python_message._InternalParse
_InternalParse
Definition: bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py:1196
descriptor_table_google_2fprotobuf_2ftimestamp_2eproto
const PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fprotobuf_2ftimestamp_2eproto
Definition: bloaty/third_party/protobuf/src/google/protobuf/timestamp.pb.cc:73
Timestamp::Timestamp
Timestamp(Timestamp &&from) noexcept
Definition: bloaty/third_party/protobuf/src/google/protobuf/timestamp.pb.h:76
Timestamp::seconds
::PROTOBUF_NAMESPACE_ID::int64 seconds() const
Definition: bloaty/third_party/protobuf/src/google/protobuf/timestamp.pb.h:247
Timestamp::operator=
Timestamp & operator=(const Timestamp &from)
Definition: bloaty/third_party/protobuf/src/google/protobuf/timestamp.pb.h:81
arena
grpc_core::ScopedArenaPtr arena
Definition: binder_transport_test.cc:237
Timestamp::nanos
::PROTOBUF_NAMESPACE_ID::int32 nanos() const
Definition: bloaty/third_party/protobuf/src/google/protobuf/timestamp.pb.h:267
Timestamp::InternalArenaConstructable_
void InternalArenaConstructable_
Definition: bloaty/third_party/protobuf/src/google/protobuf/timestamp.pb.h:222
from
size_t from
Definition: abseil-cpp/absl/container/internal/layout_test.cc:1384
Timestamp::MaybeArenaPtr
void * MaybeArenaPtr() const
Definition: bloaty/third_party/protobuf/src/google/protobuf/timestamp.pb.h:176
Timestamp::seconds_
::PROTOBUF_NAMESPACE_ID::int64 seconds_
Definition: bloaty/third_party/protobuf/src/google/protobuf/timestamp.pb.h:224
Timestamp::nanos_
::PROTOBUF_NAMESPACE_ID::int32 nanos_
Definition: bloaty/third_party/protobuf/src/google/protobuf/timestamp.pb.h:225
google::protobuf::int32
int32_t int32
Definition: third_party/bloaty/third_party/protobuf/src/google/protobuf/stubs/port.h:150
absl::move
constexpr absl::remove_reference_t< T > && move(T &&t) noexcept
Definition: abseil-cpp/absl/utility/utility.h:221
Timestamp::set_seconds
void set_seconds(::PROTOBUF_NAMESPACE_ID::int64 value)
Definition: bloaty/third_party/protobuf/src/google/protobuf/timestamp.pb.h:255
Timestamp::DestructorSkippable_
void DestructorSkippable_
Definition: bloaty/third_party/protobuf/src/google/protobuf/timestamp.pb.h:223
Timestamp
struct Timestamp Timestamp
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/protobuf.h:672
Timestamp::clear_seconds
void clear_seconds()
Definition: bloaty/third_party/protobuf/src/google/protobuf/timestamp.pb.h:241
Timestamp::_internal_metadata_
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_
Definition: bloaty/third_party/protobuf/src/google/protobuf/timestamp.pb.h:218
Timestamp::Swap
void Swap(Timestamp *other)
Definition: bloaty/third_party/protobuf/src/google/protobuf/timestamp.pb.h:122
io
b
uint64_t b
Definition: abseil-cpp/absl/container/internal/layout_test.cc:53
Timestamp::clear_nanos
void clear_nanos()
Definition: bloaty/third_party/protobuf/src/google/protobuf/timestamp.pb.h:261
Timestamp::_cached_size_
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_
Definition: bloaty/third_party/protobuf/src/google/protobuf/timestamp.pb.h:226
value
const char * value
Definition: hpack_parser_table.cc:165
Timestamp::New
Timestamp * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: bloaty/third_party/protobuf/src/google/protobuf/timestamp.pb.h:142
Timestamp::GetArenaNoVirtual
inline ::PROTOBUF_NAMESPACE_ID::Arena * GetArenaNoVirtual() const
Definition: bloaty/third_party/protobuf/src/google/protobuf/timestamp.pb.h:173
Timestamp::operator=
Timestamp & operator=(Timestamp &&from) noexcept
Definition: bloaty/third_party/protobuf/src/google/protobuf/timestamp.pb.h:85
Timestamp::GetMaybeArenaPointer
void * GetMaybeArenaPointer() const final
Definition: bloaty/third_party/protobuf/src/google/protobuf/timestamp.pb.h:97
google::protobuf.internal.python_message.Clear
Clear
Definition: bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py:1430
Timestamp::swap
friend void swap(Timestamp &a, Timestamp &b)
Definition: bloaty/third_party/protobuf/src/google/protobuf/timestamp.pb.h:119
Timestamp::set_nanos
void set_nanos(::PROTOBUF_NAMESPACE_ID::int32 value)
Definition: bloaty/third_party/protobuf/src/google/protobuf/timestamp.pb.h:275
Timestamp::_internal_nanos
::PROTOBUF_NAMESPACE_ID::int32 _internal_nanos() const
Definition: bloaty/third_party/protobuf/src/google/protobuf/timestamp.pb.h:264
Timestamp::UnsafeArenaSwap
void UnsafeArenaSwap(Timestamp *other)
Definition: bloaty/third_party/protobuf/src/google/protobuf/timestamp.pb.h:130
Timestamp::_internal_set_seconds
void _internal_set_seconds(::PROTOBUF_NAMESPACE_ID::int64 value)
Definition: bloaty/third_party/protobuf/src/google/protobuf/timestamp.pb.h:251
google::protobuf.internal.python_message.IsInitialized
IsInitialized
Definition: bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py:1245
Timestamp::_internal_seconds
::PROTOBUF_NAMESPACE_ID::int64 _internal_seconds() const
Definition: bloaty/third_party/protobuf/src/google/protobuf/timestamp.pb.h:244
internal
Definition: benchmark/test/output_test_helper.cc:20
Timestamp::New
Timestamp * New() const final
Definition: bloaty/third_party/protobuf/src/google/protobuf/timestamp.pb.h:138
google::protobuf.internal::AssignDescriptors
void AssignDescriptors(const DescriptorTable *table)
Definition: bloaty/third_party/protobuf/src/google/protobuf/generated_message_reflection.cc:2404
grpc_binder::Metadata
std::vector< std::pair< std::string, std::string > > Metadata
Definition: transaction.h:38
grpc::protobuf::Descriptor
GRPC_CUSTOM_DESCRIPTOR Descriptor
Definition: include/grpcpp/impl/codegen/config_protobuf.h:81
size
voidpf void uLong size
Definition: bloaty/third_party/zlib/contrib/minizip/ioapi.h:136
Timestamp::GetArena
inline ::PROTOBUF_NAMESPACE_ID::Arena * GetArena() const final
Definition: bloaty/third_party/protobuf/src/google/protobuf/timestamp.pb.h:94
setup.target
target
Definition: third_party/bloaty/third_party/protobuf/python/setup.py:179
Timestamp::internal_default_instance
static const Timestamp * internal_default_instance()
Definition: bloaty/third_party/protobuf/src/google/protobuf/timestamp.pb.h:112
google::protobuf::python::message_descriptor::GetDescriptor
static ParentDescriptor GetDescriptor(PyContainer *self)
Definition: bloaty/third_party/protobuf/python/google/protobuf/pyext/descriptor_containers.cc:951
PROTOBUF_SECTION_VARIABLE
const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_google_2fprotobuf_2fany_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
stream
voidpf stream
Definition: bloaty/third_party/zlib/contrib/minizip/ioapi.h:136


grpc
Author(s):
autogenerated on Fri May 16 2025 03:00:38