Home | History | Annotate | Download | only in compiler
      1 // Generated by the protocol buffer compiler.  DO NOT EDIT!
      2 // source: google/protobuf/compiler/plugin.proto
      3 
      4 #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
      5 #include "google/protobuf/compiler/plugin.pb.h"
      6 
      7 #include <algorithm>
      8 
      9 #include <google/protobuf/stubs/common.h>
     10 #include <google/protobuf/stubs/once.h>
     11 #include <google/protobuf/io/coded_stream.h>
     12 #include <google/protobuf/wire_format_lite_inl.h>
     13 #include <google/protobuf/descriptor.h>
     14 #include <google/protobuf/generated_message_reflection.h>
     15 #include <google/protobuf/reflection_ops.h>
     16 #include <google/protobuf/wire_format.h>
     17 // @@protoc_insertion_point(includes)
     18 
     19 namespace google {
     20 namespace protobuf {
     21 namespace compiler {
     22 
     23 namespace {
     24 
     25 const ::google::protobuf::Descriptor* CodeGeneratorRequest_descriptor_ = NULL;
     26 const ::google::protobuf::internal::GeneratedMessageReflection*
     27   CodeGeneratorRequest_reflection_ = NULL;
     28 const ::google::protobuf::Descriptor* CodeGeneratorResponse_descriptor_ = NULL;
     29 const ::google::protobuf::internal::GeneratedMessageReflection*
     30   CodeGeneratorResponse_reflection_ = NULL;
     31 const ::google::protobuf::Descriptor* CodeGeneratorResponse_File_descriptor_ = NULL;
     32 const ::google::protobuf::internal::GeneratedMessageReflection*
     33   CodeGeneratorResponse_File_reflection_ = NULL;
     34 
     35 }  // namespace
     36 
     37 
     38 void protobuf_AssignDesc_google_2fprotobuf_2fcompiler_2fplugin_2eproto() {
     39   protobuf_AddDesc_google_2fprotobuf_2fcompiler_2fplugin_2eproto();
     40   const ::google::protobuf::FileDescriptor* file =
     41     ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
     42       "google/protobuf/compiler/plugin.proto");
     43   GOOGLE_CHECK(file != NULL);
     44   CodeGeneratorRequest_descriptor_ = file->message_type(0);
     45   static const int CodeGeneratorRequest_offsets_[3] = {
     46     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CodeGeneratorRequest, file_to_generate_),
     47     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CodeGeneratorRequest, parameter_),
     48     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CodeGeneratorRequest, proto_file_),
     49   };
     50   CodeGeneratorRequest_reflection_ =
     51     new ::google::protobuf::internal::GeneratedMessageReflection(
     52       CodeGeneratorRequest_descriptor_,
     53       CodeGeneratorRequest::default_instance_,
     54       CodeGeneratorRequest_offsets_,
     55       GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CodeGeneratorRequest, _has_bits_[0]),
     56       GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CodeGeneratorRequest, _unknown_fields_),
     57       -1,
     58       ::google::protobuf::DescriptorPool::generated_pool(),
     59       ::google::protobuf::MessageFactory::generated_factory(),
     60       sizeof(CodeGeneratorRequest));
     61   CodeGeneratorResponse_descriptor_ = file->message_type(1);
     62   static const int CodeGeneratorResponse_offsets_[2] = {
     63     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CodeGeneratorResponse, error_),
     64     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CodeGeneratorResponse, file_),
     65   };
     66   CodeGeneratorResponse_reflection_ =
     67     new ::google::protobuf::internal::GeneratedMessageReflection(
     68       CodeGeneratorResponse_descriptor_,
     69       CodeGeneratorResponse::default_instance_,
     70       CodeGeneratorResponse_offsets_,
     71       GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CodeGeneratorResponse, _has_bits_[0]),
     72       GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CodeGeneratorResponse, _unknown_fields_),
     73       -1,
     74       ::google::protobuf::DescriptorPool::generated_pool(),
     75       ::google::protobuf::MessageFactory::generated_factory(),
     76       sizeof(CodeGeneratorResponse));
     77   CodeGeneratorResponse_File_descriptor_ = CodeGeneratorResponse_descriptor_->nested_type(0);
     78   static const int CodeGeneratorResponse_File_offsets_[3] = {
     79     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CodeGeneratorResponse_File, name_),
     80     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CodeGeneratorResponse_File, insertion_point_),
     81     GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CodeGeneratorResponse_File, content_),
     82   };
     83   CodeGeneratorResponse_File_reflection_ =
     84     new ::google::protobuf::internal::GeneratedMessageReflection(
     85       CodeGeneratorResponse_File_descriptor_,
     86       CodeGeneratorResponse_File::default_instance_,
     87       CodeGeneratorResponse_File_offsets_,
     88       GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CodeGeneratorResponse_File, _has_bits_[0]),
     89       GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CodeGeneratorResponse_File, _unknown_fields_),
     90       -1,
     91       ::google::protobuf::DescriptorPool::generated_pool(),
     92       ::google::protobuf::MessageFactory::generated_factory(),
     93       sizeof(CodeGeneratorResponse_File));
     94 }
     95 
     96 namespace {
     97 
     98 GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);
     99 inline void protobuf_AssignDescriptorsOnce() {
    100   ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_,
    101                  &protobuf_AssignDesc_google_2fprotobuf_2fcompiler_2fplugin_2eproto);
    102 }
    103 
    104 void protobuf_RegisterTypes(const ::std::string&) {
    105   protobuf_AssignDescriptorsOnce();
    106   ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    107     CodeGeneratorRequest_descriptor_, &CodeGeneratorRequest::default_instance());
    108   ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    109     CodeGeneratorResponse_descriptor_, &CodeGeneratorResponse::default_instance());
    110   ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
    111     CodeGeneratorResponse_File_descriptor_, &CodeGeneratorResponse_File::default_instance());
    112 }
    113 
    114 }  // namespace
    115 
    116 void protobuf_ShutdownFile_google_2fprotobuf_2fcompiler_2fplugin_2eproto() {
    117   delete CodeGeneratorRequest::default_instance_;
    118   delete CodeGeneratorRequest_reflection_;
    119   delete CodeGeneratorResponse::default_instance_;
    120   delete CodeGeneratorResponse_reflection_;
    121   delete CodeGeneratorResponse_File::default_instance_;
    122   delete CodeGeneratorResponse_File_reflection_;
    123 }
    124 
    125 void protobuf_AddDesc_google_2fprotobuf_2fcompiler_2fplugin_2eproto() {
    126   static bool already_here = false;
    127   if (already_here) return;
    128   already_here = true;
    129   GOOGLE_PROTOBUF_VERIFY_VERSION;
    130 
    131   ::google::protobuf::protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
    132   ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
    133     "\n%google/protobuf/compiler/plugin.proto\022"
    134     "\030google.protobuf.compiler\032 google/protob"
    135     "uf/descriptor.proto\"}\n\024CodeGeneratorRequ"
    136     "est\022\030\n\020file_to_generate\030\001 \003(\t\022\021\n\tparamet"
    137     "er\030\002 \001(\t\0228\n\nproto_file\030\017 \003(\0132$.google.pr"
    138     "otobuf.FileDescriptorProto\"\252\001\n\025CodeGener"
    139     "atorResponse\022\r\n\005error\030\001 \001(\t\022B\n\004file\030\017 \003("
    140     "\01324.google.protobuf.compiler.CodeGenerat"
    141     "orResponse.File\032>\n\004File\022\014\n\004name\030\001 \001(\t\022\027\n"
    142     "\017insertion_point\030\002 \001(\t\022\017\n\007content\030\017 \001(\t", 399);
    143   ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
    144     "google/protobuf/compiler/plugin.proto", &protobuf_RegisterTypes);
    145   CodeGeneratorRequest::default_instance_ = new CodeGeneratorRequest();
    146   CodeGeneratorResponse::default_instance_ = new CodeGeneratorResponse();
    147   CodeGeneratorResponse_File::default_instance_ = new CodeGeneratorResponse_File();
    148   CodeGeneratorRequest::default_instance_->InitAsDefaultInstance();
    149   CodeGeneratorResponse::default_instance_->InitAsDefaultInstance();
    150   CodeGeneratorResponse_File::default_instance_->InitAsDefaultInstance();
    151   ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_google_2fprotobuf_2fcompiler_2fplugin_2eproto);
    152 }
    153 
    154 // Force AddDescriptors() to be called at static initialization time.
    155 struct StaticDescriptorInitializer_google_2fprotobuf_2fcompiler_2fplugin_2eproto {
    156   StaticDescriptorInitializer_google_2fprotobuf_2fcompiler_2fplugin_2eproto() {
    157     protobuf_AddDesc_google_2fprotobuf_2fcompiler_2fplugin_2eproto();
    158   }
    159 } static_descriptor_initializer_google_2fprotobuf_2fcompiler_2fplugin_2eproto_;
    160 
    161 // ===================================================================
    162 
    163 #ifndef _MSC_VER
    164 const int CodeGeneratorRequest::kFileToGenerateFieldNumber;
    165 const int CodeGeneratorRequest::kParameterFieldNumber;
    166 const int CodeGeneratorRequest::kProtoFileFieldNumber;
    167 #endif  // !_MSC_VER
    168 
    169 CodeGeneratorRequest::CodeGeneratorRequest()
    170   : ::google::protobuf::Message() {
    171   SharedCtor();
    172 }
    173 
    174 void CodeGeneratorRequest::InitAsDefaultInstance() {
    175 }
    176 
    177 CodeGeneratorRequest::CodeGeneratorRequest(const CodeGeneratorRequest& from)
    178   : ::google::protobuf::Message() {
    179   SharedCtor();
    180   MergeFrom(from);
    181 }
    182 
    183 void CodeGeneratorRequest::SharedCtor() {
    184   _cached_size_ = 0;
    185   parameter_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
    186   ::memset(_has_bits_, 0, sizeof(_has_bits_));
    187 }
    188 
    189 CodeGeneratorRequest::~CodeGeneratorRequest() {
    190   SharedDtor();
    191 }
    192 
    193 void CodeGeneratorRequest::SharedDtor() {
    194   if (parameter_ != &::google::protobuf::internal::kEmptyString) {
    195     delete parameter_;
    196   }
    197   if (this != default_instance_) {
    198   }
    199 }
    200 
    201 void CodeGeneratorRequest::SetCachedSize(int size) const {
    202   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
    203   _cached_size_ = size;
    204   GOOGLE_SAFE_CONCURRENT_WRITES_END();
    205 }
    206 const ::google::protobuf::Descriptor* CodeGeneratorRequest::descriptor() {
    207   protobuf_AssignDescriptorsOnce();
    208   return CodeGeneratorRequest_descriptor_;
    209 }
    210 
    211 const CodeGeneratorRequest& CodeGeneratorRequest::default_instance() {
    212   if (default_instance_ == NULL) protobuf_AddDesc_google_2fprotobuf_2fcompiler_2fplugin_2eproto();
    213   return *default_instance_;
    214 }
    215 
    216 CodeGeneratorRequest* CodeGeneratorRequest::default_instance_ = NULL;
    217 
    218 CodeGeneratorRequest* CodeGeneratorRequest::New() const {
    219   return new CodeGeneratorRequest;
    220 }
    221 
    222 void CodeGeneratorRequest::Clear() {
    223   if (_has_bits_[1 / 32] & (0xffu << (1 % 32))) {
    224     if (has_parameter()) {
    225       if (parameter_ != &::google::protobuf::internal::kEmptyString) {
    226         parameter_->clear();
    227       }
    228     }
    229   }
    230   file_to_generate_.Clear();
    231   proto_file_.Clear();
    232   ::memset(_has_bits_, 0, sizeof(_has_bits_));
    233   mutable_unknown_fields()->Clear();
    234 }
    235 
    236 bool CodeGeneratorRequest::MergePartialFromCodedStream(
    237     ::google::protobuf::io::CodedInputStream* input) {
    238 #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
    239   ::google::protobuf::uint32 tag;
    240   while ((tag = input->ReadTag()) != 0) {
    241     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
    242       // repeated string file_to_generate = 1;
    243       case 1: {
    244         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
    245             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
    246          parse_file_to_generate:
    247           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
    248                 input, this->add_file_to_generate()));
    249           ::google::protobuf::internal::WireFormat::VerifyUTF8String(
    250             this->file_to_generate(this->file_to_generate_size() - 1).data(),
    251             this->file_to_generate(this->file_to_generate_size() - 1).length(),
    252             ::google::protobuf::internal::WireFormat::PARSE);
    253         } else {
    254           goto handle_uninterpreted;
    255         }
    256         if (input->ExpectTag(10)) goto parse_file_to_generate;
    257         if (input->ExpectTag(18)) goto parse_parameter;
    258         break;
    259       }
    260 
    261       // optional string parameter = 2;
    262       case 2: {
    263         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
    264             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
    265          parse_parameter:
    266           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
    267                 input, this->mutable_parameter()));
    268           ::google::protobuf::internal::WireFormat::VerifyUTF8String(
    269             this->parameter().data(), this->parameter().length(),
    270             ::google::protobuf::internal::WireFormat::PARSE);
    271         } else {
    272           goto handle_uninterpreted;
    273         }
    274         if (input->ExpectTag(122)) goto parse_proto_file;
    275         break;
    276       }
    277 
    278       // repeated .google.protobuf.FileDescriptorProto proto_file = 15;
    279       case 15: {
    280         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
    281             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
    282          parse_proto_file:
    283           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
    284                 input, add_proto_file()));
    285         } else {
    286           goto handle_uninterpreted;
    287         }
    288         if (input->ExpectTag(122)) goto parse_proto_file;
    289         if (input->ExpectAtEnd()) return true;
    290         break;
    291       }
    292 
    293       default: {
    294       handle_uninterpreted:
    295         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
    296             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
    297           return true;
    298         }
    299         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
    300               input, tag, mutable_unknown_fields()));
    301         break;
    302       }
    303     }
    304   }
    305   return true;
    306 #undef DO_
    307 }
    308 
    309 void CodeGeneratorRequest::SerializeWithCachedSizes(
    310     ::google::protobuf::io::CodedOutputStream* output) const {
    311   // repeated string file_to_generate = 1;
    312   for (int i = 0; i < this->file_to_generate_size(); i++) {
    313   ::google::protobuf::internal::WireFormat::VerifyUTF8String(
    314     this->file_to_generate(i).data(), this->file_to_generate(i).length(),
    315     ::google::protobuf::internal::WireFormat::SERIALIZE);
    316     ::google::protobuf::internal::WireFormatLite::WriteString(
    317       1, this->file_to_generate(i), output);
    318   }
    319 
    320   // optional string parameter = 2;
    321   if (has_parameter()) {
    322     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
    323       this->parameter().data(), this->parameter().length(),
    324       ::google::protobuf::internal::WireFormat::SERIALIZE);
    325     ::google::protobuf::internal::WireFormatLite::WriteString(
    326       2, this->parameter(), output);
    327   }
    328 
    329   // repeated .google.protobuf.FileDescriptorProto proto_file = 15;
    330   for (int i = 0; i < this->proto_file_size(); i++) {
    331     ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
    332       15, this->proto_file(i), output);
    333   }
    334 
    335   if (!unknown_fields().empty()) {
    336     ::google::protobuf::internal::WireFormatLite::SerializeUnknownFields(
    337         unknown_fields(), output);
    338   }
    339 }
    340 
    341 ::google::protobuf::uint8* CodeGeneratorRequest::SerializeWithCachedSizesToArray(
    342     ::google::protobuf::uint8* target) const {
    343   // repeated string file_to_generate = 1;
    344   for (int i = 0; i < this->file_to_generate_size(); i++) {
    345     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
    346       this->file_to_generate(i).data(), this->file_to_generate(i).length(),
    347       ::google::protobuf::internal::WireFormat::SERIALIZE);
    348     target = ::google::protobuf::internal::WireFormatLite::
    349       WriteStringToArray(1, this->file_to_generate(i), target);
    350   }
    351 
    352   // optional string parameter = 2;
    353   if (has_parameter()) {
    354     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
    355       this->parameter().data(), this->parameter().length(),
    356       ::google::protobuf::internal::WireFormat::SERIALIZE);
    357     target =
    358       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
    359         2, this->parameter(), target);
    360   }
    361 
    362   // repeated .google.protobuf.FileDescriptorProto proto_file = 15;
    363   for (int i = 0; i < this->proto_file_size(); i++) {
    364     target = ::google::protobuf::internal::WireFormatLite::
    365       WriteMessageNoVirtualToArray(
    366         15, this->proto_file(i), target);
    367   }
    368 
    369   if (!unknown_fields().empty()) {
    370     target = ::google::protobuf::internal::WireFormatLite::SerializeUnknownFieldsToArray(
    371         unknown_fields(), target);
    372   }
    373   return target;
    374 }
    375 
    376 int CodeGeneratorRequest::ByteSize() const {
    377   int total_size = 0;
    378 
    379   if (_has_bits_[1 / 32] & (0xffu << (1 % 32))) {
    380     // optional string parameter = 2;
    381     if (has_parameter()) {
    382       total_size += 1 +
    383         ::google::protobuf::internal::WireFormatLite::StringSize(
    384           this->parameter());
    385     }
    386 
    387   }
    388   // repeated string file_to_generate = 1;
    389   total_size += 1 * this->file_to_generate_size();
    390   for (int i = 0; i < this->file_to_generate_size(); i++) {
    391     total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
    392       this->file_to_generate(i));
    393   }
    394 
    395   // repeated .google.protobuf.FileDescriptorProto proto_file = 15;
    396   total_size += 1 * this->proto_file_size();
    397   for (int i = 0; i < this->proto_file_size(); i++) {
    398     total_size +=
    399       ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
    400         this->proto_file(i));
    401   }
    402 
    403   if (!unknown_fields().empty()) {
    404     total_size +=
    405       ::google::protobuf::internal::WireFormatLite::ComputeUnknownFieldsSize(
    406         unknown_fields());
    407   }
    408   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
    409   _cached_size_ = total_size;
    410   GOOGLE_SAFE_CONCURRENT_WRITES_END();
    411   return total_size;
    412 }
    413 
    414 void CodeGeneratorRequest::MergeFrom(const ::google::protobuf::Message& from) {
    415   GOOGLE_CHECK_NE(&from, this);
    416   const CodeGeneratorRequest* source =
    417     ::google::protobuf::internal::dynamic_cast_if_available<const CodeGeneratorRequest*>(
    418       &from);
    419   if (source == NULL) {
    420     ::google::protobuf::internal::ReflectionOps::Merge(from, this);
    421   } else {
    422     MergeFrom(*source);
    423   }
    424 }
    425 
    426 void CodeGeneratorRequest::MergeFrom(const CodeGeneratorRequest& from) {
    427   GOOGLE_CHECK_NE(&from, this);
    428   file_to_generate_.MergeFrom(from.file_to_generate_);
    429   proto_file_.MergeFrom(from.proto_file_);
    430   if (from._has_bits_[1 / 32] & (0xffu << (1 % 32))) {
    431     if (from.has_parameter()) {
    432       set_parameter(from.parameter());
    433     }
    434   }
    435   mutable_unknown_fields()->MergeFrom(from.unknown_fields());
    436 }
    437 
    438 void CodeGeneratorRequest::CopyFrom(const ::google::protobuf::Message& from) {
    439   if (&from == this) return;
    440   Clear();
    441   MergeFrom(from);
    442 }
    443 
    444 void CodeGeneratorRequest::CopyFrom(const CodeGeneratorRequest& from) {
    445   if (&from == this) return;
    446   Clear();
    447   MergeFrom(from);
    448 }
    449 
    450 bool CodeGeneratorRequest::IsInitialized() const {
    451 
    452   for (int i = 0; i < proto_file_size(); i++) {
    453     if (!this->proto_file(i).IsInitialized()) return false;
    454   }
    455   return true;
    456 }
    457 
    458 void CodeGeneratorRequest::Swap(CodeGeneratorRequest* other) {
    459   if (other != this) {
    460     file_to_generate_.Swap(&other->file_to_generate_);
    461     std::swap(parameter_, other->parameter_);
    462     proto_file_.Swap(&other->proto_file_);
    463     std::swap(_has_bits_[0], other->_has_bits_[0]);
    464     _unknown_fields_.Swap(&other->_unknown_fields_);
    465     std::swap(_cached_size_, other->_cached_size_);
    466   }
    467 }
    468 
    469 ::google::protobuf::Metadata CodeGeneratorRequest::GetMetadata() const {
    470   protobuf_AssignDescriptorsOnce();
    471   ::google::protobuf::Metadata metadata;
    472   metadata.descriptor = CodeGeneratorRequest_descriptor_;
    473   metadata.reflection = CodeGeneratorRequest_reflection_;
    474   return metadata;
    475 }
    476 
    477 
    478 // ===================================================================
    479 
    480 #ifndef _MSC_VER
    481 const int CodeGeneratorResponse_File::kNameFieldNumber;
    482 const int CodeGeneratorResponse_File::kInsertionPointFieldNumber;
    483 const int CodeGeneratorResponse_File::kContentFieldNumber;
    484 #endif  // !_MSC_VER
    485 
    486 CodeGeneratorResponse_File::CodeGeneratorResponse_File()
    487   : ::google::protobuf::Message() {
    488   SharedCtor();
    489 }
    490 
    491 void CodeGeneratorResponse_File::InitAsDefaultInstance() {
    492 }
    493 
    494 CodeGeneratorResponse_File::CodeGeneratorResponse_File(const CodeGeneratorResponse_File& from)
    495   : ::google::protobuf::Message() {
    496   SharedCtor();
    497   MergeFrom(from);
    498 }
    499 
    500 void CodeGeneratorResponse_File::SharedCtor() {
    501   _cached_size_ = 0;
    502   name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
    503   insertion_point_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
    504   content_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
    505   ::memset(_has_bits_, 0, sizeof(_has_bits_));
    506 }
    507 
    508 CodeGeneratorResponse_File::~CodeGeneratorResponse_File() {
    509   SharedDtor();
    510 }
    511 
    512 void CodeGeneratorResponse_File::SharedDtor() {
    513   if (name_ != &::google::protobuf::internal::kEmptyString) {
    514     delete name_;
    515   }
    516   if (insertion_point_ != &::google::protobuf::internal::kEmptyString) {
    517     delete insertion_point_;
    518   }
    519   if (content_ != &::google::protobuf::internal::kEmptyString) {
    520     delete content_;
    521   }
    522   if (this != default_instance_) {
    523   }
    524 }
    525 
    526 void CodeGeneratorResponse_File::SetCachedSize(int size) const {
    527   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
    528   _cached_size_ = size;
    529   GOOGLE_SAFE_CONCURRENT_WRITES_END();
    530 }
    531 const ::google::protobuf::Descriptor* CodeGeneratorResponse_File::descriptor() {
    532   protobuf_AssignDescriptorsOnce();
    533   return CodeGeneratorResponse_File_descriptor_;
    534 }
    535 
    536 const CodeGeneratorResponse_File& CodeGeneratorResponse_File::default_instance() {
    537   if (default_instance_ == NULL) protobuf_AddDesc_google_2fprotobuf_2fcompiler_2fplugin_2eproto();
    538   return *default_instance_;
    539 }
    540 
    541 CodeGeneratorResponse_File* CodeGeneratorResponse_File::default_instance_ = NULL;
    542 
    543 CodeGeneratorResponse_File* CodeGeneratorResponse_File::New() const {
    544   return new CodeGeneratorResponse_File;
    545 }
    546 
    547 void CodeGeneratorResponse_File::Clear() {
    548   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    549     if (has_name()) {
    550       if (name_ != &::google::protobuf::internal::kEmptyString) {
    551         name_->clear();
    552       }
    553     }
    554     if (has_insertion_point()) {
    555       if (insertion_point_ != &::google::protobuf::internal::kEmptyString) {
    556         insertion_point_->clear();
    557       }
    558     }
    559     if (has_content()) {
    560       if (content_ != &::google::protobuf::internal::kEmptyString) {
    561         content_->clear();
    562       }
    563     }
    564   }
    565   ::memset(_has_bits_, 0, sizeof(_has_bits_));
    566   mutable_unknown_fields()->Clear();
    567 }
    568 
    569 bool CodeGeneratorResponse_File::MergePartialFromCodedStream(
    570     ::google::protobuf::io::CodedInputStream* input) {
    571 #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
    572   ::google::protobuf::uint32 tag;
    573   while ((tag = input->ReadTag()) != 0) {
    574     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
    575       // optional string name = 1;
    576       case 1: {
    577         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
    578             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
    579           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
    580                 input, this->mutable_name()));
    581           ::google::protobuf::internal::WireFormat::VerifyUTF8String(
    582             this->name().data(), this->name().length(),
    583             ::google::protobuf::internal::WireFormat::PARSE);
    584         } else {
    585           goto handle_uninterpreted;
    586         }
    587         if (input->ExpectTag(18)) goto parse_insertion_point;
    588         break;
    589       }
    590 
    591       // optional string insertion_point = 2;
    592       case 2: {
    593         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
    594             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
    595          parse_insertion_point:
    596           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
    597                 input, this->mutable_insertion_point()));
    598           ::google::protobuf::internal::WireFormat::VerifyUTF8String(
    599             this->insertion_point().data(), this->insertion_point().length(),
    600             ::google::protobuf::internal::WireFormat::PARSE);
    601         } else {
    602           goto handle_uninterpreted;
    603         }
    604         if (input->ExpectTag(122)) goto parse_content;
    605         break;
    606       }
    607 
    608       // optional string content = 15;
    609       case 15: {
    610         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
    611             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
    612          parse_content:
    613           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
    614                 input, this->mutable_content()));
    615           ::google::protobuf::internal::WireFormat::VerifyUTF8String(
    616             this->content().data(), this->content().length(),
    617             ::google::protobuf::internal::WireFormat::PARSE);
    618         } else {
    619           goto handle_uninterpreted;
    620         }
    621         if (input->ExpectAtEnd()) return true;
    622         break;
    623       }
    624 
    625       default: {
    626       handle_uninterpreted:
    627         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
    628             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
    629           return true;
    630         }
    631         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
    632               input, tag, mutable_unknown_fields()));
    633         break;
    634       }
    635     }
    636   }
    637   return true;
    638 #undef DO_
    639 }
    640 
    641 void CodeGeneratorResponse_File::SerializeWithCachedSizes(
    642     ::google::protobuf::io::CodedOutputStream* output) const {
    643   // optional string name = 1;
    644   if (has_name()) {
    645     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
    646       this->name().data(), this->name().length(),
    647       ::google::protobuf::internal::WireFormat::SERIALIZE);
    648     ::google::protobuf::internal::WireFormatLite::WriteString(
    649       1, this->name(), output);
    650   }
    651 
    652   // optional string insertion_point = 2;
    653   if (has_insertion_point()) {
    654     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
    655       this->insertion_point().data(), this->insertion_point().length(),
    656       ::google::protobuf::internal::WireFormat::SERIALIZE);
    657     ::google::protobuf::internal::WireFormatLite::WriteString(
    658       2, this->insertion_point(), output);
    659   }
    660 
    661   // optional string content = 15;
    662   if (has_content()) {
    663     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
    664       this->content().data(), this->content().length(),
    665       ::google::protobuf::internal::WireFormat::SERIALIZE);
    666     ::google::protobuf::internal::WireFormatLite::WriteString(
    667       15, this->content(), output);
    668   }
    669 
    670   if (!unknown_fields().empty()) {
    671     ::google::protobuf::internal::WireFormatLite::SerializeUnknownFields(
    672         unknown_fields(), output);
    673   }
    674 }
    675 
    676 ::google::protobuf::uint8* CodeGeneratorResponse_File::SerializeWithCachedSizesToArray(
    677     ::google::protobuf::uint8* target) const {
    678   // optional string name = 1;
    679   if (has_name()) {
    680     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
    681       this->name().data(), this->name().length(),
    682       ::google::protobuf::internal::WireFormat::SERIALIZE);
    683     target =
    684       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
    685         1, this->name(), target);
    686   }
    687 
    688   // optional string insertion_point = 2;
    689   if (has_insertion_point()) {
    690     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
    691       this->insertion_point().data(), this->insertion_point().length(),
    692       ::google::protobuf::internal::WireFormat::SERIALIZE);
    693     target =
    694       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
    695         2, this->insertion_point(), target);
    696   }
    697 
    698   // optional string content = 15;
    699   if (has_content()) {
    700     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
    701       this->content().data(), this->content().length(),
    702       ::google::protobuf::internal::WireFormat::SERIALIZE);
    703     target =
    704       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
    705         15, this->content(), target);
    706   }
    707 
    708   if (!unknown_fields().empty()) {
    709     target = ::google::protobuf::internal::WireFormatLite::SerializeUnknownFieldsToArray(
    710         unknown_fields(), target);
    711   }
    712   return target;
    713 }
    714 
    715 int CodeGeneratorResponse_File::ByteSize() const {
    716   int total_size = 0;
    717 
    718   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    719     // optional string name = 1;
    720     if (has_name()) {
    721       total_size += 1 +
    722         ::google::protobuf::internal::WireFormatLite::StringSize(
    723           this->name());
    724     }
    725 
    726     // optional string insertion_point = 2;
    727     if (has_insertion_point()) {
    728       total_size += 1 +
    729         ::google::protobuf::internal::WireFormatLite::StringSize(
    730           this->insertion_point());
    731     }
    732 
    733     // optional string content = 15;
    734     if (has_content()) {
    735       total_size += 1 +
    736         ::google::protobuf::internal::WireFormatLite::StringSize(
    737           this->content());
    738     }
    739 
    740   }
    741   if (!unknown_fields().empty()) {
    742     total_size +=
    743       ::google::protobuf::internal::WireFormatLite::ComputeUnknownFieldsSize(
    744         unknown_fields());
    745   }
    746   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
    747   _cached_size_ = total_size;
    748   GOOGLE_SAFE_CONCURRENT_WRITES_END();
    749   return total_size;
    750 }
    751 
    752 void CodeGeneratorResponse_File::MergeFrom(const ::google::protobuf::Message& from) {
    753   GOOGLE_CHECK_NE(&from, this);
    754   const CodeGeneratorResponse_File* source =
    755     ::google::protobuf::internal::dynamic_cast_if_available<const CodeGeneratorResponse_File*>(
    756       &from);
    757   if (source == NULL) {
    758     ::google::protobuf::internal::ReflectionOps::Merge(from, this);
    759   } else {
    760     MergeFrom(*source);
    761   }
    762 }
    763 
    764 void CodeGeneratorResponse_File::MergeFrom(const CodeGeneratorResponse_File& from) {
    765   GOOGLE_CHECK_NE(&from, this);
    766   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    767     if (from.has_name()) {
    768       set_name(from.name());
    769     }
    770     if (from.has_insertion_point()) {
    771       set_insertion_point(from.insertion_point());
    772     }
    773     if (from.has_content()) {
    774       set_content(from.content());
    775     }
    776   }
    777   mutable_unknown_fields()->MergeFrom(from.unknown_fields());
    778 }
    779 
    780 void CodeGeneratorResponse_File::CopyFrom(const ::google::protobuf::Message& from) {
    781   if (&from == this) return;
    782   Clear();
    783   MergeFrom(from);
    784 }
    785 
    786 void CodeGeneratorResponse_File::CopyFrom(const CodeGeneratorResponse_File& from) {
    787   if (&from == this) return;
    788   Clear();
    789   MergeFrom(from);
    790 }
    791 
    792 bool CodeGeneratorResponse_File::IsInitialized() const {
    793 
    794   return true;
    795 }
    796 
    797 void CodeGeneratorResponse_File::Swap(CodeGeneratorResponse_File* other) {
    798   if (other != this) {
    799     std::swap(name_, other->name_);
    800     std::swap(insertion_point_, other->insertion_point_);
    801     std::swap(content_, other->content_);
    802     std::swap(_has_bits_[0], other->_has_bits_[0]);
    803     _unknown_fields_.Swap(&other->_unknown_fields_);
    804     std::swap(_cached_size_, other->_cached_size_);
    805   }
    806 }
    807 
    808 ::google::protobuf::Metadata CodeGeneratorResponse_File::GetMetadata() const {
    809   protobuf_AssignDescriptorsOnce();
    810   ::google::protobuf::Metadata metadata;
    811   metadata.descriptor = CodeGeneratorResponse_File_descriptor_;
    812   metadata.reflection = CodeGeneratorResponse_File_reflection_;
    813   return metadata;
    814 }
    815 
    816 
    817 // -------------------------------------------------------------------
    818 
    819 #ifndef _MSC_VER
    820 const int CodeGeneratorResponse::kErrorFieldNumber;
    821 const int CodeGeneratorResponse::kFileFieldNumber;
    822 #endif  // !_MSC_VER
    823 
    824 CodeGeneratorResponse::CodeGeneratorResponse()
    825   : ::google::protobuf::Message() {
    826   SharedCtor();
    827 }
    828 
    829 void CodeGeneratorResponse::InitAsDefaultInstance() {
    830 }
    831 
    832 CodeGeneratorResponse::CodeGeneratorResponse(const CodeGeneratorResponse& from)
    833   : ::google::protobuf::Message() {
    834   SharedCtor();
    835   MergeFrom(from);
    836 }
    837 
    838 void CodeGeneratorResponse::SharedCtor() {
    839   _cached_size_ = 0;
    840   error_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
    841   ::memset(_has_bits_, 0, sizeof(_has_bits_));
    842 }
    843 
    844 CodeGeneratorResponse::~CodeGeneratorResponse() {
    845   SharedDtor();
    846 }
    847 
    848 void CodeGeneratorResponse::SharedDtor() {
    849   if (error_ != &::google::protobuf::internal::kEmptyString) {
    850     delete error_;
    851   }
    852   if (this != default_instance_) {
    853   }
    854 }
    855 
    856 void CodeGeneratorResponse::SetCachedSize(int size) const {
    857   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
    858   _cached_size_ = size;
    859   GOOGLE_SAFE_CONCURRENT_WRITES_END();
    860 }
    861 const ::google::protobuf::Descriptor* CodeGeneratorResponse::descriptor() {
    862   protobuf_AssignDescriptorsOnce();
    863   return CodeGeneratorResponse_descriptor_;
    864 }
    865 
    866 const CodeGeneratorResponse& CodeGeneratorResponse::default_instance() {
    867   if (default_instance_ == NULL) protobuf_AddDesc_google_2fprotobuf_2fcompiler_2fplugin_2eproto();
    868   return *default_instance_;
    869 }
    870 
    871 CodeGeneratorResponse* CodeGeneratorResponse::default_instance_ = NULL;
    872 
    873 CodeGeneratorResponse* CodeGeneratorResponse::New() const {
    874   return new CodeGeneratorResponse;
    875 }
    876 
    877 void CodeGeneratorResponse::Clear() {
    878   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    879     if (has_error()) {
    880       if (error_ != &::google::protobuf::internal::kEmptyString) {
    881         error_->clear();
    882       }
    883     }
    884   }
    885   file_.Clear();
    886   ::memset(_has_bits_, 0, sizeof(_has_bits_));
    887   mutable_unknown_fields()->Clear();
    888 }
    889 
    890 bool CodeGeneratorResponse::MergePartialFromCodedStream(
    891     ::google::protobuf::io::CodedInputStream* input) {
    892 #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
    893   ::google::protobuf::uint32 tag;
    894   while ((tag = input->ReadTag()) != 0) {
    895     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
    896       // optional string error = 1;
    897       case 1: {
    898         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
    899             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
    900           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
    901                 input, this->mutable_error()));
    902           ::google::protobuf::internal::WireFormat::VerifyUTF8String(
    903             this->error().data(), this->error().length(),
    904             ::google::protobuf::internal::WireFormat::PARSE);
    905         } else {
    906           goto handle_uninterpreted;
    907         }
    908         if (input->ExpectTag(122)) goto parse_file;
    909         break;
    910       }
    911 
    912       // repeated .google.protobuf.compiler.CodeGeneratorResponse.File file = 15;
    913       case 15: {
    914         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
    915             ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
    916          parse_file:
    917           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
    918                 input, add_file()));
    919         } else {
    920           goto handle_uninterpreted;
    921         }
    922         if (input->ExpectTag(122)) goto parse_file;
    923         if (input->ExpectAtEnd()) return true;
    924         break;
    925       }
    926 
    927       default: {
    928       handle_uninterpreted:
    929         if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
    930             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
    931           return true;
    932         }
    933         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
    934               input, tag, mutable_unknown_fields()));
    935         break;
    936       }
    937     }
    938   }
    939   return true;
    940 #undef DO_
    941 }
    942 
    943 void CodeGeneratorResponse::SerializeWithCachedSizes(
    944     ::google::protobuf::io::CodedOutputStream* output) const {
    945   // optional string error = 1;
    946   if (has_error()) {
    947     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
    948       this->error().data(), this->error().length(),
    949       ::google::protobuf::internal::WireFormat::SERIALIZE);
    950     ::google::protobuf::internal::WireFormatLite::WriteString(
    951       1, this->error(), output);
    952   }
    953 
    954   // repeated .google.protobuf.compiler.CodeGeneratorResponse.File file = 15;
    955   for (int i = 0; i < this->file_size(); i++) {
    956     ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
    957       15, this->file(i), output);
    958   }
    959 
    960   if (!unknown_fields().empty()) {
    961     ::google::protobuf::internal::WireFormatLite::SerializeUnknownFields(
    962         unknown_fields(), output);
    963   }
    964 }
    965 
    966 ::google::protobuf::uint8* CodeGeneratorResponse::SerializeWithCachedSizesToArray(
    967     ::google::protobuf::uint8* target) const {
    968   // optional string error = 1;
    969   if (has_error()) {
    970     ::google::protobuf::internal::WireFormat::VerifyUTF8String(
    971       this->error().data(), this->error().length(),
    972       ::google::protobuf::internal::WireFormat::SERIALIZE);
    973     target =
    974       ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
    975         1, this->error(), target);
    976   }
    977 
    978   // repeated .google.protobuf.compiler.CodeGeneratorResponse.File file = 15;
    979   for (int i = 0; i < this->file_size(); i++) {
    980     target = ::google::protobuf::internal::WireFormatLite::
    981       WriteMessageNoVirtualToArray(
    982         15, this->file(i), target);
    983   }
    984 
    985   if (!unknown_fields().empty()) {
    986     target = ::google::protobuf::internal::WireFormatLite::SerializeUnknownFieldsToArray(
    987         unknown_fields(), target);
    988   }
    989   return target;
    990 }
    991 
    992 int CodeGeneratorResponse::ByteSize() const {
    993   int total_size = 0;
    994 
    995   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
    996     // optional string error = 1;
    997     if (has_error()) {
    998       total_size += 1 +
    999         ::google::protobuf::internal::WireFormatLite::StringSize(
   1000           this->error());
   1001     }
   1002 
   1003   }
   1004   // repeated .google.protobuf.compiler.CodeGeneratorResponse.File file = 15;
   1005   total_size += 1 * this->file_size();
   1006   for (int i = 0; i < this->file_size(); i++) {
   1007     total_size +=
   1008       ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
   1009         this->file(i));
   1010   }
   1011 
   1012   if (!unknown_fields().empty()) {
   1013     total_size +=
   1014       ::google::protobuf::internal::WireFormatLite::ComputeUnknownFieldsSize(
   1015         unknown_fields());
   1016   }
   1017   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
   1018   _cached_size_ = total_size;
   1019   GOOGLE_SAFE_CONCURRENT_WRITES_END();
   1020   return total_size;
   1021 }
   1022 
   1023 void CodeGeneratorResponse::MergeFrom(const ::google::protobuf::Message& from) {
   1024   GOOGLE_CHECK_NE(&from, this);
   1025   const CodeGeneratorResponse* source =
   1026     ::google::protobuf::internal::dynamic_cast_if_available<const CodeGeneratorResponse*>(
   1027       &from);
   1028   if (source == NULL) {
   1029     ::google::protobuf::internal::ReflectionOps::Merge(from, this);
   1030   } else {
   1031     MergeFrom(*source);
   1032   }
   1033 }
   1034 
   1035 void CodeGeneratorResponse::MergeFrom(const CodeGeneratorResponse& from) {
   1036   GOOGLE_CHECK_NE(&from, this);
   1037   file_.MergeFrom(from.file_);
   1038   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
   1039     if (from.has_error()) {
   1040       set_error(from.error());
   1041     }
   1042   }
   1043   mutable_unknown_fields()->MergeFrom(from.unknown_fields());
   1044 }
   1045 
   1046 void CodeGeneratorResponse::CopyFrom(const ::google::protobuf::Message& from) {
   1047   if (&from == this) return;
   1048   Clear();
   1049   MergeFrom(from);
   1050 }
   1051 
   1052 void CodeGeneratorResponse::CopyFrom(const CodeGeneratorResponse& from) {
   1053   if (&from == this) return;
   1054   Clear();
   1055   MergeFrom(from);
   1056 }
   1057 
   1058 bool CodeGeneratorResponse::IsInitialized() const {
   1059 
   1060   return true;
   1061 }
   1062 
   1063 void CodeGeneratorResponse::Swap(CodeGeneratorResponse* other) {
   1064   if (other != this) {
   1065     std::swap(error_, other->error_);
   1066     file_.Swap(&other->file_);
   1067     std::swap(_has_bits_[0], other->_has_bits_[0]);
   1068     _unknown_fields_.Swap(&other->_unknown_fields_);
   1069     std::swap(_cached_size_, other->_cached_size_);
   1070   }
   1071 }
   1072 
   1073 ::google::protobuf::Metadata CodeGeneratorResponse::GetMetadata() const {
   1074   protobuf_AssignDescriptorsOnce();
   1075   ::google::protobuf::Metadata metadata;
   1076   metadata.descriptor = CodeGeneratorResponse_descriptor_;
   1077   metadata.reflection = CodeGeneratorResponse_reflection_;
   1078   return metadata;
   1079 }
   1080 
   1081 
   1082 // @@protoc_insertion_point(namespace_scope)
   1083 
   1084 }  // namespace compiler
   1085 }  // namespace protobuf
   1086 }  // namespace google
   1087 
   1088 // @@protoc_insertion_point(global_scope)
   1089