File indexing completed on 2026-08-30 08:54:41
0001
0002
0003
0004
0005
0006 #ifndef google_2fprotobuf_2fempty_2eproto_2epb_2eh
0007 #define google_2fprotobuf_2fempty_2eproto_2epb_2eh
0008
0009 #include <limits>
0010 #include <string>
0011 #include <type_traits>
0012 #include <utility>
0013
0014 #include "google/protobuf/runtime_version.h"
0015 #if PROTOBUF_VERSION != 6032001
0016 #error "Protobuf C++ gencode is built with an incompatible version of"
0017 #error "Protobuf C++ headers/runtime. See"
0018 #error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
0019 #endif
0020 #include "google/protobuf/io/coded_stream.h"
0021 #include "google/protobuf/arena.h"
0022 #include "google/protobuf/arenastring.h"
0023 #include "google/protobuf/generated_message_bases.h"
0024 #include "google/protobuf/generated_message_tctable_decl.h"
0025 #include "google/protobuf/generated_message_util.h"
0026 #include "google/protobuf/metadata_lite.h"
0027 #include "google/protobuf/generated_message_reflection.h"
0028 #include "google/protobuf/message.h"
0029 #include "google/protobuf/message_lite.h"
0030 #include "google/protobuf/repeated_field.h" // IWYU pragma: export
0031 #include "google/protobuf/extension_set.h" // IWYU pragma: export
0032 #include "google/protobuf/unknown_field_set.h"
0033
0034
0035
0036 #include "google/protobuf/port_def.inc"
0037
0038 #define PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fempty_2eproto PROTOBUF_EXPORT
0039
0040 namespace google {
0041 namespace protobuf {
0042 namespace internal {
0043 template <typename T>
0044 ::absl::string_view GetAnyMessageName();
0045 }
0046 }
0047 }
0048
0049
0050 struct PROTOBUF_EXPORT TableStruct_google_2fprotobuf_2fempty_2eproto {
0051 static const ::uint32_t offsets[];
0052 };
0053 extern "C" {
0054 PROTOBUF_EXPORT extern const ::google::protobuf::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fempty_2eproto;
0055 }
0056 namespace google {
0057 namespace protobuf {
0058 class Empty;
0059 struct EmptyDefaultTypeInternal;
0060 PROTOBUF_EXPORT extern EmptyDefaultTypeInternal _Empty_default_instance_;
0061 PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull Empty_class_data_;
0062 }
0063 }
0064
0065 namespace google {
0066 namespace protobuf {
0067
0068
0069
0070
0071
0072
0073 class PROTOBUF_EXPORT Empty final : public ::google::protobuf::internal::ZeroFieldsBase
0074 {
0075 public:
0076 inline Empty() : Empty(nullptr) {}
0077
0078 #if defined(PROTOBUF_CUSTOM_VTABLE)
0079 void operator delete(Empty* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
0080 SharedDtor(*msg);
0081 ::google::protobuf::internal::SizedDelete(msg, sizeof(Empty));
0082 }
0083 #endif
0084
0085 template <typename = void>
0086 explicit PROTOBUF_CONSTEXPR Empty(::google::protobuf::internal::ConstantInitialized);
0087
0088 inline Empty(const Empty& from) : Empty(nullptr, from) {}
0089 inline Empty(Empty&& from) noexcept
0090 : Empty(nullptr, ::std::move(from)) {}
0091 inline Empty& operator=(const Empty& from) {
0092 CopyFrom(from);
0093 return *this;
0094 }
0095 inline Empty& operator=(Empty&& from) noexcept {
0096 if (this == &from) return *this;
0097 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
0098 InternalSwap(&from);
0099 } else {
0100 CopyFrom(from);
0101 }
0102 return *this;
0103 }
0104
0105 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
0106 ABSL_ATTRIBUTE_LIFETIME_BOUND {
0107 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
0108 }
0109 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
0110 ABSL_ATTRIBUTE_LIFETIME_BOUND {
0111 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
0112 }
0113
0114 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
0115 return GetDescriptor();
0116 }
0117 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
0118 return default_instance().GetMetadata().descriptor;
0119 }
0120 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
0121 return default_instance().GetMetadata().reflection;
0122 }
0123 static const Empty& default_instance() {
0124 return *reinterpret_cast<const Empty*>(
0125 &_Empty_default_instance_);
0126 }
0127 static constexpr int kIndexInFileMessages = 0;
0128 friend void swap(Empty& a, Empty& b) { a.Swap(&b); }
0129 inline void Swap(Empty* PROTOBUF_NONNULL other) {
0130 if (other == this) return;
0131 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
0132 InternalSwap(other);
0133 } else {
0134 ::google::protobuf::internal::GenericSwap(this, other);
0135 }
0136 }
0137 void UnsafeArenaSwap(Empty* PROTOBUF_NONNULL other) {
0138 if (other == this) return;
0139 ABSL_DCHECK(GetArena() == other->GetArena());
0140 InternalSwap(other);
0141 }
0142
0143
0144
0145 Empty* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
0146 return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct<Empty>(arena);
0147 }
0148 using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom;
0149 inline void CopyFrom(const Empty& from) {
0150 ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from);
0151 }
0152 using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom;
0153 void MergeFrom(const Empty& from) {
0154 ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from);
0155 }
0156
0157 public:
0158 bool IsInitialized() const {
0159 return true;
0160 }
0161 private:
0162 template <typename T>
0163 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
0164 static ::absl::string_view FullMessageName() { return "google.protobuf.Empty"; }
0165
0166 protected:
0167 explicit Empty(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
0168 Empty(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Empty& from);
0169 Empty(
0170 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, Empty&& from) noexcept
0171 : Empty(arena) {
0172 *this = ::std::move(from);
0173 }
0174 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
0175 static void* PROTOBUF_NONNULL PlacementNew_(
0176 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
0177 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
0178 static constexpr auto InternalNewImpl_();
0179
0180 public:
0181 static constexpr auto InternalGenerateClassData_();
0182
0183 ::google::protobuf::Metadata GetMetadata() const;
0184
0185
0186
0187
0188 private:
0189 class _Internal;
0190 friend class ::google::protobuf::internal::TcParser;
0191 static const ::google::protobuf::internal::TcParseTable<0, 0,
0192 0, 0,
0193 2>
0194 _table_;
0195
0196 friend class ::google::protobuf::MessageLite;
0197 friend class ::google::protobuf::Arena;
0198 template <typename T>
0199 friend class ::google::protobuf::Arena::InternalHelper;
0200 using InternalArenaConstructable_ = void;
0201 using DestructorSkippable_ = void;
0202 friend struct ::TableStruct_google_2fprotobuf_2fempty_2eproto;
0203 };
0204
0205 PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull Empty_class_data_;
0206
0207
0208
0209
0210
0211
0212
0213
0214
0215 #ifdef __GNUC__
0216 #pragma GCC diagnostic push
0217 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
0218 #endif
0219
0220
0221
0222
0223 #ifdef __GNUC__
0224 #pragma GCC diagnostic pop
0225 #endif
0226
0227
0228 }
0229 }
0230
0231
0232
0233
0234 #include "google/protobuf/port_undef.inc"
0235
0236 #endif