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 < 3017000
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 3017003 < 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>
26 #include <google/protobuf/generated_message_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/metadata_lite.h>
29 #include <google/protobuf/generated_message_reflection.h>
30 #include <google/protobuf/message.h>
31 #include <google/protobuf/repeated_field.h>  // IWYU pragma: export
32 #include <google/protobuf/extension_set.h>  // IWYU pragma: export
33 #include <google/protobuf/unknown_field_set.h>
34 // @@protoc_insertion_point(includes)
35 #include <google/protobuf/port_def.inc>
36 #define PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fempty_2eproto PROTOBUF_EXPORT
37 PROTOBUF_NAMESPACE_OPEN
38 namespace internal {
39 class AnyMetadata;
40 }  // namespace internal
41 PROTOBUF_NAMESPACE_CLOSE
42 
43 // Internal implementation detail -- do not use these members.
44 struct PROTOBUF_EXPORT TableStruct_google_2fprotobuf_2fempty_2eproto {
45   static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
46     PROTOBUF_SECTION_VARIABLE(protodesc_cold);
47   static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
48     PROTOBUF_SECTION_VARIABLE(protodesc_cold);
49   static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
50     PROTOBUF_SECTION_VARIABLE(protodesc_cold);
51   static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
52   static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
53   static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
54 };
55 PROTOBUF_EXPORT extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fempty_2eproto;
56 PROTOBUF_NAMESPACE_OPEN
57 class Empty;
58 struct EmptyDefaultTypeInternal;
59 PROTOBUF_EXPORT extern EmptyDefaultTypeInternal _Empty_default_instance_;
60 PROTOBUF_NAMESPACE_CLOSE
61 PROTOBUF_NAMESPACE_OPEN
62 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::Empty* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::Empty>(Arena*);
63 PROTOBUF_NAMESPACE_CLOSE
64 PROTOBUF_NAMESPACE_OPEN
65 
66 // ===================================================================
67 
68 class PROTOBUF_EXPORT Empty final :
69     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Empty) */ {
70  public:
Empty()71   inline Empty() : Empty(nullptr) {}
72   ~Empty() override;
73   explicit constexpr Empty(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
74 
75   Empty(const Empty& from);
Empty(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       InternalSwap(&from);
89     } else {
90       CopyFrom(from);
91     }
92     return *this;
93   }
94 
descriptor()95   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
96     return GetDescriptor();
97   }
GetDescriptor()98   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
99     return default_instance().GetMetadata().descriptor;
100   }
GetReflection()101   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
102     return default_instance().GetMetadata().reflection;
103   }
default_instance()104   static const Empty& default_instance() {
105     return *internal_default_instance();
106   }
internal_default_instance()107   static inline const Empty* internal_default_instance() {
108     return reinterpret_cast<const Empty*>(
109                &_Empty_default_instance_);
110   }
111   static constexpr int kIndexInFileMessages =
112     0;
113 
swap(Empty & a,Empty & b)114   friend void swap(Empty& a, Empty& b) {
115     a.Swap(&b);
116   }
Swap(Empty * other)117   inline void Swap(Empty* other) {
118     if (other == this) return;
119     if (GetOwningArena() == other->GetOwningArena()) {
120       InternalSwap(other);
121     } else {
122       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
123     }
124   }
UnsafeArenaSwap(Empty * other)125   void UnsafeArenaSwap(Empty* other) {
126     if (other == this) return;
127     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
128     InternalSwap(other);
129   }
130 
131   // implements Message ----------------------------------------------
132 
New()133   inline Empty* New() const final {
134     return new Empty();
135   }
136 
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)137   Empty* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
138     return CreateMaybeMessage<Empty>(arena);
139   }
140   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
141   void CopyFrom(const Empty& from);
142   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
143   void MergeFrom(const Empty& from);
144   private:
145   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to, const ::PROTOBUF_NAMESPACE_ID::Message&from);
146   public:
147   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
148   bool IsInitialized() const final;
149 
150   size_t ByteSizeLong() const final;
151   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
152   ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
153       ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
GetCachedSize()154   int GetCachedSize() const final { return _cached_size_.Get(); }
155 
156   private:
157   void SharedCtor();
158   void SharedDtor();
159   void SetCachedSize(int size) const final;
160   void InternalSwap(Empty* other);
161   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()162   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
163     return "google.protobuf.Empty";
164   }
165   protected:
166   explicit Empty(::PROTOBUF_NAMESPACE_ID::Arena* arena,
167                        bool is_message_owned = false);
168   private:
169   static void ArenaDtor(void* object);
170   inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
171   public:
172 
173   static const ClassData _class_data_;
174   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
175 
176   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
177 
178   // nested types ----------------------------------------------------
179 
180   // accessors -------------------------------------------------------
181 
182   // @@protoc_insertion_point(class_scope:google.protobuf.Empty)
183  private:
184   class _Internal;
185 
186   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
187   typedef void InternalArenaConstructable_;
188   typedef void DestructorSkippable_;
189   mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
190   friend struct ::TableStruct_google_2fprotobuf_2fempty_2eproto;
191 };
192 // ===================================================================
193 
194 
195 // ===================================================================
196 
197 #ifdef __GNUC__
198   #pragma GCC diagnostic push
199   #pragma GCC diagnostic ignored "-Wstrict-aliasing"
200 #endif  // __GNUC__
201 // Empty
202 
203 #ifdef __GNUC__
204   #pragma GCC diagnostic pop
205 #endif  // __GNUC__
206 
207 // @@protoc_insertion_point(namespace_scope)
208 
209 PROTOBUF_NAMESPACE_CLOSE
210 
211 // @@protoc_insertion_point(global_scope)
212 
213 #include <google/protobuf/port_undef.inc>
214 #endif  // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fempty_2eproto
215