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