• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Generated by the protocol buffer compiler.  DO NOT EDIT!
2 // NO CHECKED-IN PROTOBUF GENCODE
3 // source: google/protobuf/empty.proto
4 // Protobuf C++ Version: 5.29.4
5 
6 #include "google/protobuf/empty.pb.h"
7 
8 #include <algorithm>
9 #include <type_traits>
10 #include "google/protobuf/io/coded_stream.h"
11 #include "google/protobuf/generated_message_tctable_impl.h"
12 #include "google/protobuf/extension_set.h"
13 #include "google/protobuf/generated_message_util.h"
14 #include "google/protobuf/wire_format_lite.h"
15 #include "google/protobuf/descriptor.h"
16 #include "google/protobuf/generated_message_reflection.h"
17 #include "google/protobuf/reflection_ops.h"
18 #include "google/protobuf/wire_format.h"
19 // @@protoc_insertion_point(includes)
20 
21 // Must be included last.
22 #include "google/protobuf/port_def.inc"
23 PROTOBUF_PRAGMA_INIT_SEG
24 namespace _pb = ::google::protobuf;
25 namespace _pbi = ::google::protobuf::internal;
26 namespace _fl = ::google::protobuf::internal::field_layout;
27 namespace google {
28 namespace protobuf {
29               template <typename>
Empty(::_pbi::ConstantInitialized)30 PROTOBUF_CONSTEXPR Empty::Empty(::_pbi::ConstantInitialized)
31 #if defined(PROTOBUF_CUSTOM_VTABLE)
32     : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){}
33 #else   // PROTOBUF_CUSTOM_VTABLE
34     : ::google::protobuf::internal::ZeroFieldsBase() {
35 }
36 #endif  // PROTOBUF_CUSTOM_VTABLE
37 struct EmptyDefaultTypeInternal {
EmptyDefaultTypeInternalgoogle::protobuf::EmptyDefaultTypeInternal38   PROTOBUF_CONSTEXPR EmptyDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~EmptyDefaultTypeInternalgoogle::protobuf::EmptyDefaultTypeInternal39   ~EmptyDefaultTypeInternal() {}
40   union {
41     Empty _instance;
42   };
43 };
44 
45 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT
46     PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EmptyDefaultTypeInternal _Empty_default_instance_;
47 }  // namespace protobuf
48 }  // namespace google
49 static constexpr const ::_pb::EnumDescriptor**
50     file_level_enum_descriptors_google_2fprotobuf_2fempty_2eproto = nullptr;
51 static constexpr const ::_pb::ServiceDescriptor**
52     file_level_service_descriptors_google_2fprotobuf_2fempty_2eproto = nullptr;
53 const ::uint32_t
54     TableStruct_google_2fprotobuf_2fempty_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
55         protodesc_cold) = {
56         ~0u,  // no _has_bits_
57         PROTOBUF_FIELD_OFFSET(::google::protobuf::Empty, _internal_metadata_),
58         ~0u,  // no _extensions_
59         ~0u,  // no _oneof_case_
60         ~0u,  // no _weak_field_map_
61         ~0u,  // no _inlined_string_donated_
62         ~0u,  // no _split_
63         ~0u,  // no sizeof(Split)
64 };
65 
66 static const ::_pbi::MigrationSchema
67     schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
68         {0, -1, -1, sizeof(::google::protobuf::Empty)},
69 };
70 static const ::_pb::Message* const file_default_instances[] = {
71     &::google::protobuf::_Empty_default_instance_._instance,
72 };
73 const char descriptor_table_protodef_google_2fprotobuf_2fempty_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
74     protodesc_cold) = {
75     "\n\033google/protobuf/empty.proto\022\017google.pr"
76     "otobuf\"\007\n\005EmptyB}\n\023com.google.protobufB\n"
77     "EmptyProtoP\001Z.google.golang.org/protobuf"
78     "/types/known/emptypb\370\001\001\242\002\003GPB\252\002\036Google.P"
79     "rotobuf.WellKnownTypesb\006proto3"
80 };
81 static ::absl::once_flag descriptor_table_google_2fprotobuf_2fempty_2eproto_once;
82 PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_google_2fprotobuf_2fempty_2eproto = {
83     false,
84     false,
85     190,
86     descriptor_table_protodef_google_2fprotobuf_2fempty_2eproto,
87     "google/protobuf/empty.proto",
88     &descriptor_table_google_2fprotobuf_2fempty_2eproto_once,
89     nullptr,
90     0,
91     1,
92     schemas,
93     file_default_instances,
94     TableStruct_google_2fprotobuf_2fempty_2eproto::offsets,
95     file_level_enum_descriptors_google_2fprotobuf_2fempty_2eproto,
96     file_level_service_descriptors_google_2fprotobuf_2fempty_2eproto,
97 };
98 namespace google {
99 namespace protobuf {
100 // ===================================================================
101 
102 class Empty::_Internal {
103  public:
104 };
105 
Empty(::google::protobuf::Arena * arena)106 Empty::Empty(::google::protobuf::Arena* arena)
107 #if defined(PROTOBUF_CUSTOM_VTABLE)
108     : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) {
109 #else   // PROTOBUF_CUSTOM_VTABLE
110     : ::google::protobuf::internal::ZeroFieldsBase(arena) {
111 #endif  // PROTOBUF_CUSTOM_VTABLE
112   // @@protoc_insertion_point(arena_constructor:google.protobuf.Empty)
113 }
114 Empty::Empty(
115     ::google::protobuf::Arena* arena,
116     const Empty& from)
117 #if defined(PROTOBUF_CUSTOM_VTABLE)
118     : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) {
119 #else   // PROTOBUF_CUSTOM_VTABLE
120     : ::google::protobuf::internal::ZeroFieldsBase(arena) {
121 #endif  // PROTOBUF_CUSTOM_VTABLE
122   Empty* const _this = this;
123   (void)_this;
124   _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
125       from._internal_metadata_);
126 
127   // @@protoc_insertion_point(copy_constructor:google.protobuf.Empty)
128 }
129 
130 inline void* Empty::PlacementNew_(const void*, void* mem,
131                                         ::google::protobuf::Arena* arena) {
132   return ::new (mem) Empty(arena);
133 }
134 constexpr auto Empty::InternalNewImpl_() {
135   return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Empty),
136                                             alignof(Empty));
137 }
138 PROTOBUF_CONSTINIT
139 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
140 const ::google::protobuf::internal::ClassDataFull Empty::_class_data_ = {
141     ::google::protobuf::internal::ClassData{
142         &_Empty_default_instance_._instance,
143         &_table_.header,
144         nullptr,  // OnDemandRegisterArenaDtor
145         nullptr,  // IsInitialized
146         &Empty::MergeImpl,
147         ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl<Empty>(),
148 #if defined(PROTOBUF_CUSTOM_VTABLE)
149         &Empty::SharedDtor,
150         ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl<Empty>(), &Empty::ByteSizeLong,
151             &Empty::_InternalSerialize,
152 #endif  // PROTOBUF_CUSTOM_VTABLE
153         PROTOBUF_FIELD_OFFSET(Empty, _impl_._cached_size_),
154         false,
155     },
156     &Empty::kDescriptorMethods,
157     &descriptor_table_google_2fprotobuf_2fempty_2eproto,
158     nullptr,  // tracker
159 };
160 const ::google::protobuf::internal::ClassData* Empty::GetClassData() const {
161   ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
162   ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
163   return _class_data_.base();
164 }
165 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
166 const ::_pbi::TcParseTable<0, 0, 0, 0, 2> Empty::_table_ = {
167   {
168     0,  // no _has_bits_
169     0, // no _extensions_
170     0, 0,  // max_field_number, fast_idx_mask
171     offsetof(decltype(_table_), field_lookup_table),
172     4294967295,  // skipmap
173     offsetof(decltype(_table_), field_names),  // no field_entries
174     0,  // num_field_entries
175     0,  // num_aux_entries
176     offsetof(decltype(_table_), field_names),  // no aux_entries
177     _class_data_.base(),
178     nullptr,  // post_loop_handler
179     ::_pbi::TcParser::GenericFallback,  // fallback
180     #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
181     ::_pbi::TcParser::GetTable<::google::protobuf::Empty>(),  // to_prefetch
182     #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
183   }, {{
184     {::_pbi::TcParser::MiniParse, {}},
185   }}, {{
186     65535, 65535
187   }},
188   // no field_entries, or aux_entries
189   {{
190   }},
191 };
192 
193 
194 
195 
196 
197 
198 
199 
200 ::google::protobuf::Metadata Empty::GetMetadata() const {
201   return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full());
202 }
203 // @@protoc_insertion_point(namespace_scope)
204 }  // namespace protobuf
205 }  // namespace google
206 namespace google {
207 namespace protobuf {
208 }  // namespace protobuf
209 }  // namespace google
210 // @@protoc_insertion_point(global_scope)
211 PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
212     _static_init2_ PROTOBUF_UNUSED =
213         (::_pbi::AddDescriptors(&descriptor_table_google_2fprotobuf_2fempty_2eproto),
214          ::std::false_type{});
215 #include "google/protobuf/port_undef.inc"
216