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