• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Generated by the protocol buffer compiler.  DO NOT EDIT!
2 // NO CHECKED-IN PROTOBUF GENCODE
3 // source: google/protobuf/empty.proto
4 // Protobuf C++ Version: 5.29.4
5 
6 #ifndef google_2fprotobuf_2fempty_2eproto_2epb_2eh
7 #define google_2fprotobuf_2fempty_2eproto_2epb_2eh
8 
9 #include <limits>
10 #include <string>
11 #include <type_traits>
12 #include <utility>
13 
14 #include "google/protobuf/runtime_version.h"
15 #if PROTOBUF_VERSION != 5029004
16 #error "Protobuf C++ gencode is built with an incompatible version of"
17 #error "Protobuf C++ headers/runtime. See"
18 #error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
19 #endif
20 #include "google/protobuf/io/coded_stream.h"
21 #include "google/protobuf/arena.h"
22 #include "google/protobuf/arenastring.h"
23 #include "google/protobuf/generated_message_bases.h"
24 #include "google/protobuf/generated_message_tctable_decl.h"
25 #include "google/protobuf/generated_message_util.h"
26 #include "google/protobuf/metadata_lite.h"
27 #include "google/protobuf/generated_message_reflection.h"
28 #include "google/protobuf/message.h"
29 #include "google/protobuf/message_lite.h"
30 #include "google/protobuf/repeated_field.h"  // IWYU pragma: export
31 #include "google/protobuf/extension_set.h"  // IWYU pragma: export
32 #include "google/protobuf/unknown_field_set.h"
33 // @@protoc_insertion_point(includes)
34 
35 // Must be included last.
36 #include "google/protobuf/port_def.inc"
37 
38 #define PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fempty_2eproto PROTOBUF_EXPORT
39 
40 namespace google {
41 namespace protobuf {
42 namespace internal {
43 template <typename T>
44 ::absl::string_view GetAnyMessageName();
45 }  // namespace internal
46 }  // namespace protobuf
47 }  // namespace google
48 
49 // Internal implementation detail -- do not use these members.
50 struct PROTOBUF_EXPORT TableStruct_google_2fprotobuf_2fempty_2eproto {
51   static const ::uint32_t offsets[];
52 };
53 PROTOBUF_EXPORT extern const ::google::protobuf::internal::DescriptorTable
54     descriptor_table_google_2fprotobuf_2fempty_2eproto;
55 namespace google {
56 namespace protobuf {
57 class Empty;
58 struct EmptyDefaultTypeInternal;
59 PROTOBUF_EXPORT extern EmptyDefaultTypeInternal _Empty_default_instance_;
60 }  // namespace protobuf
61 }  // namespace google
62 
63 namespace google {
64 namespace protobuf {
65 
66 // ===================================================================
67 
68 
69 // -------------------------------------------------------------------
70 
71 class PROTOBUF_EXPORT Empty final : public ::google::protobuf::internal::ZeroFieldsBase
72 /* @@protoc_insertion_point(class_definition:google.protobuf.Empty) */ {
73  public:
Empty()74   inline Empty() : Empty(nullptr) {}
75 
76 #if defined(PROTOBUF_CUSTOM_VTABLE)
delete(Empty * msg,std::destroying_delete_t)77   void operator delete(Empty* msg, std::destroying_delete_t) {
78     SharedDtor(*msg);
79     ::google::protobuf::internal::SizedDelete(msg, sizeof(Empty));
80   }
81 #endif
82 
83   template <typename = void>
84   explicit PROTOBUF_CONSTEXPR Empty(
85       ::google::protobuf::internal::ConstantInitialized);
86 
Empty(const Empty & from)87   inline Empty(const Empty& from) : Empty(nullptr, from) {}
Empty(Empty && from)88   inline Empty(Empty&& from) noexcept
89       : Empty(nullptr, std::move(from)) {}
90   inline Empty& operator=(const Empty& from) {
91     CopyFrom(from);
92     return *this;
93   }
94   inline Empty& operator=(Empty&& from) noexcept {
95     if (this == &from) return *this;
96     if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
97       InternalSwap(&from);
98     } else {
99       CopyFrom(from);
100     }
101     return *this;
102   }
103 
unknown_fields()104   inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
105       ABSL_ATTRIBUTE_LIFETIME_BOUND {
106     return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
107   }
mutable_unknown_fields()108   inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
109       ABSL_ATTRIBUTE_LIFETIME_BOUND {
110     return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
111   }
112 
descriptor()113   static const ::google::protobuf::Descriptor* descriptor() {
114     return GetDescriptor();
115   }
GetDescriptor()116   static const ::google::protobuf::Descriptor* GetDescriptor() {
117     return default_instance().GetMetadata().descriptor;
118   }
GetReflection()119   static const ::google::protobuf::Reflection* GetReflection() {
120     return default_instance().GetMetadata().reflection;
121   }
default_instance()122   static const Empty& default_instance() {
123     return *internal_default_instance();
124   }
internal_default_instance()125   static inline const Empty* internal_default_instance() {
126     return reinterpret_cast<const Empty*>(
127         &_Empty_default_instance_);
128   }
129   static constexpr int kIndexInFileMessages = 0;
swap(Empty & a,Empty & b)130   friend void swap(Empty& a, Empty& b) { a.Swap(&b); }
Swap(Empty * other)131   inline void Swap(Empty* other) {
132     if (other == this) return;
133     if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
134       InternalSwap(other);
135     } else {
136       ::google::protobuf::internal::GenericSwap(this, other);
137     }
138   }
UnsafeArenaSwap(Empty * other)139   void UnsafeArenaSwap(Empty* other) {
140     if (other == this) return;
141     ABSL_DCHECK(GetArena() == other->GetArena());
142     InternalSwap(other);
143   }
144 
145   // implements Message ----------------------------------------------
146 
147   Empty* New(::google::protobuf::Arena* arena = nullptr) const {
148     return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct<Empty>(arena);
149   }
150   using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom;
CopyFrom(const Empty & from)151   inline void CopyFrom(const Empty& from) {
152     ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from);
153   }
154   using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom;
MergeFrom(const Empty & from)155   void MergeFrom(const Empty& from) {
156     ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from);
157   }
158 
159   public:
IsInitialized()160   bool IsInitialized() const {
161     return true;
162   }
163  private:
164   template <typename T>
165   friend ::absl::string_view(
166       ::google::protobuf::internal::GetAnyMessageName)();
FullMessageName()167   static ::absl::string_view FullMessageName() { return "google.protobuf.Empty"; }
168 
169  protected:
170   explicit Empty(::google::protobuf::Arena* arena);
171   Empty(::google::protobuf::Arena* arena, const Empty& from);
Empty(::google::protobuf::Arena * arena,Empty && from)172   Empty(::google::protobuf::Arena* arena, Empty&& from) noexcept
173       : Empty(arena) {
174     *this = ::std::move(from);
175   }
176   const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL;
177   static void* PlacementNew_(const void*, void* mem,
178                              ::google::protobuf::Arena* arena);
179   static constexpr auto InternalNewImpl_();
180   static const ::google::protobuf::internal::ClassDataFull _class_data_;
181 
182  public:
183   ::google::protobuf::Metadata GetMetadata() const;
184   // nested types ----------------------------------------------------
185 
186   // accessors -------------------------------------------------------
187   // @@protoc_insertion_point(class_scope:google.protobuf.Empty)
188  private:
189   class _Internal;
190   friend class ::google::protobuf::internal::TcParser;
191   static const ::google::protobuf::internal::TcParseTable<
192       0, 0, 0,
193       0, 2>
194       _table_;
195 
196   friend class ::google::protobuf::MessageLite;
197   friend class ::google::protobuf::Arena;
198   template <typename T>
199   friend class ::google::protobuf::Arena::InternalHelper;
200   using InternalArenaConstructable_ = void;
201   using DestructorSkippable_ = void;
202   struct Impl_ {
203     inline explicit constexpr Impl_(
204         ::google::protobuf::internal::ConstantInitialized) noexcept;
205     inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
206                           ::google::protobuf::Arena* arena);
207     inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
208                           ::google::protobuf::Arena* arena, const Impl_& from,
209                           const Empty& from_msg);
210     PROTOBUF_TSAN_DECLARE_MEMBER
211   };
212   friend struct ::TableStruct_google_2fprotobuf_2fempty_2eproto;
213 };
214 
215 // ===================================================================
216 
217 
218 
219 
220 // ===================================================================
221 
222 
223 #ifdef __GNUC__
224 #pragma GCC diagnostic push
225 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
226 #endif  // __GNUC__
227 // -------------------------------------------------------------------
228 
229 // Empty
230 
231 #ifdef __GNUC__
232 #pragma GCC diagnostic pop
233 #endif  // __GNUC__
234 
235 // @@protoc_insertion_point(namespace_scope)
236 }  // namespace protobuf
237 }  // namespace google
238 
239 
240 // @@protoc_insertion_point(global_scope)
241 
242 #include "google/protobuf/port_undef.inc"
243 
244 #endif  // google_2fprotobuf_2fempty_2eproto_2epb_2eh
245