empty.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: google/protobuf/empty.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fempty_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fempty_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 3009002 < 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>
24 #include <google/protobuf/arena.h>
32 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
33 #include <google/protobuf/extension_set.h> // IWYU pragma: export
35 // @@protoc_insertion_point(includes)
36 #include <google/protobuf/port_def.inc>
37 #define PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fempty_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_2fempty_2eproto;
57 PROTOBUF_NAMESPACE_OPEN
58 class Empty;
61 PROTOBUF_NAMESPACE_CLOSE
62 PROTOBUF_NAMESPACE_OPEN
63 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::Empty* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::Empty>(Arena*);
64 PROTOBUF_NAMESPACE_CLOSE
65 PROTOBUF_NAMESPACE_OPEN
66 
67 // ===================================================================
68 
69 class PROTOBUF_EXPORT Empty :
70  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Empty) */ {
71  public:
72  Empty();
73  virtual ~Empty();
74 
75  Empty(const Empty& from);
76  Empty(Empty&& from) noexcept
77  : Empty() {
78  *this = ::std::move(from);
79  }
80 
81  inline Empty& operator=(const Empty& from) {
82  CopyFrom(from);
83  return *this;
84  }
85  inline Empty& operator=(Empty&& from) noexcept {
86  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
87  if (this != &from) InternalSwap(&from);
88  } else {
89  CopyFrom(from);
90  }
91  return *this;
92  }
93 
94  inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
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 Empty& default_instance();
110 
111  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
112  static inline const Empty* internal_default_instance() {
113  return reinterpret_cast<const Empty*>(
115  }
116  static constexpr int kIndexInFileMessages =
117  0;
118 
119  friend void swap(Empty& a, Empty& b) {
120  a.Swap(&b);
121  }
122  inline void Swap(Empty* other) {
123  if (other == this) return;
124  if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
125  InternalSwap(other);
126  } else {
128  }
129  }
130  void UnsafeArenaSwap(Empty* other) {
131  if (other == this) return;
132  GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
133  InternalSwap(other);
134  }
135 
136  // implements Message ----------------------------------------------
137 
138  inline Empty* New() const final {
139  return CreateMaybeMessage<Empty>(nullptr);
140  }
141 
142  Empty* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
143  return CreateMaybeMessage<Empty>(arena);
144  }
145  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
146  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
147  void CopyFrom(const Empty& from);
148  void MergeFrom(const Empty& from);
149  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
150  bool IsInitialized() const final;
151 
152  size_t ByteSizeLong() const final;
153  #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
154  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
155  #else
157  ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
158  #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
159  void SerializeWithCachedSizes(
160  ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
161  ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
162  ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
163  int GetCachedSize() const final { return _cached_size_.Get(); }
164 
165  private:
166  inline void SharedCtor();
167  inline void SharedDtor();
168  void SetCachedSize(int size) const final;
169  void InternalSwap(Empty* other);
170  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
171  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
172  return "google.protobuf.Empty";
173  }
174  protected:
175  explicit Empty(::PROTOBUF_NAMESPACE_ID::Arena* arena);
176  private:
177  static void ArenaDtor(void* object);
178  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
179  private:
180  inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
181  return _internal_metadata_.arena();
182  }
183  inline void* MaybeArenaPtr() const {
184  return _internal_metadata_.raw_arena_ptr();
185  }
186  public:
187 
188  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
189  private:
190  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
192  return ::descriptor_table_google_2fprotobuf_2fempty_2eproto.file_level_metadata[kIndexInFileMessages];
193  }
194 
195  public:
196 
197  // nested types ----------------------------------------------------
198 
199  // accessors -------------------------------------------------------
200 
201  // @@protoc_insertion_point(class_scope:google.protobuf.Empty)
202  private:
203  class _Internal;
204 
205  ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
206  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
208  typedef void DestructorSkippable_;
209  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
210  friend struct ::TableStruct_google_2fprotobuf_2fempty_2eproto;
211 };
212 // ===================================================================
213 
214 
215 // ===================================================================
216 
217 #ifdef __GNUC__
218  #pragma GCC diagnostic push
219  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
220 #endif // __GNUC__
221 // Empty
222 
223 #ifdef __GNUC__
224  #pragma GCC diagnostic pop
225 #endif // __GNUC__
226 
227 // @@protoc_insertion_point(namespace_scope)
228 
229 PROTOBUF_NAMESPACE_CLOSE
230 
231 // @@protoc_insertion_point(global_scope)
232 
233 #include <google/protobuf/port_undef.inc>
234 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fempty_2eproto
PROTOBUF_SECTION_VARIABLE
const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_google_2fprotobuf_2fany_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
Empty::New
Empty * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: empty.pb.h:142
arenastring.h
benchmarks.python.py_benchmark.const
const
Definition: py_benchmark.py:14
_Empty_default_instance_
PROTOBUF_EXPORT EmptyDefaultTypeInternal _Empty_default_instance_
google::protobuf.internal.python_message.MergeFrom
MergeFrom
Definition: python_message.py:1340
input
std::string input
Definition: tokenizer_unittest.cc:197
extension_set.h
inlined_string_field.h
google::protobuf::uint8
uint8_t uint8
Definition: protobuf/src/google/protobuf/stubs/port.h:153
Empty::Swap
void Swap(Empty *other)
Definition: empty.pb.h:122
Empty::GetCachedSize
int GetCachedSize() const final
Definition: empty.pb.h:163
GOOGLE_DCHECK
#define GOOGLE_DCHECK
Definition: logging.h:194
google::protobuf::python::cmessage::CopyFrom
static PyObject * CopyFrom(CMessage *self, PyObject *arg)
Definition: python/google/protobuf/pyext/message.cc:1861
google::protobuf::uint32
uint32_t uint32
Definition: protobuf/src/google/protobuf/stubs/port.h:155
Empty::GetArenaNoVirtual
inline ::PROTOBUF_NAMESPACE_ID::Arena * GetArenaNoVirtual() const
Definition: empty.pb.h:180
Empty::swap
friend void swap(Empty &a, Empty &b)
Definition: empty.pb.h:119
generated_message_reflection.h
google::protobuf.internal::GenericSwap
void GenericSwap(MessageLite *m1, MessageLite *m2)
Definition: generated_message_util.cc:750
target
GLenum target
Definition: glcorearb.h:3739
google::protobuf.internal.python_message._InternalParse
_InternalParse
Definition: python_message.py:1197
Empty::_cached_size_
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_
Definition: empty.pb.h:209
Empty::internal_default_instance
static const Empty * internal_default_instance()
Definition: empty.pb.h:112
b
GLboolean GLboolean GLboolean b
Definition: glcorearb.h:3228
google::protobuf.internal::MergePartialFromCodedStream
bool MergePartialFromCodedStream(MessageLite *msg, const ParseTable &table, io::CodedInputStream *input)
Definition: generated_message_table_driven.cc:96
unknown_field_set.h
EmptyDefaultTypeInternal
Definition: empty.pb.cc:19
coded_stream.h
Empty::Empty
Empty(Empty &&from) noexcept
Definition: empty.pb.h:76
Empty::InternalArenaConstructable_
void InternalArenaConstructable_
Definition: empty.pb.h:207
Empty::_internal_metadata_
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_
Definition: empty.pb.h:203
message.h
Empty::FullMessageName
::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
Definition: empty.pb.h:171
repeated_field.h
generated_message_table_driven.h
Descriptor
struct Descriptor Descriptor
Definition: php/ext/google/protobuf/protobuf.h:628
Empty::DestructorSkippable_
void DestructorSkippable_
Definition: empty.pb.h:208
google::protobuf.internal.python_message.Clear
Clear
Definition: python_message.py:1431
Empty::GetMaybeArenaPointer
void * GetMaybeArenaPointer() const final
Definition: empty.pb.h:97
Empty
Definition: empty.pb.h:69
size
GLsizeiptr size
Definition: glcorearb.h:2943
arena.h
metadata.h
Empty::GetDescriptor
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: empty.pb.h:103
generated_message_util.h
Empty::operator=
Empty & operator=(const Empty &from)
Definition: empty.pb.h:81
Empty::MaybeArenaPtr
void * MaybeArenaPtr() const
Definition: empty.pb.h:183
google::protobuf.internal.python_message.IsInitialized
IsInitialized
Definition: python_message.py:1246
Empty::GetReflection
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: empty.pb.h:106
Empty::UnsafeArenaSwap
void UnsafeArenaSwap(Empty *other)
Definition: empty.pb.h:130
internal
Definition: any.pb.h:40
google::protobuf.internal::AssignDescriptors
void AssignDescriptors(const DescriptorTable *table)
Definition: generated_message_reflection.cc:2403
Empty::GetArena
inline ::PROTOBUF_NAMESPACE_ID::Arena * GetArena() const final
Definition: empty.pb.h:94
TableStruct_google_2fprotobuf_2fempty_2eproto
Definition: empty.pb.h:45
Empty::descriptor
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: empty.pb.h:100
output
const upb_json_parsermethod const upb_symtab upb_sink * output
Definition: ruby/ext/google/protobuf_c/upb.h:10503
Empty::_Internal
Definition: empty.pb.cc:86
descriptor_table_google_2fprotobuf_2fempty_2eproto
const PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fempty_2eproto
Definition: empty.pb.cc:71
a
GLboolean GLboolean GLboolean GLboolean a
Definition: glcorearb.h:3228
Empty::operator=
Empty & operator=(Empty &&from) noexcept
Definition: empty.pb.h:85
Empty::New
Empty * New() const final
Definition: empty.pb.h:138
google::protobuf::python::message_descriptor::GetDescriptor
static ParentDescriptor GetDescriptor(PyContainer *self)
Definition: descriptor_containers.cc:950


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:06:50