protobuf/src/google/protobuf/api.pb.cc
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: google/protobuf/api.proto
3 
4 #include <google/protobuf/api.pb.h>
5 
6 #include <algorithm>
7 
8 #include <google/protobuf/io/coded_stream.h>
9 #include <google/protobuf/extension_set.h>
10 #include <google/protobuf/wire_format_lite.h>
11 #include <google/protobuf/descriptor.h>
12 #include <google/protobuf/generated_message_reflection.h>
13 #include <google/protobuf/reflection_ops.h>
14 #include <google/protobuf/wire_format.h>
15 // @@protoc_insertion_point(includes)
16 #include <google/protobuf/port_def.inc>
17 
18 PROTOBUF_PRAGMA_INIT_SEG
19 PROTOBUF_NAMESPACE_OPEN
20 constexpr Api::Api(
21  ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
22  : methods_()
23  , options_()
24  , mixins_()
25  , name_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
26  , version_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
27  , source_context_(nullptr)
28  , syntax_(0)
29 {}
32  : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
34  union {
36  };
37 };
38 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ApiDefaultTypeInternal _Api_default_instance_;
39 constexpr Method::Method(
40  ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
41  : options_()
42  , name_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
43  , request_type_url_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
44  , response_type_url_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
45  , request_streaming_(false)
46  , response_streaming_(false)
47  , syntax_(0)
48 {}
51  : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
53  union {
55  };
56 };
57 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT MethodDefaultTypeInternal _Method_default_instance_;
58 constexpr Mixin::Mixin(
59  ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
60  : name_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
61  , root_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string){}
64  : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
66  union {
68  };
69 };
70 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT MixinDefaultTypeInternal _Mixin_default_instance_;
71 PROTOBUF_NAMESPACE_CLOSE
75 
77  ~0u, // no _has_bits_
78  PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::Api, _internal_metadata_),
79  ~0u, // no _extensions_
80  ~0u, // no _oneof_case_
81  ~0u, // no _weak_field_map_
82  ~0u, // no _inlined_string_donated_
83  PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::Api, name_),
84  PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::Api, methods_),
85  PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::Api, options_),
86  PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::Api, version_),
87  PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::Api, source_context_),
88  PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::Api, mixins_),
89  PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::Api, syntax_),
90  ~0u, // no _has_bits_
91  PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::Method, _internal_metadata_),
92  ~0u, // no _extensions_
93  ~0u, // no _oneof_case_
94  ~0u, // no _weak_field_map_
95  ~0u, // no _inlined_string_donated_
96  PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::Method, name_),
97  PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::Method, request_type_url_),
98  PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::Method, request_streaming_),
99  PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::Method, response_type_url_),
100  PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::Method, response_streaming_),
101  PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::Method, options_),
102  PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::Method, syntax_),
103  ~0u, // no _has_bits_
104  PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::Mixin, _internal_metadata_),
105  ~0u, // no _extensions_
106  ~0u, // no _oneof_case_
107  ~0u, // no _weak_field_map_
108  ~0u, // no _inlined_string_donated_
109  PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::Mixin, name_),
110  PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::Mixin, root_),
111 };
112 static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
113  { 0, -1, -1, sizeof(::PROTOBUF_NAMESPACE_ID::Api)},
114  { 13, -1, -1, sizeof(::PROTOBUF_NAMESPACE_ID::Method)},
115  { 26, -1, -1, sizeof(::PROTOBUF_NAMESPACE_ID::Mixin)},
116 };
117 
122 };
123 
124 const char descriptor_table_protodef_google_2fprotobuf_2fapi_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
125  "\n\031google/protobuf/api.proto\022\017google.prot"
126  "obuf\032$google/protobuf/source_context.pro"
127  "to\032\032google/protobuf/type.proto\"\201\002\n\003Api\022\014"
128  "\n\004name\030\001 \001(\t\022(\n\007methods\030\002 \003(\0132\027.google.p"
129  "rotobuf.Method\022(\n\007options\030\003 \003(\0132\027.google"
130  ".protobuf.Option\022\017\n\007version\030\004 \001(\t\0226\n\016sou"
131  "rce_context\030\005 \001(\0132\036.google.protobuf.Sour"
132  "ceContext\022&\n\006mixins\030\006 \003(\0132\026.google.proto"
133  "buf.Mixin\022\'\n\006syntax\030\007 \001(\0162\027.google.proto"
134  "buf.Syntax\"\325\001\n\006Method\022\014\n\004name\030\001 \001(\t\022\030\n\020r"
135  "equest_type_url\030\002 \001(\t\022\031\n\021request_streami"
136  "ng\030\003 \001(\010\022\031\n\021response_type_url\030\004 \001(\t\022\032\n\022r"
137  "esponse_streaming\030\005 \001(\010\022(\n\007options\030\006 \003(\013"
138  "2\027.google.protobuf.Option\022\'\n\006syntax\030\007 \001("
139  "\0162\027.google.protobuf.Syntax\"#\n\005Mixin\022\014\n\004n"
140  "ame\030\001 \001(\t\022\014\n\004root\030\002 \001(\tBv\n\023com.google.pr"
141  "otobufB\010ApiProtoP\001Z,google.golang.org/pr"
142  "otobuf/types/known/apipb\242\002\003GPB\252\002\036Google."
143  "Protobuf.WellKnownTypesb\006proto3"
144  ;
145 static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_google_2fprotobuf_2fapi_2eproto_deps[2] = {
148 };
150 const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fapi_2eproto = {
151  false, false, 751, descriptor_table_protodef_google_2fprotobuf_2fapi_2eproto, "google/protobuf/api.proto",
155 };
156 PROTOBUF_ATTRIBUTE_WEAK const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable* descriptor_table_google_2fprotobuf_2fapi_2eproto_getter() {
158 }
159 
160 // Force running AddDescriptors() at dynamic initialization time.
161 PROTOBUF_ATTRIBUTE_INIT_PRIORITY static ::PROTOBUF_NAMESPACE_ID::internal::AddDescriptorsRunner dynamic_init_dummy_google_2fprotobuf_2fapi_2eproto(&descriptor_table_google_2fprotobuf_2fapi_2eproto);
162 PROTOBUF_NAMESPACE_OPEN
163 
164 // ===================================================================
165 
166 class Api::_Internal {
167  public:
169 };
170 
173  return *msg->source_context_;
174 }
175 void Api::clear_options() {
176  options_.Clear();
177 }
179  if (GetArenaForAllocation() == nullptr && source_context_ != nullptr) {
180  delete source_context_;
181  }
182  source_context_ = nullptr;
183 }
185  bool is_message_owned)
186  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned),
187  methods_(arena),
188  options_(arena),
189  mixins_(arena) {
190  SharedCtor();
191  if (!is_message_owned) {
193  }
194  // @@protoc_insertion_point(arena_constructor:google.protobuf.Api)
195 }
196 Api::Api(const Api& from)
197  : ::PROTOBUF_NAMESPACE_ID::Message(),
198  methods_(from.methods_),
200  mixins_(from.mixins_) {
201  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
203  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
204  name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
205  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
206  if (!from._internal_name().empty()) {
208  GetArenaForAllocation());
209  }
211  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
212  version_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
213  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
214  if (!from._internal_version().empty()) {
216  GetArenaForAllocation());
217  }
218  if (from._internal_has_source_context()) {
220  } else {
221  source_context_ = nullptr;
222  }
223  syntax_ = from.syntax_;
224  // @@protoc_insertion_point(copy_constructor:google.protobuf.Api)
225 }
226 
227 inline void Api::SharedCtor() {
229 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
230  name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
231 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
233 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
234  version_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
235 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
236 ::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
237  reinterpret_cast<char*>(&source_context_) - reinterpret_cast<char*>(this)),
238  0, static_cast<size_t>(reinterpret_cast<char*>(&syntax_) -
239  reinterpret_cast<char*>(&source_context_)) + sizeof(syntax_));
240 }
241 
242 Api::~Api() {
243  // @@protoc_insertion_point(destructor:google.protobuf.Api)
244  if (GetArenaForAllocation() != nullptr) return;
245  SharedDtor();
247 }
248 
249 inline void Api::SharedDtor() {
250  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
253  if (this != internal_default_instance()) delete source_context_;
254 }
255 
256 void Api::ArenaDtor(void* object) {
257  Api* _this = reinterpret_cast< Api* >(object);
258  (void)_this;
259 }
261 }
262 void Api::SetCachedSize(int size) const {
263  _cached_size_.Set(size);
264 }
265 
266 void Api::Clear() {
267 // @@protoc_insertion_point(message_clear_start:google.protobuf.Api)
268  uint32_t cached_has_bits = 0;
269  // Prevent compiler warnings about cached_has_bits being unused
270  (void) cached_has_bits;
271 
272  methods_.Clear();
273  options_.Clear();
274  mixins_.Clear();
275  name_.ClearToEmpty();
276  version_.ClearToEmpty();
277  if (GetArenaForAllocation() == nullptr && source_context_ != nullptr) {
278  delete source_context_;
279  }
280  source_context_ = nullptr;
281  syntax_ = 0;
283 }
284 
285 const char* Api::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
286 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
287  while (!ctx->Done(&ptr)) {
288  uint32_t tag;
290  switch (tag >> 3) {
291  // string name = 1;
292  case 1:
293  if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
294  auto str = _internal_mutable_name();
296  CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.Api.name"));
297  CHK_(ptr);
298  } else
299  goto handle_unusual;
300  continue;
301  // repeated .google.protobuf.Method methods = 2;
302  case 2:
303  if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
304  ptr -= 1;
305  do {
306  ptr += 1;
307  ptr = ctx->ParseMessage(_internal_add_methods(), ptr);
308  CHK_(ptr);
309  if (!ctx->DataAvailable(ptr)) break;
310  } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr));
311  } else
312  goto handle_unusual;
313  continue;
314  // repeated .google.protobuf.Option options = 3;
315  case 3:
316  if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
317  ptr -= 1;
318  do {
319  ptr += 1;
320  ptr = ctx->ParseMessage(_internal_add_options(), ptr);
321  CHK_(ptr);
322  if (!ctx->DataAvailable(ptr)) break;
323  } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr));
324  } else
325  goto handle_unusual;
326  continue;
327  // string version = 4;
328  case 4:
329  if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) {
332  CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.Api.version"));
333  CHK_(ptr);
334  } else
335  goto handle_unusual;
336  continue;
337  // .google.protobuf.SourceContext source_context = 5;
338  case 5:
339  if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 42)) {
340  ptr = ctx->ParseMessage(_internal_mutable_source_context(), ptr);
341  CHK_(ptr);
342  } else
343  goto handle_unusual;
344  continue;
345  // repeated .google.protobuf.Mixin mixins = 6;
346  case 6:
347  if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 50)) {
348  ptr -= 1;
349  do {
350  ptr += 1;
351  ptr = ctx->ParseMessage(_internal_add_mixins(), ptr);
352  CHK_(ptr);
353  if (!ctx->DataAvailable(ptr)) break;
354  } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<50>(ptr));
355  } else
356  goto handle_unusual;
357  continue;
358  // .google.protobuf.Syntax syntax = 7;
359  case 7:
360  if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 56)) {
362  CHK_(ptr);
364  } else
365  goto handle_unusual;
366  continue;
367  default:
368  goto handle_unusual;
369  } // switch
370  handle_unusual:
371  if ((tag == 0) || ((tag & 7) == 4)) {
372  CHK_(ptr);
373  ctx->SetLastTag(tag);
374  goto message_done;
375  }
377  tag,
379  ptr, ctx);
380  CHK_(ptr != nullptr);
381  } // while
382 message_done:
383  return ptr;
384 failure:
385  ptr = nullptr;
386  goto message_done;
387 #undef CHK_
388 }
389 
391  uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
392  // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Api)
393  uint32_t cached_has_bits = 0;
394  (void) cached_has_bits;
395 
396  // string name = 1;
397  if (!this->_internal_name().empty()) {
398  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
399  this->_internal_name().data(), static_cast<int>(this->_internal_name().length()),
400  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
401  "google.protobuf.Api.name");
402  target = stream->WriteStringMaybeAliased(
403  1, this->_internal_name(), target);
404  }
405 
406  // repeated .google.protobuf.Method methods = 2;
407  for (unsigned int i = 0,
408  n = static_cast<unsigned int>(this->_internal_methods_size()); i < n; i++) {
409  target = stream->EnsureSpace(target);
410  target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
411  InternalWriteMessage(2, this->_internal_methods(i), target, stream);
412  }
413 
414  // repeated .google.protobuf.Option options = 3;
415  for (unsigned int i = 0,
416  n = static_cast<unsigned int>(this->_internal_options_size()); i < n; i++) {
417  target = stream->EnsureSpace(target);
418  target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
419  InternalWriteMessage(3, this->_internal_options(i), target, stream);
420  }
421 
422  // string version = 4;
423  if (!this->_internal_version().empty()) {
424  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
425  this->_internal_version().data(), static_cast<int>(this->_internal_version().length()),
426  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
427  "google.protobuf.Api.version");
428  target = stream->WriteStringMaybeAliased(
429  4, this->_internal_version(), target);
430  }
431 
432  // .google.protobuf.SourceContext source_context = 5;
433  if (this->_internal_has_source_context()) {
434  target = stream->EnsureSpace(target);
435  target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
436  InternalWriteMessage(
438  }
439 
440  // repeated .google.protobuf.Mixin mixins = 6;
441  for (unsigned int i = 0,
442  n = static_cast<unsigned int>(this->_internal_mixins_size()); i < n; i++) {
443  target = stream->EnsureSpace(target);
444  target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
445  InternalWriteMessage(6, this->_internal_mixins(i), target, stream);
446  }
447 
448  // .google.protobuf.Syntax syntax = 7;
449  if (this->_internal_syntax() != 0) {
450  target = stream->EnsureSpace(target);
451  target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
452  7, this->_internal_syntax(), target);
453  }
454 
455  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
456  target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
457  _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
458  }
459  // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.Api)
460  return target;
461 }
462 
463 size_t Api::ByteSizeLong() const {
464 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.Api)
465  size_t total_size = 0;
466 
467  uint32_t cached_has_bits = 0;
468  // Prevent compiler warnings about cached_has_bits being unused
469  (void) cached_has_bits;
470 
471  // repeated .google.protobuf.Method methods = 2;
472  total_size += 1UL * this->_internal_methods_size();
473  for (const auto& msg : this->methods_) {
474  total_size +=
475  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
476  }
477 
478  // repeated .google.protobuf.Option options = 3;
479  total_size += 1UL * this->_internal_options_size();
480  for (const auto& msg : this->options_) {
481  total_size +=
482  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
483  }
484 
485  // repeated .google.protobuf.Mixin mixins = 6;
486  total_size += 1UL * this->_internal_mixins_size();
487  for (const auto& msg : this->mixins_) {
488  total_size +=
489  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
490  }
491 
492  // string name = 1;
493  if (!this->_internal_name().empty()) {
494  total_size += 1 +
495  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
496  this->_internal_name());
497  }
498 
499  // string version = 4;
500  if (!this->_internal_version().empty()) {
501  total_size += 1 +
502  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
503  this->_internal_version());
504  }
505 
506  // .google.protobuf.SourceContext source_context = 5;
507  if (this->_internal_has_source_context()) {
508  total_size += 1 +
509  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
510  *source_context_);
511  }
512 
513  // .google.protobuf.Syntax syntax = 7;
514  if (this->_internal_syntax() != 0) {
515  total_size += 1 +
516  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_syntax());
517  }
518 
519  return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
520 }
521 
522 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Api::_class_data_ = {
523  ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
525 };
526 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Api::GetClassData() const { return &_class_data_; }
527 
530  static_cast<Api *>(to)->MergeFrom(
531  static_cast<const Api &>(from));
532 }
533 
534 
535 void Api::MergeFrom(const Api& from) {
536 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Api)
537  GOOGLE_DCHECK_NE(&from, this);
538  uint32_t cached_has_bits = 0;
539  (void) cached_has_bits;
540 
541  methods_.MergeFrom(from.methods_);
542  options_.MergeFrom(from.options_);
543  mixins_.MergeFrom(from.mixins_);
544  if (!from._internal_name().empty()) {
545  _internal_set_name(from._internal_name());
546  }
547  if (!from._internal_version().empty()) {
548  _internal_set_version(from._internal_version());
549  }
550  if (from._internal_has_source_context()) {
551  _internal_mutable_source_context()->::PROTOBUF_NAMESPACE_ID::SourceContext::MergeFrom(from._internal_source_context());
552  }
553  if (from._internal_syntax() != 0) {
554  _internal_set_syntax(from._internal_syntax());
555  }
556  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
557 }
558 
559 void Api::CopyFrom(const Api& from) {
560 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.Api)
561  if (&from == this) return;
562  Clear();
563  MergeFrom(from);
564 }
565 
566 bool Api::IsInitialized() const {
567  return true;
568 }
569 
570 void Api::InternalSwap(Api* other) {
571  using std::swap;
572  auto* lhs_arena = GetArenaForAllocation();
573  auto* rhs_arena = other->GetArenaForAllocation();
574  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
575  methods_.InternalSwap(&other->methods_);
576  options_.InternalSwap(&other->options_);
577  mixins_.InternalSwap(&other->mixins_);
578  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
580  &name_, lhs_arena,
581  &other->name_, rhs_arena
582  );
583  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
585  &version_, lhs_arena,
586  &other->version_, rhs_arena
587  );
589  PROTOBUF_FIELD_OFFSET(Api, syntax_)
590  + sizeof(Api::syntax_)
591  - PROTOBUF_FIELD_OFFSET(Api, source_context_)>(
592  reinterpret_cast<char*>(&source_context_),
593  reinterpret_cast<char*>(&other->source_context_));
594 }
595 
600 }
601 
602 // ===================================================================
603 
604 class Method::_Internal {
605  public:
606 };
607 
608 void Method::clear_options() {
609  options_.Clear();
610 }
612  bool is_message_owned)
613  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned),
614  options_(arena) {
615  SharedCtor();
616  if (!is_message_owned) {
618  }
619  // @@protoc_insertion_point(arena_constructor:google.protobuf.Method)
620 }
621 Method::Method(const Method& from)
622  : ::PROTOBUF_NAMESPACE_ID::Message(),
624  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
626  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
627  name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
628  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
629  if (!from._internal_name().empty()) {
631  GetArenaForAllocation());
632  }
634  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
636  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
637  if (!from._internal_request_type_url().empty()) {
639  GetArenaForAllocation());
640  }
642  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
644  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
645  if (!from._internal_response_type_url().empty()) {
647  GetArenaForAllocation());
648  }
649  ::memcpy(&request_streaming_, &from.request_streaming_,
650  static_cast<size_t>(reinterpret_cast<char*>(&syntax_) -
651  reinterpret_cast<char*>(&request_streaming_)) + sizeof(syntax_));
652  // @@protoc_insertion_point(copy_constructor:google.protobuf.Method)
653 }
654 
655 inline void Method::SharedCtor() {
657 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
658  name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
659 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
661 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
663 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
665 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
667 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
668 ::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
669  reinterpret_cast<char*>(&request_streaming_) - reinterpret_cast<char*>(this)),
670  0, static_cast<size_t>(reinterpret_cast<char*>(&syntax_) -
671  reinterpret_cast<char*>(&request_streaming_)) + sizeof(syntax_));
672 }
673 
674 Method::~Method() {
675  // @@protoc_insertion_point(destructor:google.protobuf.Method)
676  if (GetArenaForAllocation() != nullptr) return;
677  SharedDtor();
679 }
680 
681 inline void Method::SharedDtor() {
682  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
686 }
687 
688 void Method::ArenaDtor(void* object) {
689  Method* _this = reinterpret_cast< Method* >(object);
690  (void)_this;
691 }
693 }
694 void Method::SetCachedSize(int size) const {
695  _cached_size_.Set(size);
696 }
697 
698 void Method::Clear() {
699 // @@protoc_insertion_point(message_clear_start:google.protobuf.Method)
700  uint32_t cached_has_bits = 0;
701  // Prevent compiler warnings about cached_has_bits being unused
702  (void) cached_has_bits;
703 
704  options_.Clear();
705  name_.ClearToEmpty();
706  request_type_url_.ClearToEmpty();
707  response_type_url_.ClearToEmpty();
708  ::memset(&request_streaming_, 0, static_cast<size_t>(
709  reinterpret_cast<char*>(&syntax_) -
710  reinterpret_cast<char*>(&request_streaming_)) + sizeof(syntax_));
712 }
713 
714 const char* Method::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
715 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
716  while (!ctx->Done(&ptr)) {
717  uint32_t tag;
719  switch (tag >> 3) {
720  // string name = 1;
721  case 1:
722  if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
723  auto str = _internal_mutable_name();
725  CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.Method.name"));
726  CHK_(ptr);
727  } else
728  goto handle_unusual;
729  continue;
730  // string request_type_url = 2;
731  case 2:
732  if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
735  CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.Method.request_type_url"));
736  CHK_(ptr);
737  } else
738  goto handle_unusual;
739  continue;
740  // bool request_streaming = 3;
741  case 3:
742  if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 24)) {
744  CHK_(ptr);
745  } else
746  goto handle_unusual;
747  continue;
748  // string response_type_url = 4;
749  case 4:
750  if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) {
753  CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.Method.response_type_url"));
754  CHK_(ptr);
755  } else
756  goto handle_unusual;
757  continue;
758  // bool response_streaming = 5;
759  case 5:
760  if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 40)) {
762  CHK_(ptr);
763  } else
764  goto handle_unusual;
765  continue;
766  // repeated .google.protobuf.Option options = 6;
767  case 6:
768  if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 50)) {
769  ptr -= 1;
770  do {
771  ptr += 1;
772  ptr = ctx->ParseMessage(_internal_add_options(), ptr);
773  CHK_(ptr);
774  if (!ctx->DataAvailable(ptr)) break;
775  } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<50>(ptr));
776  } else
777  goto handle_unusual;
778  continue;
779  // .google.protobuf.Syntax syntax = 7;
780  case 7:
781  if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 56)) {
783  CHK_(ptr);
785  } else
786  goto handle_unusual;
787  continue;
788  default:
789  goto handle_unusual;
790  } // switch
791  handle_unusual:
792  if ((tag == 0) || ((tag & 7) == 4)) {
793  CHK_(ptr);
794  ctx->SetLastTag(tag);
795  goto message_done;
796  }
798  tag,
800  ptr, ctx);
801  CHK_(ptr != nullptr);
802  } // while
803 message_done:
804  return ptr;
805 failure:
806  ptr = nullptr;
807  goto message_done;
808 #undef CHK_
809 }
810 
812  uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
813  // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Method)
814  uint32_t cached_has_bits = 0;
815  (void) cached_has_bits;
816 
817  // string name = 1;
818  if (!this->_internal_name().empty()) {
819  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
820  this->_internal_name().data(), static_cast<int>(this->_internal_name().length()),
821  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
822  "google.protobuf.Method.name");
823  target = stream->WriteStringMaybeAliased(
824  1, this->_internal_name(), target);
825  }
826 
827  // string request_type_url = 2;
828  if (!this->_internal_request_type_url().empty()) {
829  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
830  this->_internal_request_type_url().data(), static_cast<int>(this->_internal_request_type_url().length()),
831  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
832  "google.protobuf.Method.request_type_url");
833  target = stream->WriteStringMaybeAliased(
834  2, this->_internal_request_type_url(), target);
835  }
836 
837  // bool request_streaming = 3;
838  if (this->_internal_request_streaming() != 0) {
839  target = stream->EnsureSpace(target);
840  target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(3, this->_internal_request_streaming(), target);
841  }
842 
843  // string response_type_url = 4;
844  if (!this->_internal_response_type_url().empty()) {
845  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
846  this->_internal_response_type_url().data(), static_cast<int>(this->_internal_response_type_url().length()),
847  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
848  "google.protobuf.Method.response_type_url");
849  target = stream->WriteStringMaybeAliased(
850  4, this->_internal_response_type_url(), target);
851  }
852 
853  // bool response_streaming = 5;
854  if (this->_internal_response_streaming() != 0) {
855  target = stream->EnsureSpace(target);
856  target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(5, this->_internal_response_streaming(), target);
857  }
858 
859  // repeated .google.protobuf.Option options = 6;
860  for (unsigned int i = 0,
861  n = static_cast<unsigned int>(this->_internal_options_size()); i < n; i++) {
862  target = stream->EnsureSpace(target);
863  target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
864  InternalWriteMessage(6, this->_internal_options(i), target, stream);
865  }
866 
867  // .google.protobuf.Syntax syntax = 7;
868  if (this->_internal_syntax() != 0) {
869  target = stream->EnsureSpace(target);
870  target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
871  7, this->_internal_syntax(), target);
872  }
873 
874  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
875  target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
876  _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
877  }
878  // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.Method)
879  return target;
880 }
881 
882 size_t Method::ByteSizeLong() const {
883 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.Method)
884  size_t total_size = 0;
885 
886  uint32_t cached_has_bits = 0;
887  // Prevent compiler warnings about cached_has_bits being unused
888  (void) cached_has_bits;
889 
890  // repeated .google.protobuf.Option options = 6;
891  total_size += 1UL * this->_internal_options_size();
892  for (const auto& msg : this->options_) {
893  total_size +=
894  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
895  }
896 
897  // string name = 1;
898  if (!this->_internal_name().empty()) {
899  total_size += 1 +
900  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
901  this->_internal_name());
902  }
903 
904  // string request_type_url = 2;
905  if (!this->_internal_request_type_url().empty()) {
906  total_size += 1 +
907  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
909  }
910 
911  // string response_type_url = 4;
912  if (!this->_internal_response_type_url().empty()) {
913  total_size += 1 +
914  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
916  }
917 
918  // bool request_streaming = 3;
919  if (this->_internal_request_streaming() != 0) {
920  total_size += 1 + 1;
921  }
922 
923  // bool response_streaming = 5;
924  if (this->_internal_response_streaming() != 0) {
925  total_size += 1 + 1;
926  }
927 
928  // .google.protobuf.Syntax syntax = 7;
929  if (this->_internal_syntax() != 0) {
930  total_size += 1 +
931  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_syntax());
932  }
933 
934  return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
935 }
936 
937 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Method::_class_data_ = {
938  ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
940 };
941 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Method::GetClassData() const { return &_class_data_; }
942 
945  static_cast<Method *>(to)->MergeFrom(
946  static_cast<const Method &>(from));
947 }
948 
949 
950 void Method::MergeFrom(const Method& from) {
951 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Method)
952  GOOGLE_DCHECK_NE(&from, this);
953  uint32_t cached_has_bits = 0;
954  (void) cached_has_bits;
955 
956  options_.MergeFrom(from.options_);
957  if (!from._internal_name().empty()) {
958  _internal_set_name(from._internal_name());
959  }
960  if (!from._internal_request_type_url().empty()) {
961  _internal_set_request_type_url(from._internal_request_type_url());
962  }
963  if (!from._internal_response_type_url().empty()) {
964  _internal_set_response_type_url(from._internal_response_type_url());
965  }
966  if (from._internal_request_streaming() != 0) {
967  _internal_set_request_streaming(from._internal_request_streaming());
968  }
969  if (from._internal_response_streaming() != 0) {
970  _internal_set_response_streaming(from._internal_response_streaming());
971  }
972  if (from._internal_syntax() != 0) {
973  _internal_set_syntax(from._internal_syntax());
974  }
975  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
976 }
977 
978 void Method::CopyFrom(const Method& from) {
979 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.Method)
980  if (&from == this) return;
981  Clear();
982  MergeFrom(from);
983 }
984 
985 bool Method::IsInitialized() const {
986  return true;
987 }
988 
989 void Method::InternalSwap(Method* other) {
990  using std::swap;
991  auto* lhs_arena = GetArenaForAllocation();
992  auto* rhs_arena = other->GetArenaForAllocation();
993  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
994  options_.InternalSwap(&other->options_);
995  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
997  &name_, lhs_arena,
998  &other->name_, rhs_arena
999  );
1000  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
1002  &request_type_url_, lhs_arena,
1003  &other->request_type_url_, rhs_arena
1004  );
1005  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
1007  &response_type_url_, lhs_arena,
1008  &other->response_type_url_, rhs_arena
1009  );
1011  PROTOBUF_FIELD_OFFSET(Method, syntax_)
1012  + sizeof(Method::syntax_)
1013  - PROTOBUF_FIELD_OFFSET(Method, request_streaming_)>(
1014  reinterpret_cast<char*>(&request_streaming_),
1015  reinterpret_cast<char*>(&other->request_streaming_));
1016 }
1017 
1022 }
1023 
1024 // ===================================================================
1025 
1026 class Mixin::_Internal {
1027  public:
1028 };
1029 
1031  bool is_message_owned)
1032  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
1033  SharedCtor();
1034  if (!is_message_owned) {
1036  }
1037  // @@protoc_insertion_point(arena_constructor:google.protobuf.Mixin)
1038 }
1039 Mixin::Mixin(const Mixin& from)
1040  : ::PROTOBUF_NAMESPACE_ID::Message() {
1041  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
1043  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1044  name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
1045  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1046  if (!from._internal_name().empty()) {
1048  GetArenaForAllocation());
1049  }
1051  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1052  root_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
1053  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1054  if (!from._internal_root().empty()) {
1056  GetArenaForAllocation());
1057  }
1058  // @@protoc_insertion_point(copy_constructor:google.protobuf.Mixin)
1059 }
1060 
1061 inline void Mixin::SharedCtor() {
1063 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1064  name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
1065 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1067 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1068  root_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
1069 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1070 }
1071 
1072 Mixin::~Mixin() {
1073  // @@protoc_insertion_point(destructor:google.protobuf.Mixin)
1074  if (GetArenaForAllocation() != nullptr) return;
1075  SharedDtor();
1077 }
1078 
1079 inline void Mixin::SharedDtor() {
1080  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
1083 }
1084 
1085 void Mixin::ArenaDtor(void* object) {
1086  Mixin* _this = reinterpret_cast< Mixin* >(object);
1087  (void)_this;
1088 }
1090 }
1091 void Mixin::SetCachedSize(int size) const {
1092  _cached_size_.Set(size);
1093 }
1094 
1095 void Mixin::Clear() {
1096 // @@protoc_insertion_point(message_clear_start:google.protobuf.Mixin)
1097  uint32_t cached_has_bits = 0;
1098  // Prevent compiler warnings about cached_has_bits being unused
1099  (void) cached_has_bits;
1100 
1101  name_.ClearToEmpty();
1102  root_.ClearToEmpty();
1104 }
1105 
1106 const char* Mixin::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
1107 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
1108  while (!ctx->Done(&ptr)) {
1109  uint32_t tag;
1111  switch (tag >> 3) {
1112  // string name = 1;
1113  case 1:
1114  if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
1115  auto str = _internal_mutable_name();
1117  CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.Mixin.name"));
1118  CHK_(ptr);
1119  } else
1120  goto handle_unusual;
1121  continue;
1122  // string root = 2;
1123  case 2:
1124  if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
1125  auto str = _internal_mutable_root();
1127  CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.Mixin.root"));
1128  CHK_(ptr);
1129  } else
1130  goto handle_unusual;
1131  continue;
1132  default:
1133  goto handle_unusual;
1134  } // switch
1135  handle_unusual:
1136  if ((tag == 0) || ((tag & 7) == 4)) {
1137  CHK_(ptr);
1138  ctx->SetLastTag(tag);
1139  goto message_done;
1140  }
1142  tag,
1143  _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
1144  ptr, ctx);
1145  CHK_(ptr != nullptr);
1146  } // while
1147 message_done:
1148  return ptr;
1149 failure:
1150  ptr = nullptr;
1151  goto message_done;
1152 #undef CHK_
1153 }
1154 
1156  uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
1157  // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Mixin)
1158  uint32_t cached_has_bits = 0;
1159  (void) cached_has_bits;
1160 
1161  // string name = 1;
1162  if (!this->_internal_name().empty()) {
1163  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1164  this->_internal_name().data(), static_cast<int>(this->_internal_name().length()),
1165  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1166  "google.protobuf.Mixin.name");
1167  target = stream->WriteStringMaybeAliased(
1168  1, this->_internal_name(), target);
1169  }
1170 
1171  // string root = 2;
1172  if (!this->_internal_root().empty()) {
1173  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1174  this->_internal_root().data(), static_cast<int>(this->_internal_root().length()),
1175  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1176  "google.protobuf.Mixin.root");
1177  target = stream->WriteStringMaybeAliased(
1178  2, this->_internal_root(), target);
1179  }
1180 
1181  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1182  target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
1183  _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
1184  }
1185  // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.Mixin)
1186  return target;
1187 }
1188 
1189 size_t Mixin::ByteSizeLong() const {
1190 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.Mixin)
1191  size_t total_size = 0;
1192 
1193  uint32_t cached_has_bits = 0;
1194  // Prevent compiler warnings about cached_has_bits being unused
1195  (void) cached_has_bits;
1196 
1197  // string name = 1;
1198  if (!this->_internal_name().empty()) {
1199  total_size += 1 +
1200  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
1201  this->_internal_name());
1202  }
1203 
1204  // string root = 2;
1205  if (!this->_internal_root().empty()) {
1206  total_size += 1 +
1207  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
1208  this->_internal_root());
1209  }
1210 
1211  return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
1212 }
1213 
1214 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Mixin::_class_data_ = {
1215  ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
1217 };
1218 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Mixin::GetClassData() const { return &_class_data_; }
1219 
1222  static_cast<Mixin *>(to)->MergeFrom(
1223  static_cast<const Mixin &>(from));
1224 }
1225 
1226 
1227 void Mixin::MergeFrom(const Mixin& from) {
1228 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Mixin)
1229  GOOGLE_DCHECK_NE(&from, this);
1230  uint32_t cached_has_bits = 0;
1231  (void) cached_has_bits;
1232 
1233  if (!from._internal_name().empty()) {
1234  _internal_set_name(from._internal_name());
1235  }
1236  if (!from._internal_root().empty()) {
1237  _internal_set_root(from._internal_root());
1238  }
1239  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
1240 }
1241 
1242 void Mixin::CopyFrom(const Mixin& from) {
1243 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.Mixin)
1244  if (&from == this) return;
1245  Clear();
1246  MergeFrom(from);
1247 }
1248 
1249 bool Mixin::IsInitialized() const {
1250  return true;
1251 }
1252 
1253 void Mixin::InternalSwap(Mixin* other) {
1254  using std::swap;
1255  auto* lhs_arena = GetArenaForAllocation();
1256  auto* rhs_arena = other->GetArenaForAllocation();
1257  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1258  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
1260  &name_, lhs_arena,
1261  &other->name_, rhs_arena
1262  );
1263  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
1265  &root_, lhs_arena,
1266  &other->root_, rhs_arena
1267  );
1268 }
1269 
1274 }
1275 
1276 // @@protoc_insertion_point(namespace_scope)
1277 PROTOBUF_NAMESPACE_CLOSE
1278 PROTOBUF_NAMESPACE_OPEN
1280  return Arena::CreateMessageInternal< ::PROTOBUF_NAMESPACE_ID::Api >(arena);
1281 }
1283  return Arena::CreateMessageInternal< ::PROTOBUF_NAMESPACE_ID::Method >(arena);
1284 }
1286  return Arena::CreateMessageInternal< ::PROTOBUF_NAMESPACE_ID::Mixin >(arena);
1287 }
1288 PROTOBUF_NAMESPACE_CLOSE
1289 
1290 // @@protoc_insertion_point(global_scope)
1291 #include <google/protobuf/port_undef.inc>
xds_interop_client.str
str
Definition: xds_interop_client.py:487
descriptor_table_google_2fprotobuf_2fsource_5fcontext_2eproto
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fsource_5fcontext_2eproto
Definition: bloaty/third_party/protobuf/src/google/protobuf/source_context.pb.cc:73
ptr
char * ptr
Definition: abseil-cpp/absl/base/internal/low_level_alloc_test.cc:45
descriptor_table_google_2fprotobuf_2fapi_2eproto_once
::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_google_2fprotobuf_2fapi_2eproto_once
Definition: protobuf/src/google/protobuf/api.pb.cc:149
Mixin::_internal_metadata_
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:687
CreateMaybeMessage< ::PROTOBUF_NAMESPACE_ID::Mixin >
PROTOBUF_NOINLINE ::PROTOBUF_NAMESPACE_ID::Mixin * Arena::CreateMaybeMessage< ::PROTOBUF_NAMESPACE_ID::Mixin >(Arena *arena)
Definition: protobuf/src/google/protobuf/api.pb.cc:1285
GOOGLE_DCHECK_NE
#define GOOGLE_DCHECK_NE
Definition: bloaty/third_party/protobuf/src/google/protobuf/stubs/logging.h:197
Arena
struct Arena Arena
Definition: third_party/bloaty/third_party/protobuf/src/google/protobuf/arena.h:189
EnumDescriptor
struct EnumDescriptor EnumDescriptor
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/protobuf.h:641
Method::_internal_metadata_
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:529
Api::_internal_has_source_context
bool _internal_has_source_context() const
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:902
MethodDefaultTypeInternal::MethodDefaultTypeInternal
constexpr MethodDefaultTypeInternal()
Definition: protobuf/src/google/protobuf/api.pb.cc:50
ctx
Definition: benchmark-async.c:30
google::protobuf::EmptyDefault
ArenaStringPtr::EmptyDefault EmptyDefault
Definition: protobuf/src/google/protobuf/arenastring_unittest.cc:57
Method::_internal_mutable_response_type_url
std::string * _internal_mutable_response_type_url()
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:1199
Api::_internal_add_mixins
PROTOBUF_NAMESPACE_ID::Mixin * _internal_add_mixins()
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:981
MixinDefaultTypeInternal::_instance
::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed< Mixin > _instance
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.cc:32
Mixin::_internal_mutable_name
std::string * _internal_mutable_name()
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:1339
memset
return memset(p, 0, total)
Mixin::_internal_name
const std::string & _internal_name() const
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:1314
CreateMaybeMessage< ::PROTOBUF_NAMESPACE_ID::Api >
PROTOBUF_NAMESPACE_CLOSE PROTOBUF_NAMESPACE_OPEN PROTOBUF_NOINLINE ::PROTOBUF_NAMESPACE_ID::Api * Arena::CreateMaybeMessage< ::PROTOBUF_NAMESPACE_ID::Api >(Arena *arena)
Definition: protobuf/src/google/protobuf/api.pb.cc:1279
_Method_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT MethodDefaultTypeInternal _Method_default_instance_
Definition: protobuf/src/google/protobuf/api.pb.cc:57
false
#define false
Definition: setup_once.h:323
Mixin::_InternalSerialize
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
Definition: protobuf/src/google/protobuf/api.pb.cc:1155
ApiDefaultTypeInternal::ApiDefaultTypeInternal
constexpr ApiDefaultTypeInternal()
Definition: protobuf/src/google/protobuf/api.pb.cc:31
Method::_internal_set_syntax
void _internal_set_syntax(PROTOBUF_NAMESPACE_ID::Syntax value)
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:1285
Api::_Internal::source_context
static const PROTOBUF_NAMESPACE_ID::SourceContext & source_context(const Api *msg)
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.cc:186
dynamic_init_dummy_google_2fprotobuf_2fapi_2eproto
static bool dynamic_init_dummy_google_2fprotobuf_2fapi_2eproto
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.cc:171
descriptor_table_google_2fprotobuf_2fapi_2eproto_getter
const PROTOBUF_ATTRIBUTE_WEAK ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable * descriptor_table_google_2fprotobuf_2fapi_2eproto_getter()
Definition: protobuf/src/google/protobuf/api.pb.cc:156
GOOGLE_DCHECK
#define GOOGLE_DCHECK
Definition: bloaty/third_party/protobuf/src/google/protobuf/stubs/logging.h:194
Api::options_
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option > options_
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:309
Api::_internal_version
const std::string & _internal_version() const
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:857
google::protobuf.internal::UnknownFieldParse
const char * UnknownFieldParse(uint32 tag, std::string *unknown, const char *ptr, ParseContext *ctx)
Definition: bloaty/third_party/protobuf/src/google/protobuf/parse_context.cc:606
Arena
Definition: arena.c:39
Api::RegisterArenaDtor
void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena *arena)
Definition: protobuf/src/google/protobuf/api.pb.cc:260
Mixin::SharedDtor
void SharedDtor()
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.cc:1005
Mixin::ByteSizeLong
size_t ByteSizeLong() const final
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.cc:1105
grpc::protobuf::Message
GRPC_CUSTOM_MESSAGE Message
Definition: include/grpcpp/impl/codegen/config_protobuf.h:78
Method::_internal_set_response_streaming
void _internal_set_response_streaming(bool value)
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:1229
Method::_InternalParse
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.cc:668
MethodDefaultTypeInternal
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.cc:26
MixinDefaultTypeInternal::~MixinDefaultTypeInternal
~MixinDefaultTypeInternal()
Definition: protobuf/src/google/protobuf/api.pb.cc:65
u
OPENSSL_EXPORT pem_password_cb void * u
Definition: pem.h:351
Syntax
Syntax
Definition: bloaty/third_party/protobuf/src/google/protobuf/type.pb.h:155
Mixin
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:544
Api::SharedCtor
void SharedCtor()
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.cc:227
Api::ArenaDtor
static void ArenaDtor(void *object)
Definition: protobuf/src/google/protobuf/api.pb.cc:256
Api::_internal_mutable_source_context
PROTOBUF_NAMESPACE_ID::SourceContext * _internal_mutable_source_context()
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:924
Method::_internal_options
const PROTOBUF_NAMESPACE_ID::Option & _internal_options(int index) const
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:1254
Method::_internal_response_streaming
bool _internal_response_streaming() const
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:1222
to
size_t to
Definition: abseil-cpp/absl/container/internal/layout_test.cc:1385
Method::GetClassData
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
Definition: protobuf/src/google/protobuf/api.pb.cc:941
Method::Method
Method()
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.cc:594
file_level_service_descriptors_google_2fprotobuf_2fapi_2eproto
static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const ** file_level_service_descriptors_google_2fprotobuf_2fapi_2eproto
Definition: protobuf/src/google/protobuf/api.pb.cc:74
name_
const std::string name_
Definition: priority.cc:233
uint8_t
unsigned char uint8_t
Definition: stdint-msvc2008.h:78
google::protobuf::python::cmessage::UnknownFieldSet
static PyObject * UnknownFieldSet(CMessage *self)
Definition: bloaty/third_party/protobuf/python/google/protobuf/pyext/message.cc:2512
MethodDefaultTypeInternal::~MethodDefaultTypeInternal
~MethodDefaultTypeInternal()
Definition: protobuf/src/google/protobuf/api.pb.cc:52
Api
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:79
Mixin::IsInitialized
bool IsInitialized() const final
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.cc:1182
arena
grpc_core::ScopedArenaPtr arena
Definition: binder_transport_test.cc:237
Method::InternalSwap
void InternalSwap(Method *other)
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.cc:946
Api::_internal_add_methods
PROTOBUF_NAMESPACE_ID::Method * _internal_add_methods()
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:792
Mixin::MergeFrom
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.cc:1136
Method::_internal_response_type_url
const std::string & _internal_response_type_url() const
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:1174
Mixin::_InternalParse
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.cc:1030
Method::_internal_set_response_type_url
void _internal_set_response_type_url(const std::string &value)
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:1177
Api::_internal_options_size
int _internal_options_size() const
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:806
uint32_t
unsigned int uint32_t
Definition: stdint-msvc2008.h:80
Method::SetCachedSize
void SetCachedSize(int size) const final
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.cc:643
Mixin::Mixin
Mixin()
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.cc:974
from
size_t from
Definition: abseil-cpp/absl/container/internal/layout_test.cc:1384
Api::_internal_mixins
const PROTOBUF_NAMESPACE_ID::Mixin & _internal_mixins(int index) const
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:974
MixinDefaultTypeInternal::_instance
Mixin _instance
Definition: protobuf/src/google/protobuf/api.pb.cc:67
Api::_internal_syntax
PROTOBUF_NAMESPACE_ID::Syntax _internal_syntax() const
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:998
memcpy
memcpy(mem, inblock.get(), min(CONTAINING_RECORD(inblock.get(), MEMBLOCK, data) ->size, size))
MixinDefaultTypeInternal::MixinDefaultTypeInternal
constexpr MixinDefaultTypeInternal()
Definition: protobuf/src/google/protobuf/api.pb.cc:63
MethodDefaultTypeInternal::_instance
::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed< Method > _instance
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.cc:28
version_
std::string version_
Definition: abseil-cpp/absl/time/internal/cctz/src/time_zone_info.cc:666
Method::_internal_request_type_url
const std::string & _internal_request_type_url() const
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:1094
Api::_internal_add_options
PROTOBUF_NAMESPACE_ID::Option * _internal_add_options()
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:828
google::protobuf.internal.decoder.ReadTag
def ReadTag(buffer, pos)
Definition: bloaty/third_party/protobuf/python/google/protobuf/internal/decoder.py:174
google::protobuf.internal::once_flag
std::once_flag once_flag
Definition: bloaty/third_party/protobuf/src/google/protobuf/stubs/once.h:43
Api::_InternalParse
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.cc:275
Method
struct Method Method
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/protobuf.h:661
MixinDefaultTypeInternal
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.cc:30
tag
static void * tag(intptr_t t)
Definition: bad_client.cc:318
Api::clear_source_context
void clear_source_context()
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.cc:192
Api::~Api
virtual ~Api()
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.cc:236
Method::request_streaming_
bool request_streaming_
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:536
Method::_class_data_
static const ClassData _class_data_
Definition: protobuf/src/google/protobuf/api.pb.h:448
google::protobuf.internal::GetEmptyStringAlreadyInited
const PROTOBUF_EXPORT std::string & GetEmptyStringAlreadyInited()
Definition: bloaty/third_party/protobuf/src/google/protobuf/message_lite.h:153
Method::SharedDtor
void SharedDtor()
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.cc:637
Api::_internal_set_name
void _internal_set_name(const std::string &value)
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:725
Mixin::name_
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:690
Method::options_
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option > options_
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:532
Method::_internal_syntax
PROTOBUF_NAMESPACE_ID::Syntax _internal_syntax() const
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:1278
Api::SharedDtor
void SharedDtor()
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.cc:241
CreateMaybeMessage< ::PROTOBUF_NAMESPACE_ID::Method >
PROTOBUF_NOINLINE ::PROTOBUF_NAMESPACE_ID::Method * Arena::CreateMaybeMessage< ::PROTOBUF_NAMESPACE_ID::Method >(Arena *arena)
Definition: protobuf/src/google/protobuf/api.pb.cc:1282
Api::_Internal
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.cc:180
Method::_internal_request_streaming
bool _internal_request_streaming() const
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:1142
Method::_InternalSerialize
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
Definition: protobuf/src/google/protobuf/api.pb.cc:811
file_default_instances
const ::PROTOBUF_NAMESPACE_ID::Message *const file_default_instances[]
Definition: protobuf/src/google/protobuf/api.pb.cc:118
uint64_t
unsigned __int64 uint64_t
Definition: stdint-msvc2008.h:90
Method::CopyFrom
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.cc:928
Method::ByteSizeLong
size_t ByteSizeLong() const final
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.cc:821
Mixin::_internal_set_name
void _internal_set_name(const std::string &value)
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:1317
Mixin::ArenaDtor
static void ArenaDtor(void *object)
Definition: protobuf/src/google/protobuf/api.pb.cc:1085
Api::_internal_set_syntax
void _internal_set_syntax(PROTOBUF_NAMESPACE_ID::Syntax value)
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:1005
Api::_internal_name
const std::string & _internal_name() const
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:722
google::protobuf.internal::memswap
std::enable_if<(kSize==0), void >::type memswap(char *, char *)
Definition: protobuf/src/google/protobuf/repeated_field.h:125
std::swap
void swap(Json::Value &a, Json::Value &b)
Specialize std::swap() for Json::Value.
Definition: third_party/bloaty/third_party/protobuf/conformance/third_party/jsoncpp/json.h:1226
Method::MergeFrom
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.cc:882
Mixin::SharedCtor
void SharedCtor()
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.cc:994
Method::MergeImpl
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message *to, const ::PROTOBUF_NAMESPACE_ID::Message &from)
Definition: protobuf/src/google/protobuf/api.pb.cc:943
Mixin::GetClassData
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
Definition: protobuf/src/google/protobuf/api.pb.cc:1218
Api::mixins_
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Mixin > mixins_
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:310
data
char data[kBufferLength]
Definition: abseil-cpp/absl/strings/internal/str_format/float_conversion.cc:1006
descriptor_table_google_2fprotobuf_2fapi_2eproto_deps
static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable *const descriptor_table_google_2fprotobuf_2fapi_2eproto_deps[2]
Definition: protobuf/src/google/protobuf/api.pb.cc:145
Mixin::_internal_root
const std::string & _internal_root() const
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:1374
ApiDefaultTypeInternal::_instance
::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed< Api > _instance
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.cc:24
Method::_internal_set_request_streaming
void _internal_set_request_streaming(bool value)
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:1149
Api::GetClassData
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
Definition: protobuf/src/google/protobuf/api.pb.cc:526
Api::_internal_mutable_version
std::string * _internal_mutable_version()
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:882
google::protobuf.internal::InlineGreedyStringParser
const char * InlineGreedyStringParser(std::string *s, const char *ptr, ParseContext *ctx)
Definition: bloaty/third_party/protobuf/src/google/protobuf/parse_context.cc:420
google::protobuf.internal::VerifyUTF8
bool VerifyUTF8(StringPiece str, const char *field_name)
Definition: bloaty/third_party/protobuf/src/google/protobuf/parse_context.cc:412
Api::_InternalSerialize
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
Definition: protobuf/src/google/protobuf/api.pb.cc:390
Api::source_context_
PROTOBUF_NAMESPACE_ID::SourceContext * source_context_
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:313
n
int n
Definition: abseil-cpp/absl/container/btree_test.cc:1080
msg
std::string msg
Definition: client_interceptors_end2end_test.cc:372
Method::response_streaming_
bool response_streaming_
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:537
TableStruct_google_2fprotobuf_2fapi_2eproto::offsets
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:56
CHK_
#define CHK_(x)
ApiDefaultTypeInternal::_instance
Api _instance
Definition: protobuf/src/google/protobuf/api.pb.cc:35
google_benchmark.example.empty
def empty(state)
Definition: example.py:31
MethodDefaultTypeInternal::_instance
Method _instance
Definition: protobuf/src/google/protobuf/api.pb.cc:54
Method::_cached_size_
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:539
Mixin::_Internal
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.cc:970
Api::_class_data_
static const ClassData _class_data_
Definition: protobuf/src/google/protobuf/api.pb.h:190
Mixin::CopyFrom
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.cc:1168
Method::_internal_set_name
void _internal_set_name(const std::string &value)
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:1037
Method::ArenaDtor
static void ArenaDtor(void *object)
Definition: protobuf/src/google/protobuf/api.pb.cc:688
Api::InternalSwap
void InternalSwap(Api *other)
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.cc:564
Api::methods_
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Method > methods_
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:308
descriptor_table_google_2fprotobuf_2ftype_2eproto
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fprotobuf_2ftype_2eproto
Definition: bloaty/third_party/protobuf/src/google/protobuf/type.pb.cc:251
Mixin::_class_data_
static const ClassData _class_data_
Definition: protobuf/src/google/protobuf/api.pb.h:684
options_
DebugStringOptions options_
Definition: bloaty/third_party/protobuf/src/google/protobuf/descriptor.cc:2390
Api::Clear
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.cc:256
ApiDefaultTypeInternal
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.cc:22
Method::response_type_url_
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr response_type_url_
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:535
Api::IsInitialized
bool IsInitialized() const final
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.cc:560
Api::Api
Api()
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.cc:198
Api::GetMetadata
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.cc:578
Mixin::SetCachedSize
void SetCachedSize(int size) const final
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.cc:1010
Method::SharedCtor
void SharedCtor()
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.cc:622
Method::_internal_add_options
PROTOBUF_NAMESPACE_ID::Option * _internal_add_options()
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:1261
descriptor_table_google_2fprotobuf_2fapi_2eproto
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fapi_2eproto
Definition: protobuf/src/google/protobuf/api.pb.cc:150
Api::version_
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr version_
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:312
google::protobuf.internal::fixed_address_empty_string
ExplicitlyConstructed< std::string > fixed_address_empty_string
Definition: bloaty/third_party/protobuf/src/google/protobuf/generated_message_util.cc:71
Api::_cached_size_
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:315
Api::clear_options
void clear_options()
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.cc:189
Method::syntax_
int syntax_
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:538
Api
struct Api Api
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/protobuf.h:634
Method::IsInitialized
bool IsInitialized() const final
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.cc:942
Api::SetCachedSize
void SetCachedSize(int size) const final
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.cc:247
Api::syntax_
int syntax_
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:314
Api::MergeImpl
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message *to, const ::PROTOBUF_NAMESPACE_ID::Message &from)
Definition: protobuf/src/google/protobuf/api.pb.cc:528
_Api_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ApiDefaultTypeInternal _Api_default_instance_
Definition: protobuf/src/google/protobuf/api.pb.cc:38
Method::_internal_mutable_name
std::string * _internal_mutable_name()
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:1059
Mixin::Clear
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.cc:1019
Api::_internal_options
const PROTOBUF_NAMESPACE_ID::Option & _internal_options(int index) const
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:821
Mixin::RegisterArenaDtor
void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena *arena)
Definition: protobuf/src/google/protobuf/api.pb.cc:1089
Method::_internal_options_size
int _internal_options_size() const
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:1239
Method::_internal_mutable_request_type_url
std::string * _internal_mutable_request_type_url()
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:1119
Method::_internal_set_request_type_url
void _internal_set_request_type_url(const std::string &value)
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:1097
Mixin::GetMetadata
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.cc:1195
Mixin::root_
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr root_
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:691
Mixin::_internal_set_root
void _internal_set_root(const std::string &value)
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:1377
Method::~Method
virtual ~Method()
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.cc:632
Method::request_type_url_
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr request_type_url_
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:534
Mixin::_cached_size_
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:692
Api::_internal_metadata_
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:305
internal
Definition: benchmark/test/output_test_helper.cc:20
google::protobuf.internal::AssignDescriptors
void AssignDescriptors(const DescriptorTable *table)
Definition: bloaty/third_party/protobuf/src/google/protobuf/generated_message_reflection.cc:2404
file_level_enum_descriptors_google_2fprotobuf_2fapi_2eproto
static constexpr ::PROTOBUF_NAMESPACE_ID::EnumDescriptor const ** file_level_enum_descriptors_google_2fprotobuf_2fapi_2eproto
Definition: protobuf/src/google/protobuf/api.pb.cc:73
grpc_binder::Metadata
std::vector< std::pair< std::string, std::string > > Metadata
Definition: transaction.h:38
Api::name_
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:311
file_level_metadata_google_2fprotobuf_2fapi_2eproto
PROTOBUF_NAMESPACE_CLOSE ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_google_2fprotobuf_2fapi_2eproto[3]
Definition: protobuf/src/google/protobuf/api.pb.cc:72
Mixin
struct Mixin Mixin
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/protobuf.h:662
_Mixin_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT MixinDefaultTypeInternal _Mixin_default_instance_
Definition: protobuf/src/google/protobuf/api.pb.cc:70
size
voidpf void uLong size
Definition: bloaty/third_party/zlib/contrib/minizip/ioapi.h:136
Api::ByteSizeLong
size_t ByteSizeLong() const final
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.cc:440
Method::RegisterArenaDtor
void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena *arena)
Definition: protobuf/src/google/protobuf/api.pb.cc:692
Api::_internal_methods_size
int _internal_methods_size() const
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:767
length
std::size_t length
Definition: abseil-cpp/absl/time/internal/test_util.cc:57
Method::Clear
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.cc:652
PROTOBUF_SECTION_VARIABLE
const uint32_t TableStruct_google_2fprotobuf_2fapi_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
Api::_internal_methods
const PROTOBUF_NAMESPACE_ID::Method & _internal_methods(int index) const
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:785
Method::clear_options
void clear_options()
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.cc:591
Mixin::InternalSwap
void InternalSwap(Mixin *other)
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.cc:1186
Api::MergeFrom
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.cc:505
Api::CopyFrom
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.cc:546
setup.target
target
Definition: third_party/bloaty/third_party/protobuf/python/setup.py:179
grpc::protobuf::ServiceDescriptor
GRPC_CUSTOM_SERVICEDESCRIPTOR ServiceDescriptor
Definition: include/grpcpp/impl/codegen/config_protobuf.h:88
Method
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:320
java.lang::reflect::Method::_Internal
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.cc:587
Method::GetMetadata
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.cc:961
Method::_internal_name
const std::string & _internal_name() const
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:1034
Message
Definition: protobuf/php/ext/google/protobuf/message.c:53
i
uint64_t i
Definition: abseil-cpp/absl/container/btree_benchmark.cc:230
Api::_internal_mixins_size
int _internal_mixins_size() const
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:956
Api::internal_default_instance
static const Api * internal_default_instance()
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:116
root_
Node root_
Definition: bloaty/third_party/protobuf/src/google/protobuf/util/field_mask_util.cc:287
ApiDefaultTypeInternal::~ApiDefaultTypeInternal
~ApiDefaultTypeInternal()
Definition: protobuf/src/google/protobuf/api.pb.cc:33
Mixin::_internal_mutable_root
std::string * _internal_mutable_root()
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:1399
Method::name_
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:533
Mixin::~Mixin
virtual ~Mixin()
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.cc:1000
Mixin::MergeImpl
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message *to, const ::PROTOBUF_NAMESPACE_ID::Message &from)
Definition: protobuf/src/google/protobuf/api.pb.cc:1220
Api::_internal_set_version
void _internal_set_version(const std::string &value)
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:860
google::protobuf.internal::ReadVarint64
uint64_t ReadVarint64(const char **p)
Definition: protobuf/src/google/protobuf/parse_context.h:635
SourceContext
struct SourceContext SourceContext
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/protobuf.h:668
Api::_internal_mutable_name
std::string * _internal_mutable_name()
Definition: bloaty/third_party/protobuf/src/google/protobuf/api.pb.h:747
stream
voidpf stream
Definition: bloaty/third_party/zlib/contrib/minizip/ioapi.h:136


grpc
Author(s):
autogenerated on Fri May 16 2025 02:57:42