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 < 3011000
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 3011004 < 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/inlined_string_field.h>
29 #include <google/protobuf/metadata.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::AuxillaryParseTableField 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 ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
55 };
56 extern PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fempty_2eproto;
57 PROTOBUF_NAMESPACE_OPEN
58 class Empty;
59 class EmptyDefaultTypeInternal;
60 PROTOBUF_EXPORT extern EmptyDefaultTypeInternal _Empty_default_instance_;
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 :
70     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Empty) */ {
71  public:
72   Empty();
73   virtual ~Empty();
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 (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
87       if (this != &from) InternalSwap(&from);
88     } else {
89       CopyFrom(from);
90     }
91     return *this;
92   }
93 
GetArena()94   inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
95     return GetArenaNoVirtual();
96   }
GetMaybeArenaPointer()97   inline void* GetMaybeArenaPointer() const final {
98     return MaybeArenaPtr();
99   }
descriptor()100   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
101     return GetDescriptor();
102   }
GetDescriptor()103   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
104     return GetMetadataStatic().descriptor;
105   }
GetReflection()106   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
107     return GetMetadataStatic().reflection;
108   }
109   static const Empty& default_instance();
110 
111   static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
internal_default_instance()112   static inline const Empty* internal_default_instance() {
113     return reinterpret_cast<const Empty*>(
114                &_Empty_default_instance_);
115   }
116   static constexpr int kIndexInFileMessages =
117     0;
118 
swap(Empty & a,Empty & b)119   friend void swap(Empty& a, Empty& b) {
120     a.Swap(&b);
121   }
Swap(Empty * other)122   inline void Swap(Empty* other) {
123     if (other == this) return;
124     if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
125       InternalSwap(other);
126     } else {
127       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
128     }
129   }
UnsafeArenaSwap(Empty * other)130   void UnsafeArenaSwap(Empty* other) {
131     if (other == this) return;
132     GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
133     InternalSwap(other);
134   }
135 
136   // implements Message ----------------------------------------------
137 
New()138   inline Empty* New() const final {
139     return CreateMaybeMessage<Empty>(nullptr);
140   }
141 
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)142   Empty* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
143     return CreateMaybeMessage<Empty>(arena);
144   }
145   void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
146   void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
147   void CopyFrom(const Empty& from);
148   void MergeFrom(const Empty& from);
149   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
150   bool IsInitialized() const final;
151 
152   size_t ByteSizeLong() const final;
153   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
154   ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
155       ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
GetCachedSize()156   int GetCachedSize() const final { return _cached_size_.Get(); }
157 
158   private:
159   inline void SharedCtor();
160   inline void SharedDtor();
161   void SetCachedSize(int size) const final;
162   void InternalSwap(Empty* other);
163   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()164   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
165     return "google.protobuf.Empty";
166   }
167   protected:
168   explicit Empty(::PROTOBUF_NAMESPACE_ID::Arena* arena);
169   private:
170   static void ArenaDtor(void* object);
171   inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
172   private:
GetArenaNoVirtual()173   inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
174     return _internal_metadata_.arena();
175   }
MaybeArenaPtr()176   inline void* MaybeArenaPtr() const {
177     return _internal_metadata_.raw_arena_ptr();
178   }
179   public:
180 
181   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
182   private:
GetMetadataStatic()183   static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
184     ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fempty_2eproto);
185     return ::descriptor_table_google_2fprotobuf_2fempty_2eproto.file_level_metadata[kIndexInFileMessages];
186   }
187 
188   public:
189 
190   // nested types ----------------------------------------------------
191 
192   // accessors -------------------------------------------------------
193 
194   // @@protoc_insertion_point(class_scope:google.protobuf.Empty)
195  private:
196   class _Internal;
197 
198   ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
199   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
200   typedef void InternalArenaConstructable_;
201   typedef void DestructorSkippable_;
202   mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
203   friend struct ::TableStruct_google_2fprotobuf_2fempty_2eproto;
204 };
205 // ===================================================================
206 
207 
208 // ===================================================================
209 
210 #ifdef __GNUC__
211   #pragma GCC diagnostic push
212   #pragma GCC diagnostic ignored "-Wstrict-aliasing"
213 #endif  // __GNUC__
214 // Empty
215 
216 #ifdef __GNUC__
217   #pragma GCC diagnostic pop
218 #endif  // __GNUC__
219 
220 // @@protoc_insertion_point(namespace_scope)
221 
222 PROTOBUF_NAMESPACE_CLOSE
223 
224 // @@protoc_insertion_point(global_scope)
225 
226 #include <google/protobuf/port_undef.inc>
227 #endif  // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fempty_2eproto
228