4 #ifndef GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fempty_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fempty_2eproto
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3019000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
16 #if 3019005 < 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.
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>
27 #include <google/protobuf/generated_message_table_driven.h>
28 #include <google/protobuf/generated_message_util.h>
29 #include <google/protobuf/metadata_lite.h>
30 #include <google/protobuf/generated_message_reflection.h>
31 #include <google/protobuf/message.h>
32 #include <google/protobuf/repeated_field.h>
33 #include <google/protobuf/extension_set.h>
34 #include <google/protobuf/unknown_field_set.h>
36 #include <google/protobuf/port_def.inc>
37 #define PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fempty_2eproto PROTOBUF_EXPORT
38 PROTOBUF_NAMESPACE_OPEN
42 PROTOBUF_NAMESPACE_CLOSE
46 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
48 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
50 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
52 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
53 static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
57 PROTOBUF_NAMESPACE_OPEN
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
69 class PROTOBUF_EXPORT
Empty final :
70 public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase {
73 explicit constexpr
Empty(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
86 if (
this == &
from)
return *
this;
87 if (GetOwningArena() ==
from.GetOwningArena()
88 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
89 && GetOwningArena() !=
nullptr
103 return default_instance().GetMetadata().descriptor;
106 return default_instance().GetMetadata().reflection;
109 return *internal_default_instance();
112 return reinterpret_cast<const Empty*
>(
115 static constexpr
int kIndexInFileMessages =
122 if (other ==
this)
return;
123 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
124 if (GetOwningArena() !=
nullptr &&
125 GetOwningArena() == other->GetOwningArena()) {
126 #else // PROTOBUF_FORCE_COPY_IN_SWAP
127 if (GetOwningArena() == other->GetOwningArena()) {
128 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
135 if (other ==
this)
return;
143 return CreateMaybeMessage<Empty>(
arena);
147 ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(
this,
from);
151 ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(
this,
from);
156 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
158 return "google.protobuf.Empty";
162 bool is_message_owned =
false);
167 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData()
const final;
179 template <typename
T> friend class ::PROTOBUF_NAMESPACE_ID::
Arena::InternalHelper;
182 mutable ::PROTOBUF_NAMESPACE_ID::
internal::CachedSize _cached_size_;
191 #pragma GCC diagnostic push
192 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
197 #pragma GCC diagnostic pop
202 PROTOBUF_NAMESPACE_CLOSE
206 #include <google/protobuf/port_undef.inc>
207 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fempty_2eproto