• 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/api.proto
4 // Protobuf C++ Version: 5.29.4
5 
6 #include "google/protobuf/api.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 
Impl_(::_pbi::ConstantInitialized)30 inline constexpr Mixin::Impl_::Impl_(
31     ::_pbi::ConstantInitialized) noexcept
32       : name_(
33             &::google::protobuf::internal::fixed_address_empty_string,
34             ::_pbi::ConstantInitialized()),
35         root_(
36             &::google::protobuf::internal::fixed_address_empty_string,
37             ::_pbi::ConstantInitialized()),
38         _cached_size_{0} {}
39 
40 template <typename>
Mixin(::_pbi::ConstantInitialized)41 PROTOBUF_CONSTEXPR Mixin::Mixin(::_pbi::ConstantInitialized)
42 #if defined(PROTOBUF_CUSTOM_VTABLE)
43     : ::google::protobuf::Message(_class_data_.base()),
44 #else   // PROTOBUF_CUSTOM_VTABLE
45     : ::google::protobuf::Message(),
46 #endif  // PROTOBUF_CUSTOM_VTABLE
47       _impl_(::_pbi::ConstantInitialized()) {
48 }
49 struct MixinDefaultTypeInternal {
MixinDefaultTypeInternalgoogle::protobuf::MixinDefaultTypeInternal50   PROTOBUF_CONSTEXPR MixinDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~MixinDefaultTypeInternalgoogle::protobuf::MixinDefaultTypeInternal51   ~MixinDefaultTypeInternal() {}
52   union {
53     Mixin _instance;
54   };
55 };
56 
57 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT
58     PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MixinDefaultTypeInternal _Mixin_default_instance_;
59 
Impl_(::_pbi::ConstantInitialized)60 inline constexpr Method::Impl_::Impl_(
61     ::_pbi::ConstantInitialized) noexcept
62       : options_{},
63         name_(
64             &::google::protobuf::internal::fixed_address_empty_string,
65             ::_pbi::ConstantInitialized()),
66         request_type_url_(
67             &::google::protobuf::internal::fixed_address_empty_string,
68             ::_pbi::ConstantInitialized()),
69         response_type_url_(
70             &::google::protobuf::internal::fixed_address_empty_string,
71             ::_pbi::ConstantInitialized()),
72         request_streaming_{false},
73         response_streaming_{false},
74         syntax_{static_cast< ::google::protobuf::Syntax >(0)},
75         _cached_size_{0} {}
76 
77 template <typename>
Method(::_pbi::ConstantInitialized)78 PROTOBUF_CONSTEXPR Method::Method(::_pbi::ConstantInitialized)
79 #if defined(PROTOBUF_CUSTOM_VTABLE)
80     : ::google::protobuf::Message(_class_data_.base()),
81 #else   // PROTOBUF_CUSTOM_VTABLE
82     : ::google::protobuf::Message(),
83 #endif  // PROTOBUF_CUSTOM_VTABLE
84       _impl_(::_pbi::ConstantInitialized()) {
85 }
86 struct MethodDefaultTypeInternal {
MethodDefaultTypeInternalgoogle::protobuf::MethodDefaultTypeInternal87   PROTOBUF_CONSTEXPR MethodDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~MethodDefaultTypeInternalgoogle::protobuf::MethodDefaultTypeInternal88   ~MethodDefaultTypeInternal() {}
89   union {
90     Method _instance;
91   };
92 };
93 
94 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT
95     PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MethodDefaultTypeInternal _Method_default_instance_;
96 
Impl_(::_pbi::ConstantInitialized)97 inline constexpr Api::Impl_::Impl_(
98     ::_pbi::ConstantInitialized) noexcept
99       : _cached_size_{0},
100         methods_{},
101         options_{},
102         mixins_{},
103         name_(
104             &::google::protobuf::internal::fixed_address_empty_string,
105             ::_pbi::ConstantInitialized()),
106         version_(
107             &::google::protobuf::internal::fixed_address_empty_string,
108             ::_pbi::ConstantInitialized()),
109         source_context_{nullptr},
110         syntax_{static_cast< ::google::protobuf::Syntax >(0)} {}
111 
112 template <typename>
Api(::_pbi::ConstantInitialized)113 PROTOBUF_CONSTEXPR Api::Api(::_pbi::ConstantInitialized)
114 #if defined(PROTOBUF_CUSTOM_VTABLE)
115     : ::google::protobuf::Message(_class_data_.base()),
116 #else   // PROTOBUF_CUSTOM_VTABLE
117     : ::google::protobuf::Message(),
118 #endif  // PROTOBUF_CUSTOM_VTABLE
119       _impl_(::_pbi::ConstantInitialized()) {
120 }
121 struct ApiDefaultTypeInternal {
ApiDefaultTypeInternalgoogle::protobuf::ApiDefaultTypeInternal122   PROTOBUF_CONSTEXPR ApiDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~ApiDefaultTypeInternalgoogle::protobuf::ApiDefaultTypeInternal123   ~ApiDefaultTypeInternal() {}
124   union {
125     Api _instance;
126   };
127 };
128 
129 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT
130     PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ApiDefaultTypeInternal _Api_default_instance_;
131 }  // namespace protobuf
132 }  // namespace google
133 static constexpr const ::_pb::EnumDescriptor**
134     file_level_enum_descriptors_google_2fprotobuf_2fapi_2eproto = nullptr;
135 static constexpr const ::_pb::ServiceDescriptor**
136     file_level_service_descriptors_google_2fprotobuf_2fapi_2eproto = nullptr;
137 const ::uint32_t
138     TableStruct_google_2fprotobuf_2fapi_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
139         protodesc_cold) = {
140         PROTOBUF_FIELD_OFFSET(::google::protobuf::Api, _impl_._has_bits_),
141         PROTOBUF_FIELD_OFFSET(::google::protobuf::Api, _internal_metadata_),
142         ~0u,  // no _extensions_
143         ~0u,  // no _oneof_case_
144         ~0u,  // no _weak_field_map_
145         ~0u,  // no _inlined_string_donated_
146         ~0u,  // no _split_
147         ~0u,  // no sizeof(Split)
148         PROTOBUF_FIELD_OFFSET(::google::protobuf::Api, _impl_.name_),
149         PROTOBUF_FIELD_OFFSET(::google::protobuf::Api, _impl_.methods_),
150         PROTOBUF_FIELD_OFFSET(::google::protobuf::Api, _impl_.options_),
151         PROTOBUF_FIELD_OFFSET(::google::protobuf::Api, _impl_.version_),
152         PROTOBUF_FIELD_OFFSET(::google::protobuf::Api, _impl_.source_context_),
153         PROTOBUF_FIELD_OFFSET(::google::protobuf::Api, _impl_.mixins_),
154         PROTOBUF_FIELD_OFFSET(::google::protobuf::Api, _impl_.syntax_),
155         ~0u,
156         ~0u,
157         ~0u,
158         ~0u,
159         0,
160         ~0u,
161         ~0u,
162         ~0u,  // no _has_bits_
163         PROTOBUF_FIELD_OFFSET(::google::protobuf::Method, _internal_metadata_),
164         ~0u,  // no _extensions_
165         ~0u,  // no _oneof_case_
166         ~0u,  // no _weak_field_map_
167         ~0u,  // no _inlined_string_donated_
168         ~0u,  // no _split_
169         ~0u,  // no sizeof(Split)
170         PROTOBUF_FIELD_OFFSET(::google::protobuf::Method, _impl_.name_),
171         PROTOBUF_FIELD_OFFSET(::google::protobuf::Method, _impl_.request_type_url_),
172         PROTOBUF_FIELD_OFFSET(::google::protobuf::Method, _impl_.request_streaming_),
173         PROTOBUF_FIELD_OFFSET(::google::protobuf::Method, _impl_.response_type_url_),
174         PROTOBUF_FIELD_OFFSET(::google::protobuf::Method, _impl_.response_streaming_),
175         PROTOBUF_FIELD_OFFSET(::google::protobuf::Method, _impl_.options_),
176         PROTOBUF_FIELD_OFFSET(::google::protobuf::Method, _impl_.syntax_),
177         ~0u,  // no _has_bits_
178         PROTOBUF_FIELD_OFFSET(::google::protobuf::Mixin, _internal_metadata_),
179         ~0u,  // no _extensions_
180         ~0u,  // no _oneof_case_
181         ~0u,  // no _weak_field_map_
182         ~0u,  // no _inlined_string_donated_
183         ~0u,  // no _split_
184         ~0u,  // no sizeof(Split)
185         PROTOBUF_FIELD_OFFSET(::google::protobuf::Mixin, _impl_.name_),
186         PROTOBUF_FIELD_OFFSET(::google::protobuf::Mixin, _impl_.root_),
187 };
188 
189 static const ::_pbi::MigrationSchema
190     schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
191         {0, 15, -1, sizeof(::google::protobuf::Api)},
192         {22, -1, -1, sizeof(::google::protobuf::Method)},
193         {37, -1, -1, sizeof(::google::protobuf::Mixin)},
194 };
195 static const ::_pb::Message* const file_default_instances[] = {
196     &::google::protobuf::_Api_default_instance_._instance,
197     &::google::protobuf::_Method_default_instance_._instance,
198     &::google::protobuf::_Mixin_default_instance_._instance,
199 };
200 const char descriptor_table_protodef_google_2fprotobuf_2fapi_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
201     protodesc_cold) = {
202     "\n\031google/protobuf/api.proto\022\017google.prot"
203     "obuf\032$google/protobuf/source_context.pro"
204     "to\032\032google/protobuf/type.proto\"\201\002\n\003Api\022\014"
205     "\n\004name\030\001 \001(\t\022(\n\007methods\030\002 \003(\0132\027.google.p"
206     "rotobuf.Method\022(\n\007options\030\003 \003(\0132\027.google"
207     ".protobuf.Option\022\017\n\007version\030\004 \001(\t\0226\n\016sou"
208     "rce_context\030\005 \001(\0132\036.google.protobuf.Sour"
209     "ceContext\022&\n\006mixins\030\006 \003(\0132\026.google.proto"
210     "buf.Mixin\022\'\n\006syntax\030\007 \001(\0162\027.google.proto"
211     "buf.Syntax\"\325\001\n\006Method\022\014\n\004name\030\001 \001(\t\022\030\n\020r"
212     "equest_type_url\030\002 \001(\t\022\031\n\021request_streami"
213     "ng\030\003 \001(\010\022\031\n\021response_type_url\030\004 \001(\t\022\032\n\022r"
214     "esponse_streaming\030\005 \001(\010\022(\n\007options\030\006 \003(\013"
215     "2\027.google.protobuf.Option\022\'\n\006syntax\030\007 \001("
216     "\0162\027.google.protobuf.Syntax\"#\n\005Mixin\022\014\n\004n"
217     "ame\030\001 \001(\t\022\014\n\004root\030\002 \001(\tBv\n\023com.google.pr"
218     "otobufB\010ApiProtoP\001Z,google.golang.org/pr"
219     "otobuf/types/known/apipb\242\002\003GPB\252\002\036Google."
220     "Protobuf.WellKnownTypesb\006proto3"
221 };
222 static const ::_pbi::DescriptorTable* const descriptor_table_google_2fprotobuf_2fapi_2eproto_deps[2] =
223     {
224         &::descriptor_table_google_2fprotobuf_2fsource_5fcontext_2eproto,
225         &::descriptor_table_google_2fprotobuf_2ftype_2eproto,
226 };
227 static ::absl::once_flag descriptor_table_google_2fprotobuf_2fapi_2eproto_once;
228 PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_google_2fprotobuf_2fapi_2eproto = {
229     false,
230     false,
231     751,
232     descriptor_table_protodef_google_2fprotobuf_2fapi_2eproto,
233     "google/protobuf/api.proto",
234     &descriptor_table_google_2fprotobuf_2fapi_2eproto_once,
235     descriptor_table_google_2fprotobuf_2fapi_2eproto_deps,
236     2,
237     3,
238     schemas,
239     file_default_instances,
240     TableStruct_google_2fprotobuf_2fapi_2eproto::offsets,
241     file_level_enum_descriptors_google_2fprotobuf_2fapi_2eproto,
242     file_level_service_descriptors_google_2fprotobuf_2fapi_2eproto,
243 };
244 namespace google {
245 namespace protobuf {
246 // ===================================================================
247 
248 class Api::_Internal {
249  public:
250   using HasBits =
251       decltype(std::declval<Api>()._impl_._has_bits_);
252   static constexpr ::int32_t kHasBitsOffset =
253       8 * PROTOBUF_FIELD_OFFSET(Api, _impl_._has_bits_);
254 };
255 
clear_options()256 void Api::clear_options() {
257   ::google::protobuf::internal::TSanWrite(&_impl_);
258   _impl_.options_.Clear();
259 }
clear_source_context()260 void Api::clear_source_context() {
261   ::google::protobuf::internal::TSanWrite(&_impl_);
262   if (_impl_.source_context_ != nullptr) _impl_.source_context_->Clear();
263   _impl_._has_bits_[0] &= ~0x00000001u;
264 }
Api(::google::protobuf::Arena * arena)265 Api::Api(::google::protobuf::Arena* arena)
266 #if defined(PROTOBUF_CUSTOM_VTABLE)
267     : ::google::protobuf::Message(arena, _class_data_.base()) {
268 #else   // PROTOBUF_CUSTOM_VTABLE
269     : ::google::protobuf::Message(arena) {
270 #endif  // PROTOBUF_CUSTOM_VTABLE
271   SharedCtor(arena);
272   // @@protoc_insertion_point(arena_constructor:google.protobuf.Api)
273 }
274 inline PROTOBUF_NDEBUG_INLINE Api::Impl_::Impl_(
275     ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
276     const Impl_& from, const ::google::protobuf::Api& from_msg)
277       : _has_bits_{from._has_bits_},
278         _cached_size_{0},
279         methods_{visibility, arena, from.methods_},
280         options_{visibility, arena, from.options_},
281         mixins_{visibility, arena, from.mixins_},
282         name_(arena, from.name_),
283         version_(arena, from.version_) {}
284 
285 Api::Api(
286     ::google::protobuf::Arena* arena,
287     const Api& from)
288 #if defined(PROTOBUF_CUSTOM_VTABLE)
289     : ::google::protobuf::Message(arena, _class_data_.base()) {
290 #else   // PROTOBUF_CUSTOM_VTABLE
291     : ::google::protobuf::Message(arena) {
292 #endif  // PROTOBUF_CUSTOM_VTABLE
293   Api* const _this = this;
294   (void)_this;
295   _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
296       from._internal_metadata_);
297   new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
298   ::uint32_t cached_has_bits = _impl_._has_bits_[0];
299   _impl_.source_context_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::SourceContext>(
300                               arena, *from._impl_.source_context_)
301                         : nullptr;
302   _impl_.syntax_ = from._impl_.syntax_;
303 
304   // @@protoc_insertion_point(copy_constructor:google.protobuf.Api)
305 }
306 inline PROTOBUF_NDEBUG_INLINE Api::Impl_::Impl_(
307     ::google::protobuf::internal::InternalVisibility visibility,
308     ::google::protobuf::Arena* arena)
309       : _cached_size_{0},
310         methods_{visibility, arena},
311         options_{visibility, arena},
312         mixins_{visibility, arena},
313         name_(arena),
314         version_(arena) {}
315 
316 inline void Api::SharedCtor(::_pb::Arena* arena) {
317   new (&_impl_) Impl_(internal_visibility(), arena);
318   ::memset(reinterpret_cast<char *>(&_impl_) +
319                offsetof(Impl_, source_context_),
320            0,
321            offsetof(Impl_, syntax_) -
322                offsetof(Impl_, source_context_) +
323                sizeof(Impl_::syntax_));
324 }
325 Api::~Api() {
326   // @@protoc_insertion_point(destructor:google.protobuf.Api)
327   SharedDtor(*this);
328 }
329 inline void Api::SharedDtor(MessageLite& self) {
330   Api& this_ = static_cast<Api&>(self);
331   this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
332   ABSL_DCHECK(this_.GetArena() == nullptr);
333   this_._impl_.name_.Destroy();
334   this_._impl_.version_.Destroy();
335   delete this_._impl_.source_context_;
336   this_._impl_.~Impl_();
337 }
338 
339 inline void* Api::PlacementNew_(const void*, void* mem,
340                                         ::google::protobuf::Arena* arena) {
341   return ::new (mem) Api(arena);
342 }
343 constexpr auto Api::InternalNewImpl_() {
344   constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
345       PROTOBUF_FIELD_OFFSET(Api, _impl_.methods_) +
346           decltype(Api::_impl_.methods_)::
347               InternalGetArenaOffset(
348                   ::google::protobuf::Message::internal_visibility()),
349       PROTOBUF_FIELD_OFFSET(Api, _impl_.options_) +
350           decltype(Api::_impl_.options_)::
351               InternalGetArenaOffset(
352                   ::google::protobuf::Message::internal_visibility()),
353       PROTOBUF_FIELD_OFFSET(Api, _impl_.mixins_) +
354           decltype(Api::_impl_.mixins_)::
355               InternalGetArenaOffset(
356                   ::google::protobuf::Message::internal_visibility()),
357   });
358   if (arena_bits.has_value()) {
359     return ::google::protobuf::internal::MessageCreator::CopyInit(
360         sizeof(Api), alignof(Api), *arena_bits);
361   } else {
362     return ::google::protobuf::internal::MessageCreator(&Api::PlacementNew_,
363                                  sizeof(Api),
364                                  alignof(Api));
365   }
366 }
367 PROTOBUF_CONSTINIT
368 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
369 const ::google::protobuf::internal::ClassDataFull Api::_class_data_ = {
370     ::google::protobuf::internal::ClassData{
371         &_Api_default_instance_._instance,
372         &_table_.header,
373         nullptr,  // OnDemandRegisterArenaDtor
374         nullptr,  // IsInitialized
375         &Api::MergeImpl,
376         ::google::protobuf::Message::GetNewImpl<Api>(),
377 #if defined(PROTOBUF_CUSTOM_VTABLE)
378         &Api::SharedDtor,
379         ::google::protobuf::Message::GetClearImpl<Api>(), &Api::ByteSizeLong,
380             &Api::_InternalSerialize,
381 #endif  // PROTOBUF_CUSTOM_VTABLE
382         PROTOBUF_FIELD_OFFSET(Api, _impl_._cached_size_),
383         false,
384     },
385     &Api::kDescriptorMethods,
386     &descriptor_table_google_2fprotobuf_2fapi_2eproto,
387     nullptr,  // tracker
388 };
389 const ::google::protobuf::internal::ClassData* Api::GetClassData() const {
390   ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
391   ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
392   return _class_data_.base();
393 }
394 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
395 const ::_pbi::TcParseTable<3, 7, 4, 39, 2> Api::_table_ = {
396   {
397     PROTOBUF_FIELD_OFFSET(Api, _impl_._has_bits_),
398     0, // no _extensions_
399     7, 56,  // max_field_number, fast_idx_mask
400     offsetof(decltype(_table_), field_lookup_table),
401     4294967168,  // skipmap
402     offsetof(decltype(_table_), field_entries),
403     7,  // num_field_entries
404     4,  // num_aux_entries
405     offsetof(decltype(_table_), aux_entries),
406     _class_data_.base(),
407     nullptr,  // post_loop_handler
408     ::_pbi::TcParser::GenericFallback,  // fallback
409     #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
410     ::_pbi::TcParser::GetTable<::google::protobuf::Api>(),  // to_prefetch
411     #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
412   }, {{
413     {::_pbi::TcParser::MiniParse, {}},
414     // string name = 1;
415     {::_pbi::TcParser::FastUS1,
416      {10, 63, 0, PROTOBUF_FIELD_OFFSET(Api, _impl_.name_)}},
417     // repeated .google.protobuf.Method methods = 2;
418     {::_pbi::TcParser::FastMtR1,
419      {18, 63, 0, PROTOBUF_FIELD_OFFSET(Api, _impl_.methods_)}},
420     // repeated .google.protobuf.Option options = 3;
421     {::_pbi::TcParser::FastMtR1,
422      {26, 63, 1, PROTOBUF_FIELD_OFFSET(Api, _impl_.options_)}},
423     // string version = 4;
424     {::_pbi::TcParser::FastUS1,
425      {34, 63, 0, PROTOBUF_FIELD_OFFSET(Api, _impl_.version_)}},
426     // .google.protobuf.SourceContext source_context = 5;
427     {::_pbi::TcParser::FastMtS1,
428      {42, 0, 2, PROTOBUF_FIELD_OFFSET(Api, _impl_.source_context_)}},
429     // repeated .google.protobuf.Mixin mixins = 6;
430     {::_pbi::TcParser::FastMtR1,
431      {50, 63, 3, PROTOBUF_FIELD_OFFSET(Api, _impl_.mixins_)}},
432     // .google.protobuf.Syntax syntax = 7;
433     {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Api, _impl_.syntax_), 63>(),
434      {56, 63, 0, PROTOBUF_FIELD_OFFSET(Api, _impl_.syntax_)}},
435   }}, {{
436     65535, 65535
437   }}, {{
438     // string name = 1;
439     {PROTOBUF_FIELD_OFFSET(Api, _impl_.name_), -1, 0,
440     (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
441     // repeated .google.protobuf.Method methods = 2;
442     {PROTOBUF_FIELD_OFFSET(Api, _impl_.methods_), -1, 0,
443     (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
444     // repeated .google.protobuf.Option options = 3;
445     {PROTOBUF_FIELD_OFFSET(Api, _impl_.options_), -1, 1,
446     (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
447     // string version = 4;
448     {PROTOBUF_FIELD_OFFSET(Api, _impl_.version_), -1, 0,
449     (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
450     // .google.protobuf.SourceContext source_context = 5;
451     {PROTOBUF_FIELD_OFFSET(Api, _impl_.source_context_), _Internal::kHasBitsOffset + 0, 2,
452     (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
453     // repeated .google.protobuf.Mixin mixins = 6;
454     {PROTOBUF_FIELD_OFFSET(Api, _impl_.mixins_), -1, 3,
455     (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
456     // .google.protobuf.Syntax syntax = 7;
457     {PROTOBUF_FIELD_OFFSET(Api, _impl_.syntax_), -1, 0,
458     (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)},
459   }}, {{
460     {::_pbi::TcParser::GetTable<::google::protobuf::Method>()},
461     {::_pbi::TcParser::GetTable<::google::protobuf::Option>()},
462     {::_pbi::TcParser::GetTable<::google::protobuf::SourceContext>()},
463     {::_pbi::TcParser::GetTable<::google::protobuf::Mixin>()},
464   }}, {{
465     "\23\4\0\0\7\0\0\0"
466     "google.protobuf.Api"
467     "name"
468     "version"
469   }},
470 };
471 
472 PROTOBUF_NOINLINE void Api::Clear() {
473 // @@protoc_insertion_point(message_clear_start:google.protobuf.Api)
474   ::google::protobuf::internal::TSanWrite(&_impl_);
475   ::uint32_t cached_has_bits = 0;
476   // Prevent compiler warnings about cached_has_bits being unused
477   (void) cached_has_bits;
478 
479   _impl_.methods_.Clear();
480   _impl_.options_.Clear();
481   _impl_.mixins_.Clear();
482   _impl_.name_.ClearToEmpty();
483   _impl_.version_.ClearToEmpty();
484   cached_has_bits = _impl_._has_bits_[0];
485   if (cached_has_bits & 0x00000001u) {
486     ABSL_DCHECK(_impl_.source_context_ != nullptr);
487     _impl_.source_context_->Clear();
488   }
489   _impl_.syntax_ = 0;
490   _impl_._has_bits_.Clear();
491   _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
492 }
493 
494 #if defined(PROTOBUF_CUSTOM_VTABLE)
495         ::uint8_t* Api::_InternalSerialize(
496             const MessageLite& base, ::uint8_t* target,
497             ::google::protobuf::io::EpsCopyOutputStream* stream) {
498           const Api& this_ = static_cast<const Api&>(base);
499 #else   // PROTOBUF_CUSTOM_VTABLE
500         ::uint8_t* Api::_InternalSerialize(
501             ::uint8_t* target,
502             ::google::protobuf::io::EpsCopyOutputStream* stream) const {
503           const Api& this_ = *this;
504 #endif  // PROTOBUF_CUSTOM_VTABLE
505           // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Api)
506           ::uint32_t cached_has_bits = 0;
507           (void)cached_has_bits;
508 
509           // string name = 1;
510           if (!this_._internal_name().empty()) {
511             const std::string& _s = this_._internal_name();
512             ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
513                 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Api.name");
514             target = stream->WriteStringMaybeAliased(1, _s, target);
515           }
516 
517           // repeated .google.protobuf.Method methods = 2;
518           for (unsigned i = 0, n = static_cast<unsigned>(
519                                    this_._internal_methods_size());
520                i < n; i++) {
521             const auto& repfield = this_._internal_methods().Get(i);
522             target =
523                 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
524                     2, repfield, repfield.GetCachedSize(),
525                     target, stream);
526           }
527 
528           // repeated .google.protobuf.Option options = 3;
529           for (unsigned i = 0, n = static_cast<unsigned>(
530                                    this_._internal_options_size());
531                i < n; i++) {
532             const auto& repfield = this_._internal_options().Get(i);
533             target =
534                 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
535                     3, repfield, repfield.GetCachedSize(),
536                     target, stream);
537           }
538 
539           // string version = 4;
540           if (!this_._internal_version().empty()) {
541             const std::string& _s = this_._internal_version();
542             ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
543                 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Api.version");
544             target = stream->WriteStringMaybeAliased(4, _s, target);
545           }
546 
547           cached_has_bits = this_._impl_._has_bits_[0];
548           // .google.protobuf.SourceContext source_context = 5;
549           if (cached_has_bits & 0x00000001u) {
550             target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
551                 5, *this_._impl_.source_context_, this_._impl_.source_context_->GetCachedSize(), target,
552                 stream);
553           }
554 
555           // repeated .google.protobuf.Mixin mixins = 6;
556           for (unsigned i = 0, n = static_cast<unsigned>(
557                                    this_._internal_mixins_size());
558                i < n; i++) {
559             const auto& repfield = this_._internal_mixins().Get(i);
560             target =
561                 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
562                     6, repfield, repfield.GetCachedSize(),
563                     target, stream);
564           }
565 
566           // .google.protobuf.Syntax syntax = 7;
567           if (this_._internal_syntax() != 0) {
568             target = stream->EnsureSpace(target);
569             target = ::_pbi::WireFormatLite::WriteEnumToArray(
570                 7, this_._internal_syntax(), target);
571           }
572 
573           if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
574             target =
575                 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
576                     this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
577           }
578           // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.Api)
579           return target;
580         }
581 
582 #if defined(PROTOBUF_CUSTOM_VTABLE)
583         ::size_t Api::ByteSizeLong(const MessageLite& base) {
584           const Api& this_ = static_cast<const Api&>(base);
585 #else   // PROTOBUF_CUSTOM_VTABLE
586         ::size_t Api::ByteSizeLong() const {
587           const Api& this_ = *this;
588 #endif  // PROTOBUF_CUSTOM_VTABLE
589           // @@protoc_insertion_point(message_byte_size_start:google.protobuf.Api)
590           ::size_t total_size = 0;
591 
592           ::uint32_t cached_has_bits = 0;
593           // Prevent compiler warnings about cached_has_bits being unused
594           (void)cached_has_bits;
595 
596           ::_pbi::Prefetch5LinesFrom7Lines(&this_);
597            {
598             // repeated .google.protobuf.Method methods = 2;
599             {
600               total_size += 1UL * this_._internal_methods_size();
601               for (const auto& msg : this_._internal_methods()) {
602                 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
603               }
604             }
605             // repeated .google.protobuf.Option options = 3;
606             {
607               total_size += 1UL * this_._internal_options_size();
608               for (const auto& msg : this_._internal_options()) {
609                 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
610               }
611             }
612             // repeated .google.protobuf.Mixin mixins = 6;
613             {
614               total_size += 1UL * this_._internal_mixins_size();
615               for (const auto& msg : this_._internal_mixins()) {
616                 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
617               }
618             }
619           }
620            {
621             // string name = 1;
622             if (!this_._internal_name().empty()) {
623               total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
624                                               this_._internal_name());
625             }
626             // string version = 4;
627             if (!this_._internal_version().empty()) {
628               total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
629                                               this_._internal_version());
630             }
631           }
632            {
633             // .google.protobuf.SourceContext source_context = 5;
634             cached_has_bits = this_._impl_._has_bits_[0];
635             if (cached_has_bits & 0x00000001u) {
636               total_size += 1 +
637                             ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.source_context_);
638             }
639           }
640            {
641             // .google.protobuf.Syntax syntax = 7;
642             if (this_._internal_syntax() != 0) {
643               total_size += 1 +
644                             ::_pbi::WireFormatLite::EnumSize(this_._internal_syntax());
645             }
646           }
647           return this_.MaybeComputeUnknownFieldsSize(total_size,
648                                                      &this_._impl_._cached_size_);
649         }
650 
651 void Api::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
652   auto* const _this = static_cast<Api*>(&to_msg);
653   auto& from = static_cast<const Api&>(from_msg);
654   ::google::protobuf::Arena* arena = _this->GetArena();
655   // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Api)
656   ABSL_DCHECK_NE(&from, _this);
657   ::uint32_t cached_has_bits = 0;
658   (void) cached_has_bits;
659 
660   _this->_internal_mutable_methods()->MergeFrom(
661       from._internal_methods());
662   _this->_internal_mutable_options()->MergeFrom(
663       from._internal_options());
664   _this->_internal_mutable_mixins()->MergeFrom(
665       from._internal_mixins());
666   if (!from._internal_name().empty()) {
667     _this->_internal_set_name(from._internal_name());
668   }
669   if (!from._internal_version().empty()) {
670     _this->_internal_set_version(from._internal_version());
671   }
672   cached_has_bits = from._impl_._has_bits_[0];
673   if (cached_has_bits & 0x00000001u) {
674     ABSL_DCHECK(from._impl_.source_context_ != nullptr);
675     if (_this->_impl_.source_context_ == nullptr) {
676       _this->_impl_.source_context_ =
677           ::google::protobuf::Message::CopyConstruct<::google::protobuf::SourceContext>(arena, *from._impl_.source_context_);
678     } else {
679       _this->_impl_.source_context_->MergeFrom(*from._impl_.source_context_);
680     }
681   }
682   if (from._internal_syntax() != 0) {
683     _this->_impl_.syntax_ = from._impl_.syntax_;
684   }
685   _this->_impl_._has_bits_[0] |= cached_has_bits;
686   _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
687 }
688 
689 void Api::CopyFrom(const Api& from) {
690 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.Api)
691   if (&from == this) return;
692   Clear();
693   MergeFrom(from);
694 }
695 
696 
697 void Api::InternalSwap(Api* PROTOBUF_RESTRICT other) {
698   using std::swap;
699   auto* arena = GetArena();
700   ABSL_DCHECK_EQ(arena, other->GetArena());
701   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
702   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
703   _impl_.methods_.InternalSwap(&other->_impl_.methods_);
704   _impl_.options_.InternalSwap(&other->_impl_.options_);
705   _impl_.mixins_.InternalSwap(&other->_impl_.mixins_);
706   ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena);
707   ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.version_, &other->_impl_.version_, arena);
708   ::google::protobuf::internal::memswap<
709       PROTOBUF_FIELD_OFFSET(Api, _impl_.syntax_)
710       + sizeof(Api::_impl_.syntax_)
711       - PROTOBUF_FIELD_OFFSET(Api, _impl_.source_context_)>(
712           reinterpret_cast<char*>(&_impl_.source_context_),
713           reinterpret_cast<char*>(&other->_impl_.source_context_));
714 }
715 
716 ::google::protobuf::Metadata Api::GetMetadata() const {
717   return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
718 }
719 // ===================================================================
720 
721 class Method::_Internal {
722  public:
723 };
724 
725 void Method::clear_options() {
726   ::google::protobuf::internal::TSanWrite(&_impl_);
727   _impl_.options_.Clear();
728 }
729 Method::Method(::google::protobuf::Arena* arena)
730 #if defined(PROTOBUF_CUSTOM_VTABLE)
731     : ::google::protobuf::Message(arena, _class_data_.base()) {
732 #else   // PROTOBUF_CUSTOM_VTABLE
733     : ::google::protobuf::Message(arena) {
734 #endif  // PROTOBUF_CUSTOM_VTABLE
735   SharedCtor(arena);
736   // @@protoc_insertion_point(arena_constructor:google.protobuf.Method)
737 }
738 inline PROTOBUF_NDEBUG_INLINE Method::Impl_::Impl_(
739     ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
740     const Impl_& from, const ::google::protobuf::Method& from_msg)
741       : options_{visibility, arena, from.options_},
742         name_(arena, from.name_),
743         request_type_url_(arena, from.request_type_url_),
744         response_type_url_(arena, from.response_type_url_),
745         _cached_size_{0} {}
746 
747 Method::Method(
748     ::google::protobuf::Arena* arena,
749     const Method& from)
750 #if defined(PROTOBUF_CUSTOM_VTABLE)
751     : ::google::protobuf::Message(arena, _class_data_.base()) {
752 #else   // PROTOBUF_CUSTOM_VTABLE
753     : ::google::protobuf::Message(arena) {
754 #endif  // PROTOBUF_CUSTOM_VTABLE
755   Method* const _this = this;
756   (void)_this;
757   _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
758       from._internal_metadata_);
759   new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
760   ::memcpy(reinterpret_cast<char *>(&_impl_) +
761                offsetof(Impl_, request_streaming_),
762            reinterpret_cast<const char *>(&from._impl_) +
763                offsetof(Impl_, request_streaming_),
764            offsetof(Impl_, syntax_) -
765                offsetof(Impl_, request_streaming_) +
766                sizeof(Impl_::syntax_));
767 
768   // @@protoc_insertion_point(copy_constructor:google.protobuf.Method)
769 }
770 inline PROTOBUF_NDEBUG_INLINE Method::Impl_::Impl_(
771     ::google::protobuf::internal::InternalVisibility visibility,
772     ::google::protobuf::Arena* arena)
773       : options_{visibility, arena},
774         name_(arena),
775         request_type_url_(arena),
776         response_type_url_(arena),
777         _cached_size_{0} {}
778 
779 inline void Method::SharedCtor(::_pb::Arena* arena) {
780   new (&_impl_) Impl_(internal_visibility(), arena);
781   ::memset(reinterpret_cast<char *>(&_impl_) +
782                offsetof(Impl_, request_streaming_),
783            0,
784            offsetof(Impl_, syntax_) -
785                offsetof(Impl_, request_streaming_) +
786                sizeof(Impl_::syntax_));
787 }
788 Method::~Method() {
789   // @@protoc_insertion_point(destructor:google.protobuf.Method)
790   SharedDtor(*this);
791 }
792 inline void Method::SharedDtor(MessageLite& self) {
793   Method& this_ = static_cast<Method&>(self);
794   this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
795   ABSL_DCHECK(this_.GetArena() == nullptr);
796   this_._impl_.name_.Destroy();
797   this_._impl_.request_type_url_.Destroy();
798   this_._impl_.response_type_url_.Destroy();
799   this_._impl_.~Impl_();
800 }
801 
802 inline void* Method::PlacementNew_(const void*, void* mem,
803                                         ::google::protobuf::Arena* arena) {
804   return ::new (mem) Method(arena);
805 }
806 constexpr auto Method::InternalNewImpl_() {
807   constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
808       PROTOBUF_FIELD_OFFSET(Method, _impl_.options_) +
809           decltype(Method::_impl_.options_)::
810               InternalGetArenaOffset(
811                   ::google::protobuf::Message::internal_visibility()),
812   });
813   if (arena_bits.has_value()) {
814     return ::google::protobuf::internal::MessageCreator::CopyInit(
815         sizeof(Method), alignof(Method), *arena_bits);
816   } else {
817     return ::google::protobuf::internal::MessageCreator(&Method::PlacementNew_,
818                                  sizeof(Method),
819                                  alignof(Method));
820   }
821 }
822 PROTOBUF_CONSTINIT
823 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
824 const ::google::protobuf::internal::ClassDataFull Method::_class_data_ = {
825     ::google::protobuf::internal::ClassData{
826         &_Method_default_instance_._instance,
827         &_table_.header,
828         nullptr,  // OnDemandRegisterArenaDtor
829         nullptr,  // IsInitialized
830         &Method::MergeImpl,
831         ::google::protobuf::Message::GetNewImpl<Method>(),
832 #if defined(PROTOBUF_CUSTOM_VTABLE)
833         &Method::SharedDtor,
834         ::google::protobuf::Message::GetClearImpl<Method>(), &Method::ByteSizeLong,
835             &Method::_InternalSerialize,
836 #endif  // PROTOBUF_CUSTOM_VTABLE
837         PROTOBUF_FIELD_OFFSET(Method, _impl_._cached_size_),
838         false,
839     },
840     &Method::kDescriptorMethods,
841     &descriptor_table_google_2fprotobuf_2fapi_2eproto,
842     nullptr,  // tracker
843 };
844 const ::google::protobuf::internal::ClassData* Method::GetClassData() const {
845   ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
846   ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
847   return _class_data_.base();
848 }
849 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
850 const ::_pbi::TcParseTable<3, 7, 1, 68, 2> Method::_table_ = {
851   {
852     0,  // no _has_bits_
853     0, // no _extensions_
854     7, 56,  // max_field_number, fast_idx_mask
855     offsetof(decltype(_table_), field_lookup_table),
856     4294967168,  // skipmap
857     offsetof(decltype(_table_), field_entries),
858     7,  // num_field_entries
859     1,  // num_aux_entries
860     offsetof(decltype(_table_), aux_entries),
861     _class_data_.base(),
862     nullptr,  // post_loop_handler
863     ::_pbi::TcParser::GenericFallback,  // fallback
864     #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
865     ::_pbi::TcParser::GetTable<::google::protobuf::Method>(),  // to_prefetch
866     #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
867   }, {{
868     {::_pbi::TcParser::MiniParse, {}},
869     // string name = 1;
870     {::_pbi::TcParser::FastUS1,
871      {10, 63, 0, PROTOBUF_FIELD_OFFSET(Method, _impl_.name_)}},
872     // string request_type_url = 2;
873     {::_pbi::TcParser::FastUS1,
874      {18, 63, 0, PROTOBUF_FIELD_OFFSET(Method, _impl_.request_type_url_)}},
875     // bool request_streaming = 3;
876     {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(Method, _impl_.request_streaming_), 63>(),
877      {24, 63, 0, PROTOBUF_FIELD_OFFSET(Method, _impl_.request_streaming_)}},
878     // string response_type_url = 4;
879     {::_pbi::TcParser::FastUS1,
880      {34, 63, 0, PROTOBUF_FIELD_OFFSET(Method, _impl_.response_type_url_)}},
881     // bool response_streaming = 5;
882     {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(Method, _impl_.response_streaming_), 63>(),
883      {40, 63, 0, PROTOBUF_FIELD_OFFSET(Method, _impl_.response_streaming_)}},
884     // repeated .google.protobuf.Option options = 6;
885     {::_pbi::TcParser::FastMtR1,
886      {50, 63, 0, PROTOBUF_FIELD_OFFSET(Method, _impl_.options_)}},
887     // .google.protobuf.Syntax syntax = 7;
888     {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Method, _impl_.syntax_), 63>(),
889      {56, 63, 0, PROTOBUF_FIELD_OFFSET(Method, _impl_.syntax_)}},
890   }}, {{
891     65535, 65535
892   }}, {{
893     // string name = 1;
894     {PROTOBUF_FIELD_OFFSET(Method, _impl_.name_), 0, 0,
895     (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
896     // string request_type_url = 2;
897     {PROTOBUF_FIELD_OFFSET(Method, _impl_.request_type_url_), 0, 0,
898     (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
899     // bool request_streaming = 3;
900     {PROTOBUF_FIELD_OFFSET(Method, _impl_.request_streaming_), 0, 0,
901     (0 | ::_fl::kFcSingular | ::_fl::kBool)},
902     // string response_type_url = 4;
903     {PROTOBUF_FIELD_OFFSET(Method, _impl_.response_type_url_), 0, 0,
904     (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
905     // bool response_streaming = 5;
906     {PROTOBUF_FIELD_OFFSET(Method, _impl_.response_streaming_), 0, 0,
907     (0 | ::_fl::kFcSingular | ::_fl::kBool)},
908     // repeated .google.protobuf.Option options = 6;
909     {PROTOBUF_FIELD_OFFSET(Method, _impl_.options_), 0, 0,
910     (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
911     // .google.protobuf.Syntax syntax = 7;
912     {PROTOBUF_FIELD_OFFSET(Method, _impl_.syntax_), 0, 0,
913     (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)},
914   }}, {{
915     {::_pbi::TcParser::GetTable<::google::protobuf::Option>()},
916   }}, {{
917     "\26\4\20\0\21\0\0\0"
918     "google.protobuf.Method"
919     "name"
920     "request_type_url"
921     "response_type_url"
922   }},
923 };
924 
925 PROTOBUF_NOINLINE void Method::Clear() {
926 // @@protoc_insertion_point(message_clear_start:google.protobuf.Method)
927   ::google::protobuf::internal::TSanWrite(&_impl_);
928   ::uint32_t cached_has_bits = 0;
929   // Prevent compiler warnings about cached_has_bits being unused
930   (void) cached_has_bits;
931 
932   _impl_.options_.Clear();
933   _impl_.name_.ClearToEmpty();
934   _impl_.request_type_url_.ClearToEmpty();
935   _impl_.response_type_url_.ClearToEmpty();
936   ::memset(&_impl_.request_streaming_, 0, static_cast<::size_t>(
937       reinterpret_cast<char*>(&_impl_.syntax_) -
938       reinterpret_cast<char*>(&_impl_.request_streaming_)) + sizeof(_impl_.syntax_));
939   _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
940 }
941 
942 #if defined(PROTOBUF_CUSTOM_VTABLE)
943         ::uint8_t* Method::_InternalSerialize(
944             const MessageLite& base, ::uint8_t* target,
945             ::google::protobuf::io::EpsCopyOutputStream* stream) {
946           const Method& this_ = static_cast<const Method&>(base);
947 #else   // PROTOBUF_CUSTOM_VTABLE
948         ::uint8_t* Method::_InternalSerialize(
949             ::uint8_t* target,
950             ::google::protobuf::io::EpsCopyOutputStream* stream) const {
951           const Method& this_ = *this;
952 #endif  // PROTOBUF_CUSTOM_VTABLE
953           // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Method)
954           ::uint32_t cached_has_bits = 0;
955           (void)cached_has_bits;
956 
957           // string name = 1;
958           if (!this_._internal_name().empty()) {
959             const std::string& _s = this_._internal_name();
960             ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
961                 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Method.name");
962             target = stream->WriteStringMaybeAliased(1, _s, target);
963           }
964 
965           // string request_type_url = 2;
966           if (!this_._internal_request_type_url().empty()) {
967             const std::string& _s = this_._internal_request_type_url();
968             ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
969                 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Method.request_type_url");
970             target = stream->WriteStringMaybeAliased(2, _s, target);
971           }
972 
973           // bool request_streaming = 3;
974           if (this_._internal_request_streaming() != 0) {
975             target = stream->EnsureSpace(target);
976             target = ::_pbi::WireFormatLite::WriteBoolToArray(
977                 3, this_._internal_request_streaming(), target);
978           }
979 
980           // string response_type_url = 4;
981           if (!this_._internal_response_type_url().empty()) {
982             const std::string& _s = this_._internal_response_type_url();
983             ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
984                 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Method.response_type_url");
985             target = stream->WriteStringMaybeAliased(4, _s, target);
986           }
987 
988           // bool response_streaming = 5;
989           if (this_._internal_response_streaming() != 0) {
990             target = stream->EnsureSpace(target);
991             target = ::_pbi::WireFormatLite::WriteBoolToArray(
992                 5, this_._internal_response_streaming(), target);
993           }
994 
995           // repeated .google.protobuf.Option options = 6;
996           for (unsigned i = 0, n = static_cast<unsigned>(
997                                    this_._internal_options_size());
998                i < n; i++) {
999             const auto& repfield = this_._internal_options().Get(i);
1000             target =
1001                 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1002                     6, repfield, repfield.GetCachedSize(),
1003                     target, stream);
1004           }
1005 
1006           // .google.protobuf.Syntax syntax = 7;
1007           if (this_._internal_syntax() != 0) {
1008             target = stream->EnsureSpace(target);
1009             target = ::_pbi::WireFormatLite::WriteEnumToArray(
1010                 7, this_._internal_syntax(), target);
1011           }
1012 
1013           if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1014             target =
1015                 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1016                     this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1017           }
1018           // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.Method)
1019           return target;
1020         }
1021 
1022 #if defined(PROTOBUF_CUSTOM_VTABLE)
1023         ::size_t Method::ByteSizeLong(const MessageLite& base) {
1024           const Method& this_ = static_cast<const Method&>(base);
1025 #else   // PROTOBUF_CUSTOM_VTABLE
1026         ::size_t Method::ByteSizeLong() const {
1027           const Method& this_ = *this;
1028 #endif  // PROTOBUF_CUSTOM_VTABLE
1029           // @@protoc_insertion_point(message_byte_size_start:google.protobuf.Method)
1030           ::size_t total_size = 0;
1031 
1032           ::uint32_t cached_has_bits = 0;
1033           // Prevent compiler warnings about cached_has_bits being unused
1034           (void)cached_has_bits;
1035 
1036           ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1037            {
1038             // repeated .google.protobuf.Option options = 6;
1039             {
1040               total_size += 1UL * this_._internal_options_size();
1041               for (const auto& msg : this_._internal_options()) {
1042                 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
1043               }
1044             }
1045           }
1046            {
1047             // string name = 1;
1048             if (!this_._internal_name().empty()) {
1049               total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1050                                               this_._internal_name());
1051             }
1052             // string request_type_url = 2;
1053             if (!this_._internal_request_type_url().empty()) {
1054               total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1055                                               this_._internal_request_type_url());
1056             }
1057             // string response_type_url = 4;
1058             if (!this_._internal_response_type_url().empty()) {
1059               total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1060                                               this_._internal_response_type_url());
1061             }
1062             // bool request_streaming = 3;
1063             if (this_._internal_request_streaming() != 0) {
1064               total_size += 2;
1065             }
1066             // bool response_streaming = 5;
1067             if (this_._internal_response_streaming() != 0) {
1068               total_size += 2;
1069             }
1070             // .google.protobuf.Syntax syntax = 7;
1071             if (this_._internal_syntax() != 0) {
1072               total_size += 1 +
1073                             ::_pbi::WireFormatLite::EnumSize(this_._internal_syntax());
1074             }
1075           }
1076           return this_.MaybeComputeUnknownFieldsSize(total_size,
1077                                                      &this_._impl_._cached_size_);
1078         }
1079 
1080 void Method::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
1081   auto* const _this = static_cast<Method*>(&to_msg);
1082   auto& from = static_cast<const Method&>(from_msg);
1083   // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Method)
1084   ABSL_DCHECK_NE(&from, _this);
1085   ::uint32_t cached_has_bits = 0;
1086   (void) cached_has_bits;
1087 
1088   _this->_internal_mutable_options()->MergeFrom(
1089       from._internal_options());
1090   if (!from._internal_name().empty()) {
1091     _this->_internal_set_name(from._internal_name());
1092   }
1093   if (!from._internal_request_type_url().empty()) {
1094     _this->_internal_set_request_type_url(from._internal_request_type_url());
1095   }
1096   if (!from._internal_response_type_url().empty()) {
1097     _this->_internal_set_response_type_url(from._internal_response_type_url());
1098   }
1099   if (from._internal_request_streaming() != 0) {
1100     _this->_impl_.request_streaming_ = from._impl_.request_streaming_;
1101   }
1102   if (from._internal_response_streaming() != 0) {
1103     _this->_impl_.response_streaming_ = from._impl_.response_streaming_;
1104   }
1105   if (from._internal_syntax() != 0) {
1106     _this->_impl_.syntax_ = from._impl_.syntax_;
1107   }
1108   _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
1109 }
1110 
1111 void Method::CopyFrom(const Method& from) {
1112 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.Method)
1113   if (&from == this) return;
1114   Clear();
1115   MergeFrom(from);
1116 }
1117 
1118 
1119 void Method::InternalSwap(Method* PROTOBUF_RESTRICT other) {
1120   using std::swap;
1121   auto* arena = GetArena();
1122   ABSL_DCHECK_EQ(arena, other->GetArena());
1123   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1124   _impl_.options_.InternalSwap(&other->_impl_.options_);
1125   ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena);
1126   ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.request_type_url_, &other->_impl_.request_type_url_, arena);
1127   ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.response_type_url_, &other->_impl_.response_type_url_, arena);
1128   ::google::protobuf::internal::memswap<
1129       PROTOBUF_FIELD_OFFSET(Method, _impl_.syntax_)
1130       + sizeof(Method::_impl_.syntax_)
1131       - PROTOBUF_FIELD_OFFSET(Method, _impl_.request_streaming_)>(
1132           reinterpret_cast<char*>(&_impl_.request_streaming_),
1133           reinterpret_cast<char*>(&other->_impl_.request_streaming_));
1134 }
1135 
1136 ::google::protobuf::Metadata Method::GetMetadata() const {
1137   return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1138 }
1139 // ===================================================================
1140 
1141 class Mixin::_Internal {
1142  public:
1143 };
1144 
1145 Mixin::Mixin(::google::protobuf::Arena* arena)
1146 #if defined(PROTOBUF_CUSTOM_VTABLE)
1147     : ::google::protobuf::Message(arena, _class_data_.base()) {
1148 #else   // PROTOBUF_CUSTOM_VTABLE
1149     : ::google::protobuf::Message(arena) {
1150 #endif  // PROTOBUF_CUSTOM_VTABLE
1151   SharedCtor(arena);
1152   // @@protoc_insertion_point(arena_constructor:google.protobuf.Mixin)
1153 }
1154 inline PROTOBUF_NDEBUG_INLINE Mixin::Impl_::Impl_(
1155     ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
1156     const Impl_& from, const ::google::protobuf::Mixin& from_msg)
1157       : name_(arena, from.name_),
1158         root_(arena, from.root_),
1159         _cached_size_{0} {}
1160 
1161 Mixin::Mixin(
1162     ::google::protobuf::Arena* arena,
1163     const Mixin& from)
1164 #if defined(PROTOBUF_CUSTOM_VTABLE)
1165     : ::google::protobuf::Message(arena, _class_data_.base()) {
1166 #else   // PROTOBUF_CUSTOM_VTABLE
1167     : ::google::protobuf::Message(arena) {
1168 #endif  // PROTOBUF_CUSTOM_VTABLE
1169   Mixin* const _this = this;
1170   (void)_this;
1171   _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1172       from._internal_metadata_);
1173   new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1174 
1175   // @@protoc_insertion_point(copy_constructor:google.protobuf.Mixin)
1176 }
1177 inline PROTOBUF_NDEBUG_INLINE Mixin::Impl_::Impl_(
1178     ::google::protobuf::internal::InternalVisibility visibility,
1179     ::google::protobuf::Arena* arena)
1180       : name_(arena),
1181         root_(arena),
1182         _cached_size_{0} {}
1183 
1184 inline void Mixin::SharedCtor(::_pb::Arena* arena) {
1185   new (&_impl_) Impl_(internal_visibility(), arena);
1186 }
1187 Mixin::~Mixin() {
1188   // @@protoc_insertion_point(destructor:google.protobuf.Mixin)
1189   SharedDtor(*this);
1190 }
1191 inline void Mixin::SharedDtor(MessageLite& self) {
1192   Mixin& this_ = static_cast<Mixin&>(self);
1193   this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1194   ABSL_DCHECK(this_.GetArena() == nullptr);
1195   this_._impl_.name_.Destroy();
1196   this_._impl_.root_.Destroy();
1197   this_._impl_.~Impl_();
1198 }
1199 
1200 inline void* Mixin::PlacementNew_(const void*, void* mem,
1201                                         ::google::protobuf::Arena* arena) {
1202   return ::new (mem) Mixin(arena);
1203 }
1204 constexpr auto Mixin::InternalNewImpl_() {
1205   return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Mixin),
1206                                             alignof(Mixin));
1207 }
1208 PROTOBUF_CONSTINIT
1209 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1210 const ::google::protobuf::internal::ClassDataFull Mixin::_class_data_ = {
1211     ::google::protobuf::internal::ClassData{
1212         &_Mixin_default_instance_._instance,
1213         &_table_.header,
1214         nullptr,  // OnDemandRegisterArenaDtor
1215         nullptr,  // IsInitialized
1216         &Mixin::MergeImpl,
1217         ::google::protobuf::Message::GetNewImpl<Mixin>(),
1218 #if defined(PROTOBUF_CUSTOM_VTABLE)
1219         &Mixin::SharedDtor,
1220         ::google::protobuf::Message::GetClearImpl<Mixin>(), &Mixin::ByteSizeLong,
1221             &Mixin::_InternalSerialize,
1222 #endif  // PROTOBUF_CUSTOM_VTABLE
1223         PROTOBUF_FIELD_OFFSET(Mixin, _impl_._cached_size_),
1224         false,
1225     },
1226     &Mixin::kDescriptorMethods,
1227     &descriptor_table_google_2fprotobuf_2fapi_2eproto,
1228     nullptr,  // tracker
1229 };
1230 const ::google::protobuf::internal::ClassData* Mixin::GetClassData() const {
1231   ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
1232   ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
1233   return _class_data_.base();
1234 }
1235 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1236 const ::_pbi::TcParseTable<1, 2, 0, 38, 2> Mixin::_table_ = {
1237   {
1238     0,  // no _has_bits_
1239     0, // no _extensions_
1240     2, 8,  // max_field_number, fast_idx_mask
1241     offsetof(decltype(_table_), field_lookup_table),
1242     4294967292,  // skipmap
1243     offsetof(decltype(_table_), field_entries),
1244     2,  // num_field_entries
1245     0,  // num_aux_entries
1246     offsetof(decltype(_table_), field_names),  // no aux_entries
1247     _class_data_.base(),
1248     nullptr,  // post_loop_handler
1249     ::_pbi::TcParser::GenericFallback,  // fallback
1250     #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1251     ::_pbi::TcParser::GetTable<::google::protobuf::Mixin>(),  // to_prefetch
1252     #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
1253   }, {{
1254     // string root = 2;
1255     {::_pbi::TcParser::FastUS1,
1256      {18, 63, 0, PROTOBUF_FIELD_OFFSET(Mixin, _impl_.root_)}},
1257     // string name = 1;
1258     {::_pbi::TcParser::FastUS1,
1259      {10, 63, 0, PROTOBUF_FIELD_OFFSET(Mixin, _impl_.name_)}},
1260   }}, {{
1261     65535, 65535
1262   }}, {{
1263     // string name = 1;
1264     {PROTOBUF_FIELD_OFFSET(Mixin, _impl_.name_), 0, 0,
1265     (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
1266     // string root = 2;
1267     {PROTOBUF_FIELD_OFFSET(Mixin, _impl_.root_), 0, 0,
1268     (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
1269   }},
1270   // no aux_entries
1271   {{
1272     "\25\4\4\0\0\0\0\0"
1273     "google.protobuf.Mixin"
1274     "name"
1275     "root"
1276   }},
1277 };
1278 
1279 PROTOBUF_NOINLINE void Mixin::Clear() {
1280 // @@protoc_insertion_point(message_clear_start:google.protobuf.Mixin)
1281   ::google::protobuf::internal::TSanWrite(&_impl_);
1282   ::uint32_t cached_has_bits = 0;
1283   // Prevent compiler warnings about cached_has_bits being unused
1284   (void) cached_has_bits;
1285 
1286   _impl_.name_.ClearToEmpty();
1287   _impl_.root_.ClearToEmpty();
1288   _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1289 }
1290 
1291 #if defined(PROTOBUF_CUSTOM_VTABLE)
1292         ::uint8_t* Mixin::_InternalSerialize(
1293             const MessageLite& base, ::uint8_t* target,
1294             ::google::protobuf::io::EpsCopyOutputStream* stream) {
1295           const Mixin& this_ = static_cast<const Mixin&>(base);
1296 #else   // PROTOBUF_CUSTOM_VTABLE
1297         ::uint8_t* Mixin::_InternalSerialize(
1298             ::uint8_t* target,
1299             ::google::protobuf::io::EpsCopyOutputStream* stream) const {
1300           const Mixin& this_ = *this;
1301 #endif  // PROTOBUF_CUSTOM_VTABLE
1302           // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Mixin)
1303           ::uint32_t cached_has_bits = 0;
1304           (void)cached_has_bits;
1305 
1306           // string name = 1;
1307           if (!this_._internal_name().empty()) {
1308             const std::string& _s = this_._internal_name();
1309             ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1310                 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Mixin.name");
1311             target = stream->WriteStringMaybeAliased(1, _s, target);
1312           }
1313 
1314           // string root = 2;
1315           if (!this_._internal_root().empty()) {
1316             const std::string& _s = this_._internal_root();
1317             ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1318                 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Mixin.root");
1319             target = stream->WriteStringMaybeAliased(2, _s, target);
1320           }
1321 
1322           if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1323             target =
1324                 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1325                     this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1326           }
1327           // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.Mixin)
1328           return target;
1329         }
1330 
1331 #if defined(PROTOBUF_CUSTOM_VTABLE)
1332         ::size_t Mixin::ByteSizeLong(const MessageLite& base) {
1333           const Mixin& this_ = static_cast<const Mixin&>(base);
1334 #else   // PROTOBUF_CUSTOM_VTABLE
1335         ::size_t Mixin::ByteSizeLong() const {
1336           const Mixin& this_ = *this;
1337 #endif  // PROTOBUF_CUSTOM_VTABLE
1338           // @@protoc_insertion_point(message_byte_size_start:google.protobuf.Mixin)
1339           ::size_t total_size = 0;
1340 
1341           ::uint32_t cached_has_bits = 0;
1342           // Prevent compiler warnings about cached_has_bits being unused
1343           (void)cached_has_bits;
1344 
1345           ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1346            {
1347             // string name = 1;
1348             if (!this_._internal_name().empty()) {
1349               total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1350                                               this_._internal_name());
1351             }
1352             // string root = 2;
1353             if (!this_._internal_root().empty()) {
1354               total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1355                                               this_._internal_root());
1356             }
1357           }
1358           return this_.MaybeComputeUnknownFieldsSize(total_size,
1359                                                      &this_._impl_._cached_size_);
1360         }
1361 
1362 void Mixin::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
1363   auto* const _this = static_cast<Mixin*>(&to_msg);
1364   auto& from = static_cast<const Mixin&>(from_msg);
1365   // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Mixin)
1366   ABSL_DCHECK_NE(&from, _this);
1367   ::uint32_t cached_has_bits = 0;
1368   (void) cached_has_bits;
1369 
1370   if (!from._internal_name().empty()) {
1371     _this->_internal_set_name(from._internal_name());
1372   }
1373   if (!from._internal_root().empty()) {
1374     _this->_internal_set_root(from._internal_root());
1375   }
1376   _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
1377 }
1378 
1379 void Mixin::CopyFrom(const Mixin& from) {
1380 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.Mixin)
1381   if (&from == this) return;
1382   Clear();
1383   MergeFrom(from);
1384 }
1385 
1386 
1387 void Mixin::InternalSwap(Mixin* PROTOBUF_RESTRICT other) {
1388   using std::swap;
1389   auto* arena = GetArena();
1390   ABSL_DCHECK_EQ(arena, other->GetArena());
1391   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1392   ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena);
1393   ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.root_, &other->_impl_.root_, arena);
1394 }
1395 
1396 ::google::protobuf::Metadata Mixin::GetMetadata() const {
1397   return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1398 }
1399 // @@protoc_insertion_point(namespace_scope)
1400 }  // namespace protobuf
1401 }  // namespace google
1402 namespace google {
1403 namespace protobuf {
1404 }  // namespace protobuf
1405 }  // namespace google
1406 // @@protoc_insertion_point(global_scope)
1407 PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
1408     _static_init2_ PROTOBUF_UNUSED =
1409         (::_pbi::AddDescriptors(&descriptor_table_google_2fprotobuf_2fapi_2eproto),
1410          ::std::false_type{});
1411 #include "google/protobuf/port_undef.inc"
1412