• 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 GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fcompiler_2fplugin_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fcompiler_2fplugin_2eproto
6 
7 #include <limits>
8 #include <string>
9 
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3009000
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 3009001 < 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/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arena.h>
25 #include <google/protobuf/arenastring.h>
26 #include <google/protobuf/generated_message_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/inlined_string_field.h>
29 #include <google/protobuf/metadata.h>
30 #include <google/protobuf/generated_message_reflection.h>
31 #include <google/protobuf/message.h>
32 #include <google/protobuf/repeated_field.h>  // IWYU pragma: export
33 #include <google/protobuf/extension_set.h>  // IWYU pragma: export
34 #include <google/protobuf/unknown_field_set.h>
35 #include <google/protobuf/descriptor.pb.h>
36 // @@protoc_insertion_point(includes)
37 #include <google/protobuf/port_def.inc>
38 #define PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fcompiler_2fplugin_2eproto PROTOC_EXPORT
39 #ifdef major
40 #undef major
41 #endif
42 #ifdef minor
43 #undef minor
44 #endif
45 PROTOBUF_NAMESPACE_OPEN
46 namespace internal {
47 class AnyMetadata;
48 }  // namespace internal
49 PROTOBUF_NAMESPACE_CLOSE
50 
51 // Internal implementation detail -- do not use these members.
52 struct PROTOC_EXPORT TableStruct_google_2fprotobuf_2fcompiler_2fplugin_2eproto {
53   static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
54     PROTOBUF_SECTION_VARIABLE(protodesc_cold);
55   static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
56     PROTOBUF_SECTION_VARIABLE(protodesc_cold);
57   static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[4]
58     PROTOBUF_SECTION_VARIABLE(protodesc_cold);
59   static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
60   static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
61   static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
62 };
63 extern PROTOC_EXPORT const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto;
64 PROTOBUF_NAMESPACE_OPEN
65 namespace compiler {
66 class CodeGeneratorRequest;
67 class CodeGeneratorRequestDefaultTypeInternal;
68 PROTOC_EXPORT extern CodeGeneratorRequestDefaultTypeInternal _CodeGeneratorRequest_default_instance_;
69 class CodeGeneratorResponse;
70 class CodeGeneratorResponseDefaultTypeInternal;
71 PROTOC_EXPORT extern CodeGeneratorResponseDefaultTypeInternal _CodeGeneratorResponse_default_instance_;
72 class CodeGeneratorResponse_File;
73 class CodeGeneratorResponse_FileDefaultTypeInternal;
74 PROTOC_EXPORT extern CodeGeneratorResponse_FileDefaultTypeInternal _CodeGeneratorResponse_File_default_instance_;
75 class Version;
76 class VersionDefaultTypeInternal;
77 PROTOC_EXPORT extern VersionDefaultTypeInternal _Version_default_instance_;
78 }  // namespace compiler
79 PROTOBUF_NAMESPACE_CLOSE
80 PROTOBUF_NAMESPACE_OPEN
81 template<> PROTOC_EXPORT PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorRequest* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorRequest>(Arena*);
82 template<> PROTOC_EXPORT PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse>(Arena*);
83 template<> PROTOC_EXPORT PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File>(Arena*);
84 template<> PROTOC_EXPORT PROTOBUF_NAMESPACE_ID::compiler::Version* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::compiler::Version>(Arena*);
85 PROTOBUF_NAMESPACE_CLOSE
86 PROTOBUF_NAMESPACE_OPEN
87 namespace compiler {
88 
89 // ===================================================================
90 
91 class PROTOC_EXPORT Version :
92     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.compiler.Version) */ {
93  public:
94   Version();
95   virtual ~Version();
96 
97   Version(const Version& from);
Version(Version && from)98   Version(Version&& from) noexcept
99     : Version() {
100     *this = ::std::move(from);
101   }
102 
103   inline Version& operator=(const Version& from) {
104     CopyFrom(from);
105     return *this;
106   }
107   inline Version& operator=(Version&& from) noexcept {
108     if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
109       if (this != &from) InternalSwap(&from);
110     } else {
111       CopyFrom(from);
112     }
113     return *this;
114   }
115 
unknown_fields()116   inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
117     return _internal_metadata_.unknown_fields();
118   }
mutable_unknown_fields()119   inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
120     return _internal_metadata_.mutable_unknown_fields();
121   }
122 
descriptor()123   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
124     return GetDescriptor();
125   }
GetDescriptor()126   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
127     return GetMetadataStatic().descriptor;
128   }
GetReflection()129   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
130     return GetMetadataStatic().reflection;
131   }
132   static const Version& default_instance();
133 
134   static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
internal_default_instance()135   static inline const Version* internal_default_instance() {
136     return reinterpret_cast<const Version*>(
137                &_Version_default_instance_);
138   }
139   static constexpr int kIndexInFileMessages =
140     0;
141 
swap(Version & a,Version & b)142   friend void swap(Version& a, Version& b) {
143     a.Swap(&b);
144   }
Swap(Version * other)145   inline void Swap(Version* other) {
146     if (other == this) return;
147     InternalSwap(other);
148   }
149 
150   // implements Message ----------------------------------------------
151 
New()152   inline Version* New() const final {
153     return CreateMaybeMessage<Version>(nullptr);
154   }
155 
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)156   Version* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
157     return CreateMaybeMessage<Version>(arena);
158   }
159   void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
160   void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
161   void CopyFrom(const Version& from);
162   void MergeFrom(const Version& from);
163   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
164   bool IsInitialized() const final;
165 
166   size_t ByteSizeLong() const final;
167   #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
168   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
169   #else
170   bool MergePartialFromCodedStream(
171       ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
172   #endif  // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
173   void SerializeWithCachedSizes(
174       ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
175   ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
176       ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
GetCachedSize()177   int GetCachedSize() const final { return _cached_size_.Get(); }
178 
179   private:
180   inline void SharedCtor();
181   inline void SharedDtor();
182   void SetCachedSize(int size) const final;
183   void InternalSwap(Version* other);
184   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()185   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
186     return "google.protobuf.compiler.Version";
187   }
188   private:
GetArenaNoVirtual()189   inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
190     return nullptr;
191   }
MaybeArenaPtr()192   inline void* MaybeArenaPtr() const {
193     return nullptr;
194   }
195   public:
196 
197   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
198   private:
GetMetadataStatic()199   static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
200     ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto);
201     return ::descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto.file_level_metadata[kIndexInFileMessages];
202   }
203 
204   public:
205 
206   // nested types ----------------------------------------------------
207 
208   // accessors -------------------------------------------------------
209 
210   enum : int {
211     kSuffixFieldNumber = 4,
212     kMajorFieldNumber = 1,
213     kMinorFieldNumber = 2,
214     kPatchFieldNumber = 3,
215   };
216   // optional string suffix = 4;
217   bool has_suffix() const;
218   void clear_suffix();
219   const std::string& suffix() const;
220   void set_suffix(const std::string& value);
221   void set_suffix(std::string&& value);
222   void set_suffix(const char* value);
223   void set_suffix(const char* value, size_t size);
224   std::string* mutable_suffix();
225   std::string* release_suffix();
226   void set_allocated_suffix(std::string* suffix);
227 
228   // optional int32 major = 1;
229   bool has_major() const;
230   void clear_major();
231   ::PROTOBUF_NAMESPACE_ID::int32 major() const;
232   void set_major(::PROTOBUF_NAMESPACE_ID::int32 value);
233 
234   // optional int32 minor = 2;
235   bool has_minor() const;
236   void clear_minor();
237   ::PROTOBUF_NAMESPACE_ID::int32 minor() const;
238   void set_minor(::PROTOBUF_NAMESPACE_ID::int32 value);
239 
240   // optional int32 patch = 3;
241   bool has_patch() const;
242   void clear_patch();
243   ::PROTOBUF_NAMESPACE_ID::int32 patch() const;
244   void set_patch(::PROTOBUF_NAMESPACE_ID::int32 value);
245 
246   // @@protoc_insertion_point(class_scope:google.protobuf.compiler.Version)
247  private:
248   class _Internal;
249 
250   ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
251   ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
252   mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
253   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr suffix_;
254   ::PROTOBUF_NAMESPACE_ID::int32 major_;
255   ::PROTOBUF_NAMESPACE_ID::int32 minor_;
256   ::PROTOBUF_NAMESPACE_ID::int32 patch_;
257   friend struct ::TableStruct_google_2fprotobuf_2fcompiler_2fplugin_2eproto;
258 };
259 // -------------------------------------------------------------------
260 
261 class PROTOC_EXPORT CodeGeneratorRequest :
262     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.compiler.CodeGeneratorRequest) */ {
263  public:
264   CodeGeneratorRequest();
265   virtual ~CodeGeneratorRequest();
266 
267   CodeGeneratorRequest(const CodeGeneratorRequest& from);
CodeGeneratorRequest(CodeGeneratorRequest && from)268   CodeGeneratorRequest(CodeGeneratorRequest&& from) noexcept
269     : CodeGeneratorRequest() {
270     *this = ::std::move(from);
271   }
272 
273   inline CodeGeneratorRequest& operator=(const CodeGeneratorRequest& from) {
274     CopyFrom(from);
275     return *this;
276   }
277   inline CodeGeneratorRequest& operator=(CodeGeneratorRequest&& from) noexcept {
278     if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
279       if (this != &from) InternalSwap(&from);
280     } else {
281       CopyFrom(from);
282     }
283     return *this;
284   }
285 
unknown_fields()286   inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
287     return _internal_metadata_.unknown_fields();
288   }
mutable_unknown_fields()289   inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
290     return _internal_metadata_.mutable_unknown_fields();
291   }
292 
descriptor()293   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
294     return GetDescriptor();
295   }
GetDescriptor()296   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
297     return GetMetadataStatic().descriptor;
298   }
GetReflection()299   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
300     return GetMetadataStatic().reflection;
301   }
302   static const CodeGeneratorRequest& default_instance();
303 
304   static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
internal_default_instance()305   static inline const CodeGeneratorRequest* internal_default_instance() {
306     return reinterpret_cast<const CodeGeneratorRequest*>(
307                &_CodeGeneratorRequest_default_instance_);
308   }
309   static constexpr int kIndexInFileMessages =
310     1;
311 
swap(CodeGeneratorRequest & a,CodeGeneratorRequest & b)312   friend void swap(CodeGeneratorRequest& a, CodeGeneratorRequest& b) {
313     a.Swap(&b);
314   }
Swap(CodeGeneratorRequest * other)315   inline void Swap(CodeGeneratorRequest* other) {
316     if (other == this) return;
317     InternalSwap(other);
318   }
319 
320   // implements Message ----------------------------------------------
321 
New()322   inline CodeGeneratorRequest* New() const final {
323     return CreateMaybeMessage<CodeGeneratorRequest>(nullptr);
324   }
325 
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)326   CodeGeneratorRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
327     return CreateMaybeMessage<CodeGeneratorRequest>(arena);
328   }
329   void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
330   void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
331   void CopyFrom(const CodeGeneratorRequest& from);
332   void MergeFrom(const CodeGeneratorRequest& from);
333   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
334   bool IsInitialized() const final;
335 
336   size_t ByteSizeLong() const final;
337   #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
338   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
339   #else
340   bool MergePartialFromCodedStream(
341       ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
342   #endif  // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
343   void SerializeWithCachedSizes(
344       ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
345   ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
346       ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
GetCachedSize()347   int GetCachedSize() const final { return _cached_size_.Get(); }
348 
349   private:
350   inline void SharedCtor();
351   inline void SharedDtor();
352   void SetCachedSize(int size) const final;
353   void InternalSwap(CodeGeneratorRequest* other);
354   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()355   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
356     return "google.protobuf.compiler.CodeGeneratorRequest";
357   }
358   private:
GetArenaNoVirtual()359   inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
360     return nullptr;
361   }
MaybeArenaPtr()362   inline void* MaybeArenaPtr() const {
363     return nullptr;
364   }
365   public:
366 
367   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
368   private:
GetMetadataStatic()369   static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
370     ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto);
371     return ::descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto.file_level_metadata[kIndexInFileMessages];
372   }
373 
374   public:
375 
376   // nested types ----------------------------------------------------
377 
378   // accessors -------------------------------------------------------
379 
380   enum : int {
381     kFileToGenerateFieldNumber = 1,
382     kProtoFileFieldNumber = 15,
383     kParameterFieldNumber = 2,
384     kCompilerVersionFieldNumber = 3,
385   };
386   // repeated string file_to_generate = 1;
387   int file_to_generate_size() const;
388   void clear_file_to_generate();
389   const std::string& file_to_generate(int index) const;
390   std::string* mutable_file_to_generate(int index);
391   void set_file_to_generate(int index, const std::string& value);
392   void set_file_to_generate(int index, std::string&& value);
393   void set_file_to_generate(int index, const char* value);
394   void set_file_to_generate(int index, const char* value, size_t size);
395   std::string* add_file_to_generate();
396   void add_file_to_generate(const std::string& value);
397   void add_file_to_generate(std::string&& value);
398   void add_file_to_generate(const char* value);
399   void add_file_to_generate(const char* value, size_t size);
400   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& file_to_generate() const;
401   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_file_to_generate();
402 
403   // repeated .google.protobuf.FileDescriptorProto proto_file = 15;
404   int proto_file_size() const;
405   void clear_proto_file();
406   PROTOBUF_NAMESPACE_ID::FileDescriptorProto* mutable_proto_file(int index);
407   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FileDescriptorProto >*
408       mutable_proto_file();
409   const PROTOBUF_NAMESPACE_ID::FileDescriptorProto& proto_file(int index) const;
410   PROTOBUF_NAMESPACE_ID::FileDescriptorProto* add_proto_file();
411   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FileDescriptorProto >&
412       proto_file() const;
413 
414   // optional string parameter = 2;
415   bool has_parameter() const;
416   void clear_parameter();
417   const std::string& parameter() const;
418   void set_parameter(const std::string& value);
419   void set_parameter(std::string&& value);
420   void set_parameter(const char* value);
421   void set_parameter(const char* value, size_t size);
422   std::string* mutable_parameter();
423   std::string* release_parameter();
424   void set_allocated_parameter(std::string* parameter);
425 
426   // optional .google.protobuf.compiler.Version compiler_version = 3;
427   bool has_compiler_version() const;
428   void clear_compiler_version();
429   const PROTOBUF_NAMESPACE_ID::compiler::Version& compiler_version() const;
430   PROTOBUF_NAMESPACE_ID::compiler::Version* release_compiler_version();
431   PROTOBUF_NAMESPACE_ID::compiler::Version* mutable_compiler_version();
432   void set_allocated_compiler_version(PROTOBUF_NAMESPACE_ID::compiler::Version* compiler_version);
433 
434   // @@protoc_insertion_point(class_scope:google.protobuf.compiler.CodeGeneratorRequest)
435  private:
436   class _Internal;
437 
438   ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
439   ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
440   mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
441   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> file_to_generate_;
442   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FileDescriptorProto > proto_file_;
443   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr parameter_;
444   PROTOBUF_NAMESPACE_ID::compiler::Version* compiler_version_;
445   friend struct ::TableStruct_google_2fprotobuf_2fcompiler_2fplugin_2eproto;
446 };
447 // -------------------------------------------------------------------
448 
449 class PROTOC_EXPORT CodeGeneratorResponse_File :
450     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.compiler.CodeGeneratorResponse.File) */ {
451  public:
452   CodeGeneratorResponse_File();
453   virtual ~CodeGeneratorResponse_File();
454 
455   CodeGeneratorResponse_File(const CodeGeneratorResponse_File& from);
CodeGeneratorResponse_File(CodeGeneratorResponse_File && from)456   CodeGeneratorResponse_File(CodeGeneratorResponse_File&& from) noexcept
457     : CodeGeneratorResponse_File() {
458     *this = ::std::move(from);
459   }
460 
461   inline CodeGeneratorResponse_File& operator=(const CodeGeneratorResponse_File& from) {
462     CopyFrom(from);
463     return *this;
464   }
465   inline CodeGeneratorResponse_File& operator=(CodeGeneratorResponse_File&& from) noexcept {
466     if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
467       if (this != &from) InternalSwap(&from);
468     } else {
469       CopyFrom(from);
470     }
471     return *this;
472   }
473 
unknown_fields()474   inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
475     return _internal_metadata_.unknown_fields();
476   }
mutable_unknown_fields()477   inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
478     return _internal_metadata_.mutable_unknown_fields();
479   }
480 
descriptor()481   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
482     return GetDescriptor();
483   }
GetDescriptor()484   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
485     return GetMetadataStatic().descriptor;
486   }
GetReflection()487   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
488     return GetMetadataStatic().reflection;
489   }
490   static const CodeGeneratorResponse_File& default_instance();
491 
492   static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
internal_default_instance()493   static inline const CodeGeneratorResponse_File* internal_default_instance() {
494     return reinterpret_cast<const CodeGeneratorResponse_File*>(
495                &_CodeGeneratorResponse_File_default_instance_);
496   }
497   static constexpr int kIndexInFileMessages =
498     2;
499 
swap(CodeGeneratorResponse_File & a,CodeGeneratorResponse_File & b)500   friend void swap(CodeGeneratorResponse_File& a, CodeGeneratorResponse_File& b) {
501     a.Swap(&b);
502   }
Swap(CodeGeneratorResponse_File * other)503   inline void Swap(CodeGeneratorResponse_File* other) {
504     if (other == this) return;
505     InternalSwap(other);
506   }
507 
508   // implements Message ----------------------------------------------
509 
New()510   inline CodeGeneratorResponse_File* New() const final {
511     return CreateMaybeMessage<CodeGeneratorResponse_File>(nullptr);
512   }
513 
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)514   CodeGeneratorResponse_File* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
515     return CreateMaybeMessage<CodeGeneratorResponse_File>(arena);
516   }
517   void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
518   void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
519   void CopyFrom(const CodeGeneratorResponse_File& from);
520   void MergeFrom(const CodeGeneratorResponse_File& from);
521   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
522   bool IsInitialized() const final;
523 
524   size_t ByteSizeLong() const final;
525   #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
526   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
527   #else
528   bool MergePartialFromCodedStream(
529       ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
530   #endif  // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
531   void SerializeWithCachedSizes(
532       ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
533   ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
534       ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
GetCachedSize()535   int GetCachedSize() const final { return _cached_size_.Get(); }
536 
537   private:
538   inline void SharedCtor();
539   inline void SharedDtor();
540   void SetCachedSize(int size) const final;
541   void InternalSwap(CodeGeneratorResponse_File* other);
542   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()543   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
544     return "google.protobuf.compiler.CodeGeneratorResponse.File";
545   }
546   private:
GetArenaNoVirtual()547   inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
548     return nullptr;
549   }
MaybeArenaPtr()550   inline void* MaybeArenaPtr() const {
551     return nullptr;
552   }
553   public:
554 
555   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
556   private:
GetMetadataStatic()557   static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
558     ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto);
559     return ::descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto.file_level_metadata[kIndexInFileMessages];
560   }
561 
562   public:
563 
564   // nested types ----------------------------------------------------
565 
566   // accessors -------------------------------------------------------
567 
568   enum : int {
569     kNameFieldNumber = 1,
570     kInsertionPointFieldNumber = 2,
571     kContentFieldNumber = 15,
572   };
573   // optional string name = 1;
574   bool has_name() const;
575   void clear_name();
576   const std::string& name() const;
577   void set_name(const std::string& value);
578   void set_name(std::string&& value);
579   void set_name(const char* value);
580   void set_name(const char* value, size_t size);
581   std::string* mutable_name();
582   std::string* release_name();
583   void set_allocated_name(std::string* name);
584 
585   // optional string insertion_point = 2;
586   bool has_insertion_point() const;
587   void clear_insertion_point();
588   const std::string& insertion_point() const;
589   void set_insertion_point(const std::string& value);
590   void set_insertion_point(std::string&& value);
591   void set_insertion_point(const char* value);
592   void set_insertion_point(const char* value, size_t size);
593   std::string* mutable_insertion_point();
594   std::string* release_insertion_point();
595   void set_allocated_insertion_point(std::string* insertion_point);
596 
597   // optional string content = 15;
598   bool has_content() const;
599   void clear_content();
600   const std::string& content() const;
601   void set_content(const std::string& value);
602   void set_content(std::string&& value);
603   void set_content(const char* value);
604   void set_content(const char* value, size_t size);
605   std::string* mutable_content();
606   std::string* release_content();
607   void set_allocated_content(std::string* content);
608 
609   // @@protoc_insertion_point(class_scope:google.protobuf.compiler.CodeGeneratorResponse.File)
610  private:
611   class _Internal;
612 
613   ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
614   ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
615   mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
616   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
617   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr insertion_point_;
618   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr content_;
619   friend struct ::TableStruct_google_2fprotobuf_2fcompiler_2fplugin_2eproto;
620 };
621 // -------------------------------------------------------------------
622 
623 class PROTOC_EXPORT CodeGeneratorResponse :
624     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.compiler.CodeGeneratorResponse) */ {
625  public:
626   CodeGeneratorResponse();
627   virtual ~CodeGeneratorResponse();
628 
629   CodeGeneratorResponse(const CodeGeneratorResponse& from);
CodeGeneratorResponse(CodeGeneratorResponse && from)630   CodeGeneratorResponse(CodeGeneratorResponse&& from) noexcept
631     : CodeGeneratorResponse() {
632     *this = ::std::move(from);
633   }
634 
635   inline CodeGeneratorResponse& operator=(const CodeGeneratorResponse& from) {
636     CopyFrom(from);
637     return *this;
638   }
639   inline CodeGeneratorResponse& operator=(CodeGeneratorResponse&& from) noexcept {
640     if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
641       if (this != &from) InternalSwap(&from);
642     } else {
643       CopyFrom(from);
644     }
645     return *this;
646   }
647 
unknown_fields()648   inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
649     return _internal_metadata_.unknown_fields();
650   }
mutable_unknown_fields()651   inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
652     return _internal_metadata_.mutable_unknown_fields();
653   }
654 
descriptor()655   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
656     return GetDescriptor();
657   }
GetDescriptor()658   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
659     return GetMetadataStatic().descriptor;
660   }
GetReflection()661   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
662     return GetMetadataStatic().reflection;
663   }
664   static const CodeGeneratorResponse& default_instance();
665 
666   static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
internal_default_instance()667   static inline const CodeGeneratorResponse* internal_default_instance() {
668     return reinterpret_cast<const CodeGeneratorResponse*>(
669                &_CodeGeneratorResponse_default_instance_);
670   }
671   static constexpr int kIndexInFileMessages =
672     3;
673 
swap(CodeGeneratorResponse & a,CodeGeneratorResponse & b)674   friend void swap(CodeGeneratorResponse& a, CodeGeneratorResponse& b) {
675     a.Swap(&b);
676   }
Swap(CodeGeneratorResponse * other)677   inline void Swap(CodeGeneratorResponse* other) {
678     if (other == this) return;
679     InternalSwap(other);
680   }
681 
682   // implements Message ----------------------------------------------
683 
New()684   inline CodeGeneratorResponse* New() const final {
685     return CreateMaybeMessage<CodeGeneratorResponse>(nullptr);
686   }
687 
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)688   CodeGeneratorResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
689     return CreateMaybeMessage<CodeGeneratorResponse>(arena);
690   }
691   void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
692   void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
693   void CopyFrom(const CodeGeneratorResponse& from);
694   void MergeFrom(const CodeGeneratorResponse& from);
695   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
696   bool IsInitialized() const final;
697 
698   size_t ByteSizeLong() const final;
699   #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
700   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
701   #else
702   bool MergePartialFromCodedStream(
703       ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
704   #endif  // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
705   void SerializeWithCachedSizes(
706       ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
707   ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
708       ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
GetCachedSize()709   int GetCachedSize() const final { return _cached_size_.Get(); }
710 
711   private:
712   inline void SharedCtor();
713   inline void SharedDtor();
714   void SetCachedSize(int size) const final;
715   void InternalSwap(CodeGeneratorResponse* other);
716   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()717   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
718     return "google.protobuf.compiler.CodeGeneratorResponse";
719   }
720   private:
GetArenaNoVirtual()721   inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
722     return nullptr;
723   }
MaybeArenaPtr()724   inline void* MaybeArenaPtr() const {
725     return nullptr;
726   }
727   public:
728 
729   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
730   private:
GetMetadataStatic()731   static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
732     ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto);
733     return ::descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto.file_level_metadata[kIndexInFileMessages];
734   }
735 
736   public:
737 
738   // nested types ----------------------------------------------------
739 
740   typedef CodeGeneratorResponse_File File;
741 
742   // accessors -------------------------------------------------------
743 
744   enum : int {
745     kFileFieldNumber = 15,
746     kErrorFieldNumber = 1,
747   };
748   // repeated .google.protobuf.compiler.CodeGeneratorResponse.File file = 15;
749   int file_size() const;
750   void clear_file();
751   PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File* mutable_file(int index);
752   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File >*
753       mutable_file();
754   const PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File& file(int index) const;
755   PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File* add_file();
756   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File >&
757       file() const;
758 
759   // optional string error = 1;
760   bool has_error() const;
761   void clear_error();
762   const std::string& error() const;
763   void set_error(const std::string& value);
764   void set_error(std::string&& value);
765   void set_error(const char* value);
766   void set_error(const char* value, size_t size);
767   std::string* mutable_error();
768   std::string* release_error();
769   void set_allocated_error(std::string* error);
770 
771   // @@protoc_insertion_point(class_scope:google.protobuf.compiler.CodeGeneratorResponse)
772  private:
773   class _Internal;
774 
775   ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
776   ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
777   mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
778   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File > file_;
779   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr error_;
780   friend struct ::TableStruct_google_2fprotobuf_2fcompiler_2fplugin_2eproto;
781 };
782 // ===================================================================
783 
784 
785 // ===================================================================
786 
787 #ifdef __GNUC__
788   #pragma GCC diagnostic push
789   #pragma GCC diagnostic ignored "-Wstrict-aliasing"
790 #endif  // __GNUC__
791 // Version
792 
793 // optional int32 major = 1;
has_major()794 inline bool Version::has_major() const {
795   return (_has_bits_[0] & 0x00000002u) != 0;
796 }
clear_major()797 inline void Version::clear_major() {
798   major_ = 0;
799   _has_bits_[0] &= ~0x00000002u;
800 }
major()801 inline ::PROTOBUF_NAMESPACE_ID::int32 Version::major() const {
802   // @@protoc_insertion_point(field_get:google.protobuf.compiler.Version.major)
803   return major_;
804 }
set_major(::PROTOBUF_NAMESPACE_ID::int32 value)805 inline void Version::set_major(::PROTOBUF_NAMESPACE_ID::int32 value) {
806   _has_bits_[0] |= 0x00000002u;
807   major_ = value;
808   // @@protoc_insertion_point(field_set:google.protobuf.compiler.Version.major)
809 }
810 
811 // optional int32 minor = 2;
has_minor()812 inline bool Version::has_minor() const {
813   return (_has_bits_[0] & 0x00000004u) != 0;
814 }
clear_minor()815 inline void Version::clear_minor() {
816   minor_ = 0;
817   _has_bits_[0] &= ~0x00000004u;
818 }
minor()819 inline ::PROTOBUF_NAMESPACE_ID::int32 Version::minor() const {
820   // @@protoc_insertion_point(field_get:google.protobuf.compiler.Version.minor)
821   return minor_;
822 }
set_minor(::PROTOBUF_NAMESPACE_ID::int32 value)823 inline void Version::set_minor(::PROTOBUF_NAMESPACE_ID::int32 value) {
824   _has_bits_[0] |= 0x00000004u;
825   minor_ = value;
826   // @@protoc_insertion_point(field_set:google.protobuf.compiler.Version.minor)
827 }
828 
829 // optional int32 patch = 3;
has_patch()830 inline bool Version::has_patch() const {
831   return (_has_bits_[0] & 0x00000008u) != 0;
832 }
clear_patch()833 inline void Version::clear_patch() {
834   patch_ = 0;
835   _has_bits_[0] &= ~0x00000008u;
836 }
patch()837 inline ::PROTOBUF_NAMESPACE_ID::int32 Version::patch() const {
838   // @@protoc_insertion_point(field_get:google.protobuf.compiler.Version.patch)
839   return patch_;
840 }
set_patch(::PROTOBUF_NAMESPACE_ID::int32 value)841 inline void Version::set_patch(::PROTOBUF_NAMESPACE_ID::int32 value) {
842   _has_bits_[0] |= 0x00000008u;
843   patch_ = value;
844   // @@protoc_insertion_point(field_set:google.protobuf.compiler.Version.patch)
845 }
846 
847 // optional string suffix = 4;
has_suffix()848 inline bool Version::has_suffix() const {
849   return (_has_bits_[0] & 0x00000001u) != 0;
850 }
clear_suffix()851 inline void Version::clear_suffix() {
852   suffix_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
853   _has_bits_[0] &= ~0x00000001u;
854 }
suffix()855 inline const std::string& Version::suffix() const {
856   // @@protoc_insertion_point(field_get:google.protobuf.compiler.Version.suffix)
857   return suffix_.GetNoArena();
858 }
set_suffix(const std::string & value)859 inline void Version::set_suffix(const std::string& value) {
860   _has_bits_[0] |= 0x00000001u;
861   suffix_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
862   // @@protoc_insertion_point(field_set:google.protobuf.compiler.Version.suffix)
863 }
set_suffix(std::string && value)864 inline void Version::set_suffix(std::string&& value) {
865   _has_bits_[0] |= 0x00000001u;
866   suffix_.SetNoArena(
867     &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
868   // @@protoc_insertion_point(field_set_rvalue:google.protobuf.compiler.Version.suffix)
869 }
set_suffix(const char * value)870 inline void Version::set_suffix(const char* value) {
871   GOOGLE_DCHECK(value != nullptr);
872   _has_bits_[0] |= 0x00000001u;
873   suffix_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
874   // @@protoc_insertion_point(field_set_char:google.protobuf.compiler.Version.suffix)
875 }
set_suffix(const char * value,size_t size)876 inline void Version::set_suffix(const char* value, size_t size) {
877   _has_bits_[0] |= 0x00000001u;
878   suffix_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
879       ::std::string(reinterpret_cast<const char*>(value), size));
880   // @@protoc_insertion_point(field_set_pointer:google.protobuf.compiler.Version.suffix)
881 }
mutable_suffix()882 inline std::string* Version::mutable_suffix() {
883   _has_bits_[0] |= 0x00000001u;
884   // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.Version.suffix)
885   return suffix_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
886 }
release_suffix()887 inline std::string* Version::release_suffix() {
888   // @@protoc_insertion_point(field_release:google.protobuf.compiler.Version.suffix)
889   if (!has_suffix()) {
890     return nullptr;
891   }
892   _has_bits_[0] &= ~0x00000001u;
893   return suffix_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
894 }
set_allocated_suffix(std::string * suffix)895 inline void Version::set_allocated_suffix(std::string* suffix) {
896   if (suffix != nullptr) {
897     _has_bits_[0] |= 0x00000001u;
898   } else {
899     _has_bits_[0] &= ~0x00000001u;
900   }
901   suffix_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), suffix);
902   // @@protoc_insertion_point(field_set_allocated:google.protobuf.compiler.Version.suffix)
903 }
904 
905 // -------------------------------------------------------------------
906 
907 // CodeGeneratorRequest
908 
909 // repeated string file_to_generate = 1;
file_to_generate_size()910 inline int CodeGeneratorRequest::file_to_generate_size() const {
911   return file_to_generate_.size();
912 }
clear_file_to_generate()913 inline void CodeGeneratorRequest::clear_file_to_generate() {
914   file_to_generate_.Clear();
915 }
file_to_generate(int index)916 inline const std::string& CodeGeneratorRequest::file_to_generate(int index) const {
917   // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
918   return file_to_generate_.Get(index);
919 }
mutable_file_to_generate(int index)920 inline std::string* CodeGeneratorRequest::mutable_file_to_generate(int index) {
921   // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
922   return file_to_generate_.Mutable(index);
923 }
set_file_to_generate(int index,const std::string & value)924 inline void CodeGeneratorRequest::set_file_to_generate(int index, const std::string& value) {
925   // @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
926   file_to_generate_.Mutable(index)->assign(value);
927 }
set_file_to_generate(int index,std::string && value)928 inline void CodeGeneratorRequest::set_file_to_generate(int index, std::string&& value) {
929   // @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
930   file_to_generate_.Mutable(index)->assign(std::move(value));
931 }
set_file_to_generate(int index,const char * value)932 inline void CodeGeneratorRequest::set_file_to_generate(int index, const char* value) {
933   GOOGLE_DCHECK(value != nullptr);
934   file_to_generate_.Mutable(index)->assign(value);
935   // @@protoc_insertion_point(field_set_char:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
936 }
set_file_to_generate(int index,const char * value,size_t size)937 inline void CodeGeneratorRequest::set_file_to_generate(int index, const char* value, size_t size) {
938   file_to_generate_.Mutable(index)->assign(
939     reinterpret_cast<const char*>(value), size);
940   // @@protoc_insertion_point(field_set_pointer:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
941 }
add_file_to_generate()942 inline std::string* CodeGeneratorRequest::add_file_to_generate() {
943   // @@protoc_insertion_point(field_add_mutable:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
944   return file_to_generate_.Add();
945 }
add_file_to_generate(const std::string & value)946 inline void CodeGeneratorRequest::add_file_to_generate(const std::string& value) {
947   file_to_generate_.Add()->assign(value);
948   // @@protoc_insertion_point(field_add:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
949 }
add_file_to_generate(std::string && value)950 inline void CodeGeneratorRequest::add_file_to_generate(std::string&& value) {
951   file_to_generate_.Add(std::move(value));
952   // @@protoc_insertion_point(field_add:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
953 }
add_file_to_generate(const char * value)954 inline void CodeGeneratorRequest::add_file_to_generate(const char* value) {
955   GOOGLE_DCHECK(value != nullptr);
956   file_to_generate_.Add()->assign(value);
957   // @@protoc_insertion_point(field_add_char:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
958 }
add_file_to_generate(const char * value,size_t size)959 inline void CodeGeneratorRequest::add_file_to_generate(const char* value, size_t size) {
960   file_to_generate_.Add()->assign(reinterpret_cast<const char*>(value), size);
961   // @@protoc_insertion_point(field_add_pointer:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
962 }
963 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
file_to_generate()964 CodeGeneratorRequest::file_to_generate() const {
965   // @@protoc_insertion_point(field_list:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
966   return file_to_generate_;
967 }
968 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
mutable_file_to_generate()969 CodeGeneratorRequest::mutable_file_to_generate() {
970   // @@protoc_insertion_point(field_mutable_list:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
971   return &file_to_generate_;
972 }
973 
974 // optional string parameter = 2;
has_parameter()975 inline bool CodeGeneratorRequest::has_parameter() const {
976   return (_has_bits_[0] & 0x00000001u) != 0;
977 }
clear_parameter()978 inline void CodeGeneratorRequest::clear_parameter() {
979   parameter_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
980   _has_bits_[0] &= ~0x00000001u;
981 }
parameter()982 inline const std::string& CodeGeneratorRequest::parameter() const {
983   // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorRequest.parameter)
984   return parameter_.GetNoArena();
985 }
set_parameter(const std::string & value)986 inline void CodeGeneratorRequest::set_parameter(const std::string& value) {
987   _has_bits_[0] |= 0x00000001u;
988   parameter_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
989   // @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorRequest.parameter)
990 }
set_parameter(std::string && value)991 inline void CodeGeneratorRequest::set_parameter(std::string&& value) {
992   _has_bits_[0] |= 0x00000001u;
993   parameter_.SetNoArena(
994     &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
995   // @@protoc_insertion_point(field_set_rvalue:google.protobuf.compiler.CodeGeneratorRequest.parameter)
996 }
set_parameter(const char * value)997 inline void CodeGeneratorRequest::set_parameter(const char* value) {
998   GOOGLE_DCHECK(value != nullptr);
999   _has_bits_[0] |= 0x00000001u;
1000   parameter_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1001   // @@protoc_insertion_point(field_set_char:google.protobuf.compiler.CodeGeneratorRequest.parameter)
1002 }
set_parameter(const char * value,size_t size)1003 inline void CodeGeneratorRequest::set_parameter(const char* value, size_t size) {
1004   _has_bits_[0] |= 0x00000001u;
1005   parameter_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1006       ::std::string(reinterpret_cast<const char*>(value), size));
1007   // @@protoc_insertion_point(field_set_pointer:google.protobuf.compiler.CodeGeneratorRequest.parameter)
1008 }
mutable_parameter()1009 inline std::string* CodeGeneratorRequest::mutable_parameter() {
1010   _has_bits_[0] |= 0x00000001u;
1011   // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorRequest.parameter)
1012   return parameter_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1013 }
release_parameter()1014 inline std::string* CodeGeneratorRequest::release_parameter() {
1015   // @@protoc_insertion_point(field_release:google.protobuf.compiler.CodeGeneratorRequest.parameter)
1016   if (!has_parameter()) {
1017     return nullptr;
1018   }
1019   _has_bits_[0] &= ~0x00000001u;
1020   return parameter_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1021 }
set_allocated_parameter(std::string * parameter)1022 inline void CodeGeneratorRequest::set_allocated_parameter(std::string* parameter) {
1023   if (parameter != nullptr) {
1024     _has_bits_[0] |= 0x00000001u;
1025   } else {
1026     _has_bits_[0] &= ~0x00000001u;
1027   }
1028   parameter_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), parameter);
1029   // @@protoc_insertion_point(field_set_allocated:google.protobuf.compiler.CodeGeneratorRequest.parameter)
1030 }
1031 
1032 // repeated .google.protobuf.FileDescriptorProto proto_file = 15;
proto_file_size()1033 inline int CodeGeneratorRequest::proto_file_size() const {
1034   return proto_file_.size();
1035 }
mutable_proto_file(int index)1036 inline PROTOBUF_NAMESPACE_ID::FileDescriptorProto* CodeGeneratorRequest::mutable_proto_file(int index) {
1037   // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorRequest.proto_file)
1038   return proto_file_.Mutable(index);
1039 }
1040 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FileDescriptorProto >*
mutable_proto_file()1041 CodeGeneratorRequest::mutable_proto_file() {
1042   // @@protoc_insertion_point(field_mutable_list:google.protobuf.compiler.CodeGeneratorRequest.proto_file)
1043   return &proto_file_;
1044 }
proto_file(int index)1045 inline const PROTOBUF_NAMESPACE_ID::FileDescriptorProto& CodeGeneratorRequest::proto_file(int index) const {
1046   // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorRequest.proto_file)
1047   return proto_file_.Get(index);
1048 }
add_proto_file()1049 inline PROTOBUF_NAMESPACE_ID::FileDescriptorProto* CodeGeneratorRequest::add_proto_file() {
1050   // @@protoc_insertion_point(field_add:google.protobuf.compiler.CodeGeneratorRequest.proto_file)
1051   return proto_file_.Add();
1052 }
1053 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FileDescriptorProto >&
proto_file()1054 CodeGeneratorRequest::proto_file() const {
1055   // @@protoc_insertion_point(field_list:google.protobuf.compiler.CodeGeneratorRequest.proto_file)
1056   return proto_file_;
1057 }
1058 
1059 // optional .google.protobuf.compiler.Version compiler_version = 3;
has_compiler_version()1060 inline bool CodeGeneratorRequest::has_compiler_version() const {
1061   return (_has_bits_[0] & 0x00000002u) != 0;
1062 }
clear_compiler_version()1063 inline void CodeGeneratorRequest::clear_compiler_version() {
1064   if (compiler_version_ != nullptr) compiler_version_->Clear();
1065   _has_bits_[0] &= ~0x00000002u;
1066 }
compiler_version()1067 inline const PROTOBUF_NAMESPACE_ID::compiler::Version& CodeGeneratorRequest::compiler_version() const {
1068   const PROTOBUF_NAMESPACE_ID::compiler::Version* p = compiler_version_;
1069   // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorRequest.compiler_version)
1070   return p != nullptr ? *p : *reinterpret_cast<const PROTOBUF_NAMESPACE_ID::compiler::Version*>(
1071       &PROTOBUF_NAMESPACE_ID::compiler::_Version_default_instance_);
1072 }
release_compiler_version()1073 inline PROTOBUF_NAMESPACE_ID::compiler::Version* CodeGeneratorRequest::release_compiler_version() {
1074   // @@protoc_insertion_point(field_release:google.protobuf.compiler.CodeGeneratorRequest.compiler_version)
1075   _has_bits_[0] &= ~0x00000002u;
1076   PROTOBUF_NAMESPACE_ID::compiler::Version* temp = compiler_version_;
1077   compiler_version_ = nullptr;
1078   return temp;
1079 }
mutable_compiler_version()1080 inline PROTOBUF_NAMESPACE_ID::compiler::Version* CodeGeneratorRequest::mutable_compiler_version() {
1081   _has_bits_[0] |= 0x00000002u;
1082   if (compiler_version_ == nullptr) {
1083     auto* p = CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::compiler::Version>(GetArenaNoVirtual());
1084     compiler_version_ = p;
1085   }
1086   // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorRequest.compiler_version)
1087   return compiler_version_;
1088 }
set_allocated_compiler_version(PROTOBUF_NAMESPACE_ID::compiler::Version * compiler_version)1089 inline void CodeGeneratorRequest::set_allocated_compiler_version(PROTOBUF_NAMESPACE_ID::compiler::Version* compiler_version) {
1090   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
1091   if (message_arena == nullptr) {
1092     delete compiler_version_;
1093   }
1094   if (compiler_version) {
1095     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
1096     if (message_arena != submessage_arena) {
1097       compiler_version = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1098           message_arena, compiler_version, submessage_arena);
1099     }
1100     _has_bits_[0] |= 0x00000002u;
1101   } else {
1102     _has_bits_[0] &= ~0x00000002u;
1103   }
1104   compiler_version_ = compiler_version;
1105   // @@protoc_insertion_point(field_set_allocated:google.protobuf.compiler.CodeGeneratorRequest.compiler_version)
1106 }
1107 
1108 // -------------------------------------------------------------------
1109 
1110 // CodeGeneratorResponse_File
1111 
1112 // optional string name = 1;
has_name()1113 inline bool CodeGeneratorResponse_File::has_name() const {
1114   return (_has_bits_[0] & 0x00000001u) != 0;
1115 }
clear_name()1116 inline void CodeGeneratorResponse_File::clear_name() {
1117   name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1118   _has_bits_[0] &= ~0x00000001u;
1119 }
name()1120 inline const std::string& CodeGeneratorResponse_File::name() const {
1121   // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorResponse.File.name)
1122   return name_.GetNoArena();
1123 }
set_name(const std::string & value)1124 inline void CodeGeneratorResponse_File::set_name(const std::string& value) {
1125   _has_bits_[0] |= 0x00000001u;
1126   name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
1127   // @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorResponse.File.name)
1128 }
set_name(std::string && value)1129 inline void CodeGeneratorResponse_File::set_name(std::string&& value) {
1130   _has_bits_[0] |= 0x00000001u;
1131   name_.SetNoArena(
1132     &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1133   // @@protoc_insertion_point(field_set_rvalue:google.protobuf.compiler.CodeGeneratorResponse.File.name)
1134 }
set_name(const char * value)1135 inline void CodeGeneratorResponse_File::set_name(const char* value) {
1136   GOOGLE_DCHECK(value != nullptr);
1137   _has_bits_[0] |= 0x00000001u;
1138   name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1139   // @@protoc_insertion_point(field_set_char:google.protobuf.compiler.CodeGeneratorResponse.File.name)
1140 }
set_name(const char * value,size_t size)1141 inline void CodeGeneratorResponse_File::set_name(const char* value, size_t size) {
1142   _has_bits_[0] |= 0x00000001u;
1143   name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1144       ::std::string(reinterpret_cast<const char*>(value), size));
1145   // @@protoc_insertion_point(field_set_pointer:google.protobuf.compiler.CodeGeneratorResponse.File.name)
1146 }
mutable_name()1147 inline std::string* CodeGeneratorResponse_File::mutable_name() {
1148   _has_bits_[0] |= 0x00000001u;
1149   // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorResponse.File.name)
1150   return name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1151 }
release_name()1152 inline std::string* CodeGeneratorResponse_File::release_name() {
1153   // @@protoc_insertion_point(field_release:google.protobuf.compiler.CodeGeneratorResponse.File.name)
1154   if (!has_name()) {
1155     return nullptr;
1156   }
1157   _has_bits_[0] &= ~0x00000001u;
1158   return name_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1159 }
set_allocated_name(std::string * name)1160 inline void CodeGeneratorResponse_File::set_allocated_name(std::string* name) {
1161   if (name != nullptr) {
1162     _has_bits_[0] |= 0x00000001u;
1163   } else {
1164     _has_bits_[0] &= ~0x00000001u;
1165   }
1166   name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name);
1167   // @@protoc_insertion_point(field_set_allocated:google.protobuf.compiler.CodeGeneratorResponse.File.name)
1168 }
1169 
1170 // optional string insertion_point = 2;
has_insertion_point()1171 inline bool CodeGeneratorResponse_File::has_insertion_point() const {
1172   return (_has_bits_[0] & 0x00000002u) != 0;
1173 }
clear_insertion_point()1174 inline void CodeGeneratorResponse_File::clear_insertion_point() {
1175   insertion_point_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1176   _has_bits_[0] &= ~0x00000002u;
1177 }
insertion_point()1178 inline const std::string& CodeGeneratorResponse_File::insertion_point() const {
1179   // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point)
1180   return insertion_point_.GetNoArena();
1181 }
set_insertion_point(const std::string & value)1182 inline void CodeGeneratorResponse_File::set_insertion_point(const std::string& value) {
1183   _has_bits_[0] |= 0x00000002u;
1184   insertion_point_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
1185   // @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point)
1186 }
set_insertion_point(std::string && value)1187 inline void CodeGeneratorResponse_File::set_insertion_point(std::string&& value) {
1188   _has_bits_[0] |= 0x00000002u;
1189   insertion_point_.SetNoArena(
1190     &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1191   // @@protoc_insertion_point(field_set_rvalue:google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point)
1192 }
set_insertion_point(const char * value)1193 inline void CodeGeneratorResponse_File::set_insertion_point(const char* value) {
1194   GOOGLE_DCHECK(value != nullptr);
1195   _has_bits_[0] |= 0x00000002u;
1196   insertion_point_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1197   // @@protoc_insertion_point(field_set_char:google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point)
1198 }
set_insertion_point(const char * value,size_t size)1199 inline void CodeGeneratorResponse_File::set_insertion_point(const char* value, size_t size) {
1200   _has_bits_[0] |= 0x00000002u;
1201   insertion_point_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1202       ::std::string(reinterpret_cast<const char*>(value), size));
1203   // @@protoc_insertion_point(field_set_pointer:google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point)
1204 }
mutable_insertion_point()1205 inline std::string* CodeGeneratorResponse_File::mutable_insertion_point() {
1206   _has_bits_[0] |= 0x00000002u;
1207   // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point)
1208   return insertion_point_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1209 }
release_insertion_point()1210 inline std::string* CodeGeneratorResponse_File::release_insertion_point() {
1211   // @@protoc_insertion_point(field_release:google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point)
1212   if (!has_insertion_point()) {
1213     return nullptr;
1214   }
1215   _has_bits_[0] &= ~0x00000002u;
1216   return insertion_point_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1217 }
set_allocated_insertion_point(std::string * insertion_point)1218 inline void CodeGeneratorResponse_File::set_allocated_insertion_point(std::string* insertion_point) {
1219   if (insertion_point != nullptr) {
1220     _has_bits_[0] |= 0x00000002u;
1221   } else {
1222     _has_bits_[0] &= ~0x00000002u;
1223   }
1224   insertion_point_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), insertion_point);
1225   // @@protoc_insertion_point(field_set_allocated:google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point)
1226 }
1227 
1228 // optional string content = 15;
has_content()1229 inline bool CodeGeneratorResponse_File::has_content() const {
1230   return (_has_bits_[0] & 0x00000004u) != 0;
1231 }
clear_content()1232 inline void CodeGeneratorResponse_File::clear_content() {
1233   content_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1234   _has_bits_[0] &= ~0x00000004u;
1235 }
content()1236 inline const std::string& CodeGeneratorResponse_File::content() const {
1237   // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorResponse.File.content)
1238   return content_.GetNoArena();
1239 }
set_content(const std::string & value)1240 inline void CodeGeneratorResponse_File::set_content(const std::string& value) {
1241   _has_bits_[0] |= 0x00000004u;
1242   content_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
1243   // @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorResponse.File.content)
1244 }
set_content(std::string && value)1245 inline void CodeGeneratorResponse_File::set_content(std::string&& value) {
1246   _has_bits_[0] |= 0x00000004u;
1247   content_.SetNoArena(
1248     &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1249   // @@protoc_insertion_point(field_set_rvalue:google.protobuf.compiler.CodeGeneratorResponse.File.content)
1250 }
set_content(const char * value)1251 inline void CodeGeneratorResponse_File::set_content(const char* value) {
1252   GOOGLE_DCHECK(value != nullptr);
1253   _has_bits_[0] |= 0x00000004u;
1254   content_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1255   // @@protoc_insertion_point(field_set_char:google.protobuf.compiler.CodeGeneratorResponse.File.content)
1256 }
set_content(const char * value,size_t size)1257 inline void CodeGeneratorResponse_File::set_content(const char* value, size_t size) {
1258   _has_bits_[0] |= 0x00000004u;
1259   content_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1260       ::std::string(reinterpret_cast<const char*>(value), size));
1261   // @@protoc_insertion_point(field_set_pointer:google.protobuf.compiler.CodeGeneratorResponse.File.content)
1262 }
mutable_content()1263 inline std::string* CodeGeneratorResponse_File::mutable_content() {
1264   _has_bits_[0] |= 0x00000004u;
1265   // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorResponse.File.content)
1266   return content_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1267 }
release_content()1268 inline std::string* CodeGeneratorResponse_File::release_content() {
1269   // @@protoc_insertion_point(field_release:google.protobuf.compiler.CodeGeneratorResponse.File.content)
1270   if (!has_content()) {
1271     return nullptr;
1272   }
1273   _has_bits_[0] &= ~0x00000004u;
1274   return content_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1275 }
set_allocated_content(std::string * content)1276 inline void CodeGeneratorResponse_File::set_allocated_content(std::string* content) {
1277   if (content != nullptr) {
1278     _has_bits_[0] |= 0x00000004u;
1279   } else {
1280     _has_bits_[0] &= ~0x00000004u;
1281   }
1282   content_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), content);
1283   // @@protoc_insertion_point(field_set_allocated:google.protobuf.compiler.CodeGeneratorResponse.File.content)
1284 }
1285 
1286 // -------------------------------------------------------------------
1287 
1288 // CodeGeneratorResponse
1289 
1290 // optional string error = 1;
has_error()1291 inline bool CodeGeneratorResponse::has_error() const {
1292   return (_has_bits_[0] & 0x00000001u) != 0;
1293 }
clear_error()1294 inline void CodeGeneratorResponse::clear_error() {
1295   error_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1296   _has_bits_[0] &= ~0x00000001u;
1297 }
error()1298 inline const std::string& CodeGeneratorResponse::error() const {
1299   // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorResponse.error)
1300   return error_.GetNoArena();
1301 }
set_error(const std::string & value)1302 inline void CodeGeneratorResponse::set_error(const std::string& value) {
1303   _has_bits_[0] |= 0x00000001u;
1304   error_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
1305   // @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorResponse.error)
1306 }
set_error(std::string && value)1307 inline void CodeGeneratorResponse::set_error(std::string&& value) {
1308   _has_bits_[0] |= 0x00000001u;
1309   error_.SetNoArena(
1310     &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1311   // @@protoc_insertion_point(field_set_rvalue:google.protobuf.compiler.CodeGeneratorResponse.error)
1312 }
set_error(const char * value)1313 inline void CodeGeneratorResponse::set_error(const char* value) {
1314   GOOGLE_DCHECK(value != nullptr);
1315   _has_bits_[0] |= 0x00000001u;
1316   error_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1317   // @@protoc_insertion_point(field_set_char:google.protobuf.compiler.CodeGeneratorResponse.error)
1318 }
set_error(const char * value,size_t size)1319 inline void CodeGeneratorResponse::set_error(const char* value, size_t size) {
1320   _has_bits_[0] |= 0x00000001u;
1321   error_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1322       ::std::string(reinterpret_cast<const char*>(value), size));
1323   // @@protoc_insertion_point(field_set_pointer:google.protobuf.compiler.CodeGeneratorResponse.error)
1324 }
mutable_error()1325 inline std::string* CodeGeneratorResponse::mutable_error() {
1326   _has_bits_[0] |= 0x00000001u;
1327   // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorResponse.error)
1328   return error_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1329 }
release_error()1330 inline std::string* CodeGeneratorResponse::release_error() {
1331   // @@protoc_insertion_point(field_release:google.protobuf.compiler.CodeGeneratorResponse.error)
1332   if (!has_error()) {
1333     return nullptr;
1334   }
1335   _has_bits_[0] &= ~0x00000001u;
1336   return error_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1337 }
set_allocated_error(std::string * error)1338 inline void CodeGeneratorResponse::set_allocated_error(std::string* error) {
1339   if (error != nullptr) {
1340     _has_bits_[0] |= 0x00000001u;
1341   } else {
1342     _has_bits_[0] &= ~0x00000001u;
1343   }
1344   error_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), error);
1345   // @@protoc_insertion_point(field_set_allocated:google.protobuf.compiler.CodeGeneratorResponse.error)
1346 }
1347 
1348 // repeated .google.protobuf.compiler.CodeGeneratorResponse.File file = 15;
file_size()1349 inline int CodeGeneratorResponse::file_size() const {
1350   return file_.size();
1351 }
clear_file()1352 inline void CodeGeneratorResponse::clear_file() {
1353   file_.Clear();
1354 }
mutable_file(int index)1355 inline PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File* CodeGeneratorResponse::mutable_file(int index) {
1356   // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorResponse.file)
1357   return file_.Mutable(index);
1358 }
1359 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File >*
mutable_file()1360 CodeGeneratorResponse::mutable_file() {
1361   // @@protoc_insertion_point(field_mutable_list:google.protobuf.compiler.CodeGeneratorResponse.file)
1362   return &file_;
1363 }
file(int index)1364 inline const PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File& CodeGeneratorResponse::file(int index) const {
1365   // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorResponse.file)
1366   return file_.Get(index);
1367 }
add_file()1368 inline PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File* CodeGeneratorResponse::add_file() {
1369   // @@protoc_insertion_point(field_add:google.protobuf.compiler.CodeGeneratorResponse.file)
1370   return file_.Add();
1371 }
1372 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File >&
file()1373 CodeGeneratorResponse::file() const {
1374   // @@protoc_insertion_point(field_list:google.protobuf.compiler.CodeGeneratorResponse.file)
1375   return file_;
1376 }
1377 
1378 #ifdef __GNUC__
1379   #pragma GCC diagnostic pop
1380 #endif  // __GNUC__
1381 // -------------------------------------------------------------------
1382 
1383 // -------------------------------------------------------------------
1384 
1385 // -------------------------------------------------------------------
1386 
1387 
1388 // @@protoc_insertion_point(namespace_scope)
1389 
1390 }  // namespace compiler
1391 PROTOBUF_NAMESPACE_CLOSE
1392 
1393 // @@protoc_insertion_point(global_scope)
1394 
1395 #include <google/protobuf/port_undef.inc>
1396 #endif  // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fcompiler_2fplugin_2eproto
1397