1 // Generated by the protocol buffer compiler.  DO NOT EDIT!
2 // source: google/protobuf/compiler/plugin.proto
3 
4 #ifndef PROTOBUF_google_2fprotobuf_2fcompiler_2fplugin_2eproto__INCLUDED
5 #define PROTOBUF_google_2fprotobuf_2fcompiler_2fplugin_2eproto__INCLUDED
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 3000000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers.  Please update
14 #error your headers.
15 #endif
16 #if 3000000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers.  Please
19 #error regenerate this file with a newer version of protoc.
20 #endif
21 
22 #include <google/protobuf/arena.h>
23 #include <google/protobuf/arenastring.h>
24 #include <google/protobuf/generated_message_util.h>
25 #include <google/protobuf/metadata.h>
26 #include <google/protobuf/message.h>
27 #include <google/protobuf/repeated_field.h>
28 #include <google/protobuf/extension_set.h>
29 #include <google/protobuf/unknown_field_set.h>
30 #include <google/protobuf/descriptor.pb.h>
31 // @@protoc_insertion_point(includes)
32 
33 namespace google {
34 namespace protobuf {
35 namespace compiler {
36 
37 // Internal implementation detail -- do not call these.
38 void LIBPROTOC_EXPORT protobuf_AddDesc_google_2fprotobuf_2fcompiler_2fplugin_2eproto();
39 void protobuf_AssignDesc_google_2fprotobuf_2fcompiler_2fplugin_2eproto();
40 void protobuf_ShutdownFile_google_2fprotobuf_2fcompiler_2fplugin_2eproto();
41 
42 class CodeGeneratorRequest;
43 class CodeGeneratorResponse;
44 class CodeGeneratorResponse_File;
45 
46 // ===================================================================
47 
48 class LIBPROTOC_EXPORT CodeGeneratorRequest : public ::google::protobuf::Message {
49  public:
50   CodeGeneratorRequest();
51   virtual ~CodeGeneratorRequest();
52 
53   CodeGeneratorRequest(const CodeGeneratorRequest& from);
54 
55   inline CodeGeneratorRequest& operator=(const CodeGeneratorRequest& from) {
56     CopyFrom(from);
57     return *this;
58   }
59 
unknown_fields()60   inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
61     return _internal_metadata_.unknown_fields();
62   }
63 
mutable_unknown_fields()64   inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
65     return _internal_metadata_.mutable_unknown_fields();
66   }
67 
68   static const ::google::protobuf::Descriptor* descriptor();
69   static const CodeGeneratorRequest& default_instance();
70 
71   void Swap(CodeGeneratorRequest* other);
72 
73   // implements Message ----------------------------------------------
74 
New()75   inline CodeGeneratorRequest* New() const { return New(NULL); }
76 
77   CodeGeneratorRequest* New(::google::protobuf::Arena* arena) const;
78   void CopyFrom(const ::google::protobuf::Message& from);
79   void MergeFrom(const ::google::protobuf::Message& from);
80   void CopyFrom(const CodeGeneratorRequest& from);
81   void MergeFrom(const CodeGeneratorRequest& from);
82   void Clear();
83   bool IsInitialized() const;
84 
85   int ByteSize() const;
86   bool MergePartialFromCodedStream(
87       ::google::protobuf::io::CodedInputStream* input);
88   void SerializeWithCachedSizes(
89       ::google::protobuf::io::CodedOutputStream* output) const;
90   ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
GetCachedSize()91   int GetCachedSize() const { return _cached_size_; }
92   private:
93   void SharedCtor();
94   void SharedDtor();
95   void SetCachedSize(int size) const;
96   void InternalSwap(CodeGeneratorRequest* other);
97   private:
GetArenaNoVirtual()98   inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
99     return _internal_metadata_.arena();
100   }
MaybeArenaPtr()101   inline void* MaybeArenaPtr() const {
102     return _internal_metadata_.raw_arena_ptr();
103   }
104   public:
105 
106   ::google::protobuf::Metadata GetMetadata() const;
107 
108   // nested types ----------------------------------------------------
109 
110   // accessors -------------------------------------------------------
111 
112   // repeated string file_to_generate = 1;
113   int file_to_generate_size() const;
114   void clear_file_to_generate();
115   static const int kFileToGenerateFieldNumber = 1;
116   const ::std::string& file_to_generate(int index) const;
117   ::std::string* mutable_file_to_generate(int index);
118   void set_file_to_generate(int index, const ::std::string& value);
119   void set_file_to_generate(int index, const char* value);
120   void set_file_to_generate(int index, const char* value, size_t size);
121   ::std::string* add_file_to_generate();
122   void add_file_to_generate(const ::std::string& value);
123   void add_file_to_generate(const char* value);
124   void add_file_to_generate(const char* value, size_t size);
125   const ::google::protobuf::RepeatedPtrField< ::std::string>& file_to_generate() const;
126   ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_file_to_generate();
127 
128   // optional string parameter = 2;
129   bool has_parameter() const;
130   void clear_parameter();
131   static const int kParameterFieldNumber = 2;
132   const ::std::string& parameter() const;
133   void set_parameter(const ::std::string& value);
134   void set_parameter(const char* value);
135   void set_parameter(const char* value, size_t size);
136   ::std::string* mutable_parameter();
137   ::std::string* release_parameter();
138   void set_allocated_parameter(::std::string* parameter);
139 
140   // repeated .google.protobuf.FileDescriptorProto proto_file = 15;
141   int proto_file_size() const;
142   void clear_proto_file();
143   static const int kProtoFileFieldNumber = 15;
144   const ::google::protobuf::FileDescriptorProto& proto_file(int index) const;
145   ::google::protobuf::FileDescriptorProto* mutable_proto_file(int index);
146   ::google::protobuf::FileDescriptorProto* add_proto_file();
147   ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >*
148       mutable_proto_file();
149   const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >&
150       proto_file() const;
151 
152   // @@protoc_insertion_point(class_scope:google.protobuf.compiler.CodeGeneratorRequest)
153  private:
154   inline void set_has_parameter();
155   inline void clear_has_parameter();
156 
157   ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
158   ::google::protobuf::uint32 _has_bits_[1];
159   mutable int _cached_size_;
160   ::google::protobuf::RepeatedPtrField< ::std::string> file_to_generate_;
161   ::google::protobuf::internal::ArenaStringPtr parameter_;
162   ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto > proto_file_;
163   friend void LIBPROTOC_EXPORT protobuf_AddDesc_google_2fprotobuf_2fcompiler_2fplugin_2eproto();
164   friend void protobuf_AssignDesc_google_2fprotobuf_2fcompiler_2fplugin_2eproto();
165   friend void protobuf_ShutdownFile_google_2fprotobuf_2fcompiler_2fplugin_2eproto();
166 
167   void InitAsDefaultInstance();
168   static CodeGeneratorRequest* default_instance_;
169 };
170 // -------------------------------------------------------------------
171 
172 class LIBPROTOC_EXPORT CodeGeneratorResponse_File : public ::google::protobuf::Message {
173  public:
174   CodeGeneratorResponse_File();
175   virtual ~CodeGeneratorResponse_File();
176 
177   CodeGeneratorResponse_File(const CodeGeneratorResponse_File& from);
178 
179   inline CodeGeneratorResponse_File& operator=(const CodeGeneratorResponse_File& from) {
180     CopyFrom(from);
181     return *this;
182   }
183 
unknown_fields()184   inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
185     return _internal_metadata_.unknown_fields();
186   }
187 
mutable_unknown_fields()188   inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
189     return _internal_metadata_.mutable_unknown_fields();
190   }
191 
192   static const ::google::protobuf::Descriptor* descriptor();
193   static const CodeGeneratorResponse_File& default_instance();
194 
195   void Swap(CodeGeneratorResponse_File* other);
196 
197   // implements Message ----------------------------------------------
198 
New()199   inline CodeGeneratorResponse_File* New() const { return New(NULL); }
200 
201   CodeGeneratorResponse_File* New(::google::protobuf::Arena* arena) const;
202   void CopyFrom(const ::google::protobuf::Message& from);
203   void MergeFrom(const ::google::protobuf::Message& from);
204   void CopyFrom(const CodeGeneratorResponse_File& from);
205   void MergeFrom(const CodeGeneratorResponse_File& from);
206   void Clear();
207   bool IsInitialized() const;
208 
209   int ByteSize() const;
210   bool MergePartialFromCodedStream(
211       ::google::protobuf::io::CodedInputStream* input);
212   void SerializeWithCachedSizes(
213       ::google::protobuf::io::CodedOutputStream* output) const;
214   ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
GetCachedSize()215   int GetCachedSize() const { return _cached_size_; }
216   private:
217   void SharedCtor();
218   void SharedDtor();
219   void SetCachedSize(int size) const;
220   void InternalSwap(CodeGeneratorResponse_File* other);
221   private:
GetArenaNoVirtual()222   inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
223     return _internal_metadata_.arena();
224   }
MaybeArenaPtr()225   inline void* MaybeArenaPtr() const {
226     return _internal_metadata_.raw_arena_ptr();
227   }
228   public:
229 
230   ::google::protobuf::Metadata GetMetadata() const;
231 
232   // nested types ----------------------------------------------------
233 
234   // accessors -------------------------------------------------------
235 
236   // optional string name = 1;
237   bool has_name() const;
238   void clear_name();
239   static const int kNameFieldNumber = 1;
240   const ::std::string& name() const;
241   void set_name(const ::std::string& value);
242   void set_name(const char* value);
243   void set_name(const char* value, size_t size);
244   ::std::string* mutable_name();
245   ::std::string* release_name();
246   void set_allocated_name(::std::string* name);
247 
248   // optional string insertion_point = 2;
249   bool has_insertion_point() const;
250   void clear_insertion_point();
251   static const int kInsertionPointFieldNumber = 2;
252   const ::std::string& insertion_point() const;
253   void set_insertion_point(const ::std::string& value);
254   void set_insertion_point(const char* value);
255   void set_insertion_point(const char* value, size_t size);
256   ::std::string* mutable_insertion_point();
257   ::std::string* release_insertion_point();
258   void set_allocated_insertion_point(::std::string* insertion_point);
259 
260   // optional string content = 15;
261   bool has_content() const;
262   void clear_content();
263   static const int kContentFieldNumber = 15;
264   const ::std::string& content() const;
265   void set_content(const ::std::string& value);
266   void set_content(const char* value);
267   void set_content(const char* value, size_t size);
268   ::std::string* mutable_content();
269   ::std::string* release_content();
270   void set_allocated_content(::std::string* content);
271 
272   // @@protoc_insertion_point(class_scope:google.protobuf.compiler.CodeGeneratorResponse.File)
273  private:
274   inline void set_has_name();
275   inline void clear_has_name();
276   inline void set_has_insertion_point();
277   inline void clear_has_insertion_point();
278   inline void set_has_content();
279   inline void clear_has_content();
280 
281   ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
282   ::google::protobuf::uint32 _has_bits_[1];
283   mutable int _cached_size_;
284   ::google::protobuf::internal::ArenaStringPtr name_;
285   ::google::protobuf::internal::ArenaStringPtr insertion_point_;
286   ::google::protobuf::internal::ArenaStringPtr content_;
287   friend void LIBPROTOC_EXPORT protobuf_AddDesc_google_2fprotobuf_2fcompiler_2fplugin_2eproto();
288   friend void protobuf_AssignDesc_google_2fprotobuf_2fcompiler_2fplugin_2eproto();
289   friend void protobuf_ShutdownFile_google_2fprotobuf_2fcompiler_2fplugin_2eproto();
290 
291   void InitAsDefaultInstance();
292   static CodeGeneratorResponse_File* default_instance_;
293 };
294 // -------------------------------------------------------------------
295 
296 class LIBPROTOC_EXPORT CodeGeneratorResponse : public ::google::protobuf::Message {
297  public:
298   CodeGeneratorResponse();
299   virtual ~CodeGeneratorResponse();
300 
301   CodeGeneratorResponse(const CodeGeneratorResponse& from);
302 
303   inline CodeGeneratorResponse& operator=(const CodeGeneratorResponse& from) {
304     CopyFrom(from);
305     return *this;
306   }
307 
unknown_fields()308   inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
309     return _internal_metadata_.unknown_fields();
310   }
311 
mutable_unknown_fields()312   inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
313     return _internal_metadata_.mutable_unknown_fields();
314   }
315 
316   static const ::google::protobuf::Descriptor* descriptor();
317   static const CodeGeneratorResponse& default_instance();
318 
319   void Swap(CodeGeneratorResponse* other);
320 
321   // implements Message ----------------------------------------------
322 
New()323   inline CodeGeneratorResponse* New() const { return New(NULL); }
324 
325   CodeGeneratorResponse* New(::google::protobuf::Arena* arena) const;
326   void CopyFrom(const ::google::protobuf::Message& from);
327   void MergeFrom(const ::google::protobuf::Message& from);
328   void CopyFrom(const CodeGeneratorResponse& from);
329   void MergeFrom(const CodeGeneratorResponse& from);
330   void Clear();
331   bool IsInitialized() const;
332 
333   int ByteSize() const;
334   bool MergePartialFromCodedStream(
335       ::google::protobuf::io::CodedInputStream* input);
336   void SerializeWithCachedSizes(
337       ::google::protobuf::io::CodedOutputStream* output) const;
338   ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
GetCachedSize()339   int GetCachedSize() const { return _cached_size_; }
340   private:
341   void SharedCtor();
342   void SharedDtor();
343   void SetCachedSize(int size) const;
344   void InternalSwap(CodeGeneratorResponse* other);
345   private:
GetArenaNoVirtual()346   inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
347     return _internal_metadata_.arena();
348   }
MaybeArenaPtr()349   inline void* MaybeArenaPtr() const {
350     return _internal_metadata_.raw_arena_ptr();
351   }
352   public:
353 
354   ::google::protobuf::Metadata GetMetadata() const;
355 
356   // nested types ----------------------------------------------------
357 
358   typedef CodeGeneratorResponse_File File;
359 
360   // accessors -------------------------------------------------------
361 
362   // optional string error = 1;
363   bool has_error() const;
364   void clear_error();
365   static const int kErrorFieldNumber = 1;
366   const ::std::string& error() const;
367   void set_error(const ::std::string& value);
368   void set_error(const char* value);
369   void set_error(const char* value, size_t size);
370   ::std::string* mutable_error();
371   ::std::string* release_error();
372   void set_allocated_error(::std::string* error);
373 
374   // repeated .google.protobuf.compiler.CodeGeneratorResponse.File file = 15;
375   int file_size() const;
376   void clear_file();
377   static const int kFileFieldNumber = 15;
378   const ::google::protobuf::compiler::CodeGeneratorResponse_File& file(int index) const;
379   ::google::protobuf::compiler::CodeGeneratorResponse_File* mutable_file(int index);
380   ::google::protobuf::compiler::CodeGeneratorResponse_File* add_file();
381   ::google::protobuf::RepeatedPtrField< ::google::protobuf::compiler::CodeGeneratorResponse_File >*
382       mutable_file();
383   const ::google::protobuf::RepeatedPtrField< ::google::protobuf::compiler::CodeGeneratorResponse_File >&
384       file() const;
385 
386   // @@protoc_insertion_point(class_scope:google.protobuf.compiler.CodeGeneratorResponse)
387  private:
388   inline void set_has_error();
389   inline void clear_has_error();
390 
391   ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
392   ::google::protobuf::uint32 _has_bits_[1];
393   mutable int _cached_size_;
394   ::google::protobuf::internal::ArenaStringPtr error_;
395   ::google::protobuf::RepeatedPtrField< ::google::protobuf::compiler::CodeGeneratorResponse_File > file_;
396   friend void LIBPROTOC_EXPORT protobuf_AddDesc_google_2fprotobuf_2fcompiler_2fplugin_2eproto();
397   friend void protobuf_AssignDesc_google_2fprotobuf_2fcompiler_2fplugin_2eproto();
398   friend void protobuf_ShutdownFile_google_2fprotobuf_2fcompiler_2fplugin_2eproto();
399 
400   void InitAsDefaultInstance();
401   static CodeGeneratorResponse* default_instance_;
402 };
403 // ===================================================================
404 
405 
406 // ===================================================================
407 
408 #if !PROTOBUF_INLINE_NOT_IN_HEADERS
409 // CodeGeneratorRequest
410 
411 // repeated string file_to_generate = 1;
file_to_generate_size()412 inline int CodeGeneratorRequest::file_to_generate_size() const {
413   return file_to_generate_.size();
414 }
clear_file_to_generate()415 inline void CodeGeneratorRequest::clear_file_to_generate() {
416   file_to_generate_.Clear();
417 }
file_to_generate(int index)418 inline const ::std::string& CodeGeneratorRequest::file_to_generate(int index) const {
419   // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
420   return file_to_generate_.Get(index);
421 }
mutable_file_to_generate(int index)422 inline ::std::string* CodeGeneratorRequest::mutable_file_to_generate(int index) {
423   // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
424   return file_to_generate_.Mutable(index);
425 }
set_file_to_generate(int index,const::std::string & value)426 inline void CodeGeneratorRequest::set_file_to_generate(int index, const ::std::string& value) {
427   // @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
428   file_to_generate_.Mutable(index)->assign(value);
429 }
set_file_to_generate(int index,const char * value)430 inline void CodeGeneratorRequest::set_file_to_generate(int index, const char* value) {
431   file_to_generate_.Mutable(index)->assign(value);
432   // @@protoc_insertion_point(field_set_char:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
433 }
set_file_to_generate(int index,const char * value,size_t size)434 inline void CodeGeneratorRequest::set_file_to_generate(int index, const char* value, size_t size) {
435   file_to_generate_.Mutable(index)->assign(
436     reinterpret_cast<const char*>(value), size);
437   // @@protoc_insertion_point(field_set_pointer:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
438 }
add_file_to_generate()439 inline ::std::string* CodeGeneratorRequest::add_file_to_generate() {
440   // @@protoc_insertion_point(field_add_mutable:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
441   return file_to_generate_.Add();
442 }
add_file_to_generate(const::std::string & value)443 inline void CodeGeneratorRequest::add_file_to_generate(const ::std::string& value) {
444   file_to_generate_.Add()->assign(value);
445   // @@protoc_insertion_point(field_add:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
446 }
add_file_to_generate(const char * value)447 inline void CodeGeneratorRequest::add_file_to_generate(const char* value) {
448   file_to_generate_.Add()->assign(value);
449   // @@protoc_insertion_point(field_add_char:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
450 }
add_file_to_generate(const char * value,size_t size)451 inline void CodeGeneratorRequest::add_file_to_generate(const char* value, size_t size) {
452   file_to_generate_.Add()->assign(reinterpret_cast<const char*>(value), size);
453   // @@protoc_insertion_point(field_add_pointer:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
454 }
455 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
file_to_generate()456 CodeGeneratorRequest::file_to_generate() const {
457   // @@protoc_insertion_point(field_list:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
458   return file_to_generate_;
459 }
460 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
mutable_file_to_generate()461 CodeGeneratorRequest::mutable_file_to_generate() {
462   // @@protoc_insertion_point(field_mutable_list:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
463   return &file_to_generate_;
464 }
465 
466 // optional string parameter = 2;
has_parameter()467 inline bool CodeGeneratorRequest::has_parameter() const {
468   return (_has_bits_[0] & 0x00000002u) != 0;
469 }
set_has_parameter()470 inline void CodeGeneratorRequest::set_has_parameter() {
471   _has_bits_[0] |= 0x00000002u;
472 }
clear_has_parameter()473 inline void CodeGeneratorRequest::clear_has_parameter() {
474   _has_bits_[0] &= ~0x00000002u;
475 }
clear_parameter()476 inline void CodeGeneratorRequest::clear_parameter() {
477   parameter_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
478   clear_has_parameter();
479 }
parameter()480 inline const ::std::string& CodeGeneratorRequest::parameter() const {
481   // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorRequest.parameter)
482   return parameter_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
483 }
set_parameter(const::std::string & value)484 inline void CodeGeneratorRequest::set_parameter(const ::std::string& value) {
485   set_has_parameter();
486   parameter_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
487   // @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorRequest.parameter)
488 }
set_parameter(const char * value)489 inline void CodeGeneratorRequest::set_parameter(const char* value) {
490   set_has_parameter();
491   parameter_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
492   // @@protoc_insertion_point(field_set_char:google.protobuf.compiler.CodeGeneratorRequest.parameter)
493 }
set_parameter(const char * value,size_t size)494 inline void CodeGeneratorRequest::set_parameter(const char* value, size_t size) {
495   set_has_parameter();
496   parameter_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
497       ::std::string(reinterpret_cast<const char*>(value), size));
498   // @@protoc_insertion_point(field_set_pointer:google.protobuf.compiler.CodeGeneratorRequest.parameter)
499 }
mutable_parameter()500 inline ::std::string* CodeGeneratorRequest::mutable_parameter() {
501   set_has_parameter();
502   // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorRequest.parameter)
503   return parameter_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
504 }
release_parameter()505 inline ::std::string* CodeGeneratorRequest::release_parameter() {
506   // @@protoc_insertion_point(field_release:google.protobuf.compiler.CodeGeneratorRequest.parameter)
507   clear_has_parameter();
508   return parameter_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
509 }
set_allocated_parameter(::std::string * parameter)510 inline void CodeGeneratorRequest::set_allocated_parameter(::std::string* parameter) {
511   if (parameter != NULL) {
512     set_has_parameter();
513   } else {
514     clear_has_parameter();
515   }
516   parameter_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), parameter);
517   // @@protoc_insertion_point(field_set_allocated:google.protobuf.compiler.CodeGeneratorRequest.parameter)
518 }
519 
520 // repeated .google.protobuf.FileDescriptorProto proto_file = 15;
proto_file_size()521 inline int CodeGeneratorRequest::proto_file_size() const {
522   return proto_file_.size();
523 }
clear_proto_file()524 inline void CodeGeneratorRequest::clear_proto_file() {
525   proto_file_.Clear();
526 }
proto_file(int index)527 inline const ::google::protobuf::FileDescriptorProto& CodeGeneratorRequest::proto_file(int index) const {
528   // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorRequest.proto_file)
529   return proto_file_.Get(index);
530 }
mutable_proto_file(int index)531 inline ::google::protobuf::FileDescriptorProto* CodeGeneratorRequest::mutable_proto_file(int index) {
532   // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorRequest.proto_file)
533   return proto_file_.Mutable(index);
534 }
add_proto_file()535 inline ::google::protobuf::FileDescriptorProto* CodeGeneratorRequest::add_proto_file() {
536   // @@protoc_insertion_point(field_add:google.protobuf.compiler.CodeGeneratorRequest.proto_file)
537   return proto_file_.Add();
538 }
539 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >*
mutable_proto_file()540 CodeGeneratorRequest::mutable_proto_file() {
541   // @@protoc_insertion_point(field_mutable_list:google.protobuf.compiler.CodeGeneratorRequest.proto_file)
542   return &proto_file_;
543 }
544 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >&
proto_file()545 CodeGeneratorRequest::proto_file() const {
546   // @@protoc_insertion_point(field_list:google.protobuf.compiler.CodeGeneratorRequest.proto_file)
547   return proto_file_;
548 }
549 
550 // -------------------------------------------------------------------
551 
552 // CodeGeneratorResponse_File
553 
554 // optional string name = 1;
has_name()555 inline bool CodeGeneratorResponse_File::has_name() const {
556   return (_has_bits_[0] & 0x00000001u) != 0;
557 }
set_has_name()558 inline void CodeGeneratorResponse_File::set_has_name() {
559   _has_bits_[0] |= 0x00000001u;
560 }
clear_has_name()561 inline void CodeGeneratorResponse_File::clear_has_name() {
562   _has_bits_[0] &= ~0x00000001u;
563 }
clear_name()564 inline void CodeGeneratorResponse_File::clear_name() {
565   name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
566   clear_has_name();
567 }
name()568 inline const ::std::string& CodeGeneratorResponse_File::name() const {
569   // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorResponse.File.name)
570   return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
571 }
set_name(const::std::string & value)572 inline void CodeGeneratorResponse_File::set_name(const ::std::string& value) {
573   set_has_name();
574   name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
575   // @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorResponse.File.name)
576 }
set_name(const char * value)577 inline void CodeGeneratorResponse_File::set_name(const char* value) {
578   set_has_name();
579   name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
580   // @@protoc_insertion_point(field_set_char:google.protobuf.compiler.CodeGeneratorResponse.File.name)
581 }
set_name(const char * value,size_t size)582 inline void CodeGeneratorResponse_File::set_name(const char* value, size_t size) {
583   set_has_name();
584   name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
585       ::std::string(reinterpret_cast<const char*>(value), size));
586   // @@protoc_insertion_point(field_set_pointer:google.protobuf.compiler.CodeGeneratorResponse.File.name)
587 }
mutable_name()588 inline ::std::string* CodeGeneratorResponse_File::mutable_name() {
589   set_has_name();
590   // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorResponse.File.name)
591   return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
592 }
release_name()593 inline ::std::string* CodeGeneratorResponse_File::release_name() {
594   // @@protoc_insertion_point(field_release:google.protobuf.compiler.CodeGeneratorResponse.File.name)
595   clear_has_name();
596   return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
597 }
set_allocated_name(::std::string * name)598 inline void CodeGeneratorResponse_File::set_allocated_name(::std::string* name) {
599   if (name != NULL) {
600     set_has_name();
601   } else {
602     clear_has_name();
603   }
604   name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
605   // @@protoc_insertion_point(field_set_allocated:google.protobuf.compiler.CodeGeneratorResponse.File.name)
606 }
607 
608 // optional string insertion_point = 2;
has_insertion_point()609 inline bool CodeGeneratorResponse_File::has_insertion_point() const {
610   return (_has_bits_[0] & 0x00000002u) != 0;
611 }
set_has_insertion_point()612 inline void CodeGeneratorResponse_File::set_has_insertion_point() {
613   _has_bits_[0] |= 0x00000002u;
614 }
clear_has_insertion_point()615 inline void CodeGeneratorResponse_File::clear_has_insertion_point() {
616   _has_bits_[0] &= ~0x00000002u;
617 }
clear_insertion_point()618 inline void CodeGeneratorResponse_File::clear_insertion_point() {
619   insertion_point_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
620   clear_has_insertion_point();
621 }
insertion_point()622 inline const ::std::string& CodeGeneratorResponse_File::insertion_point() const {
623   // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point)
624   return insertion_point_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
625 }
set_insertion_point(const::std::string & value)626 inline void CodeGeneratorResponse_File::set_insertion_point(const ::std::string& value) {
627   set_has_insertion_point();
628   insertion_point_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
629   // @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point)
630 }
set_insertion_point(const char * value)631 inline void CodeGeneratorResponse_File::set_insertion_point(const char* value) {
632   set_has_insertion_point();
633   insertion_point_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
634   // @@protoc_insertion_point(field_set_char:google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point)
635 }
set_insertion_point(const char * value,size_t size)636 inline void CodeGeneratorResponse_File::set_insertion_point(const char* value, size_t size) {
637   set_has_insertion_point();
638   insertion_point_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
639       ::std::string(reinterpret_cast<const char*>(value), size));
640   // @@protoc_insertion_point(field_set_pointer:google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point)
641 }
mutable_insertion_point()642 inline ::std::string* CodeGeneratorResponse_File::mutable_insertion_point() {
643   set_has_insertion_point();
644   // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point)
645   return insertion_point_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
646 }
release_insertion_point()647 inline ::std::string* CodeGeneratorResponse_File::release_insertion_point() {
648   // @@protoc_insertion_point(field_release:google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point)
649   clear_has_insertion_point();
650   return insertion_point_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
651 }
set_allocated_insertion_point(::std::string * insertion_point)652 inline void CodeGeneratorResponse_File::set_allocated_insertion_point(::std::string* insertion_point) {
653   if (insertion_point != NULL) {
654     set_has_insertion_point();
655   } else {
656     clear_has_insertion_point();
657   }
658   insertion_point_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), insertion_point);
659   // @@protoc_insertion_point(field_set_allocated:google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point)
660 }
661 
662 // optional string content = 15;
has_content()663 inline bool CodeGeneratorResponse_File::has_content() const {
664   return (_has_bits_[0] & 0x00000004u) != 0;
665 }
set_has_content()666 inline void CodeGeneratorResponse_File::set_has_content() {
667   _has_bits_[0] |= 0x00000004u;
668 }
clear_has_content()669 inline void CodeGeneratorResponse_File::clear_has_content() {
670   _has_bits_[0] &= ~0x00000004u;
671 }
clear_content()672 inline void CodeGeneratorResponse_File::clear_content() {
673   content_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
674   clear_has_content();
675 }
content()676 inline const ::std::string& CodeGeneratorResponse_File::content() const {
677   // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorResponse.File.content)
678   return content_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
679 }
set_content(const::std::string & value)680 inline void CodeGeneratorResponse_File::set_content(const ::std::string& value) {
681   set_has_content();
682   content_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
683   // @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorResponse.File.content)
684 }
set_content(const char * value)685 inline void CodeGeneratorResponse_File::set_content(const char* value) {
686   set_has_content();
687   content_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
688   // @@protoc_insertion_point(field_set_char:google.protobuf.compiler.CodeGeneratorResponse.File.content)
689 }
set_content(const char * value,size_t size)690 inline void CodeGeneratorResponse_File::set_content(const char* value, size_t size) {
691   set_has_content();
692   content_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
693       ::std::string(reinterpret_cast<const char*>(value), size));
694   // @@protoc_insertion_point(field_set_pointer:google.protobuf.compiler.CodeGeneratorResponse.File.content)
695 }
mutable_content()696 inline ::std::string* CodeGeneratorResponse_File::mutable_content() {
697   set_has_content();
698   // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorResponse.File.content)
699   return content_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
700 }
release_content()701 inline ::std::string* CodeGeneratorResponse_File::release_content() {
702   // @@protoc_insertion_point(field_release:google.protobuf.compiler.CodeGeneratorResponse.File.content)
703   clear_has_content();
704   return content_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
705 }
set_allocated_content(::std::string * content)706 inline void CodeGeneratorResponse_File::set_allocated_content(::std::string* content) {
707   if (content != NULL) {
708     set_has_content();
709   } else {
710     clear_has_content();
711   }
712   content_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), content);
713   // @@protoc_insertion_point(field_set_allocated:google.protobuf.compiler.CodeGeneratorResponse.File.content)
714 }
715 
716 // -------------------------------------------------------------------
717 
718 // CodeGeneratorResponse
719 
720 // optional string error = 1;
has_error()721 inline bool CodeGeneratorResponse::has_error() const {
722   return (_has_bits_[0] & 0x00000001u) != 0;
723 }
set_has_error()724 inline void CodeGeneratorResponse::set_has_error() {
725   _has_bits_[0] |= 0x00000001u;
726 }
clear_has_error()727 inline void CodeGeneratorResponse::clear_has_error() {
728   _has_bits_[0] &= ~0x00000001u;
729 }
clear_error()730 inline void CodeGeneratorResponse::clear_error() {
731   error_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
732   clear_has_error();
733 }
error()734 inline const ::std::string& CodeGeneratorResponse::error() const {
735   // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorResponse.error)
736   return error_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
737 }
set_error(const::std::string & value)738 inline void CodeGeneratorResponse::set_error(const ::std::string& value) {
739   set_has_error();
740   error_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
741   // @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorResponse.error)
742 }
set_error(const char * value)743 inline void CodeGeneratorResponse::set_error(const char* value) {
744   set_has_error();
745   error_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
746   // @@protoc_insertion_point(field_set_char:google.protobuf.compiler.CodeGeneratorResponse.error)
747 }
set_error(const char * value,size_t size)748 inline void CodeGeneratorResponse::set_error(const char* value, size_t size) {
749   set_has_error();
750   error_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
751       ::std::string(reinterpret_cast<const char*>(value), size));
752   // @@protoc_insertion_point(field_set_pointer:google.protobuf.compiler.CodeGeneratorResponse.error)
753 }
mutable_error()754 inline ::std::string* CodeGeneratorResponse::mutable_error() {
755   set_has_error();
756   // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorResponse.error)
757   return error_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
758 }
release_error()759 inline ::std::string* CodeGeneratorResponse::release_error() {
760   // @@protoc_insertion_point(field_release:google.protobuf.compiler.CodeGeneratorResponse.error)
761   clear_has_error();
762   return error_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
763 }
set_allocated_error(::std::string * error)764 inline void CodeGeneratorResponse::set_allocated_error(::std::string* error) {
765   if (error != NULL) {
766     set_has_error();
767   } else {
768     clear_has_error();
769   }
770   error_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), error);
771   // @@protoc_insertion_point(field_set_allocated:google.protobuf.compiler.CodeGeneratorResponse.error)
772 }
773 
774 // repeated .google.protobuf.compiler.CodeGeneratorResponse.File file = 15;
file_size()775 inline int CodeGeneratorResponse::file_size() const {
776   return file_.size();
777 }
clear_file()778 inline void CodeGeneratorResponse::clear_file() {
779   file_.Clear();
780 }
file(int index)781 inline const ::google::protobuf::compiler::CodeGeneratorResponse_File& CodeGeneratorResponse::file(int index) const {
782   // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorResponse.file)
783   return file_.Get(index);
784 }
mutable_file(int index)785 inline ::google::protobuf::compiler::CodeGeneratorResponse_File* CodeGeneratorResponse::mutable_file(int index) {
786   // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorResponse.file)
787   return file_.Mutable(index);
788 }
add_file()789 inline ::google::protobuf::compiler::CodeGeneratorResponse_File* CodeGeneratorResponse::add_file() {
790   // @@protoc_insertion_point(field_add:google.protobuf.compiler.CodeGeneratorResponse.file)
791   return file_.Add();
792 }
793 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::compiler::CodeGeneratorResponse_File >*
mutable_file()794 CodeGeneratorResponse::mutable_file() {
795   // @@protoc_insertion_point(field_mutable_list:google.protobuf.compiler.CodeGeneratorResponse.file)
796   return &file_;
797 }
798 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::compiler::CodeGeneratorResponse_File >&
file()799 CodeGeneratorResponse::file() const {
800   // @@protoc_insertion_point(field_list:google.protobuf.compiler.CodeGeneratorResponse.file)
801   return file_;
802 }
803 
804 #endif  // !PROTOBUF_INLINE_NOT_IN_HEADERS
805 // -------------------------------------------------------------------
806 
807 // -------------------------------------------------------------------
808 
809 
810 // @@protoc_insertion_point(namespace_scope)
811 
812 }  // namespace compiler
813 }  // namespace protobuf
814 }  // namespace google
815 
816 // @@protoc_insertion_point(global_scope)
817 
818 #endif  // PROTOBUF_google_2fprotobuf_2fcompiler_2fplugin_2eproto__INCLUDED
819