Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-31 10:12:19

0001 // Generated by the protocol buffer compiler.  DO NOT EDIT!
0002 // NO CHECKED-IN PROTOBUF GENCODE
0003 // source: google/protobuf/empty.proto
0004 // Protobuf C++ Version: 5.28.2
0005 
0006 #ifndef GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fempty_2eproto_2epb_2eh
0007 #define GOOGLE_PROTOBUF_INCLUDED_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 != 5028002
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/repeated_field.h"  // IWYU pragma: export
0030 #include "google/protobuf/extension_set.h"  // IWYU pragma: export
0031 #include "google/protobuf/unknown_field_set.h"
0032 // @@protoc_insertion_point(includes)
0033 
0034 // Must be included last.
0035 #include "google/protobuf/port_def.inc"
0036 
0037 #define PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fempty_2eproto PROTOBUF_EXPORT
0038 
0039 namespace google {
0040 namespace protobuf {
0041 namespace internal {
0042 class AnyMetadata;
0043 }  // namespace internal
0044 }  // namespace protobuf
0045 }  // namespace google
0046 
0047 // Internal implementation detail -- do not use these members.
0048 struct PROTOBUF_EXPORT TableStruct_google_2fprotobuf_2fempty_2eproto {
0049   static const ::uint32_t offsets[];
0050 };
0051 PROTOBUF_EXPORT extern const ::google::protobuf::internal::DescriptorTable
0052     descriptor_table_google_2fprotobuf_2fempty_2eproto;
0053 namespace google {
0054 namespace protobuf {
0055 class Empty;
0056 struct EmptyDefaultTypeInternal;
0057 PROTOBUF_EXPORT extern EmptyDefaultTypeInternal _Empty_default_instance_;
0058 }  // namespace protobuf
0059 }  // namespace google
0060 
0061 namespace google {
0062 namespace protobuf {
0063 
0064 // ===================================================================
0065 
0066 
0067 // -------------------------------------------------------------------
0068 
0069 class PROTOBUF_EXPORT Empty final : public ::google::protobuf::internal::ZeroFieldsBase
0070 /* @@protoc_insertion_point(class_definition:google.protobuf.Empty) */ {
0071  public:
0072   inline Empty() : Empty(nullptr) {}
0073   template <typename = void>
0074   explicit PROTOBUF_CONSTEXPR Empty(
0075       ::google::protobuf::internal::ConstantInitialized);
0076 
0077   inline Empty(const Empty& from) : Empty(nullptr, from) {}
0078   inline Empty(Empty&& from) noexcept
0079       : Empty(nullptr, std::move(from)) {}
0080   inline Empty& operator=(const Empty& from) {
0081     CopyFrom(from);
0082     return *this;
0083   }
0084   inline Empty& operator=(Empty&& from) noexcept {
0085     if (this == &from) return *this;
0086     if (GetArena() == from.GetArena()
0087 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
0088         && GetArena() != nullptr
0089 #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
0090     ) {
0091       InternalSwap(&from);
0092     } else {
0093       CopyFrom(from);
0094     }
0095     return *this;
0096   }
0097 
0098   inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
0099       ABSL_ATTRIBUTE_LIFETIME_BOUND {
0100     return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
0101   }
0102   inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
0103       ABSL_ATTRIBUTE_LIFETIME_BOUND {
0104     return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
0105   }
0106 
0107   static const ::google::protobuf::Descriptor* descriptor() {
0108     return GetDescriptor();
0109   }
0110   static const ::google::protobuf::Descriptor* GetDescriptor() {
0111     return default_instance().GetMetadata().descriptor;
0112   }
0113   static const ::google::protobuf::Reflection* GetReflection() {
0114     return default_instance().GetMetadata().reflection;
0115   }
0116   static const Empty& default_instance() {
0117     return *internal_default_instance();
0118   }
0119   static inline const Empty* internal_default_instance() {
0120     return reinterpret_cast<const Empty*>(
0121         &_Empty_default_instance_);
0122   }
0123   static constexpr int kIndexInFileMessages = 0;
0124   friend void swap(Empty& a, Empty& b) { a.Swap(&b); }
0125   inline void Swap(Empty* other) {
0126     if (other == this) return;
0127 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
0128     if (GetArena() != nullptr && GetArena() == other->GetArena()) {
0129 #else   // PROTOBUF_FORCE_COPY_IN_SWAP
0130     if (GetArena() == other->GetArena()) {
0131 #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
0132       InternalSwap(other);
0133     } else {
0134       ::google::protobuf::internal::GenericSwap(this, other);
0135     }
0136   }
0137   void UnsafeArenaSwap(Empty* other) {
0138     if (other == this) return;
0139     ABSL_DCHECK(GetArena() == other->GetArena());
0140     InternalSwap(other);
0141   }
0142 
0143   // implements Message ----------------------------------------------
0144 
0145   Empty* New(::google::protobuf::Arena* arena = nullptr) const PROTOBUF_FINAL {
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   friend class ::google::protobuf::internal::AnyMetadata;
0163   static ::absl::string_view FullMessageName() { return "google.protobuf.Empty"; }
0164 
0165  protected:
0166   explicit Empty(::google::protobuf::Arena* arena);
0167   Empty(::google::protobuf::Arena* arena, const Empty& from);
0168   Empty(::google::protobuf::Arena* arena, Empty&& from) noexcept
0169       : Empty(arena) {
0170     *this = ::std::move(from);
0171   }
0172   const ::google::protobuf::internal::ZeroFieldsBase::ClassData* GetClassData() const PROTOBUF_FINAL;
0173   static const ::google::protobuf::internal::ZeroFieldsBase::ClassDataFull _class_data_;
0174 
0175  public:
0176   ::google::protobuf::Metadata GetMetadata() const;
0177   // nested types ----------------------------------------------------
0178 
0179   // accessors -------------------------------------------------------
0180   // @@protoc_insertion_point(class_scope:google.protobuf.Empty)
0181  private:
0182   class _Internal;
0183   friend class ::google::protobuf::internal::TcParser;
0184   static const ::google::protobuf::internal::TcParseTable<
0185       0, 0, 0,
0186       0, 2>
0187       _table_;
0188 
0189 
0190   friend class ::google::protobuf::MessageLite;
0191   friend class ::google::protobuf::Arena;
0192   template <typename T>
0193   friend class ::google::protobuf::Arena::InternalHelper;
0194   using InternalArenaConstructable_ = void;
0195   using DestructorSkippable_ = void;
0196   struct Impl_ {
0197     inline explicit constexpr Impl_(
0198         ::google::protobuf::internal::ConstantInitialized) noexcept;
0199     inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
0200                           ::google::protobuf::Arena* arena);
0201     inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
0202                           ::google::protobuf::Arena* arena, const Impl_& from,
0203                           const Empty& from_msg);
0204     PROTOBUF_TSAN_DECLARE_MEMBER
0205   };
0206   friend struct ::TableStruct_google_2fprotobuf_2fempty_2eproto;
0207 };
0208 
0209 // ===================================================================
0210 
0211 
0212 
0213 
0214 // ===================================================================
0215 
0216 
0217 #ifdef __GNUC__
0218 #pragma GCC diagnostic push
0219 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
0220 #endif  // __GNUC__
0221 // -------------------------------------------------------------------
0222 
0223 // Empty
0224 
0225 #ifdef __GNUC__
0226 #pragma GCC diagnostic pop
0227 #endif  // __GNUC__
0228 
0229 // @@protoc_insertion_point(namespace_scope)
0230 }  // namespace protobuf
0231 }  // namespace google
0232 
0233 
0234 // @@protoc_insertion_point(global_scope)
0235 
0236 #include "google/protobuf/port_undef.inc"
0237 
0238 #endif  // GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fempty_2eproto_2epb_2eh