plugin.pb.cc
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: google/protobuf/compiler/plugin.proto
3 
5 
6 #include <algorithm>
7 
16 // @@protoc_insertion_point(includes)
17 #include <google/protobuf/port_def.inc>
18 extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fdescriptor_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<6> scc_info_FileDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto;
19 extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fcompiler_2fplugin_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_CodeGeneratorResponse_File_google_2fprotobuf_2fcompiler_2fplugin_2eproto;
20 extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fcompiler_2fplugin_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Version_google_2fprotobuf_2fcompiler_2fplugin_2eproto;
21 PROTOBUF_NAMESPACE_OPEN
22 namespace compiler {
24  public:
25  ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Version> _instance;
28  public:
29  ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<CodeGeneratorRequest> _instance;
32  public:
33  ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<CodeGeneratorResponse_File> _instance;
36  public:
37  ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<CodeGeneratorResponse> _instance;
39 } // namespace compiler
40 PROTOBUF_NAMESPACE_CLOSE
43 
44  {
45  void* ptr = &PROTOBUF_NAMESPACE_ID::compiler::_CodeGeneratorRequest_default_instance_;
46  new (ptr) PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorRequest();
48  }
49  PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorRequest::InitAsDefaultInstance();
50 }
51 
52 PROTOC_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_CodeGeneratorRequest_google_2fprotobuf_2fcompiler_2fplugin_2eproto =
53  {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsscc_info_CodeGeneratorRequest_google_2fprotobuf_2fcompiler_2fplugin_2eproto}, {
56 
59 
60  {
61  void* ptr = &PROTOBUF_NAMESPACE_ID::compiler::_CodeGeneratorResponse_default_instance_;
62  new (ptr) PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse();
64  }
65  PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse::InitAsDefaultInstance();
66 }
67 
68 PROTOC_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_CodeGeneratorResponse_google_2fprotobuf_2fcompiler_2fplugin_2eproto =
69  {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsscc_info_CodeGeneratorResponse_google_2fprotobuf_2fcompiler_2fplugin_2eproto}, {
71 
74 
75  {
76  void* ptr = &PROTOBUF_NAMESPACE_ID::compiler::_CodeGeneratorResponse_File_default_instance_;
77  new (ptr) PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File();
79  }
80  PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File::InitAsDefaultInstance();
81 }
82 
83 PROTOC_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_CodeGeneratorResponse_File_google_2fprotobuf_2fcompiler_2fplugin_2eproto =
84  {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsscc_info_CodeGeneratorResponse_File_google_2fprotobuf_2fcompiler_2fplugin_2eproto}, {}};
85 
88 
89  {
90  void* ptr = &PROTOBUF_NAMESPACE_ID::compiler::_Version_default_instance_;
93  }
94  PROTOBUF_NAMESPACE_ID::compiler::Version::InitAsDefaultInstance();
95 }
96 
97 PROTOC_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Version_google_2fprotobuf_2fcompiler_2fplugin_2eproto =
98  {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsscc_info_Version_google_2fprotobuf_2fcompiler_2fplugin_2eproto}, {}};
99 
100 static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_google_2fprotobuf_2fcompiler_2fplugin_2eproto[4];
102 static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_google_2fprotobuf_2fcompiler_2fplugin_2eproto = nullptr;
103 
105  PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::compiler::Version, _has_bits_),
106  PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::compiler::Version, _internal_metadata_),
107  ~0u, // no _extensions_
108  ~0u, // no _oneof_case_
109  ~0u, // no _weak_field_map_
110  PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::compiler::Version, major_),
111  PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::compiler::Version, minor_),
112  PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::compiler::Version, patch_),
113  PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::compiler::Version, suffix_),
114  1,
115  2,
116  3,
117  0,
118  PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorRequest, _has_bits_),
119  PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorRequest, _internal_metadata_),
120  ~0u, // no _extensions_
121  ~0u, // no _oneof_case_
122  ~0u, // no _weak_field_map_
123  PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorRequest, file_to_generate_),
124  PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorRequest, parameter_),
125  PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorRequest, proto_file_),
126  PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorRequest, compiler_version_),
127  ~0u,
128  0,
129  ~0u,
130  1,
131  PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File, _has_bits_),
132  PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File, _internal_metadata_),
133  ~0u, // no _extensions_
134  ~0u, // no _oneof_case_
135  ~0u, // no _weak_field_map_
136  PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File, name_),
137  PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File, insertion_point_),
138  PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File, content_),
139  0,
140  1,
141  2,
142  PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse, _has_bits_),
143  PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse, _internal_metadata_),
144  ~0u, // no _extensions_
145  ~0u, // no _oneof_case_
146  ~0u, // no _weak_field_map_
147  PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse, error_),
148  PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse, file_),
149  0,
150  ~0u,
151 };
152 static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
154  { 13, 22, sizeof(PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorRequest)},
155  { 26, 34, sizeof(PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File)},
156  { 37, 44, sizeof(PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse)},
157 };
158 
159 static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = {
160  reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&PROTOBUF_NAMESPACE_ID::compiler::_Version_default_instance_),
161  reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&PROTOBUF_NAMESPACE_ID::compiler::_CodeGeneratorRequest_default_instance_),
162  reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&PROTOBUF_NAMESPACE_ID::compiler::_CodeGeneratorResponse_File_default_instance_),
163  reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&PROTOBUF_NAMESPACE_ID::compiler::_CodeGeneratorResponse_default_instance_),
164 };
165 
166 const char descriptor_table_protodef_google_2fprotobuf_2fcompiler_2fplugin_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
167  "\n%google/protobuf/compiler/plugin.proto\022"
168  "\030google.protobuf.compiler\032 google/protob"
169  "uf/descriptor.proto\"F\n\007Version\022\r\n\005major\030"
170  "\001 \001(\005\022\r\n\005minor\030\002 \001(\005\022\r\n\005patch\030\003 \001(\005\022\016\n\006s"
171  "uffix\030\004 \001(\t\"\272\001\n\024CodeGeneratorRequest\022\030\n\020"
172  "file_to_generate\030\001 \003(\t\022\021\n\tparameter\030\002 \001("
173  "\t\0228\n\nproto_file\030\017 \003(\0132$.google.protobuf."
174  "FileDescriptorProto\022;\n\020compiler_version\030"
175  "\003 \001(\0132!.google.protobuf.compiler.Version"
176  "\"\252\001\n\025CodeGeneratorResponse\022\r\n\005error\030\001 \001("
177  "\t\022B\n\004file\030\017 \003(\01324.google.protobuf.compil"
178  "er.CodeGeneratorResponse.File\032>\n\004File\022\014\n"
179  "\004name\030\001 \001(\t\022\027\n\017insertion_point\030\002 \001(\t\022\017\n\007"
180  "content\030\017 \001(\tBg\n\034com.google.protobuf.com"
181  "pilerB\014PluginProtosZ9github.com/golang/p"
182  "rotobuf/protoc-gen-go/plugin;plugin_go"
183  ;
184 static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto_deps[1] = {
186 };
187 static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto_sccs[4] = {
192 };
195 const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto = {
196  &descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto_initialized, descriptor_table_protodef_google_2fprotobuf_2fcompiler_2fplugin_2eproto, "google/protobuf/compiler/plugin.proto", 638,
200 };
201 
202 // Force running AddDescriptors() at dynamic initialization time.
204 PROTOBUF_NAMESPACE_OPEN
205 namespace compiler {
206 
207 // ===================================================================
208 
210 }
212  public:
213  using HasBits = decltype(std::declval<Version>()._has_bits_);
214  static void set_has_major(HasBits* has_bits) {
215  (*has_bits)[0] |= 2u;
216  }
217  static void set_has_minor(HasBits* has_bits) {
218  (*has_bits)[0] |= 4u;
219  }
220  static void set_has_patch(HasBits* has_bits) {
221  (*has_bits)[0] |= 8u;
222  }
223  static void set_has_suffix(HasBits* has_bits) {
224  (*has_bits)[0] |= 1u;
225  }
226 };
227 
229  : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
230  SharedCtor();
231  // @@protoc_insertion_point(constructor:google.protobuf.compiler.Version)
232 }
234  : ::PROTOBUF_NAMESPACE_ID::Message(),
235  _internal_metadata_(nullptr),
236  _has_bits_(from._has_bits_) {
239  if (from.has_suffix()) {
241  }
242  ::memcpy(&major_, &from.major_,
243  static_cast<size_t>(reinterpret_cast<char*>(&patch_) -
244  reinterpret_cast<char*>(&major_)) + sizeof(patch_));
245  // @@protoc_insertion_point(copy_constructor:google.protobuf.compiler.Version)
246 }
247 
251  ::memset(&major_, 0, static_cast<size_t>(
252  reinterpret_cast<char*>(&patch_) -
253  reinterpret_cast<char*>(&major_)) + sizeof(patch_));
254 }
255 
257  // @@protoc_insertion_point(destructor:google.protobuf.compiler.Version)
258  SharedDtor();
259 }
260 
263 }
264 
265 void Version::SetCachedSize(int size) const {
266  _cached_size_.Set(size);
267 }
270  return *internal_default_instance();
271 }
272 
273 
275 // @@protoc_insertion_point(message_clear_start:google.protobuf.compiler.Version)
276  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
277  // Prevent compiler warnings about cached_has_bits being unused
278  (void) cached_has_bits;
279 
280  cached_has_bits = _has_bits_[0];
281  if (cached_has_bits & 0x00000001u) {
282  suffix_.ClearNonDefaultToEmptyNoArena();
283  }
284  if (cached_has_bits & 0x0000000eu) {
285  ::memset(&major_, 0, static_cast<size_t>(
286  reinterpret_cast<char*>(&patch_) -
287  reinterpret_cast<char*>(&major_)) + sizeof(patch_));
288  }
289  _has_bits_.Clear();
290  _internal_metadata_.Clear();
291 }
292 
293 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
294 const char* Version::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
295 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
296  _Internal::HasBits has_bits{};
297  while (!ctx->Done(&ptr)) {
300  CHK_(ptr);
301  switch (tag >> 3) {
302  // optional int32 major = 1;
303  case 1:
304  if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
305  _Internal::set_has_major(&has_bits);
307  CHK_(ptr);
308  } else goto handle_unusual;
309  continue;
310  // optional int32 minor = 2;
311  case 2:
312  if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
313  _Internal::set_has_minor(&has_bits);
315  CHK_(ptr);
316  } else goto handle_unusual;
317  continue;
318  // optional int32 patch = 3;
319  case 3:
320  if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) {
321  _Internal::set_has_patch(&has_bits);
323  CHK_(ptr);
324  } else goto handle_unusual;
325  continue;
326  // optional string suffix = 4;
327  case 4:
328  if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) {
329  ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8Verify(mutable_suffix(), ptr, ctx, "google.protobuf.compiler.Version.suffix");
330  CHK_(ptr);
331  } else goto handle_unusual;
332  continue;
333  default: {
334  handle_unusual:
335  if ((tag & 7) == 4 || tag == 0) {
336  ctx->SetLastTag(tag);
337  goto success;
338  }
339  ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
340  CHK_(ptr != nullptr);
341  continue;
342  }
343  } // switch
344  } // while
345 success:
346  _has_bits_.Or(has_bits);
347  return ptr;
348 failure:
349  ptr = nullptr;
350  goto success;
351 #undef CHK_
352 }
353 #else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
355  ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) {
356 #define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
358  // @@protoc_insertion_point(parse_start:google.protobuf.compiler.Version)
359  for (;;) {
360  ::std::pair<::PROTOBUF_NAMESPACE_ID::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
361  tag = p.first;
362  if (!p.second) goto handle_unusual;
363  switch (::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::GetTagFieldNumber(tag)) {
364  // optional int32 major = 1;
365  case 1: {
366  if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (8 & 0xFF)) {
368  DO_((::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadPrimitive<
369  ::PROTOBUF_NAMESPACE_ID::int32, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT32>(
370  input, &major_)));
371  } else {
372  goto handle_unusual;
373  }
374  break;
375  }
376 
377  // optional int32 minor = 2;
378  case 2: {
379  if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (16 & 0xFF)) {
381  DO_((::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadPrimitive<
382  ::PROTOBUF_NAMESPACE_ID::int32, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT32>(
383  input, &minor_)));
384  } else {
385  goto handle_unusual;
386  }
387  break;
388  }
389 
390  // optional int32 patch = 3;
391  case 3: {
392  if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (24 & 0xFF)) {
394  DO_((::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadPrimitive<
395  ::PROTOBUF_NAMESPACE_ID::int32, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT32>(
396  input, &patch_)));
397  } else {
398  goto handle_unusual;
399  }
400  break;
401  }
402 
403  // optional string suffix = 4;
404  case 4: {
405  if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (34 & 0xFF)) {
406  DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString(
407  input, this->mutable_suffix()));
408  ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
409  this->suffix().data(), static_cast<int>(this->suffix().length()),
410  ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::PARSE,
411  "google.protobuf.compiler.Version.suffix");
412  } else {
413  goto handle_unusual;
414  }
415  break;
416  }
417 
418  default: {
419  handle_unusual:
420  if (tag == 0) {
421  goto success;
422  }
424  input, tag, _internal_metadata_.mutable_unknown_fields()));
425  break;
426  }
427  }
428  }
429 success:
430  // @@protoc_insertion_point(parse_success:google.protobuf.compiler.Version)
431  return true;
432 failure:
433  // @@protoc_insertion_point(parse_failure:google.protobuf.compiler.Version)
434  return false;
435 #undef DO_
436 }
437 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
438 
440  ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const {
441  // @@protoc_insertion_point(serialize_start:google.protobuf.compiler.Version)
442  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
443  (void) cached_has_bits;
444 
445  cached_has_bits = _has_bits_[0];
446  // optional int32 major = 1;
447  if (cached_has_bits & 0x00000002u) {
448  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32(1, this->major(), output);
449  }
450 
451  // optional int32 minor = 2;
452  if (cached_has_bits & 0x00000004u) {
453  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32(2, this->minor(), output);
454  }
455 
456  // optional int32 patch = 3;
457  if (cached_has_bits & 0x00000008u) {
458  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32(3, this->patch(), output);
459  }
460 
461  // optional string suffix = 4;
462  if (cached_has_bits & 0x00000001u) {
463  ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
464  this->suffix().data(), static_cast<int>(this->suffix().length()),
465  ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
466  "google.protobuf.compiler.Version.suffix");
467  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringMaybeAliased(
468  4, this->suffix(), output);
469  }
470 
471  if (_internal_metadata_.have_unknown_fields()) {
472  ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFields(
473  _internal_metadata_.unknown_fields(), output);
474  }
475  // @@protoc_insertion_point(serialize_end:google.protobuf.compiler.Version)
476 }
477 
480  // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.compiler.Version)
481  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
482  (void) cached_has_bits;
483 
484  cached_has_bits = _has_bits_[0];
485  // optional int32 major = 1;
486  if (cached_has_bits & 0x00000002u) {
487  target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(1, this->major(), target);
488  }
489 
490  // optional int32 minor = 2;
491  if (cached_has_bits & 0x00000004u) {
492  target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(2, this->minor(), target);
493  }
494 
495  // optional int32 patch = 3;
496  if (cached_has_bits & 0x00000008u) {
497  target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(3, this->patch(), target);
498  }
499 
500  // optional string suffix = 4;
501  if (cached_has_bits & 0x00000001u) {
502  ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
503  this->suffix().data(), static_cast<int>(this->suffix().length()),
504  ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
505  "google.protobuf.compiler.Version.suffix");
506  target =
507  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringToArray(
508  4, this->suffix(), target);
509  }
510 
511  if (_internal_metadata_.have_unknown_fields()) {
512  target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFieldsToArray(
513  _internal_metadata_.unknown_fields(), target);
514  }
515  // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.compiler.Version)
516  return target;
517 }
518 
519 size_t Version::ByteSizeLong() const {
520 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.compiler.Version)
521  size_t total_size = 0;
522 
523  if (_internal_metadata_.have_unknown_fields()) {
524  total_size +=
525  ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::ComputeUnknownFieldsSize(
526  _internal_metadata_.unknown_fields());
527  }
528  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
529  // Prevent compiler warnings about cached_has_bits being unused
530  (void) cached_has_bits;
531 
532  cached_has_bits = _has_bits_[0];
533  if (cached_has_bits & 0x0000000fu) {
534  // optional string suffix = 4;
535  if (cached_has_bits & 0x00000001u) {
536  total_size += 1 +
537  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
538  this->suffix());
539  }
540 
541  // optional int32 major = 1;
542  if (cached_has_bits & 0x00000002u) {
543  total_size += 1 +
544  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
545  this->major());
546  }
547 
548  // optional int32 minor = 2;
549  if (cached_has_bits & 0x00000004u) {
550  total_size += 1 +
551  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
552  this->minor());
553  }
554 
555  // optional int32 patch = 3;
556  if (cached_has_bits & 0x00000008u) {
557  total_size += 1 +
558  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
559  this->patch());
560  }
561 
562  }
563  int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
564  SetCachedSize(cached_size);
565  return total_size;
566 }
567 
568 void Version::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
569 // @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.compiler.Version)
570  GOOGLE_DCHECK_NE(&from, this);
571  const Version* source =
572  ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Version>(
573  &from);
574  if (source == nullptr) {
575  // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.compiler.Version)
577  } else {
578  // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.compiler.Version)
579  MergeFrom(*source);
580  }
581 }
582 
583 void Version::MergeFrom(const Version& from) {
584 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.compiler.Version)
585  GOOGLE_DCHECK_NE(&from, this);
587  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
588  (void) cached_has_bits;
589 
590  cached_has_bits = from._has_bits_[0];
591  if (cached_has_bits & 0x0000000fu) {
592  if (cached_has_bits & 0x00000001u) {
593  _has_bits_[0] |= 0x00000001u;
595  }
596  if (cached_has_bits & 0x00000002u) {
597  major_ = from.major_;
598  }
599  if (cached_has_bits & 0x00000004u) {
600  minor_ = from.minor_;
601  }
602  if (cached_has_bits & 0x00000008u) {
603  patch_ = from.patch_;
604  }
605  _has_bits_[0] |= cached_has_bits;
606  }
607 }
608 
609 void Version::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
610 // @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.compiler.Version)
611  if (&from == this) return;
612  Clear();
613  MergeFrom(from);
614 }
615 
616 void Version::CopyFrom(const Version& from) {
617 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.compiler.Version)
618  if (&from == this) return;
619  Clear();
620  MergeFrom(from);
621 }
622 
624  return true;
625 }
626 
628  using std::swap;
630  swap(_has_bits_[0], other->_has_bits_[0]);
633  swap(major_, other->major_);
634  swap(minor_, other->minor_);
635  swap(patch_, other->patch_);
636 }
637 
638 ::PROTOBUF_NAMESPACE_ID::Metadata Version::GetMetadata() const {
639  return GetMetadataStatic();
640 }
641 
642 
643 // ===================================================================
644 
646  PROTOBUF_NAMESPACE_ID::compiler::_CodeGeneratorRequest_default_instance_._instance.get_mutable()->compiler_version_ = const_cast< PROTOBUF_NAMESPACE_ID::compiler::Version*>(
647  PROTOBUF_NAMESPACE_ID::compiler::Version::internal_default_instance());
648 }
650  public:
651  using HasBits = decltype(std::declval<CodeGeneratorRequest>()._has_bits_);
652  static void set_has_parameter(HasBits* has_bits) {
653  (*has_bits)[0] |= 1u;
654  }
656  static void set_has_compiler_version(HasBits* has_bits) {
657  (*has_bits)[0] |= 2u;
658  }
659 };
660 
663  return *msg->compiler_version_;
664 }
666  proto_file_.Clear();
667 }
669  : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
670  SharedCtor();
671  // @@protoc_insertion_point(constructor:google.protobuf.compiler.CodeGeneratorRequest)
672 }
674  : ::PROTOBUF_NAMESPACE_ID::Message(),
675  _internal_metadata_(nullptr),
676  _has_bits_(from._has_bits_),
677  file_to_generate_(from.file_to_generate_),
678  proto_file_(from.proto_file_) {
681  if (from.has_parameter()) {
683  }
684  if (from.has_compiler_version()) {
686  } else {
687  compiler_version_ = nullptr;
688  }
689  // @@protoc_insertion_point(copy_constructor:google.protobuf.compiler.CodeGeneratorRequest)
690 }
691 
695  compiler_version_ = nullptr;
696 }
697 
699  // @@protoc_insertion_point(destructor:google.protobuf.compiler.CodeGeneratorRequest)
700  SharedDtor();
701 }
702 
705  if (this != internal_default_instance()) delete compiler_version_;
706 }
707 
709  _cached_size_.Set(size);
710 }
713  return *internal_default_instance();
714 }
715 
716 
718 // @@protoc_insertion_point(message_clear_start:google.protobuf.compiler.CodeGeneratorRequest)
719  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
720  // Prevent compiler warnings about cached_has_bits being unused
721  (void) cached_has_bits;
722 
723  file_to_generate_.Clear();
724  proto_file_.Clear();
725  cached_has_bits = _has_bits_[0];
726  if (cached_has_bits & 0x00000003u) {
727  if (cached_has_bits & 0x00000001u) {
728  parameter_.ClearNonDefaultToEmptyNoArena();
729  }
730  if (cached_has_bits & 0x00000002u) {
731  GOOGLE_DCHECK(compiler_version_ != nullptr);
732  compiler_version_->Clear();
733  }
734  }
735  _has_bits_.Clear();
736  _internal_metadata_.Clear();
737 }
738 
739 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
740 const char* CodeGeneratorRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
741 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
742  _Internal::HasBits has_bits{};
743  while (!ctx->Done(&ptr)) {
746  CHK_(ptr);
747  switch (tag >> 3) {
748  // repeated string file_to_generate = 1;
749  case 1:
750  if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
751  ptr -= 1;
752  do {
753  ptr += 1;
754  ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8Verify(add_file_to_generate(), ptr, ctx, "google.protobuf.compiler.CodeGeneratorRequest.file_to_generate");
755  CHK_(ptr);
756  if (!ctx->DataAvailable(ptr)) break;
757  } while (::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<::PROTOBUF_NAMESPACE_ID::uint8>(ptr) == 10);
758  } else goto handle_unusual;
759  continue;
760  // optional string parameter = 2;
761  case 2:
762  if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
763  ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8Verify(mutable_parameter(), ptr, ctx, "google.protobuf.compiler.CodeGeneratorRequest.parameter");
764  CHK_(ptr);
765  } else goto handle_unusual;
766  continue;
767  // optional .google.protobuf.compiler.Version compiler_version = 3;
768  case 3:
769  if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
770  ptr = ctx->ParseMessage(mutable_compiler_version(), ptr);
771  CHK_(ptr);
772  } else goto handle_unusual;
773  continue;
774  // repeated .google.protobuf.FileDescriptorProto proto_file = 15;
775  case 15:
776  if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 122)) {
777  ptr -= 1;
778  do {
779  ptr += 1;
780  ptr = ctx->ParseMessage(add_proto_file(), ptr);
781  CHK_(ptr);
782  if (!ctx->DataAvailable(ptr)) break;
783  } while (::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<::PROTOBUF_NAMESPACE_ID::uint8>(ptr) == 122);
784  } else goto handle_unusual;
785  continue;
786  default: {
787  handle_unusual:
788  if ((tag & 7) == 4 || tag == 0) {
789  ctx->SetLastTag(tag);
790  goto success;
791  }
792  ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
793  CHK_(ptr != nullptr);
794  continue;
795  }
796  } // switch
797  } // while
798 success:
799  _has_bits_.Or(has_bits);
800  return ptr;
801 failure:
802  ptr = nullptr;
803  goto success;
804 #undef CHK_
805 }
806 #else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
808  ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) {
809 #define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
811  // @@protoc_insertion_point(parse_start:google.protobuf.compiler.CodeGeneratorRequest)
812  for (;;) {
813  ::std::pair<::PROTOBUF_NAMESPACE_ID::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
814  tag = p.first;
815  if (!p.second) goto handle_unusual;
816  switch (::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::GetTagFieldNumber(tag)) {
817  // repeated string file_to_generate = 1;
818  case 1: {
819  if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (10 & 0xFF)) {
820  DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString(
821  input, this->add_file_to_generate()));
822  ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
823  this->file_to_generate(this->file_to_generate_size() - 1).data(),
824  static_cast<int>(this->file_to_generate(this->file_to_generate_size() - 1).length()),
825  ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::PARSE,
826  "google.protobuf.compiler.CodeGeneratorRequest.file_to_generate");
827  } else {
828  goto handle_unusual;
829  }
830  break;
831  }
832 
833  // optional string parameter = 2;
834  case 2: {
835  if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (18 & 0xFF)) {
836  DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString(
837  input, this->mutable_parameter()));
838  ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
839  this->parameter().data(), static_cast<int>(this->parameter().length()),
840  ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::PARSE,
841  "google.protobuf.compiler.CodeGeneratorRequest.parameter");
842  } else {
843  goto handle_unusual;
844  }
845  break;
846  }
847 
848  // optional .google.protobuf.compiler.Version compiler_version = 3;
849  case 3: {
850  if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (26 & 0xFF)) {
851  DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadMessage(
853  } else {
854  goto handle_unusual;
855  }
856  break;
857  }
858 
859  // repeated .google.protobuf.FileDescriptorProto proto_file = 15;
860  case 15: {
861  if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (122 & 0xFF)) {
862  DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadMessage(
863  input, add_proto_file()));
864  } else {
865  goto handle_unusual;
866  }
867  break;
868  }
869 
870  default: {
871  handle_unusual:
872  if (tag == 0) {
873  goto success;
874  }
876  input, tag, _internal_metadata_.mutable_unknown_fields()));
877  break;
878  }
879  }
880  }
881 success:
882  // @@protoc_insertion_point(parse_success:google.protobuf.compiler.CodeGeneratorRequest)
883  return true;
884 failure:
885  // @@protoc_insertion_point(parse_failure:google.protobuf.compiler.CodeGeneratorRequest)
886  return false;
887 #undef DO_
888 }
889 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
890 
892  ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const {
893  // @@protoc_insertion_point(serialize_start:google.protobuf.compiler.CodeGeneratorRequest)
894  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
895  (void) cached_has_bits;
896 
897  // repeated string file_to_generate = 1;
898  for (int i = 0, n = this->file_to_generate_size(); i < n; i++) {
899  ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
900  this->file_to_generate(i).data(), static_cast<int>(this->file_to_generate(i).length()),
901  ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
902  "google.protobuf.compiler.CodeGeneratorRequest.file_to_generate");
903  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteString(
904  1, this->file_to_generate(i), output);
905  }
906 
907  cached_has_bits = _has_bits_[0];
908  // optional string parameter = 2;
909  if (cached_has_bits & 0x00000001u) {
910  ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
911  this->parameter().data(), static_cast<int>(this->parameter().length()),
912  ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
913  "google.protobuf.compiler.CodeGeneratorRequest.parameter");
914  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringMaybeAliased(
915  2, this->parameter(), output);
916  }
917 
918  // optional .google.protobuf.compiler.Version compiler_version = 3;
919  if (cached_has_bits & 0x00000002u) {
920  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteMessageMaybeToArray(
922  }
923 
924  // repeated .google.protobuf.FileDescriptorProto proto_file = 15;
925  for (unsigned int i = 0,
926  n = static_cast<unsigned int>(this->proto_file_size()); i < n; i++) {
927  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteMessageMaybeToArray(
928  15,
929  this->proto_file(static_cast<int>(i)),
930  output);
931  }
932 
933  if (_internal_metadata_.have_unknown_fields()) {
934  ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFields(
935  _internal_metadata_.unknown_fields(), output);
936  }
937  // @@protoc_insertion_point(serialize_end:google.protobuf.compiler.CodeGeneratorRequest)
938 }
939 
942  // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.compiler.CodeGeneratorRequest)
943  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
944  (void) cached_has_bits;
945 
946  // repeated string file_to_generate = 1;
947  for (int i = 0, n = this->file_to_generate_size(); i < n; i++) {
948  ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
949  this->file_to_generate(i).data(), static_cast<int>(this->file_to_generate(i).length()),
950  ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
951  "google.protobuf.compiler.CodeGeneratorRequest.file_to_generate");
952  target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
953  WriteStringToArray(1, this->file_to_generate(i), target);
954  }
955 
956  cached_has_bits = _has_bits_[0];
957  // optional string parameter = 2;
958  if (cached_has_bits & 0x00000001u) {
959  ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
960  this->parameter().data(), static_cast<int>(this->parameter().length()),
961  ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
962  "google.protobuf.compiler.CodeGeneratorRequest.parameter");
963  target =
964  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringToArray(
965  2, this->parameter(), target);
966  }
967 
968  // optional .google.protobuf.compiler.Version compiler_version = 3;
969  if (cached_has_bits & 0x00000002u) {
970  target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
971  InternalWriteMessageToArray(
973  }
974 
975  // repeated .google.protobuf.FileDescriptorProto proto_file = 15;
976  for (unsigned int i = 0,
977  n = static_cast<unsigned int>(this->proto_file_size()); i < n; i++) {
978  target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
979  InternalWriteMessageToArray(
980  15, this->proto_file(static_cast<int>(i)), target);
981  }
982 
983  if (_internal_metadata_.have_unknown_fields()) {
984  target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFieldsToArray(
985  _internal_metadata_.unknown_fields(), target);
986  }
987  // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.compiler.CodeGeneratorRequest)
988  return target;
989 }
990 
992 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.compiler.CodeGeneratorRequest)
993  size_t total_size = 0;
994 
995  if (_internal_metadata_.have_unknown_fields()) {
996  total_size +=
997  ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::ComputeUnknownFieldsSize(
998  _internal_metadata_.unknown_fields());
999  }
1000  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1001  // Prevent compiler warnings about cached_has_bits being unused
1002  (void) cached_has_bits;
1003 
1004  // repeated string file_to_generate = 1;
1005  total_size += 1 *
1007  for (int i = 0, n = this->file_to_generate_size(); i < n; i++) {
1008  total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
1009  this->file_to_generate(i));
1010  }
1011 
1012  // repeated .google.protobuf.FileDescriptorProto proto_file = 15;
1013  {
1014  unsigned int count = static_cast<unsigned int>(this->proto_file_size());
1015  total_size += 1UL * count;
1016  for (unsigned int i = 0; i < count; i++) {
1017  total_size +=
1018  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
1019  this->proto_file(static_cast<int>(i)));
1020  }
1021  }
1022 
1023  cached_has_bits = _has_bits_[0];
1024  if (cached_has_bits & 0x00000003u) {
1025  // optional string parameter = 2;
1026  if (cached_has_bits & 0x00000001u) {
1027  total_size += 1 +
1028  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
1029  this->parameter());
1030  }
1031 
1032  // optional .google.protobuf.compiler.Version compiler_version = 3;
1033  if (cached_has_bits & 0x00000002u) {
1034  total_size += 1 +
1035  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
1037  }
1038 
1039  }
1040  int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
1041  SetCachedSize(cached_size);
1042  return total_size;
1043 }
1044 
1045 void CodeGeneratorRequest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
1046 // @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.compiler.CodeGeneratorRequest)
1047  GOOGLE_DCHECK_NE(&from, this);
1048  const CodeGeneratorRequest* source =
1049  ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<CodeGeneratorRequest>(
1050  &from);
1051  if (source == nullptr) {
1052  // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.compiler.CodeGeneratorRequest)
1054  } else {
1055  // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.compiler.CodeGeneratorRequest)
1056  MergeFrom(*source);
1057  }
1058 }
1059 
1061 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.compiler.CodeGeneratorRequest)
1062  GOOGLE_DCHECK_NE(&from, this);
1063  _internal_metadata_.MergeFrom(from._internal_metadata_);
1064  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1065  (void) cached_has_bits;
1066 
1067  file_to_generate_.MergeFrom(from.file_to_generate_);
1068  proto_file_.MergeFrom(from.proto_file_);
1069  cached_has_bits = from._has_bits_[0];
1070  if (cached_has_bits & 0x00000003u) {
1071  if (cached_has_bits & 0x00000001u) {
1072  _has_bits_[0] |= 0x00000001u;
1074  }
1075  if (cached_has_bits & 0x00000002u) {
1076  mutable_compiler_version()->PROTOBUF_NAMESPACE_ID::compiler::Version::MergeFrom(from.compiler_version());
1077  }
1078  }
1079 }
1080 
1081 void CodeGeneratorRequest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
1082 // @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.compiler.CodeGeneratorRequest)
1083  if (&from == this) return;
1084  Clear();
1085  MergeFrom(from);
1086 }
1087 
1089 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.compiler.CodeGeneratorRequest)
1090  if (&from == this) return;
1091  Clear();
1092  MergeFrom(from);
1093 }
1094 
1096  if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(this->proto_file())) return false;
1097  return true;
1098 }
1099 
1101  using std::swap;
1103  swap(_has_bits_[0], other->_has_bits_[0]);
1104  file_to_generate_.InternalSwap(CastToBase(&other->file_to_generate_));
1105  CastToBase(&proto_file_)->InternalSwap(CastToBase(&other->proto_file_));
1107  GetArenaNoVirtual());
1109 }
1110 
1111 ::PROTOBUF_NAMESPACE_ID::Metadata CodeGeneratorRequest::GetMetadata() const {
1112  return GetMetadataStatic();
1113 }
1114 
1115 
1116 // ===================================================================
1117 
1119 }
1121  public:
1122  using HasBits = decltype(std::declval<CodeGeneratorResponse_File>()._has_bits_);
1123  static void set_has_name(HasBits* has_bits) {
1124  (*has_bits)[0] |= 1u;
1125  }
1126  static void set_has_insertion_point(HasBits* has_bits) {
1127  (*has_bits)[0] |= 2u;
1128  }
1129  static void set_has_content(HasBits* has_bits) {
1130  (*has_bits)[0] |= 4u;
1131  }
1132 };
1133 
1135  : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
1136  SharedCtor();
1137  // @@protoc_insertion_point(constructor:google.protobuf.compiler.CodeGeneratorResponse.File)
1138 }
1140  : ::PROTOBUF_NAMESPACE_ID::Message(),
1141  _internal_metadata_(nullptr),
1142  _has_bits_(from._has_bits_) {
1143  _internal_metadata_.MergeFrom(from._internal_metadata_);
1145  if (from.has_name()) {
1147  }
1149  if (from.has_insertion_point()) {
1151  }
1153  if (from.has_content()) {
1155  }
1156  // @@protoc_insertion_point(copy_constructor:google.protobuf.compiler.CodeGeneratorResponse.File)
1157 }
1158 
1164 }
1165 
1167  // @@protoc_insertion_point(destructor:google.protobuf.compiler.CodeGeneratorResponse.File)
1168  SharedDtor();
1169 }
1170 
1175 }
1176 
1178  _cached_size_.Set(size);
1179 }
1182  return *internal_default_instance();
1183 }
1184 
1185 
1187 // @@protoc_insertion_point(message_clear_start:google.protobuf.compiler.CodeGeneratorResponse.File)
1188  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1189  // Prevent compiler warnings about cached_has_bits being unused
1190  (void) cached_has_bits;
1191 
1192  cached_has_bits = _has_bits_[0];
1193  if (cached_has_bits & 0x00000007u) {
1194  if (cached_has_bits & 0x00000001u) {
1195  name_.ClearNonDefaultToEmptyNoArena();
1196  }
1197  if (cached_has_bits & 0x00000002u) {
1198  insertion_point_.ClearNonDefaultToEmptyNoArena();
1199  }
1200  if (cached_has_bits & 0x00000004u) {
1201  content_.ClearNonDefaultToEmptyNoArena();
1202  }
1203  }
1204  _has_bits_.Clear();
1205  _internal_metadata_.Clear();
1206 }
1207 
1208 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1209 const char* CodeGeneratorResponse_File::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
1210 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
1211  _Internal::HasBits has_bits{};
1212  while (!ctx->Done(&ptr)) {
1215  CHK_(ptr);
1216  switch (tag >> 3) {
1217  // optional string name = 1;
1218  case 1:
1219  if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
1220  ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8Verify(mutable_name(), ptr, ctx, "google.protobuf.compiler.CodeGeneratorResponse.File.name");
1221  CHK_(ptr);
1222  } else goto handle_unusual;
1223  continue;
1224  // optional string insertion_point = 2;
1225  case 2:
1226  if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
1227  ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8Verify(mutable_insertion_point(), ptr, ctx, "google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point");
1228  CHK_(ptr);
1229  } else goto handle_unusual;
1230  continue;
1231  // optional string content = 15;
1232  case 15:
1233  if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 122)) {
1234  ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8Verify(mutable_content(), ptr, ctx, "google.protobuf.compiler.CodeGeneratorResponse.File.content");
1235  CHK_(ptr);
1236  } else goto handle_unusual;
1237  continue;
1238  default: {
1239  handle_unusual:
1240  if ((tag & 7) == 4 || tag == 0) {
1241  ctx->SetLastTag(tag);
1242  goto success;
1243  }
1244  ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
1245  CHK_(ptr != nullptr);
1246  continue;
1247  }
1248  } // switch
1249  } // while
1250 success:
1251  _has_bits_.Or(has_bits);
1252  return ptr;
1253 failure:
1254  ptr = nullptr;
1255  goto success;
1256 #undef CHK_
1257 }
1258 #else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1260  ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) {
1261 #define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
1263  // @@protoc_insertion_point(parse_start:google.protobuf.compiler.CodeGeneratorResponse.File)
1264  for (;;) {
1265  ::std::pair<::PROTOBUF_NAMESPACE_ID::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
1266  tag = p.first;
1267  if (!p.second) goto handle_unusual;
1268  switch (::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::GetTagFieldNumber(tag)) {
1269  // optional string name = 1;
1270  case 1: {
1271  if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (10 & 0xFF)) {
1272  DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString(
1273  input, this->mutable_name()));
1274  ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
1275  this->name().data(), static_cast<int>(this->name().length()),
1276  ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::PARSE,
1277  "google.protobuf.compiler.CodeGeneratorResponse.File.name");
1278  } else {
1279  goto handle_unusual;
1280  }
1281  break;
1282  }
1283 
1284  // optional string insertion_point = 2;
1285  case 2: {
1286  if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (18 & 0xFF)) {
1287  DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString(
1288  input, this->mutable_insertion_point()));
1289  ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
1290  this->insertion_point().data(), static_cast<int>(this->insertion_point().length()),
1291  ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::PARSE,
1292  "google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point");
1293  } else {
1294  goto handle_unusual;
1295  }
1296  break;
1297  }
1298 
1299  // optional string content = 15;
1300  case 15: {
1301  if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (122 & 0xFF)) {
1302  DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString(
1303  input, this->mutable_content()));
1304  ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
1305  this->content().data(), static_cast<int>(this->content().length()),
1306  ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::PARSE,
1307  "google.protobuf.compiler.CodeGeneratorResponse.File.content");
1308  } else {
1309  goto handle_unusual;
1310  }
1311  break;
1312  }
1313 
1314  default: {
1315  handle_unusual:
1316  if (tag == 0) {
1317  goto success;
1318  }
1320  input, tag, _internal_metadata_.mutable_unknown_fields()));
1321  break;
1322  }
1323  }
1324  }
1325 success:
1326  // @@protoc_insertion_point(parse_success:google.protobuf.compiler.CodeGeneratorResponse.File)
1327  return true;
1328 failure:
1329  // @@protoc_insertion_point(parse_failure:google.protobuf.compiler.CodeGeneratorResponse.File)
1330  return false;
1331 #undef DO_
1332 }
1333 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1334 
1336  ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const {
1337  // @@protoc_insertion_point(serialize_start:google.protobuf.compiler.CodeGeneratorResponse.File)
1338  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1339  (void) cached_has_bits;
1340 
1341  cached_has_bits = _has_bits_[0];
1342  // optional string name = 1;
1343  if (cached_has_bits & 0x00000001u) {
1344  ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
1345  this->name().data(), static_cast<int>(this->name().length()),
1346  ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
1347  "google.protobuf.compiler.CodeGeneratorResponse.File.name");
1348  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringMaybeAliased(
1349  1, this->name(), output);
1350  }
1351 
1352  // optional string insertion_point = 2;
1353  if (cached_has_bits & 0x00000002u) {
1354  ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
1355  this->insertion_point().data(), static_cast<int>(this->insertion_point().length()),
1356  ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
1357  "google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point");
1358  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringMaybeAliased(
1359  2, this->insertion_point(), output);
1360  }
1361 
1362  // optional string content = 15;
1363  if (cached_has_bits & 0x00000004u) {
1364  ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
1365  this->content().data(), static_cast<int>(this->content().length()),
1366  ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
1367  "google.protobuf.compiler.CodeGeneratorResponse.File.content");
1368  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringMaybeAliased(
1369  15, this->content(), output);
1370  }
1371 
1372  if (_internal_metadata_.have_unknown_fields()) {
1373  ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFields(
1374  _internal_metadata_.unknown_fields(), output);
1375  }
1376  // @@protoc_insertion_point(serialize_end:google.protobuf.compiler.CodeGeneratorResponse.File)
1377 }
1378 
1381  // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.compiler.CodeGeneratorResponse.File)
1382  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1383  (void) cached_has_bits;
1384 
1385  cached_has_bits = _has_bits_[0];
1386  // optional string name = 1;
1387  if (cached_has_bits & 0x00000001u) {
1388  ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
1389  this->name().data(), static_cast<int>(this->name().length()),
1390  ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
1391  "google.protobuf.compiler.CodeGeneratorResponse.File.name");
1392  target =
1393  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringToArray(
1394  1, this->name(), target);
1395  }
1396 
1397  // optional string insertion_point = 2;
1398  if (cached_has_bits & 0x00000002u) {
1399  ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
1400  this->insertion_point().data(), static_cast<int>(this->insertion_point().length()),
1401  ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
1402  "google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point");
1403  target =
1404  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringToArray(
1405  2, this->insertion_point(), target);
1406  }
1407 
1408  // optional string content = 15;
1409  if (cached_has_bits & 0x00000004u) {
1410  ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
1411  this->content().data(), static_cast<int>(this->content().length()),
1412  ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
1413  "google.protobuf.compiler.CodeGeneratorResponse.File.content");
1414  target =
1415  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringToArray(
1416  15, this->content(), target);
1417  }
1418 
1419  if (_internal_metadata_.have_unknown_fields()) {
1420  target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFieldsToArray(
1421  _internal_metadata_.unknown_fields(), target);
1422  }
1423  // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.compiler.CodeGeneratorResponse.File)
1424  return target;
1425 }
1426 
1428 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.compiler.CodeGeneratorResponse.File)
1429  size_t total_size = 0;
1430 
1431  if (_internal_metadata_.have_unknown_fields()) {
1432  total_size +=
1433  ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::ComputeUnknownFieldsSize(
1434  _internal_metadata_.unknown_fields());
1435  }
1436  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1437  // Prevent compiler warnings about cached_has_bits being unused
1438  (void) cached_has_bits;
1439 
1440  cached_has_bits = _has_bits_[0];
1441  if (cached_has_bits & 0x00000007u) {
1442  // optional string name = 1;
1443  if (cached_has_bits & 0x00000001u) {
1444  total_size += 1 +
1445  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
1446  this->name());
1447  }
1448 
1449  // optional string insertion_point = 2;
1450  if (cached_has_bits & 0x00000002u) {
1451  total_size += 1 +
1452  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
1453  this->insertion_point());
1454  }
1455 
1456  // optional string content = 15;
1457  if (cached_has_bits & 0x00000004u) {
1458  total_size += 1 +
1459  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
1460  this->content());
1461  }
1462 
1463  }
1464  int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
1465  SetCachedSize(cached_size);
1466  return total_size;
1467 }
1468 
1469 void CodeGeneratorResponse_File::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
1470 // @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.compiler.CodeGeneratorResponse.File)
1471  GOOGLE_DCHECK_NE(&from, this);
1473  ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<CodeGeneratorResponse_File>(
1474  &from);
1475  if (source == nullptr) {
1476  // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.compiler.CodeGeneratorResponse.File)
1478  } else {
1479  // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.compiler.CodeGeneratorResponse.File)
1480  MergeFrom(*source);
1481  }
1482 }
1483 
1485 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.compiler.CodeGeneratorResponse.File)
1486  GOOGLE_DCHECK_NE(&from, this);
1487  _internal_metadata_.MergeFrom(from._internal_metadata_);
1488  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1489  (void) cached_has_bits;
1490 
1491  cached_has_bits = from._has_bits_[0];
1492  if (cached_has_bits & 0x00000007u) {
1493  if (cached_has_bits & 0x00000001u) {
1494  _has_bits_[0] |= 0x00000001u;
1496  }
1497  if (cached_has_bits & 0x00000002u) {
1498  _has_bits_[0] |= 0x00000002u;
1500  }
1501  if (cached_has_bits & 0x00000004u) {
1502  _has_bits_[0] |= 0x00000004u;
1504  }
1505  }
1506 }
1507 
1508 void CodeGeneratorResponse_File::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
1509 // @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.compiler.CodeGeneratorResponse.File)
1510  if (&from == this) return;
1511  Clear();
1512  MergeFrom(from);
1513 }
1514 
1516 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.compiler.CodeGeneratorResponse.File)
1517  if (&from == this) return;
1518  Clear();
1519  MergeFrom(from);
1520 }
1521 
1523  return true;
1524 }
1525 
1527  using std::swap;
1529  swap(_has_bits_[0], other->_has_bits_[0]);
1531  GetArenaNoVirtual());
1533  GetArenaNoVirtual());
1535  GetArenaNoVirtual());
1536 }
1537 
1538 ::PROTOBUF_NAMESPACE_ID::Metadata CodeGeneratorResponse_File::GetMetadata() const {
1539  return GetMetadataStatic();
1540 }
1541 
1542 
1543 // ===================================================================
1544 
1546 }
1548  public:
1549  using HasBits = decltype(std::declval<CodeGeneratorResponse>()._has_bits_);
1550  static void set_has_error(HasBits* has_bits) {
1551  (*has_bits)[0] |= 1u;
1552  }
1553 };
1554 
1556  : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
1557  SharedCtor();
1558  // @@protoc_insertion_point(constructor:google.protobuf.compiler.CodeGeneratorResponse)
1559 }
1561  : ::PROTOBUF_NAMESPACE_ID::Message(),
1562  _internal_metadata_(nullptr),
1563  _has_bits_(from._has_bits_),
1564  file_(from.file_) {
1565  _internal_metadata_.MergeFrom(from._internal_metadata_);
1567  if (from.has_error()) {
1569  }
1570  // @@protoc_insertion_point(copy_constructor:google.protobuf.compiler.CodeGeneratorResponse)
1571 }
1572 
1576 }
1577 
1579  // @@protoc_insertion_point(destructor:google.protobuf.compiler.CodeGeneratorResponse)
1580  SharedDtor();
1581 }
1582 
1585 }
1586 
1588  _cached_size_.Set(size);
1589 }
1592  return *internal_default_instance();
1593 }
1594 
1595 
1597 // @@protoc_insertion_point(message_clear_start:google.protobuf.compiler.CodeGeneratorResponse)
1598  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1599  // Prevent compiler warnings about cached_has_bits being unused
1600  (void) cached_has_bits;
1601 
1602  file_.Clear();
1603  cached_has_bits = _has_bits_[0];
1604  if (cached_has_bits & 0x00000001u) {
1605  error_.ClearNonDefaultToEmptyNoArena();
1606  }
1607  _has_bits_.Clear();
1608  _internal_metadata_.Clear();
1609 }
1610 
1611 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1612 const char* CodeGeneratorResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
1613 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
1614  _Internal::HasBits has_bits{};
1615  while (!ctx->Done(&ptr)) {
1618  CHK_(ptr);
1619  switch (tag >> 3) {
1620  // optional string error = 1;
1621  case 1:
1622  if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
1623  ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8Verify(mutable_error(), ptr, ctx, "google.protobuf.compiler.CodeGeneratorResponse.error");
1624  CHK_(ptr);
1625  } else goto handle_unusual;
1626  continue;
1627  // repeated .google.protobuf.compiler.CodeGeneratorResponse.File file = 15;
1628  case 15:
1629  if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 122)) {
1630  ptr -= 1;
1631  do {
1632  ptr += 1;
1633  ptr = ctx->ParseMessage(add_file(), ptr);
1634  CHK_(ptr);
1635  if (!ctx->DataAvailable(ptr)) break;
1636  } while (::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<::PROTOBUF_NAMESPACE_ID::uint8>(ptr) == 122);
1637  } else goto handle_unusual;
1638  continue;
1639  default: {
1640  handle_unusual:
1641  if ((tag & 7) == 4 || tag == 0) {
1642  ctx->SetLastTag(tag);
1643  goto success;
1644  }
1645  ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
1646  CHK_(ptr != nullptr);
1647  continue;
1648  }
1649  } // switch
1650  } // while
1651 success:
1652  _has_bits_.Or(has_bits);
1653  return ptr;
1654 failure:
1655  ptr = nullptr;
1656  goto success;
1657 #undef CHK_
1658 }
1659 #else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1661  ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) {
1662 #define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
1664  // @@protoc_insertion_point(parse_start:google.protobuf.compiler.CodeGeneratorResponse)
1665  for (;;) {
1666  ::std::pair<::PROTOBUF_NAMESPACE_ID::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
1667  tag = p.first;
1668  if (!p.second) goto handle_unusual;
1669  switch (::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::GetTagFieldNumber(tag)) {
1670  // optional string error = 1;
1671  case 1: {
1672  if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (10 & 0xFF)) {
1673  DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString(
1674  input, this->mutable_error()));
1675  ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
1676  this->error().data(), static_cast<int>(this->error().length()),
1677  ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::PARSE,
1678  "google.protobuf.compiler.CodeGeneratorResponse.error");
1679  } else {
1680  goto handle_unusual;
1681  }
1682  break;
1683  }
1684 
1685  // repeated .google.protobuf.compiler.CodeGeneratorResponse.File file = 15;
1686  case 15: {
1687  if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (122 & 0xFF)) {
1688  DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadMessage(
1689  input, add_file()));
1690  } else {
1691  goto handle_unusual;
1692  }
1693  break;
1694  }
1695 
1696  default: {
1697  handle_unusual:
1698  if (tag == 0) {
1699  goto success;
1700  }
1702  input, tag, _internal_metadata_.mutable_unknown_fields()));
1703  break;
1704  }
1705  }
1706  }
1707 success:
1708  // @@protoc_insertion_point(parse_success:google.protobuf.compiler.CodeGeneratorResponse)
1709  return true;
1710 failure:
1711  // @@protoc_insertion_point(parse_failure:google.protobuf.compiler.CodeGeneratorResponse)
1712  return false;
1713 #undef DO_
1714 }
1715 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1716 
1718  ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const {
1719  // @@protoc_insertion_point(serialize_start:google.protobuf.compiler.CodeGeneratorResponse)
1720  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1721  (void) cached_has_bits;
1722 
1723  cached_has_bits = _has_bits_[0];
1724  // optional string error = 1;
1725  if (cached_has_bits & 0x00000001u) {
1726  ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
1727  this->error().data(), static_cast<int>(this->error().length()),
1728  ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
1729  "google.protobuf.compiler.CodeGeneratorResponse.error");
1730  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringMaybeAliased(
1731  1, this->error(), output);
1732  }
1733 
1734  // repeated .google.protobuf.compiler.CodeGeneratorResponse.File file = 15;
1735  for (unsigned int i = 0,
1736  n = static_cast<unsigned int>(this->file_size()); i < n; i++) {
1737  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteMessageMaybeToArray(
1738  15,
1739  this->file(static_cast<int>(i)),
1740  output);
1741  }
1742 
1743  if (_internal_metadata_.have_unknown_fields()) {
1744  ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFields(
1745  _internal_metadata_.unknown_fields(), output);
1746  }
1747  // @@protoc_insertion_point(serialize_end:google.protobuf.compiler.CodeGeneratorResponse)
1748 }
1749 
1752  // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.compiler.CodeGeneratorResponse)
1753  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1754  (void) cached_has_bits;
1755 
1756  cached_has_bits = _has_bits_[0];
1757  // optional string error = 1;
1758  if (cached_has_bits & 0x00000001u) {
1759  ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
1760  this->error().data(), static_cast<int>(this->error().length()),
1761  ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
1762  "google.protobuf.compiler.CodeGeneratorResponse.error");
1763  target =
1764  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringToArray(
1765  1, this->error(), target);
1766  }
1767 
1768  // repeated .google.protobuf.compiler.CodeGeneratorResponse.File file = 15;
1769  for (unsigned int i = 0,
1770  n = static_cast<unsigned int>(this->file_size()); i < n; i++) {
1771  target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
1772  InternalWriteMessageToArray(
1773  15, this->file(static_cast<int>(i)), target);
1774  }
1775 
1776  if (_internal_metadata_.have_unknown_fields()) {
1777  target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFieldsToArray(
1778  _internal_metadata_.unknown_fields(), target);
1779  }
1780  // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.compiler.CodeGeneratorResponse)
1781  return target;
1782 }
1783 
1785 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.compiler.CodeGeneratorResponse)
1786  size_t total_size = 0;
1787 
1788  if (_internal_metadata_.have_unknown_fields()) {
1789  total_size +=
1790  ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::ComputeUnknownFieldsSize(
1791  _internal_metadata_.unknown_fields());
1792  }
1793  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1794  // Prevent compiler warnings about cached_has_bits being unused
1795  (void) cached_has_bits;
1796 
1797  // repeated .google.protobuf.compiler.CodeGeneratorResponse.File file = 15;
1798  {
1799  unsigned int count = static_cast<unsigned int>(this->file_size());
1800  total_size += 1UL * count;
1801  for (unsigned int i = 0; i < count; i++) {
1802  total_size +=
1803  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
1804  this->file(static_cast<int>(i)));
1805  }
1806  }
1807 
1808  // optional string error = 1;
1809  cached_has_bits = _has_bits_[0];
1810  if (cached_has_bits & 0x00000001u) {
1811  total_size += 1 +
1812  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
1813  this->error());
1814  }
1815 
1816  int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
1817  SetCachedSize(cached_size);
1818  return total_size;
1819 }
1820 
1821 void CodeGeneratorResponse::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
1822 // @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.compiler.CodeGeneratorResponse)
1823  GOOGLE_DCHECK_NE(&from, this);
1824  const CodeGeneratorResponse* source =
1825  ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<CodeGeneratorResponse>(
1826  &from);
1827  if (source == nullptr) {
1828  // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.compiler.CodeGeneratorResponse)
1830  } else {
1831  // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.compiler.CodeGeneratorResponse)
1832  MergeFrom(*source);
1833  }
1834 }
1835 
1837 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.compiler.CodeGeneratorResponse)
1838  GOOGLE_DCHECK_NE(&from, this);
1839  _internal_metadata_.MergeFrom(from._internal_metadata_);
1840  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1841  (void) cached_has_bits;
1842 
1843  file_.MergeFrom(from.file_);
1844  if (from.has_error()) {
1845  _has_bits_[0] |= 0x00000001u;
1847  }
1848 }
1849 
1850 void CodeGeneratorResponse::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
1851 // @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.compiler.CodeGeneratorResponse)
1852  if (&from == this) return;
1853  Clear();
1854  MergeFrom(from);
1855 }
1856 
1858 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.compiler.CodeGeneratorResponse)
1859  if (&from == this) return;
1860  Clear();
1861  MergeFrom(from);
1862 }
1863 
1865  return true;
1866 }
1867 
1869  using std::swap;
1871  swap(_has_bits_[0], other->_has_bits_[0]);
1872  CastToBase(&file_)->InternalSwap(CastToBase(&other->file_));
1874  GetArenaNoVirtual());
1875 }
1876 
1877 ::PROTOBUF_NAMESPACE_ID::Metadata CodeGeneratorResponse::GetMetadata() const {
1878  return GetMetadataStatic();
1879 }
1880 
1881 
1882 // @@protoc_insertion_point(namespace_scope)
1883 } // namespace compiler
1884 PROTOBUF_NAMESPACE_CLOSE
1885 PROTOBUF_NAMESPACE_OPEN
1887  return Arena::CreateInternal< PROTOBUF_NAMESPACE_ID::compiler::Version >(arena);
1888 }
1889 template<> PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorRequest* Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorRequest >(Arena* arena) {
1890  return Arena::CreateInternal< PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorRequest >(arena);
1891 }
1892 template<> PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File* Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File >(Arena* arena) {
1893  return Arena::CreateInternal< PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File >(arena);
1894 }
1895 template<> PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse* Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse >(Arena* arena) {
1896  return Arena::CreateInternal< PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse >(arena);
1897 }
1898 PROTOBUF_NAMESPACE_CLOSE
1899 
1900 // @@protoc_insertion_point(global_scope)
1901 #include <google/protobuf/port_undef.inc>
compiler::CodeGeneratorResponse_File::GetArenaNoVirtual
inline ::PROTOBUF_NAMESPACE_ID::Arena * GetArenaNoVirtual() const
Definition: plugin.pb.h:547
reflection_ops.h
compiler::CodeGeneratorRequest::SerializeWithCachedSizes
void SerializeWithCachedSizes(::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream *output) const final
Definition: plugin.pb.cc:891
compiler::CodeGeneratorRequest::swap
friend void swap(CodeGeneratorRequest &a, CodeGeneratorRequest &b)
Definition: plugin.pb.h:312
compiler::VersionDefaultTypeInternal::_instance
::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed< Version > _instance
Definition: plugin.pb.cc:25
compiler::CodeGeneratorResponse::file_size
int file_size() const
Definition: plugin.pb.h:1349
compiler::Version::InitAsDefaultInstance
static void InitAsDefaultInstance()
Definition: plugin.pb.cc:209
CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorRequest >
PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorRequest * Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorRequest >(Arena *arena)
Definition: plugin.pb.cc:1889
compiler::Version::swap
friend void swap(Version &a, Version &b)
Definition: plugin.pb.h:142
compiler::Version::default_instance
static const Version & default_instance()
Definition: plugin.pb.cc:268
compiler::Version::patch_
::PROTOBUF_NAMESPACE_ID::int32 patch_
Definition: plugin.pb.h:256
compiler::CodeGeneratorResponse_File::insertion_point
const std::string & insertion_point() const
Definition: plugin.pb.h:1178
compiler::Version::Clear
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Definition: plugin.pb.cc:274
CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::compiler::Version >
PROTOBUF_NAMESPACE_CLOSE PROTOBUF_NAMESPACE_OPEN PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::compiler::Version * Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::compiler::Version >(Arena *arena)
Definition: plugin.pb.cc:1886
InitDefaultsscc_info_Version_google_2fprotobuf_2fcompiler_2fplugin_2eproto
static void InitDefaultsscc_info_Version_google_2fprotobuf_2fcompiler_2fplugin_2eproto()
Definition: plugin.pb.cc:86
compiler::CodeGeneratorResponse_File::mutable_content
std::string * mutable_content()
Definition: plugin.pb.h:1263
compiler::Version::_internal_metadata_
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_
Definition: plugin.pb.h:248
compiler::CodeGeneratorResponse::GetMetadata
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
Definition: plugin.pb.cc:1877
google::protobuf.internal.decoder.SkipField
def SkipField
Definition: decoder.py:1016
wire_format_lite.h
InitDefaultsscc_info_CodeGeneratorResponse_google_2fprotobuf_2fcompiler_2fplugin_2eproto
static void InitDefaultsscc_info_CodeGeneratorResponse_google_2fprotobuf_2fcompiler_2fplugin_2eproto()
Definition: plugin.pb.cc:57
google::protobuf.internal::ReadVarint
uint64 ReadVarint(const char **p)
Definition: parse_context.h:535
descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto_deps
static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable *const descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto_deps[1]
Definition: plugin.pb.cc:184
compiler::CodeGeneratorRequest::GetMetadataStatic
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic()
Definition: plugin.pb.h:369
compiler::Version::InternalSwap
void InternalSwap(Version *other)
Definition: plugin.pb.cc:627
compiler::CodeGeneratorResponse::has_error
bool has_error() const
Definition: plugin.pb.h:1291
compiler::CodeGeneratorResponse_File::SharedDtor
void SharedDtor()
Definition: plugin.pb.cc:1171
compiler::CodeGeneratorResponse::GetArenaNoVirtual
inline ::PROTOBUF_NAMESPACE_ID::Arena * GetArenaNoVirtual() const
Definition: plugin.pb.h:721
compiler::CodeGeneratorResponse::_has_bits_
::PROTOBUF_NAMESPACE_ID::internal::HasBits< 1 > _has_bits_
Definition: plugin.pb.h:776
compiler::Version::MergeFrom
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
Definition: plugin.pb.cc:568
google::protobuf.internal::InlineGreedyStringParserUTF8Verify
const PROTOBUF_MUST_USE_RESULT char * InlineGreedyStringParserUTF8Verify(std::string *s, const char *ptr, ParseContext *ctx, const char *field_name)
Definition: parse_context.h:613
TableStruct_google_2fprotobuf_2fcompiler_2fplugin_2eproto::offsets
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
Definition: plugin.pb.h:61
length
GLenum GLuint GLenum GLsizei length
Definition: glcorearb.h:2695
input
std::string input
Definition: tokenizer_unittest.cc:197
extension_set.h
google::protobuf::uint8
uint8_t uint8
Definition: protobuf/src/google/protobuf/stubs/port.h:153
compiler::CodeGeneratorResponse::ByteSizeLong
size_t ByteSizeLong() const final
Definition: plugin.pb.cc:1784
compiler::CodeGeneratorResponse::SharedDtor
void SharedDtor()
Definition: plugin.pb.cc:1583
compiler::CodeGeneratorResponse::add_file
PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File * add_file()
Definition: plugin.pb.h:1368
GOOGLE_DCHECK
#define GOOGLE_DCHECK
Definition: logging.h:194
compiler::CodeGeneratorResponse_File::_Internal::set_has_name
static void set_has_name(HasBits *has_bits)
Definition: plugin.pb.cc:1123
google::protobuf.internal::OnShutdownDestroyMessage
void OnShutdownDestroyMessage(const void *ptr)
Definition: generated_message_util.h:226
compiler::CodeGeneratorResponse::SerializeWithCachedSizes
void SerializeWithCachedSizes(::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream *output) const final
Definition: plugin.pb.cc:1717
compiler::CodeGeneratorResponse::file
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File > & file() const
Definition: plugin.pb.h:1373
compiler::CodeGeneratorResponse_File::_Internal::set_has_content
static void set_has_content(HasBits *has_bits)
Definition: plugin.pb.cc:1129
compiler::Version::_Internal::set_has_major
static void set_has_major(HasBits *has_bits)
Definition: plugin.pb.cc:214
google::protobuf::uint32
uint32_t uint32
Definition: protobuf/src/google/protobuf/stubs/port.h:155
scc_info_CodeGeneratorResponse_File_google_2fprotobuf_2fcompiler_2fplugin_2eproto
PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fcompiler_2fplugin_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo< 0 > scc_info_CodeGeneratorResponse_File_google_2fprotobuf_2fcompiler_2fplugin_2eproto
Definition: plugin.pb.cc:83
compiler::CodeGeneratorResponse::default_instance
static const CodeGeneratorResponse & default_instance()
Definition: plugin.pb.cc:1590
DO_
#define DO_(EXPRESSION)
compiler::CodeGeneratorResponse_File::_Internal
Definition: plugin.pb.cc:1120
compiler::CodeGeneratorResponse_File::has_name
bool has_name() const
Definition: plugin.pb.h:1113
compiler::CodeGeneratorResponse::swap
friend void swap(CodeGeneratorResponse &a, CodeGeneratorResponse &b)
Definition: plugin.pb.h:674
compiler::Version::patch
::PROTOBUF_NAMESPACE_ID::int32 patch() const
Definition: plugin.pb.h:837
google::protobuf.internal::InitSCC
void InitSCC(SCCInfoBase *scc)
Definition: generated_message_util.h:217
google::protobuf.internal::AllAreInitialized
bool AllAreInitialized(const Type &t)
Definition: generated_message_util.h:99
google::protobuf.internal::FromIntSize
size_t FromIntSize(int size)
Definition: message_lite.h:96
compiler::CodeGeneratorResponse_File::SharedCtor
void SharedCtor()
Definition: plugin.pb.cc:1159
compiler::CodeGeneratorResponse_File::MergeFrom
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
Definition: plugin.pb.cc:1469
generated_message_reflection.h
compiler::CodeGeneratorResponse_File::name
const std::string & name() const
Definition: plugin.pb.h:1120
compiler::CodeGeneratorResponse_File::content_
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr content_
Definition: plugin.pb.h:618
compiler::CodeGeneratorResponse::CopyFrom
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
Definition: plugin.pb.cc:1850
compiler::Version::SerializeWithCachedSizes
void SerializeWithCachedSizes(::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream *output) const final
Definition: plugin.pb.cc:439
target
GLenum target
Definition: glcorearb.h:3739
google::protobuf.internal.python_message._InternalParse
_InternalParse
Definition: python_message.py:1197
compiler::CodeGeneratorRequest::add_proto_file
PROTOBUF_NAMESPACE_ID::FileDescriptorProto * add_proto_file()
Definition: plugin.pb.h:1049
EnumDescriptor
struct EnumDescriptor EnumDescriptor
Definition: php/ext/google/protobuf/protobuf.h:632
compiler::Version::minor_
::PROTOBUF_NAMESPACE_ID::int32 minor_
Definition: plugin.pb.h:255
compiler::Version::ByteSizeLong
size_t ByteSizeLong() const final
Definition: plugin.pb.cc:519
compiler::CodeGeneratorRequest::file_to_generate
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< std::string > & file_to_generate() const
Definition: plugin.pb.h:964
compiler::CodeGeneratorResponse_File::GetMetadata
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
Definition: plugin.pb.cc:1538
compiler::CodeGeneratorRequest::mutable_parameter
std::string * mutable_parameter()
Definition: plugin.pb.h:1009
compiler::CodeGeneratorRequest::proto_file
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FileDescriptorProto > & proto_file() const
Definition: plugin.pb.h:1054
descriptor_table_google_2fprotobuf_2fdescriptor_2eproto
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fdescriptor_2eproto
Definition: descriptor.pb.cc:1201
compiler::CodeGeneratorRequest::SharedCtor
void SharedCtor()
Definition: plugin.pb.cc:692
GOOGLE_DCHECK_NE
#define GOOGLE_DCHECK_NE
Definition: logging.h:197
compiler::Version::has_suffix
bool has_suffix() const
Definition: plugin.pb.h:848
compiler::CodeGeneratorRequestDefaultTypeInternal::_instance
::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed< CodeGeneratorRequest > _instance
Definition: plugin.pb.cc:29
compiler::CodeGeneratorResponse_File::GetMetadataStatic
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic()
Definition: plugin.pb.h:557
compiler::CodeGeneratorResponse_File::_internal_metadata_
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_
Definition: plugin.pb.h:611
descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto_initialized
static bool descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto_initialized
Definition: plugin.pb.cc:194
google::protobuf::int32
int32_t int32
Definition: protobuf/src/google/protobuf/stubs/port.h:150
descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto
Definition: plugin.pb.cc:195
compiler::Version::GetMetadataStatic
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic()
Definition: plugin.pb.h:199
InitDefaultsscc_info_CodeGeneratorResponse_File_google_2fprotobuf_2fcompiler_2fplugin_2eproto
static void InitDefaultsscc_info_CodeGeneratorResponse_File_google_2fprotobuf_2fcompiler_2fplugin_2eproto()
Definition: plugin.pb.cc:72
compiler::_Version_default_instance_
class compiler::VersionDefaultTypeInternal _Version_default_instance_
compiler::CodeGeneratorResponse_File::has_insertion_point
bool has_insertion_point() const
Definition: plugin.pb.h:1171
compiler::CodeGeneratorRequest::IsInitialized
bool IsInitialized() const final
Definition: plugin.pb.cc:1095
GOOGLE_PROTOBUF_VERIFY_VERSION
#define GOOGLE_PROTOBUF_VERIFY_VERSION
Definition: common.h:116
compiler::CodeGeneratorResponse_File::MergePartialFromCodedStream
bool MergePartialFromCodedStream(::PROTOBUF_NAMESPACE_ID::io::CodedInputStream *input) final
Definition: plugin.pb.cc:1259
compiler::CodeGeneratorRequest
Definition: plugin.pb.h:261
compiler::Version::_cached_size_
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_
Definition: plugin.pb.h:252
google::protobuf.internal::once_flag
std::once_flag once_flag
Definition: once.h:43
compiler::CodeGeneratorRequest::MergeFrom
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
Definition: plugin.pb.cc:1045
compiler::CodeGeneratorRequest::CodeGeneratorRequest
CodeGeneratorRequest()
Definition: plugin.pb.cc:668
compiler::Version::_Internal
Definition: plugin.pb.cc:211
compiler::CodeGeneratorResponse::_internal_metadata_
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_
Definition: plugin.pb.h:773
compiler::CodeGeneratorResponse::internal_default_instance
static const CodeGeneratorResponse * internal_default_instance()
Definition: plugin.pb.h:667
coded_stream.h
compiler::CodeGeneratorRequest::ByteSizeLong
size_t ByteSizeLong() const final
Definition: plugin.pb.cc:991
descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto_once
::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto_once
Definition: plugin.pb.cc:193
compiler::CodeGeneratorResponse_File::InternalSerializeWithCachedSizesToArray
::PROTOBUF_NAMESPACE_ID::uint8 * InternalSerializeWithCachedSizesToArray(::PROTOBUF_NAMESPACE_ID::uint8 *target) const final
Definition: plugin.pb.cc:1379
compiler::CodeGeneratorRequestDefaultTypeInternal
Definition: plugin.pb.cc:27
compiler::CodeGeneratorRequest::SharedDtor
void SharedDtor()
Definition: plugin.pb.cc:703
google::protobuf.internal.decoder.ReadTag
def ReadTag(buffer, pos)
Definition: decoder.py:174
compiler::Version::internal_default_instance
static const Version * internal_default_instance()
Definition: plugin.pb.h:135
compiler::Version::MergePartialFromCodedStream
bool MergePartialFromCodedStream(::PROTOBUF_NAMESPACE_ID::io::CodedInputStream *input) final
Definition: plugin.pb.cc:354
compiler::Version::_Internal::set_has_patch
static void set_has_patch(HasBits *has_bits)
Definition: plugin.pb.cc:220
compiler::CodeGeneratorRequest::GetMetadata
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
Definition: plugin.pb.cc:1111
compiler::_CodeGeneratorResponse_default_instance_
class compiler::CodeGeneratorResponseDefaultTypeInternal _CodeGeneratorResponse_default_instance_
compiler::CodeGeneratorRequest::has_parameter
bool has_parameter() const
Definition: plugin.pb.h:975
google::protobuf.internal::UnknownFieldParse
const char * UnknownFieldParse(uint32 tag, std::string *unknown, const char *ptr, ParseContext *ctx)
Definition: parse_context.cc:545
compiler::CodeGeneratorRequest::proto_file_size
int proto_file_size() const
Definition: plugin.pb.h:1033
compiler::CodeGeneratorRequest::_internal_metadata_
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_
Definition: plugin.pb.h:436
p
const char * p
Definition: gmock-matchers_test.cc:3863
compiler::CodeGeneratorRequest::file_to_generate_size
int file_to_generate_size() const
Definition: plugin.pb.h:910
std::swap
void swap(Json::Value &a, Json::Value &b)
Specialize std::swap() for Json::Value.
Definition: json.h:1226
compiler::Version::SharedDtor
void SharedDtor()
Definition: plugin.pb.cc:261
compiler::Version::major_
::PROTOBUF_NAMESPACE_ID::int32 major_
Definition: plugin.pb.h:254
compiler::CodeGeneratorResponse::InternalSwap
void InternalSwap(CodeGeneratorResponse *other)
Definition: plugin.pb.cc:1868
dynamic_init_dummy_google_2fprotobuf_2fcompiler_2fplugin_2eproto
static bool dynamic_init_dummy_google_2fprotobuf_2fcompiler_2fplugin_2eproto
Definition: plugin.pb.cc:203
compiler::CodeGeneratorResponse::~CodeGeneratorResponse
virtual ~CodeGeneratorResponse()
Definition: plugin.pb.cc:1578
compiler::CodeGeneratorResponse_File::name_
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_
Definition: plugin.pb.h:616
compiler::CodeGeneratorRequest::_cached_size_
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_
Definition: plugin.pb.h:440
compiler::CodeGeneratorResponse::error_
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr error_
Definition: plugin.pb.h:779
compiler::CodeGeneratorResponse::_cached_size_
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_
Definition: plugin.pb.h:777
name_
string name_
Definition: googletest.cc:182
compiler::CodeGeneratorResponse_File::default_instance
static const CodeGeneratorResponse_File & default_instance()
Definition: plugin.pb.cc:1180
compiler::Version::GetArenaNoVirtual
inline ::PROTOBUF_NAMESPACE_ID::Arena * GetArenaNoVirtual() const
Definition: plugin.pb.h:189
source
GLsizei GLsizei GLchar * source
Definition: glcorearb.h:3072
compiler::CodeGeneratorResponse::error
const std::string & error() const
Definition: plugin.pb.h:1298
file_level_service_descriptors_google_2fprotobuf_2fcompiler_2fplugin_2eproto
static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const ** file_level_service_descriptors_google_2fprotobuf_2fcompiler_2fplugin_2eproto
Definition: plugin.pb.cc:102
compiler::CodeGeneratorRequest::GetArenaNoVirtual
inline ::PROTOBUF_NAMESPACE_ID::Arena * GetArenaNoVirtual() const
Definition: plugin.pb.h:359
compiler::CodeGeneratorResponse::MergePartialFromCodedStream
bool MergePartialFromCodedStream(::PROTOBUF_NAMESPACE_ID::io::CodedInputStream *input) final
Definition: plugin.pb.cc:1660
compiler::CodeGeneratorResponse::InternalSerializeWithCachedSizesToArray
::PROTOBUF_NAMESPACE_ID::uint8 * InternalSerializeWithCachedSizesToArray(::PROTOBUF_NAMESPACE_ID::uint8 *target) const final
Definition: plugin.pb.cc:1750
compiler::CodeGeneratorRequest::parameter
const std::string & parameter() const
Definition: plugin.pb.h:982
google::protobuf::python::message_meta::AddDescriptors
static int AddDescriptors(PyObject *cls, const Descriptor *descriptor)
Definition: python/google/protobuf/pyext/message.cc:123
compiler::CodeGeneratorRequest::_has_bits_
::PROTOBUF_NAMESPACE_ID::internal::HasBits< 1 > _has_bits_
Definition: plugin.pb.h:439
compiler::CodeGeneratorResponse_FileDefaultTypeInternal::_instance
::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed< CodeGeneratorResponse_File > _instance
Definition: plugin.pb.cc:33
scc_info_Version_google_2fprotobuf_2fcompiler_2fplugin_2eproto
PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fcompiler_2fplugin_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo< 0 > scc_info_Version_google_2fprotobuf_2fcompiler_2fplugin_2eproto
Definition: plugin.pb.cc:97
compiler::CodeGeneratorRequest::Clear
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Definition: plugin.pb.cc:717
compiler::CodeGeneratorRequest::add_file_to_generate
std::string * add_file_to_generate()
Definition: plugin.pb.h:942
compiler::CodeGeneratorRequest::compiler_version
const PROTOBUF_NAMESPACE_ID::compiler::Version & compiler_version() const
Definition: plugin.pb.h:1067
compiler::CodeGeneratorResponse_File::InternalSwap
void InternalSwap(CodeGeneratorResponse_File *other)
Definition: plugin.pb.cc:1526
file_default_instances
const ::PROTOBUF_NAMESPACE_ID::Message *const file_default_instances[]
Definition: plugin.pb.cc:159
void
typedef void(APIENTRY *GLDEBUGPROCARB)(GLenum source
n
GLdouble n
Definition: glcorearb.h:4153
descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto_sccs
::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase *const descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto_sccs[4]
Definition: plugin.pb.cc:187
compiler::CodeGeneratorResponse_File::mutable_name
std::string * mutable_name()
Definition: plugin.pb.h:1147
compiler::CodeGeneratorRequest::has_compiler_version
bool has_compiler_version() const
Definition: plugin.pb.h:1060
compiler::CodeGeneratorResponse::CodeGeneratorResponse
CodeGeneratorResponse()
Definition: plugin.pb.cc:1555
compiler::CodeGeneratorRequest::internal_default_instance
static const CodeGeneratorRequest * internal_default_instance()
Definition: plugin.pb.h:305
CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse >
PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse * Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse >(Arena *arena)
Definition: plugin.pb.cc:1895
compiler::CodeGeneratorResponse_File::internal_default_instance
static const CodeGeneratorResponse_File * internal_default_instance()
Definition: plugin.pb.h:493
i
int i
Definition: gmock-matchers_test.cc:764
compiler::CodeGeneratorResponse_File::ByteSizeLong
size_t ByteSizeLong() const final
Definition: plugin.pb.cc:1427
compiler::CodeGeneratorResponse_File
Definition: plugin.pb.h:449
compiler::CodeGeneratorRequest::mutable_compiler_version
PROTOBUF_NAMESPACE_ID::compiler::Version * mutable_compiler_version()
Definition: plugin.pb.h:1080
compiler::VersionDefaultTypeInternal
Definition: plugin.pb.cc:23
compiler::CodeGeneratorRequest::_Internal::HasBits
decltype(std::declval< CodeGeneratorRequest >()._has_bits_) HasBits
Definition: plugin.pb.cc:651
compiler::CodeGeneratorRequest::InternalSwap
void InternalSwap(CodeGeneratorRequest *other)
Definition: plugin.pb.cc:1100
parameter_
std::string parameter_
Definition: command_line_interface_unittest.cc:238
compiler::Version::~Version
virtual ~Version()
Definition: plugin.pb.cc:256
compiler::CodeGeneratorResponse
Definition: plugin.pb.h:623
compiler::CodeGeneratorResponse_File::Clear
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Definition: plugin.pb.cc:1186
InitDefaultsscc_info_CodeGeneratorRequest_google_2fprotobuf_2fcompiler_2fplugin_2eproto
static PROTOBUF_NAMESPACE_CLOSE void InitDefaultsscc_info_CodeGeneratorRequest_google_2fprotobuf_2fcompiler_2fplugin_2eproto()
Definition: plugin.pb.cc:41
compiler::CodeGeneratorResponse_File::_Internal::set_has_insertion_point
static void set_has_insertion_point(HasBits *has_bits)
Definition: plugin.pb.cc:1126
compiler::CodeGeneratorResponse_File::content
const std::string & content() const
Definition: plugin.pb.h:1236
compiler::CodeGeneratorResponse::_Internal
Definition: plugin.pb.cc:1547
compiler::Version::suffix_
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr suffix_
Definition: plugin.pb.h:253
compiler::Version::mutable_suffix
std::string * mutable_suffix()
Definition: plugin.pb.h:882
google::protobuf.internal.api_implementation.Version
def Version()
Definition: api_implementation.py:147
error_
string error_
Definition: csharp_bootstrap_unittest.cc:126
compiler::CodeGeneratorResponse::_Internal::HasBits
decltype(std::declval< CodeGeneratorResponse >()._has_bits_) HasBits
Definition: plugin.pb.cc:1549
compiler::Version::CopyFrom
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
Definition: plugin.pb.cc:609
compiler::CodeGeneratorRequest::CopyFrom
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
Definition: plugin.pb.cc:1081
google::protobuf.internal::ToCachedSize
int ToCachedSize(size_t size)
Definition: message_lite.h:89
common.h
compiler::Version::suffix
const std::string & suffix() const
Definition: plugin.pb.h:855
compiler::CodeGeneratorRequest::compiler_version_
PROTOBUF_NAMESPACE_ID::compiler::Version * compiler_version_
Definition: plugin.pb.h:444
size
GLsizeiptr size
Definition: glcorearb.h:2943
compiler::CodeGeneratorResponse::SharedCtor
void SharedCtor()
Definition: plugin.pb.cc:1573
compiler::CodeGeneratorResponse_File::IsInitialized
bool IsInitialized() const final
Definition: plugin.pb.cc:1522
compiler::CodeGeneratorResponse_File::InitAsDefaultInstance
static void InitAsDefaultInstance()
Definition: plugin.pb.cc:1118
compiler::CodeGeneratorResponseDefaultTypeInternal
Definition: plugin.pb.cc:35
compiler::CodeGeneratorRequest::MergePartialFromCodedStream
bool MergePartialFromCodedStream(::PROTOBUF_NAMESPACE_ID::io::CodedInputStream *input) final
Definition: plugin.pb.cc:807
PROTOBUF_SECTION_VARIABLE
const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_google_2fprotobuf_2fcompiler_2fplugin_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
compiler::CodeGeneratorRequest::default_instance
static const CodeGeneratorRequest & default_instance()
Definition: plugin.pb.cc:711
compiler::CodeGeneratorResponse::file_
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File > file_
Definition: plugin.pb.h:778
wire_format.h
compiler::Version::GetMetadata
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
Definition: plugin.pb.cc:638
compiler::CodeGeneratorRequest::~CodeGeneratorRequest
virtual ~CodeGeneratorRequest()
Definition: plugin.pb.cc:698
google::protobuf.internal::GetEmptyStringAlreadyInited
const PROTOBUF_EXPORT std::string & GetEmptyStringAlreadyInited()
Definition: message_lite.h:152
descriptor.h
compiler::CodeGeneratorRequest::SetCachedSize
void SetCachedSize(int size) const final
Definition: plugin.pb.cc:708
scc_info_CodeGeneratorResponse_google_2fprotobuf_2fcompiler_2fplugin_2eproto
PROTOC_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo< 1 > scc_info_CodeGeneratorResponse_google_2fprotobuf_2fcompiler_2fplugin_2eproto
Definition: plugin.pb.cc:68
compiler::CodeGeneratorResponse_File::SerializeWithCachedSizes
void SerializeWithCachedSizes(::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream *output) const final
Definition: plugin.pb.cc:1335
compiler::Version::IsInitialized
bool IsInitialized() const final
Definition: plugin.pb.cc:623
compiler::CodeGeneratorResponse::Clear
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Definition: plugin.pb.cc:1596
compiler::CodeGeneratorRequest::_Internal
Definition: plugin.pb.cc:649
compiler::CodeGeneratorResponse_File::has_content
bool has_content() const
Definition: plugin.pb.h:1229
compiler::CodeGeneratorRequest::_Internal::set_has_compiler_version
static void set_has_compiler_version(HasBits *has_bits)
Definition: plugin.pb.cc:656
compiler::CodeGeneratorResponse::MergeFrom
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
Definition: plugin.pb.cc:1821
compiler::Version::Version
Version()
Definition: plugin.pb.cc:228
file_level_metadata_google_2fprotobuf_2fcompiler_2fplugin_2eproto
::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_google_2fprotobuf_2fcompiler_2fplugin_2eproto[4]
Definition: plugin.pb.cc:100
compiler::Version::_Internal::HasBits
decltype(std::declval< Version >()._has_bits_) HasBits
Definition: plugin.pb.cc:213
file_level_enum_descriptors_google_2fprotobuf_2fcompiler_2fplugin_2eproto
static constexpr ::PROTOBUF_NAMESPACE_ID::EnumDescriptor const ** file_level_enum_descriptors_google_2fprotobuf_2fcompiler_2fplugin_2eproto
Definition: plugin.pb.cc:101
data
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: glcorearb.h:2879
compiler::CodeGeneratorRequest::InitAsDefaultInstance
static void InitAsDefaultInstance()
Definition: plugin.pb.cc:645
compiler::CodeGeneratorRequest::_Internal::compiler_version
static const PROTOBUF_NAMESPACE_ID::compiler::Version & compiler_version(const CodeGeneratorRequest *msg)
Definition: plugin.pb.cc:662
compiler::CodeGeneratorResponseDefaultTypeInternal::_instance
::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed< CodeGeneratorResponse > _instance
Definition: plugin.pb.cc:37
compiler::CodeGeneratorResponse_File::swap
friend void swap(CodeGeneratorResponse_File &a, CodeGeneratorResponse_File &b)
Definition: plugin.pb.h:500
compiler::CodeGeneratorResponse::_Internal::set_has_error
static void set_has_error(HasBits *has_bits)
Definition: plugin.pb.cc:1550
compiler::CodeGeneratorRequest::proto_file_
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FileDescriptorProto > proto_file_
Definition: plugin.pb.h:442
compiler::CodeGeneratorResponse::SetCachedSize
void SetCachedSize(int size) const final
Definition: plugin.pb.cc:1587
scc_info_CodeGeneratorRequest_google_2fprotobuf_2fcompiler_2fplugin_2eproto
PROTOC_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo< 2 > scc_info_CodeGeneratorRequest_google_2fprotobuf_2fcompiler_2fplugin_2eproto
Definition: plugin.pb.cc:52
compiler::CodeGeneratorResponse_File::_Internal::HasBits
decltype(std::declval< CodeGeneratorResponse_File >()._has_bits_) HasBits
Definition: plugin.pb.cc:1122
compiler::CodeGeneratorResponse::mutable_error
std::string * mutable_error()
Definition: plugin.pb.h:1325
compiler::CodeGeneratorResponse_File::_cached_size_
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_
Definition: plugin.pb.h:615
scc_info_FileDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto
PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fdescriptor_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo< 6 > scc_info_FileDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto
Definition: descriptor.pb.cc:334
compiler::_CodeGeneratorRequest_default_instance_
class compiler::CodeGeneratorRequestDefaultTypeInternal _CodeGeneratorRequest_default_instance_
compiler::CodeGeneratorRequest::InternalSerializeWithCachedSizesToArray
::PROTOBUF_NAMESPACE_ID::uint8 * InternalSerializeWithCachedSizesToArray(::PROTOBUF_NAMESPACE_ID::uint8 *target) const final
Definition: plugin.pb.cc:940
compiler::CodeGeneratorRequest::parameter_
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr parameter_
Definition: plugin.pb.h:443
compiler::Version::_Internal::set_has_suffix
static void set_has_suffix(HasBits *has_bits)
Definition: plugin.pb.cc:223
compiler::CodeGeneratorRequest::_Internal::set_has_parameter
static void set_has_parameter(HasBits *has_bits)
Definition: plugin.pb.cc:652
compiler::Version
Definition: plugin.pb.h:91
output
const upb_json_parsermethod const upb_symtab upb_sink * output
Definition: ruby/ext/google/protobuf_c/upb.h:10503
compiler::CodeGeneratorResponse::GetMetadataStatic
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic()
Definition: plugin.pb.h:731
compiler::CodeGeneratorResponse_File::~CodeGeneratorResponse_File
virtual ~CodeGeneratorResponse_File()
Definition: plugin.pb.cc:1166
compiler::CodeGeneratorResponse_File::insertion_point_
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr insertion_point_
Definition: plugin.pb.h:617
count
GLint GLsizei count
Definition: glcorearb.h:2830
compiler::Version::SetCachedSize
void SetCachedSize(int size) const final
Definition: plugin.pb.cc:265
compiler::Version::minor
::PROTOBUF_NAMESPACE_ID::int32 minor() const
Definition: plugin.pb.h:819
compiler::CodeGeneratorResponse_File::_has_bits_
::PROTOBUF_NAMESPACE_ID::internal::HasBits< 1 > _has_bits_
Definition: plugin.pb.h:614
compiler::CodeGeneratorResponse_File::CodeGeneratorResponse_File
CodeGeneratorResponse_File()
Definition: plugin.pb.cc:1134
compiler::Version::_has_bits_
::PROTOBUF_NAMESPACE_ID::internal::HasBits< 1 > _has_bits_
Definition: plugin.pb.h:251
file_
FileDescriptorProto * file_
Definition: annotation_test_util.cc:68
compiler::Version::_Internal::set_has_minor
static void set_has_minor(HasBits *has_bits)
Definition: plugin.pb.cc:217
compiler::CodeGeneratorResponse_FileDefaultTypeInternal
Definition: plugin.pb.cc:31
CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File >
PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File * Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File >(Arena *arena)
Definition: plugin.pb.cc:1892
compiler::CodeGeneratorRequest::file_to_generate_
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< std::string > file_to_generate_
Definition: plugin.pb.h:441
compiler
Definition: plugin.pb.cc:22
compiler::_CodeGeneratorResponse_File_default_instance_
class compiler::CodeGeneratorResponse_FileDefaultTypeInternal _CodeGeneratorResponse_File_default_instance_
compiler::Version::major
::PROTOBUF_NAMESPACE_ID::int32 major() const
Definition: plugin.pb.h:801
compiler::CodeGeneratorResponse_File::SetCachedSize
void SetCachedSize(int size) const final
Definition: plugin.pb.cc:1177
compiler::CodeGeneratorResponse_File::mutable_insertion_point
std::string * mutable_insertion_point()
Definition: plugin.pb.h:1205
google::protobuf.text_format.Merge
def Merge(text, message, allow_unknown_extension=False, allow_field_number=False, descriptor_pool=None, allow_unknown_field=False)
Definition: text_format.py:656
compiler::CodeGeneratorResponse::IsInitialized
bool IsInitialized() const final
Definition: plugin.pb.cc:1864
compiler::CodeGeneratorResponse::InitAsDefaultInstance
static void InitAsDefaultInstance()
Definition: plugin.pb.cc:1545
compiler::CodeGeneratorRequest::clear_proto_file
void clear_proto_file()
Definition: plugin.pb.cc:665
compiler::Version::SharedCtor
void SharedCtor()
Definition: plugin.pb.cc:248
compiler::CodeGeneratorResponse_File::CopyFrom
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
Definition: plugin.pb.cc:1508
compiler::Version::InternalSerializeWithCachedSizesToArray
::PROTOBUF_NAMESPACE_ID::uint8 * InternalSerializeWithCachedSizesToArray(::PROTOBUF_NAMESPACE_ID::uint8 *target) const final
Definition: plugin.pb.cc:478
plugin.pb.h


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:06:57