protobuf/src/google/protobuf/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 < 3019000
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 3019005 < 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>
27 #include <google/protobuf/generated_message_table_driven.h>
28 #include <google/protobuf/generated_message_util.h>
29 #include <google/protobuf/metadata_lite.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_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.
45 struct PROTOBUF_EXPORT TableStruct_google_2fprotobuf_2fempty_2eproto {
46  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
47  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
48  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField 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[];
54  static const uint32_t offsets[];
55 };
56 PROTOBUF_EXPORT extern 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 final :
70  public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:google.protobuf.Empty) */ {
71  public:
72  inline Empty() : Empty(nullptr) {}
73  explicit constexpr Empty(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
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 (this == &from) return *this;
87  if (GetOwningArena() == from.GetOwningArena()
88  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
89  && GetOwningArena() != nullptr
90  #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
91  ) {
92  InternalSwap(&from);
93  } else {
94  CopyFrom(from);
95  }
96  return *this;
97  }
98 
100  return GetDescriptor();
101  }
103  return default_instance().GetMetadata().descriptor;
104  }
105  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
106  return default_instance().GetMetadata().reflection;
107  }
108  static const Empty& default_instance() {
109  return *internal_default_instance();
110  }
111  static inline const Empty* internal_default_instance() {
112  return reinterpret_cast<const Empty*>(
114  }
115  static constexpr int kIndexInFileMessages =
116  0;
117 
118  friend void swap(Empty& a, Empty& b) {
119  a.Swap(&b);
120  }
121  inline void Swap(Empty* other) {
122  if (other == this) return;
123  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
124  if (GetOwningArena() != nullptr &&
125  GetOwningArena() == other->GetOwningArena()) {
126  #else // PROTOBUF_FORCE_COPY_IN_SWAP
127  if (GetOwningArena() == other->GetOwningArena()) {
128  #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
129  InternalSwap(other);
130  } else {
132  }
133  }
134  void UnsafeArenaSwap(Empty* other) {
135  if (other == this) return;
136  GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
137  InternalSwap(other);
138  }
139 
140  // implements Message ----------------------------------------------
141 
143  return CreateMaybeMessage<Empty>(arena);
144  }
146  inline void CopyFrom(const Empty& from) {
147  ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
148  }
150  void MergeFrom(const Empty& from) {
151  ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
152  }
153  public:
154 
155  private:
156  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
157  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
158  return "google.protobuf.Empty";
159  }
160  protected:
162  bool is_message_owned = false);
163  private:
164  public:
165 
166  static const ClassData _class_data_;
167  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
168 
169  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
170 
171  // nested types ----------------------------------------------------
172 
173  // accessors -------------------------------------------------------
174 
175  // @@protoc_insertion_point(class_scope:google.protobuf.Empty)
176  private:
177  class _Internal;
178 
179  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
181  typedef void DestructorSkippable_;
182  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
184 };
185 // ===================================================================
186 
187 
188 // ===================================================================
189 
190 #ifdef __GNUC__
191  #pragma GCC diagnostic push
192  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
193 #endif // __GNUC__
194 // Empty
195 
196 #ifdef __GNUC__
197  #pragma GCC diagnostic pop
198 #endif // __GNUC__
199 
200 // @@protoc_insertion_point(namespace_scope)
201 
202 PROTOBUF_NAMESPACE_CLOSE
203 
204 // @@protoc_insertion_point(global_scope)
205 
206 #include <google/protobuf/port_undef.inc>
207 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fempty_2eproto
Empty::Swap
void Swap(Empty *other)
Definition: protobuf/src/google/protobuf/empty.pb.h:121
Arena
struct Arena Arena
Definition: third_party/bloaty/third_party/protobuf/src/google/protobuf/arena.h:189
const
#define const
Definition: bloaty/third_party/zlib/zconf.h:230
Empty::swap
friend void swap(Empty &a, Empty &b)
Definition: protobuf/src/google/protobuf/empty.pb.h:118
Empty::UnsafeArenaSwap
void UnsafeArenaSwap(Empty *other)
Definition: protobuf/src/google/protobuf/empty.pb.h:134
Empty::internal_default_instance
static const Empty * internal_default_instance()
Definition: protobuf/src/google/protobuf/empty.pb.h:111
Empty::Empty
Empty(Empty &&from) noexcept
Definition: protobuf/src/google/protobuf/empty.pb.h:76
google::protobuf.internal.python_message.MergeFrom
MergeFrom
Definition: bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py:1339
Empty::CopyFrom
void CopyFrom(const Empty &from)
Definition: protobuf/src/google/protobuf/empty.pb.h:146
Empty::Empty
Empty()
Definition: protobuf/src/google/protobuf/empty.pb.h:72
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
Empty::FullMessageName
::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
Definition: protobuf/src/google/protobuf/empty.pb.h:157
Empty::operator=
Empty & operator=(Empty &&from) noexcept
Definition: protobuf/src/google/protobuf/empty.pb.h:85
Empty::default_instance
static const Empty & default_instance()
Definition: protobuf/src/google/protobuf/empty.pb.h:108
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
T
#define T(upbtypeconst, upbtype, ctype, default_value)
gen_build_yaml.struct
def struct(**kwargs)
Definition: test/core/end2end/gen_build_yaml.py:30
arena
grpc_core::ScopedArenaPtr arena
Definition: binder_transport_test.cc:237
Empty::descriptor
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: protobuf/src/google/protobuf/empty.pb.h:99
uint32_t
unsigned int uint32_t
Definition: stdint-msvc2008.h:80
_Empty_default_instance_
PROTOBUF_EXPORT EmptyDefaultTypeInternal _Empty_default_instance_
Definition: protobuf/src/google/protobuf/empty.pb.cc:30
from
size_t from
Definition: abseil-cpp/absl/container/internal/layout_test.cc:1384
Empty::InternalArenaConstructable_
void InternalArenaConstructable_
Definition: bloaty/third_party/protobuf/src/google/protobuf/empty.pb.h:200
absl::move
constexpr absl::remove_reference_t< T > && move(T &&t) noexcept
Definition: abseil-cpp/absl/utility/utility.h:221
descriptor_table_google_2fprotobuf_2fempty_2eproto
PROTOBUF_EXPORTconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fempty_2eproto
Definition: bloaty/third_party/protobuf/src/google/protobuf/empty.pb.cc:70
EmptyDefaultTypeInternal
Definition: bloaty/third_party/protobuf/src/google/protobuf/empty.pb.cc:18
Empty::GetReflection
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: protobuf/src/google/protobuf/empty.pb.h:105
Empty::MergeFrom
void MergeFrom(const Empty &from)
Definition: protobuf/src/google/protobuf/empty.pb.h:150
b
uint64_t b
Definition: abseil-cpp/absl/container/internal/layout_test.cc:53
Empty::_class_data_
static const ClassData _class_data_
Definition: protobuf/src/google/protobuf/empty.pb.h:166
Empty
Definition: abseil-cpp/absl/container/internal/compressed_tuple_test.cc:33
generated_message_bases.h
Empty::operator=
Empty & operator=(const Empty &from)
Definition: protobuf/src/google/protobuf/empty.pb.h:81
internal
Definition: benchmark/test/output_test_helper.cc:20
Empty::New
Empty * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: protobuf/src/google/protobuf/empty.pb.h:142
grpc_binder::Metadata
std::vector< std::pair< std::string, std::string > > Metadata
Definition: transaction.h:38
setup.template
template
Definition: setup.py:47
TableStruct_google_2fprotobuf_2fempty_2eproto
Definition: bloaty/third_party/protobuf/src/google/protobuf/empty.pb.h:45
grpc::protobuf::Descriptor
GRPC_CUSTOM_DESCRIPTOR Descriptor
Definition: include/grpcpp/impl/codegen/config_protobuf.h:81
Empty::_Internal
Definition: bloaty/third_party/protobuf/src/google/protobuf/empty.pb.cc:85
Empty::DestructorSkippable_
void DestructorSkippable_
Definition: bloaty/third_party/protobuf/src/google/protobuf/empty.pb.h:201
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)
Empty::GetDescriptor
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: protobuf/src/google/protobuf/empty.pb.h:102


grpc
Author(s):
autogenerated on Fri May 16 2025 02:58:18