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 < 3013000
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 3013000 < 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_lite.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/generated_enum_reflection.h>
35 #include <google/protobuf/unknown_field_set.h>
36 #include <google/protobuf/descriptor.pb.h>
37 // @@protoc_insertion_point(includes)
38 #include <google/protobuf/port_def.inc>
39 #define PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fcompiler_2fplugin_2eproto PROTOC_EXPORT
40 #ifdef major
41 #undef major
42 #endif
43 #ifdef minor
44 #undef minor
45 #endif
46 PROTOBUF_NAMESPACE_OPEN
47 namespace internal {
48 class AnyMetadata;
49 } // namespace internal
50 PROTOBUF_NAMESPACE_CLOSE
51
52 // Internal implementation detail -- do not use these members.
53 struct PROTOC_EXPORT TableStruct_google_2fprotobuf_2fcompiler_2fplugin_2eproto {
54 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
55 PROTOBUF_SECTION_VARIABLE(protodesc_cold);
56 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
57 PROTOBUF_SECTION_VARIABLE(protodesc_cold);
58 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[4]
59 PROTOBUF_SECTION_VARIABLE(protodesc_cold);
60 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
61 static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
62 static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
63 };
64 extern PROTOC_EXPORT const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto;
65 PROTOBUF_NAMESPACE_OPEN
66 namespace compiler {
67 class CodeGeneratorRequest;
68 class CodeGeneratorRequestDefaultTypeInternal;
69 PROTOC_EXPORT extern CodeGeneratorRequestDefaultTypeInternal _CodeGeneratorRequest_default_instance_;
70 class CodeGeneratorResponse;
71 class CodeGeneratorResponseDefaultTypeInternal;
72 PROTOC_EXPORT extern CodeGeneratorResponseDefaultTypeInternal _CodeGeneratorResponse_default_instance_;
73 class CodeGeneratorResponse_File;
74 class CodeGeneratorResponse_FileDefaultTypeInternal;
75 PROTOC_EXPORT extern CodeGeneratorResponse_FileDefaultTypeInternal _CodeGeneratorResponse_File_default_instance_;
76 class Version;
77 class VersionDefaultTypeInternal;
78 PROTOC_EXPORT extern VersionDefaultTypeInternal _Version_default_instance_;
79 } // namespace compiler
80 PROTOBUF_NAMESPACE_CLOSE
81 PROTOBUF_NAMESPACE_OPEN
82 template<> PROTOC_EXPORT PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorRequest* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorRequest>(Arena*);
83 template<> PROTOC_EXPORT PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse>(Arena*);
84 template<> PROTOC_EXPORT PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File>(Arena*);
85 template<> PROTOC_EXPORT PROTOBUF_NAMESPACE_ID::compiler::Version* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::compiler::Version>(Arena*);
86 PROTOBUF_NAMESPACE_CLOSE
87 PROTOBUF_NAMESPACE_OPEN
88 namespace compiler {
89
90 enum CodeGeneratorResponse_Feature : int {
91 CodeGeneratorResponse_Feature_FEATURE_NONE = 0,
92 CodeGeneratorResponse_Feature_FEATURE_PROTO3_OPTIONAL = 1
93 };
94 PROTOC_EXPORT bool CodeGeneratorResponse_Feature_IsValid(int value);
95 constexpr CodeGeneratorResponse_Feature CodeGeneratorResponse_Feature_Feature_MIN = CodeGeneratorResponse_Feature_FEATURE_NONE;
96 constexpr CodeGeneratorResponse_Feature CodeGeneratorResponse_Feature_Feature_MAX = CodeGeneratorResponse_Feature_FEATURE_PROTO3_OPTIONAL;
97 constexpr int CodeGeneratorResponse_Feature_Feature_ARRAYSIZE = CodeGeneratorResponse_Feature_Feature_MAX + 1;
98
99 PROTOC_EXPORT const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CodeGeneratorResponse_Feature_descriptor();
100 template<typename T>
CodeGeneratorResponse_Feature_Name(T enum_t_value)101 inline const std::string& CodeGeneratorResponse_Feature_Name(T enum_t_value) {
102 static_assert(::std::is_same<T, CodeGeneratorResponse_Feature>::value ||
103 ::std::is_integral<T>::value,
104 "Incorrect type passed to function CodeGeneratorResponse_Feature_Name.");
105 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
106 CodeGeneratorResponse_Feature_descriptor(), enum_t_value);
107 }
CodeGeneratorResponse_Feature_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,CodeGeneratorResponse_Feature * value)108 inline bool CodeGeneratorResponse_Feature_Parse(
109 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CodeGeneratorResponse_Feature* value) {
110 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<CodeGeneratorResponse_Feature>(
111 CodeGeneratorResponse_Feature_descriptor(), name, value);
112 }
113 // ===================================================================
114
115 class PROTOC_EXPORT Version PROTOBUF_FINAL :
116 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.compiler.Version) */ {
117 public:
Version()118 inline Version() : Version(nullptr) {}
119 virtual ~Version();
120
121 Version(const Version& from);
Version(Version && from)122 Version(Version&& from) noexcept
123 : Version() {
124 *this = ::std::move(from);
125 }
126
127 inline Version& operator=(const Version& from) {
128 CopyFrom(from);
129 return *this;
130 }
131 inline Version& operator=(Version&& from) noexcept {
132 if (GetArena() == from.GetArena()) {
133 if (this != &from) InternalSwap(&from);
134 } else {
135 CopyFrom(from);
136 }
137 return *this;
138 }
139
unknown_fields()140 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
141 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
142 }
mutable_unknown_fields()143 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
144 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
145 }
146
descriptor()147 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
148 return GetDescriptor();
149 }
GetDescriptor()150 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
151 return GetMetadataStatic().descriptor;
152 }
GetReflection()153 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
154 return GetMetadataStatic().reflection;
155 }
156 static const Version& default_instance();
157
158 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()159 static inline const Version* internal_default_instance() {
160 return reinterpret_cast<const Version*>(
161 &_Version_default_instance_);
162 }
163 static constexpr int kIndexInFileMessages =
164 0;
165
swap(Version & a,Version & b)166 friend void swap(Version& a, Version& b) {
167 a.Swap(&b);
168 }
Swap(Version * other)169 inline void Swap(Version* other) {
170 if (other == this) return;
171 if (GetArena() == other->GetArena()) {
172 InternalSwap(other);
173 } else {
174 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
175 }
176 }
UnsafeArenaSwap(Version * other)177 void UnsafeArenaSwap(Version* other) {
178 if (other == this) return;
179 GOOGLE_DCHECK(GetArena() == other->GetArena());
180 InternalSwap(other);
181 }
182
183 // implements Message ----------------------------------------------
184
New()185 inline Version* New() const final {
186 return CreateMaybeMessage<Version>(nullptr);
187 }
188
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)189 Version* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
190 return CreateMaybeMessage<Version>(arena);
191 }
192 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
193 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
194 void CopyFrom(const Version& from);
195 void MergeFrom(const Version& from);
196 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
197 bool IsInitialized() const final;
198
199 size_t ByteSizeLong() const final;
200 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
201 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
202 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
GetCachedSize()203 int GetCachedSize() const final { return _cached_size_.Get(); }
204
205 private:
206 inline void SharedCtor();
207 inline void SharedDtor();
208 void SetCachedSize(int size) const final;
209 void InternalSwap(Version* other);
210 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()211 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
212 return "google.protobuf.compiler.Version";
213 }
214 protected:
215 explicit Version(::PROTOBUF_NAMESPACE_ID::Arena* arena);
216 private:
217 static void ArenaDtor(void* object);
218 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
219 public:
220
221 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
222 private:
GetMetadataStatic()223 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
224 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto);
225 return ::descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto.file_level_metadata[kIndexInFileMessages];
226 }
227
228 public:
229
230 // nested types ----------------------------------------------------
231
232 // accessors -------------------------------------------------------
233
234 enum : int {
235 kSuffixFieldNumber = 4,
236 kMajorFieldNumber = 1,
237 kMinorFieldNumber = 2,
238 kPatchFieldNumber = 3,
239 };
240 // optional string suffix = 4;
241 bool has_suffix() const;
242 private:
243 bool _internal_has_suffix() const;
244 public:
245 void clear_suffix();
246 const std::string& suffix() const;
247 void set_suffix(const std::string& value);
248 void set_suffix(std::string&& value);
249 void set_suffix(const char* value);
250 void set_suffix(const char* value, size_t size);
251 std::string* mutable_suffix();
252 std::string* release_suffix();
253 void set_allocated_suffix(std::string* suffix);
254 private:
255 const std::string& _internal_suffix() const;
256 void _internal_set_suffix(const std::string& value);
257 std::string* _internal_mutable_suffix();
258 public:
259
260 // optional int32 major = 1;
261 bool has_major() const;
262 private:
263 bool _internal_has_major() const;
264 public:
265 void clear_major();
266 ::PROTOBUF_NAMESPACE_ID::int32 major() const;
267 void set_major(::PROTOBUF_NAMESPACE_ID::int32 value);
268 private:
269 ::PROTOBUF_NAMESPACE_ID::int32 _internal_major() const;
270 void _internal_set_major(::PROTOBUF_NAMESPACE_ID::int32 value);
271 public:
272
273 // optional int32 minor = 2;
274 bool has_minor() const;
275 private:
276 bool _internal_has_minor() const;
277 public:
278 void clear_minor();
279 ::PROTOBUF_NAMESPACE_ID::int32 minor() const;
280 void set_minor(::PROTOBUF_NAMESPACE_ID::int32 value);
281 private:
282 ::PROTOBUF_NAMESPACE_ID::int32 _internal_minor() const;
283 void _internal_set_minor(::PROTOBUF_NAMESPACE_ID::int32 value);
284 public:
285
286 // optional int32 patch = 3;
287 bool has_patch() const;
288 private:
289 bool _internal_has_patch() const;
290 public:
291 void clear_patch();
292 ::PROTOBUF_NAMESPACE_ID::int32 patch() const;
293 void set_patch(::PROTOBUF_NAMESPACE_ID::int32 value);
294 private:
295 ::PROTOBUF_NAMESPACE_ID::int32 _internal_patch() const;
296 void _internal_set_patch(::PROTOBUF_NAMESPACE_ID::int32 value);
297 public:
298
299 // @@protoc_insertion_point(class_scope:google.protobuf.compiler.Version)
300 private:
301 class _Internal;
302
303 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
304 typedef void InternalArenaConstructable_;
305 typedef void DestructorSkippable_;
306 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
307 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
308 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr suffix_;
309 ::PROTOBUF_NAMESPACE_ID::int32 major_;
310 ::PROTOBUF_NAMESPACE_ID::int32 minor_;
311 ::PROTOBUF_NAMESPACE_ID::int32 patch_;
312 friend struct ::TableStruct_google_2fprotobuf_2fcompiler_2fplugin_2eproto;
313 };
314 // -------------------------------------------------------------------
315
316 class PROTOC_EXPORT CodeGeneratorRequest PROTOBUF_FINAL :
317 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.compiler.CodeGeneratorRequest) */ {
318 public:
CodeGeneratorRequest()319 inline CodeGeneratorRequest() : CodeGeneratorRequest(nullptr) {}
320 virtual ~CodeGeneratorRequest();
321
322 CodeGeneratorRequest(const CodeGeneratorRequest& from);
CodeGeneratorRequest(CodeGeneratorRequest && from)323 CodeGeneratorRequest(CodeGeneratorRequest&& from) noexcept
324 : CodeGeneratorRequest() {
325 *this = ::std::move(from);
326 }
327
328 inline CodeGeneratorRequest& operator=(const CodeGeneratorRequest& from) {
329 CopyFrom(from);
330 return *this;
331 }
332 inline CodeGeneratorRequest& operator=(CodeGeneratorRequest&& from) noexcept {
333 if (GetArena() == from.GetArena()) {
334 if (this != &from) InternalSwap(&from);
335 } else {
336 CopyFrom(from);
337 }
338 return *this;
339 }
340
unknown_fields()341 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
342 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
343 }
mutable_unknown_fields()344 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
345 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
346 }
347
descriptor()348 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
349 return GetDescriptor();
350 }
GetDescriptor()351 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
352 return GetMetadataStatic().descriptor;
353 }
GetReflection()354 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
355 return GetMetadataStatic().reflection;
356 }
357 static const CodeGeneratorRequest& default_instance();
358
359 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()360 static inline const CodeGeneratorRequest* internal_default_instance() {
361 return reinterpret_cast<const CodeGeneratorRequest*>(
362 &_CodeGeneratorRequest_default_instance_);
363 }
364 static constexpr int kIndexInFileMessages =
365 1;
366
swap(CodeGeneratorRequest & a,CodeGeneratorRequest & b)367 friend void swap(CodeGeneratorRequest& a, CodeGeneratorRequest& b) {
368 a.Swap(&b);
369 }
Swap(CodeGeneratorRequest * other)370 inline void Swap(CodeGeneratorRequest* other) {
371 if (other == this) return;
372 if (GetArena() == other->GetArena()) {
373 InternalSwap(other);
374 } else {
375 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
376 }
377 }
UnsafeArenaSwap(CodeGeneratorRequest * other)378 void UnsafeArenaSwap(CodeGeneratorRequest* other) {
379 if (other == this) return;
380 GOOGLE_DCHECK(GetArena() == other->GetArena());
381 InternalSwap(other);
382 }
383
384 // implements Message ----------------------------------------------
385
New()386 inline CodeGeneratorRequest* New() const final {
387 return CreateMaybeMessage<CodeGeneratorRequest>(nullptr);
388 }
389
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)390 CodeGeneratorRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
391 return CreateMaybeMessage<CodeGeneratorRequest>(arena);
392 }
393 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
394 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
395 void CopyFrom(const CodeGeneratorRequest& from);
396 void MergeFrom(const CodeGeneratorRequest& from);
397 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
398 bool IsInitialized() const final;
399
400 size_t ByteSizeLong() const final;
401 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
402 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
403 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
GetCachedSize()404 int GetCachedSize() const final { return _cached_size_.Get(); }
405
406 private:
407 inline void SharedCtor();
408 inline void SharedDtor();
409 void SetCachedSize(int size) const final;
410 void InternalSwap(CodeGeneratorRequest* other);
411 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()412 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
413 return "google.protobuf.compiler.CodeGeneratorRequest";
414 }
415 protected:
416 explicit CodeGeneratorRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena);
417 private:
418 static void ArenaDtor(void* object);
419 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
420 public:
421
422 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
423 private:
GetMetadataStatic()424 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
425 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto);
426 return ::descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto.file_level_metadata[kIndexInFileMessages];
427 }
428
429 public:
430
431 // nested types ----------------------------------------------------
432
433 // accessors -------------------------------------------------------
434
435 enum : int {
436 kFileToGenerateFieldNumber = 1,
437 kProtoFileFieldNumber = 15,
438 kParameterFieldNumber = 2,
439 kCompilerVersionFieldNumber = 3,
440 };
441 // repeated string file_to_generate = 1;
442 int file_to_generate_size() const;
443 private:
444 int _internal_file_to_generate_size() const;
445 public:
446 void clear_file_to_generate();
447 const std::string& file_to_generate(int index) const;
448 std::string* mutable_file_to_generate(int index);
449 void set_file_to_generate(int index, const std::string& value);
450 void set_file_to_generate(int index, std::string&& value);
451 void set_file_to_generate(int index, const char* value);
452 void set_file_to_generate(int index, const char* value, size_t size);
453 std::string* add_file_to_generate();
454 void add_file_to_generate(const std::string& value);
455 void add_file_to_generate(std::string&& value);
456 void add_file_to_generate(const char* value);
457 void add_file_to_generate(const char* value, size_t size);
458 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& file_to_generate() const;
459 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_file_to_generate();
460 private:
461 const std::string& _internal_file_to_generate(int index) const;
462 std::string* _internal_add_file_to_generate();
463 public:
464
465 // repeated .google.protobuf.FileDescriptorProto proto_file = 15;
466 int proto_file_size() const;
467 private:
468 int _internal_proto_file_size() const;
469 public:
470 void clear_proto_file();
471 PROTOBUF_NAMESPACE_ID::FileDescriptorProto* mutable_proto_file(int index);
472 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FileDescriptorProto >*
473 mutable_proto_file();
474 private:
475 const PROTOBUF_NAMESPACE_ID::FileDescriptorProto& _internal_proto_file(int index) const;
476 PROTOBUF_NAMESPACE_ID::FileDescriptorProto* _internal_add_proto_file();
477 public:
478 const PROTOBUF_NAMESPACE_ID::FileDescriptorProto& proto_file(int index) const;
479 PROTOBUF_NAMESPACE_ID::FileDescriptorProto* add_proto_file();
480 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FileDescriptorProto >&
481 proto_file() const;
482
483 // optional string parameter = 2;
484 bool has_parameter() const;
485 private:
486 bool _internal_has_parameter() const;
487 public:
488 void clear_parameter();
489 const std::string& parameter() const;
490 void set_parameter(const std::string& value);
491 void set_parameter(std::string&& value);
492 void set_parameter(const char* value);
493 void set_parameter(const char* value, size_t size);
494 std::string* mutable_parameter();
495 std::string* release_parameter();
496 void set_allocated_parameter(std::string* parameter);
497 private:
498 const std::string& _internal_parameter() const;
499 void _internal_set_parameter(const std::string& value);
500 std::string* _internal_mutable_parameter();
501 public:
502
503 // optional .google.protobuf.compiler.Version compiler_version = 3;
504 bool has_compiler_version() const;
505 private:
506 bool _internal_has_compiler_version() const;
507 public:
508 void clear_compiler_version();
509 const PROTOBUF_NAMESPACE_ID::compiler::Version& compiler_version() const;
510 PROTOBUF_NAMESPACE_ID::compiler::Version* release_compiler_version();
511 PROTOBUF_NAMESPACE_ID::compiler::Version* mutable_compiler_version();
512 void set_allocated_compiler_version(PROTOBUF_NAMESPACE_ID::compiler::Version* compiler_version);
513 private:
514 const PROTOBUF_NAMESPACE_ID::compiler::Version& _internal_compiler_version() const;
515 PROTOBUF_NAMESPACE_ID::compiler::Version* _internal_mutable_compiler_version();
516 public:
517 void unsafe_arena_set_allocated_compiler_version(
518 PROTOBUF_NAMESPACE_ID::compiler::Version* compiler_version);
519 PROTOBUF_NAMESPACE_ID::compiler::Version* unsafe_arena_release_compiler_version();
520
521 // @@protoc_insertion_point(class_scope:google.protobuf.compiler.CodeGeneratorRequest)
522 private:
523 class _Internal;
524
525 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
526 typedef void InternalArenaConstructable_;
527 typedef void DestructorSkippable_;
528 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
529 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
530 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> file_to_generate_;
531 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FileDescriptorProto > proto_file_;
532 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr parameter_;
533 PROTOBUF_NAMESPACE_ID::compiler::Version* compiler_version_;
534 friend struct ::TableStruct_google_2fprotobuf_2fcompiler_2fplugin_2eproto;
535 };
536 // -------------------------------------------------------------------
537
538 class PROTOC_EXPORT CodeGeneratorResponse_File PROTOBUF_FINAL :
539 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.compiler.CodeGeneratorResponse.File) */ {
540 public:
CodeGeneratorResponse_File()541 inline CodeGeneratorResponse_File() : CodeGeneratorResponse_File(nullptr) {}
542 virtual ~CodeGeneratorResponse_File();
543
544 CodeGeneratorResponse_File(const CodeGeneratorResponse_File& from);
CodeGeneratorResponse_File(CodeGeneratorResponse_File && from)545 CodeGeneratorResponse_File(CodeGeneratorResponse_File&& from) noexcept
546 : CodeGeneratorResponse_File() {
547 *this = ::std::move(from);
548 }
549
550 inline CodeGeneratorResponse_File& operator=(const CodeGeneratorResponse_File& from) {
551 CopyFrom(from);
552 return *this;
553 }
554 inline CodeGeneratorResponse_File& operator=(CodeGeneratorResponse_File&& from) noexcept {
555 if (GetArena() == from.GetArena()) {
556 if (this != &from) InternalSwap(&from);
557 } else {
558 CopyFrom(from);
559 }
560 return *this;
561 }
562
unknown_fields()563 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
564 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
565 }
mutable_unknown_fields()566 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
567 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
568 }
569
descriptor()570 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
571 return GetDescriptor();
572 }
GetDescriptor()573 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
574 return GetMetadataStatic().descriptor;
575 }
GetReflection()576 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
577 return GetMetadataStatic().reflection;
578 }
579 static const CodeGeneratorResponse_File& default_instance();
580
581 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()582 static inline const CodeGeneratorResponse_File* internal_default_instance() {
583 return reinterpret_cast<const CodeGeneratorResponse_File*>(
584 &_CodeGeneratorResponse_File_default_instance_);
585 }
586 static constexpr int kIndexInFileMessages =
587 2;
588
swap(CodeGeneratorResponse_File & a,CodeGeneratorResponse_File & b)589 friend void swap(CodeGeneratorResponse_File& a, CodeGeneratorResponse_File& b) {
590 a.Swap(&b);
591 }
Swap(CodeGeneratorResponse_File * other)592 inline void Swap(CodeGeneratorResponse_File* other) {
593 if (other == this) return;
594 if (GetArena() == other->GetArena()) {
595 InternalSwap(other);
596 } else {
597 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
598 }
599 }
UnsafeArenaSwap(CodeGeneratorResponse_File * other)600 void UnsafeArenaSwap(CodeGeneratorResponse_File* other) {
601 if (other == this) return;
602 GOOGLE_DCHECK(GetArena() == other->GetArena());
603 InternalSwap(other);
604 }
605
606 // implements Message ----------------------------------------------
607
New()608 inline CodeGeneratorResponse_File* New() const final {
609 return CreateMaybeMessage<CodeGeneratorResponse_File>(nullptr);
610 }
611
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)612 CodeGeneratorResponse_File* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
613 return CreateMaybeMessage<CodeGeneratorResponse_File>(arena);
614 }
615 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
616 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
617 void CopyFrom(const CodeGeneratorResponse_File& from);
618 void MergeFrom(const CodeGeneratorResponse_File& from);
619 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
620 bool IsInitialized() const final;
621
622 size_t ByteSizeLong() const final;
623 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
624 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
625 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
GetCachedSize()626 int GetCachedSize() const final { return _cached_size_.Get(); }
627
628 private:
629 inline void SharedCtor();
630 inline void SharedDtor();
631 void SetCachedSize(int size) const final;
632 void InternalSwap(CodeGeneratorResponse_File* other);
633 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()634 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
635 return "google.protobuf.compiler.CodeGeneratorResponse.File";
636 }
637 protected:
638 explicit CodeGeneratorResponse_File(::PROTOBUF_NAMESPACE_ID::Arena* arena);
639 private:
640 static void ArenaDtor(void* object);
641 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
642 public:
643
644 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
645 private:
GetMetadataStatic()646 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
647 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto);
648 return ::descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto.file_level_metadata[kIndexInFileMessages];
649 }
650
651 public:
652
653 // nested types ----------------------------------------------------
654
655 // accessors -------------------------------------------------------
656
657 enum : int {
658 kNameFieldNumber = 1,
659 kInsertionPointFieldNumber = 2,
660 kContentFieldNumber = 15,
661 };
662 // optional string name = 1;
663 bool has_name() const;
664 private:
665 bool _internal_has_name() const;
666 public:
667 void clear_name();
668 const std::string& name() const;
669 void set_name(const std::string& value);
670 void set_name(std::string&& value);
671 void set_name(const char* value);
672 void set_name(const char* value, size_t size);
673 std::string* mutable_name();
674 std::string* release_name();
675 void set_allocated_name(std::string* name);
676 private:
677 const std::string& _internal_name() const;
678 void _internal_set_name(const std::string& value);
679 std::string* _internal_mutable_name();
680 public:
681
682 // optional string insertion_point = 2;
683 bool has_insertion_point() const;
684 private:
685 bool _internal_has_insertion_point() const;
686 public:
687 void clear_insertion_point();
688 const std::string& insertion_point() const;
689 void set_insertion_point(const std::string& value);
690 void set_insertion_point(std::string&& value);
691 void set_insertion_point(const char* value);
692 void set_insertion_point(const char* value, size_t size);
693 std::string* mutable_insertion_point();
694 std::string* release_insertion_point();
695 void set_allocated_insertion_point(std::string* insertion_point);
696 private:
697 const std::string& _internal_insertion_point() const;
698 void _internal_set_insertion_point(const std::string& value);
699 std::string* _internal_mutable_insertion_point();
700 public:
701
702 // optional string content = 15;
703 bool has_content() const;
704 private:
705 bool _internal_has_content() const;
706 public:
707 void clear_content();
708 const std::string& content() const;
709 void set_content(const std::string& value);
710 void set_content(std::string&& value);
711 void set_content(const char* value);
712 void set_content(const char* value, size_t size);
713 std::string* mutable_content();
714 std::string* release_content();
715 void set_allocated_content(std::string* content);
716 private:
717 const std::string& _internal_content() const;
718 void _internal_set_content(const std::string& value);
719 std::string* _internal_mutable_content();
720 public:
721
722 // @@protoc_insertion_point(class_scope:google.protobuf.compiler.CodeGeneratorResponse.File)
723 private:
724 class _Internal;
725
726 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
727 typedef void InternalArenaConstructable_;
728 typedef void DestructorSkippable_;
729 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
730 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
731 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
732 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr insertion_point_;
733 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr content_;
734 friend struct ::TableStruct_google_2fprotobuf_2fcompiler_2fplugin_2eproto;
735 };
736 // -------------------------------------------------------------------
737
738 class PROTOC_EXPORT CodeGeneratorResponse PROTOBUF_FINAL :
739 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.compiler.CodeGeneratorResponse) */ {
740 public:
CodeGeneratorResponse()741 inline CodeGeneratorResponse() : CodeGeneratorResponse(nullptr) {}
742 virtual ~CodeGeneratorResponse();
743
744 CodeGeneratorResponse(const CodeGeneratorResponse& from);
CodeGeneratorResponse(CodeGeneratorResponse && from)745 CodeGeneratorResponse(CodeGeneratorResponse&& from) noexcept
746 : CodeGeneratorResponse() {
747 *this = ::std::move(from);
748 }
749
750 inline CodeGeneratorResponse& operator=(const CodeGeneratorResponse& from) {
751 CopyFrom(from);
752 return *this;
753 }
754 inline CodeGeneratorResponse& operator=(CodeGeneratorResponse&& from) noexcept {
755 if (GetArena() == from.GetArena()) {
756 if (this != &from) InternalSwap(&from);
757 } else {
758 CopyFrom(from);
759 }
760 return *this;
761 }
762
unknown_fields()763 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
764 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
765 }
mutable_unknown_fields()766 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
767 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
768 }
769
descriptor()770 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
771 return GetDescriptor();
772 }
GetDescriptor()773 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
774 return GetMetadataStatic().descriptor;
775 }
GetReflection()776 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
777 return GetMetadataStatic().reflection;
778 }
779 static const CodeGeneratorResponse& default_instance();
780
781 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()782 static inline const CodeGeneratorResponse* internal_default_instance() {
783 return reinterpret_cast<const CodeGeneratorResponse*>(
784 &_CodeGeneratorResponse_default_instance_);
785 }
786 static constexpr int kIndexInFileMessages =
787 3;
788
swap(CodeGeneratorResponse & a,CodeGeneratorResponse & b)789 friend void swap(CodeGeneratorResponse& a, CodeGeneratorResponse& b) {
790 a.Swap(&b);
791 }
Swap(CodeGeneratorResponse * other)792 inline void Swap(CodeGeneratorResponse* other) {
793 if (other == this) return;
794 if (GetArena() == other->GetArena()) {
795 InternalSwap(other);
796 } else {
797 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
798 }
799 }
UnsafeArenaSwap(CodeGeneratorResponse * other)800 void UnsafeArenaSwap(CodeGeneratorResponse* other) {
801 if (other == this) return;
802 GOOGLE_DCHECK(GetArena() == other->GetArena());
803 InternalSwap(other);
804 }
805
806 // implements Message ----------------------------------------------
807
New()808 inline CodeGeneratorResponse* New() const final {
809 return CreateMaybeMessage<CodeGeneratorResponse>(nullptr);
810 }
811
New(::PROTOBUF_NAMESPACE_ID::Arena * arena)812 CodeGeneratorResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
813 return CreateMaybeMessage<CodeGeneratorResponse>(arena);
814 }
815 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
816 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
817 void CopyFrom(const CodeGeneratorResponse& from);
818 void MergeFrom(const CodeGeneratorResponse& from);
819 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
820 bool IsInitialized() const final;
821
822 size_t ByteSizeLong() const final;
823 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
824 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
825 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
GetCachedSize()826 int GetCachedSize() const final { return _cached_size_.Get(); }
827
828 private:
829 inline void SharedCtor();
830 inline void SharedDtor();
831 void SetCachedSize(int size) const final;
832 void InternalSwap(CodeGeneratorResponse* other);
833 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
FullMessageName()834 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
835 return "google.protobuf.compiler.CodeGeneratorResponse";
836 }
837 protected:
838 explicit CodeGeneratorResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
839 private:
840 static void ArenaDtor(void* object);
841 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
842 public:
843
844 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
845 private:
GetMetadataStatic()846 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
847 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto);
848 return ::descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto.file_level_metadata[kIndexInFileMessages];
849 }
850
851 public:
852
853 // nested types ----------------------------------------------------
854
855 typedef CodeGeneratorResponse_File File;
856
857 typedef CodeGeneratorResponse_Feature Feature;
858 static constexpr Feature FEATURE_NONE =
859 CodeGeneratorResponse_Feature_FEATURE_NONE;
860 static constexpr Feature FEATURE_PROTO3_OPTIONAL =
861 CodeGeneratorResponse_Feature_FEATURE_PROTO3_OPTIONAL;
Feature_IsValid(int value)862 static inline bool Feature_IsValid(int value) {
863 return CodeGeneratorResponse_Feature_IsValid(value);
864 }
865 static constexpr Feature Feature_MIN =
866 CodeGeneratorResponse_Feature_Feature_MIN;
867 static constexpr Feature Feature_MAX =
868 CodeGeneratorResponse_Feature_Feature_MAX;
869 static constexpr int Feature_ARRAYSIZE =
870 CodeGeneratorResponse_Feature_Feature_ARRAYSIZE;
871 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
Feature_descriptor()872 Feature_descriptor() {
873 return CodeGeneratorResponse_Feature_descriptor();
874 }
875 template<typename T>
Feature_Name(T enum_t_value)876 static inline const std::string& Feature_Name(T enum_t_value) {
877 static_assert(::std::is_same<T, Feature>::value ||
878 ::std::is_integral<T>::value,
879 "Incorrect type passed to function Feature_Name.");
880 return CodeGeneratorResponse_Feature_Name(enum_t_value);
881 }
Feature_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,Feature * value)882 static inline bool Feature_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
883 Feature* value) {
884 return CodeGeneratorResponse_Feature_Parse(name, value);
885 }
886
887 // accessors -------------------------------------------------------
888
889 enum : int {
890 kFileFieldNumber = 15,
891 kErrorFieldNumber = 1,
892 kSupportedFeaturesFieldNumber = 2,
893 };
894 // repeated .google.protobuf.compiler.CodeGeneratorResponse.File file = 15;
895 int file_size() const;
896 private:
897 int _internal_file_size() const;
898 public:
899 void clear_file();
900 PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File* mutable_file(int index);
901 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File >*
902 mutable_file();
903 private:
904 const PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File& _internal_file(int index) const;
905 PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File* _internal_add_file();
906 public:
907 const PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File& file(int index) const;
908 PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File* add_file();
909 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File >&
910 file() const;
911
912 // optional string error = 1;
913 bool has_error() const;
914 private:
915 bool _internal_has_error() const;
916 public:
917 void clear_error();
918 const std::string& error() const;
919 void set_error(const std::string& value);
920 void set_error(std::string&& value);
921 void set_error(const char* value);
922 void set_error(const char* value, size_t size);
923 std::string* mutable_error();
924 std::string* release_error();
925 void set_allocated_error(std::string* error);
926 private:
927 const std::string& _internal_error() const;
928 void _internal_set_error(const std::string& value);
929 std::string* _internal_mutable_error();
930 public:
931
932 // optional uint64 supported_features = 2;
933 bool has_supported_features() const;
934 private:
935 bool _internal_has_supported_features() const;
936 public:
937 void clear_supported_features();
938 ::PROTOBUF_NAMESPACE_ID::uint64 supported_features() const;
939 void set_supported_features(::PROTOBUF_NAMESPACE_ID::uint64 value);
940 private:
941 ::PROTOBUF_NAMESPACE_ID::uint64 _internal_supported_features() const;
942 void _internal_set_supported_features(::PROTOBUF_NAMESPACE_ID::uint64 value);
943 public:
944
945 // @@protoc_insertion_point(class_scope:google.protobuf.compiler.CodeGeneratorResponse)
946 private:
947 class _Internal;
948
949 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
950 typedef void InternalArenaConstructable_;
951 typedef void DestructorSkippable_;
952 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
953 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
954 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File > file_;
955 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr error_;
956 ::PROTOBUF_NAMESPACE_ID::uint64 supported_features_;
957 friend struct ::TableStruct_google_2fprotobuf_2fcompiler_2fplugin_2eproto;
958 };
959 // ===================================================================
960
961
962 // ===================================================================
963
964 #ifdef __GNUC__
965 #pragma GCC diagnostic push
966 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
967 #endif // __GNUC__
968 // Version
969
970 // optional int32 major = 1;
_internal_has_major()971 inline bool Version::_internal_has_major() const {
972 bool value = (_has_bits_[0] & 0x00000002u) != 0;
973 return value;
974 }
has_major()975 inline bool Version::has_major() const {
976 return _internal_has_major();
977 }
clear_major()978 inline void Version::clear_major() {
979 major_ = 0;
980 _has_bits_[0] &= ~0x00000002u;
981 }
_internal_major()982 inline ::PROTOBUF_NAMESPACE_ID::int32 Version::_internal_major() const {
983 return major_;
984 }
major()985 inline ::PROTOBUF_NAMESPACE_ID::int32 Version::major() const {
986 // @@protoc_insertion_point(field_get:google.protobuf.compiler.Version.major)
987 return _internal_major();
988 }
_internal_set_major(::PROTOBUF_NAMESPACE_ID::int32 value)989 inline void Version::_internal_set_major(::PROTOBUF_NAMESPACE_ID::int32 value) {
990 _has_bits_[0] |= 0x00000002u;
991 major_ = value;
992 }
set_major(::PROTOBUF_NAMESPACE_ID::int32 value)993 inline void Version::set_major(::PROTOBUF_NAMESPACE_ID::int32 value) {
994 _internal_set_major(value);
995 // @@protoc_insertion_point(field_set:google.protobuf.compiler.Version.major)
996 }
997
998 // optional int32 minor = 2;
_internal_has_minor()999 inline bool Version::_internal_has_minor() const {
1000 bool value = (_has_bits_[0] & 0x00000004u) != 0;
1001 return value;
1002 }
has_minor()1003 inline bool Version::has_minor() const {
1004 return _internal_has_minor();
1005 }
clear_minor()1006 inline void Version::clear_minor() {
1007 minor_ = 0;
1008 _has_bits_[0] &= ~0x00000004u;
1009 }
_internal_minor()1010 inline ::PROTOBUF_NAMESPACE_ID::int32 Version::_internal_minor() const {
1011 return minor_;
1012 }
minor()1013 inline ::PROTOBUF_NAMESPACE_ID::int32 Version::minor() const {
1014 // @@protoc_insertion_point(field_get:google.protobuf.compiler.Version.minor)
1015 return _internal_minor();
1016 }
_internal_set_minor(::PROTOBUF_NAMESPACE_ID::int32 value)1017 inline void Version::_internal_set_minor(::PROTOBUF_NAMESPACE_ID::int32 value) {
1018 _has_bits_[0] |= 0x00000004u;
1019 minor_ = value;
1020 }
set_minor(::PROTOBUF_NAMESPACE_ID::int32 value)1021 inline void Version::set_minor(::PROTOBUF_NAMESPACE_ID::int32 value) {
1022 _internal_set_minor(value);
1023 // @@protoc_insertion_point(field_set:google.protobuf.compiler.Version.minor)
1024 }
1025
1026 // optional int32 patch = 3;
_internal_has_patch()1027 inline bool Version::_internal_has_patch() const {
1028 bool value = (_has_bits_[0] & 0x00000008u) != 0;
1029 return value;
1030 }
has_patch()1031 inline bool Version::has_patch() const {
1032 return _internal_has_patch();
1033 }
clear_patch()1034 inline void Version::clear_patch() {
1035 patch_ = 0;
1036 _has_bits_[0] &= ~0x00000008u;
1037 }
_internal_patch()1038 inline ::PROTOBUF_NAMESPACE_ID::int32 Version::_internal_patch() const {
1039 return patch_;
1040 }
patch()1041 inline ::PROTOBUF_NAMESPACE_ID::int32 Version::patch() const {
1042 // @@protoc_insertion_point(field_get:google.protobuf.compiler.Version.patch)
1043 return _internal_patch();
1044 }
_internal_set_patch(::PROTOBUF_NAMESPACE_ID::int32 value)1045 inline void Version::_internal_set_patch(::PROTOBUF_NAMESPACE_ID::int32 value) {
1046 _has_bits_[0] |= 0x00000008u;
1047 patch_ = value;
1048 }
set_patch(::PROTOBUF_NAMESPACE_ID::int32 value)1049 inline void Version::set_patch(::PROTOBUF_NAMESPACE_ID::int32 value) {
1050 _internal_set_patch(value);
1051 // @@protoc_insertion_point(field_set:google.protobuf.compiler.Version.patch)
1052 }
1053
1054 // optional string suffix = 4;
_internal_has_suffix()1055 inline bool Version::_internal_has_suffix() const {
1056 bool value = (_has_bits_[0] & 0x00000001u) != 0;
1057 return value;
1058 }
has_suffix()1059 inline bool Version::has_suffix() const {
1060 return _internal_has_suffix();
1061 }
clear_suffix()1062 inline void Version::clear_suffix() {
1063 suffix_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1064 _has_bits_[0] &= ~0x00000001u;
1065 }
suffix()1066 inline const std::string& Version::suffix() const {
1067 // @@protoc_insertion_point(field_get:google.protobuf.compiler.Version.suffix)
1068 return _internal_suffix();
1069 }
set_suffix(const std::string & value)1070 inline void Version::set_suffix(const std::string& value) {
1071 _internal_set_suffix(value);
1072 // @@protoc_insertion_point(field_set:google.protobuf.compiler.Version.suffix)
1073 }
mutable_suffix()1074 inline std::string* Version::mutable_suffix() {
1075 // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.Version.suffix)
1076 return _internal_mutable_suffix();
1077 }
_internal_suffix()1078 inline const std::string& Version::_internal_suffix() const {
1079 return suffix_.Get();
1080 }
_internal_set_suffix(const std::string & value)1081 inline void Version::_internal_set_suffix(const std::string& value) {
1082 _has_bits_[0] |= 0x00000001u;
1083 suffix_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
1084 }
set_suffix(std::string && value)1085 inline void Version::set_suffix(std::string&& value) {
1086 _has_bits_[0] |= 0x00000001u;
1087 suffix_.Set(
1088 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
1089 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.compiler.Version.suffix)
1090 }
set_suffix(const char * value)1091 inline void Version::set_suffix(const char* value) {
1092 GOOGLE_DCHECK(value != nullptr);
1093 _has_bits_[0] |= 0x00000001u;
1094 suffix_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
1095 GetArena());
1096 // @@protoc_insertion_point(field_set_char:google.protobuf.compiler.Version.suffix)
1097 }
set_suffix(const char * value,size_t size)1098 inline void Version::set_suffix(const char* value,
1099 size_t size) {
1100 _has_bits_[0] |= 0x00000001u;
1101 suffix_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
1102 reinterpret_cast<const char*>(value), size), GetArena());
1103 // @@protoc_insertion_point(field_set_pointer:google.protobuf.compiler.Version.suffix)
1104 }
_internal_mutable_suffix()1105 inline std::string* Version::_internal_mutable_suffix() {
1106 _has_bits_[0] |= 0x00000001u;
1107 return suffix_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1108 }
release_suffix()1109 inline std::string* Version::release_suffix() {
1110 // @@protoc_insertion_point(field_release:google.protobuf.compiler.Version.suffix)
1111 if (!_internal_has_suffix()) {
1112 return nullptr;
1113 }
1114 _has_bits_[0] &= ~0x00000001u;
1115 return suffix_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1116 }
set_allocated_suffix(std::string * suffix)1117 inline void Version::set_allocated_suffix(std::string* suffix) {
1118 if (suffix != nullptr) {
1119 _has_bits_[0] |= 0x00000001u;
1120 } else {
1121 _has_bits_[0] &= ~0x00000001u;
1122 }
1123 suffix_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), suffix,
1124 GetArena());
1125 // @@protoc_insertion_point(field_set_allocated:google.protobuf.compiler.Version.suffix)
1126 }
1127
1128 // -------------------------------------------------------------------
1129
1130 // CodeGeneratorRequest
1131
1132 // repeated string file_to_generate = 1;
_internal_file_to_generate_size()1133 inline int CodeGeneratorRequest::_internal_file_to_generate_size() const {
1134 return file_to_generate_.size();
1135 }
file_to_generate_size()1136 inline int CodeGeneratorRequest::file_to_generate_size() const {
1137 return _internal_file_to_generate_size();
1138 }
clear_file_to_generate()1139 inline void CodeGeneratorRequest::clear_file_to_generate() {
1140 file_to_generate_.Clear();
1141 }
add_file_to_generate()1142 inline std::string* CodeGeneratorRequest::add_file_to_generate() {
1143 // @@protoc_insertion_point(field_add_mutable:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
1144 return _internal_add_file_to_generate();
1145 }
_internal_file_to_generate(int index)1146 inline const std::string& CodeGeneratorRequest::_internal_file_to_generate(int index) const {
1147 return file_to_generate_.Get(index);
1148 }
file_to_generate(int index)1149 inline const std::string& CodeGeneratorRequest::file_to_generate(int index) const {
1150 // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
1151 return _internal_file_to_generate(index);
1152 }
mutable_file_to_generate(int index)1153 inline std::string* CodeGeneratorRequest::mutable_file_to_generate(int index) {
1154 // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
1155 return file_to_generate_.Mutable(index);
1156 }
set_file_to_generate(int index,const std::string & value)1157 inline void CodeGeneratorRequest::set_file_to_generate(int index, const std::string& value) {
1158 // @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
1159 file_to_generate_.Mutable(index)->assign(value);
1160 }
set_file_to_generate(int index,std::string && value)1161 inline void CodeGeneratorRequest::set_file_to_generate(int index, std::string&& value) {
1162 // @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
1163 file_to_generate_.Mutable(index)->assign(std::move(value));
1164 }
set_file_to_generate(int index,const char * value)1165 inline void CodeGeneratorRequest::set_file_to_generate(int index, const char* value) {
1166 GOOGLE_DCHECK(value != nullptr);
1167 file_to_generate_.Mutable(index)->assign(value);
1168 // @@protoc_insertion_point(field_set_char:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
1169 }
set_file_to_generate(int index,const char * value,size_t size)1170 inline void CodeGeneratorRequest::set_file_to_generate(int index, const char* value, size_t size) {
1171 file_to_generate_.Mutable(index)->assign(
1172 reinterpret_cast<const char*>(value), size);
1173 // @@protoc_insertion_point(field_set_pointer:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
1174 }
_internal_add_file_to_generate()1175 inline std::string* CodeGeneratorRequest::_internal_add_file_to_generate() {
1176 return file_to_generate_.Add();
1177 }
add_file_to_generate(const std::string & value)1178 inline void CodeGeneratorRequest::add_file_to_generate(const std::string& value) {
1179 file_to_generate_.Add()->assign(value);
1180 // @@protoc_insertion_point(field_add:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
1181 }
add_file_to_generate(std::string && value)1182 inline void CodeGeneratorRequest::add_file_to_generate(std::string&& value) {
1183 file_to_generate_.Add(std::move(value));
1184 // @@protoc_insertion_point(field_add:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
1185 }
add_file_to_generate(const char * value)1186 inline void CodeGeneratorRequest::add_file_to_generate(const char* value) {
1187 GOOGLE_DCHECK(value != nullptr);
1188 file_to_generate_.Add()->assign(value);
1189 // @@protoc_insertion_point(field_add_char:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
1190 }
add_file_to_generate(const char * value,size_t size)1191 inline void CodeGeneratorRequest::add_file_to_generate(const char* value, size_t size) {
1192 file_to_generate_.Add()->assign(reinterpret_cast<const char*>(value), size);
1193 // @@protoc_insertion_point(field_add_pointer:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
1194 }
1195 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
file_to_generate()1196 CodeGeneratorRequest::file_to_generate() const {
1197 // @@protoc_insertion_point(field_list:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
1198 return file_to_generate_;
1199 }
1200 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
mutable_file_to_generate()1201 CodeGeneratorRequest::mutable_file_to_generate() {
1202 // @@protoc_insertion_point(field_mutable_list:google.protobuf.compiler.CodeGeneratorRequest.file_to_generate)
1203 return &file_to_generate_;
1204 }
1205
1206 // optional string parameter = 2;
_internal_has_parameter()1207 inline bool CodeGeneratorRequest::_internal_has_parameter() const {
1208 bool value = (_has_bits_[0] & 0x00000001u) != 0;
1209 return value;
1210 }
has_parameter()1211 inline bool CodeGeneratorRequest::has_parameter() const {
1212 return _internal_has_parameter();
1213 }
clear_parameter()1214 inline void CodeGeneratorRequest::clear_parameter() {
1215 parameter_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1216 _has_bits_[0] &= ~0x00000001u;
1217 }
parameter()1218 inline const std::string& CodeGeneratorRequest::parameter() const {
1219 // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorRequest.parameter)
1220 return _internal_parameter();
1221 }
set_parameter(const std::string & value)1222 inline void CodeGeneratorRequest::set_parameter(const std::string& value) {
1223 _internal_set_parameter(value);
1224 // @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorRequest.parameter)
1225 }
mutable_parameter()1226 inline std::string* CodeGeneratorRequest::mutable_parameter() {
1227 // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorRequest.parameter)
1228 return _internal_mutable_parameter();
1229 }
_internal_parameter()1230 inline const std::string& CodeGeneratorRequest::_internal_parameter() const {
1231 return parameter_.Get();
1232 }
_internal_set_parameter(const std::string & value)1233 inline void CodeGeneratorRequest::_internal_set_parameter(const std::string& value) {
1234 _has_bits_[0] |= 0x00000001u;
1235 parameter_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
1236 }
set_parameter(std::string && value)1237 inline void CodeGeneratorRequest::set_parameter(std::string&& value) {
1238 _has_bits_[0] |= 0x00000001u;
1239 parameter_.Set(
1240 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
1241 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.compiler.CodeGeneratorRequest.parameter)
1242 }
set_parameter(const char * value)1243 inline void CodeGeneratorRequest::set_parameter(const char* value) {
1244 GOOGLE_DCHECK(value != nullptr);
1245 _has_bits_[0] |= 0x00000001u;
1246 parameter_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
1247 GetArena());
1248 // @@protoc_insertion_point(field_set_char:google.protobuf.compiler.CodeGeneratorRequest.parameter)
1249 }
set_parameter(const char * value,size_t size)1250 inline void CodeGeneratorRequest::set_parameter(const char* value,
1251 size_t size) {
1252 _has_bits_[0] |= 0x00000001u;
1253 parameter_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
1254 reinterpret_cast<const char*>(value), size), GetArena());
1255 // @@protoc_insertion_point(field_set_pointer:google.protobuf.compiler.CodeGeneratorRequest.parameter)
1256 }
_internal_mutable_parameter()1257 inline std::string* CodeGeneratorRequest::_internal_mutable_parameter() {
1258 _has_bits_[0] |= 0x00000001u;
1259 return parameter_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1260 }
release_parameter()1261 inline std::string* CodeGeneratorRequest::release_parameter() {
1262 // @@protoc_insertion_point(field_release:google.protobuf.compiler.CodeGeneratorRequest.parameter)
1263 if (!_internal_has_parameter()) {
1264 return nullptr;
1265 }
1266 _has_bits_[0] &= ~0x00000001u;
1267 return parameter_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1268 }
set_allocated_parameter(std::string * parameter)1269 inline void CodeGeneratorRequest::set_allocated_parameter(std::string* parameter) {
1270 if (parameter != nullptr) {
1271 _has_bits_[0] |= 0x00000001u;
1272 } else {
1273 _has_bits_[0] &= ~0x00000001u;
1274 }
1275 parameter_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), parameter,
1276 GetArena());
1277 // @@protoc_insertion_point(field_set_allocated:google.protobuf.compiler.CodeGeneratorRequest.parameter)
1278 }
1279
1280 // repeated .google.protobuf.FileDescriptorProto proto_file = 15;
_internal_proto_file_size()1281 inline int CodeGeneratorRequest::_internal_proto_file_size() const {
1282 return proto_file_.size();
1283 }
proto_file_size()1284 inline int CodeGeneratorRequest::proto_file_size() const {
1285 return _internal_proto_file_size();
1286 }
mutable_proto_file(int index)1287 inline PROTOBUF_NAMESPACE_ID::FileDescriptorProto* CodeGeneratorRequest::mutable_proto_file(int index) {
1288 // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorRequest.proto_file)
1289 return proto_file_.Mutable(index);
1290 }
1291 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FileDescriptorProto >*
mutable_proto_file()1292 CodeGeneratorRequest::mutable_proto_file() {
1293 // @@protoc_insertion_point(field_mutable_list:google.protobuf.compiler.CodeGeneratorRequest.proto_file)
1294 return &proto_file_;
1295 }
_internal_proto_file(int index)1296 inline const PROTOBUF_NAMESPACE_ID::FileDescriptorProto& CodeGeneratorRequest::_internal_proto_file(int index) const {
1297 return proto_file_.Get(index);
1298 }
proto_file(int index)1299 inline const PROTOBUF_NAMESPACE_ID::FileDescriptorProto& CodeGeneratorRequest::proto_file(int index) const {
1300 // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorRequest.proto_file)
1301 return _internal_proto_file(index);
1302 }
_internal_add_proto_file()1303 inline PROTOBUF_NAMESPACE_ID::FileDescriptorProto* CodeGeneratorRequest::_internal_add_proto_file() {
1304 return proto_file_.Add();
1305 }
add_proto_file()1306 inline PROTOBUF_NAMESPACE_ID::FileDescriptorProto* CodeGeneratorRequest::add_proto_file() {
1307 // @@protoc_insertion_point(field_add:google.protobuf.compiler.CodeGeneratorRequest.proto_file)
1308 return _internal_add_proto_file();
1309 }
1310 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FileDescriptorProto >&
proto_file()1311 CodeGeneratorRequest::proto_file() const {
1312 // @@protoc_insertion_point(field_list:google.protobuf.compiler.CodeGeneratorRequest.proto_file)
1313 return proto_file_;
1314 }
1315
1316 // optional .google.protobuf.compiler.Version compiler_version = 3;
_internal_has_compiler_version()1317 inline bool CodeGeneratorRequest::_internal_has_compiler_version() const {
1318 bool value = (_has_bits_[0] & 0x00000002u) != 0;
1319 PROTOBUF_ASSUME(!value || compiler_version_ != nullptr);
1320 return value;
1321 }
has_compiler_version()1322 inline bool CodeGeneratorRequest::has_compiler_version() const {
1323 return _internal_has_compiler_version();
1324 }
clear_compiler_version()1325 inline void CodeGeneratorRequest::clear_compiler_version() {
1326 if (compiler_version_ != nullptr) compiler_version_->Clear();
1327 _has_bits_[0] &= ~0x00000002u;
1328 }
_internal_compiler_version()1329 inline const PROTOBUF_NAMESPACE_ID::compiler::Version& CodeGeneratorRequest::_internal_compiler_version() const {
1330 const PROTOBUF_NAMESPACE_ID::compiler::Version* p = compiler_version_;
1331 return p != nullptr ? *p : *reinterpret_cast<const PROTOBUF_NAMESPACE_ID::compiler::Version*>(
1332 &PROTOBUF_NAMESPACE_ID::compiler::_Version_default_instance_);
1333 }
compiler_version()1334 inline const PROTOBUF_NAMESPACE_ID::compiler::Version& CodeGeneratorRequest::compiler_version() const {
1335 // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorRequest.compiler_version)
1336 return _internal_compiler_version();
1337 }
unsafe_arena_set_allocated_compiler_version(PROTOBUF_NAMESPACE_ID::compiler::Version * compiler_version)1338 inline void CodeGeneratorRequest::unsafe_arena_set_allocated_compiler_version(
1339 PROTOBUF_NAMESPACE_ID::compiler::Version* compiler_version) {
1340 if (GetArena() == nullptr) {
1341 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(compiler_version_);
1342 }
1343 compiler_version_ = compiler_version;
1344 if (compiler_version) {
1345 _has_bits_[0] |= 0x00000002u;
1346 } else {
1347 _has_bits_[0] &= ~0x00000002u;
1348 }
1349 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.compiler.CodeGeneratorRequest.compiler_version)
1350 }
release_compiler_version()1351 inline PROTOBUF_NAMESPACE_ID::compiler::Version* CodeGeneratorRequest::release_compiler_version() {
1352 _has_bits_[0] &= ~0x00000002u;
1353 PROTOBUF_NAMESPACE_ID::compiler::Version* temp = compiler_version_;
1354 compiler_version_ = nullptr;
1355 if (GetArena() != nullptr) {
1356 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1357 }
1358 return temp;
1359 }
unsafe_arena_release_compiler_version()1360 inline PROTOBUF_NAMESPACE_ID::compiler::Version* CodeGeneratorRequest::unsafe_arena_release_compiler_version() {
1361 // @@protoc_insertion_point(field_release:google.protobuf.compiler.CodeGeneratorRequest.compiler_version)
1362 _has_bits_[0] &= ~0x00000002u;
1363 PROTOBUF_NAMESPACE_ID::compiler::Version* temp = compiler_version_;
1364 compiler_version_ = nullptr;
1365 return temp;
1366 }
_internal_mutable_compiler_version()1367 inline PROTOBUF_NAMESPACE_ID::compiler::Version* CodeGeneratorRequest::_internal_mutable_compiler_version() {
1368 _has_bits_[0] |= 0x00000002u;
1369 if (compiler_version_ == nullptr) {
1370 auto* p = CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::compiler::Version>(GetArena());
1371 compiler_version_ = p;
1372 }
1373 return compiler_version_;
1374 }
mutable_compiler_version()1375 inline PROTOBUF_NAMESPACE_ID::compiler::Version* CodeGeneratorRequest::mutable_compiler_version() {
1376 // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorRequest.compiler_version)
1377 return _internal_mutable_compiler_version();
1378 }
set_allocated_compiler_version(PROTOBUF_NAMESPACE_ID::compiler::Version * compiler_version)1379 inline void CodeGeneratorRequest::set_allocated_compiler_version(PROTOBUF_NAMESPACE_ID::compiler::Version* compiler_version) {
1380 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1381 if (message_arena == nullptr) {
1382 delete compiler_version_;
1383 }
1384 if (compiler_version) {
1385 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1386 ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(compiler_version);
1387 if (message_arena != submessage_arena) {
1388 compiler_version = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1389 message_arena, compiler_version, submessage_arena);
1390 }
1391 _has_bits_[0] |= 0x00000002u;
1392 } else {
1393 _has_bits_[0] &= ~0x00000002u;
1394 }
1395 compiler_version_ = compiler_version;
1396 // @@protoc_insertion_point(field_set_allocated:google.protobuf.compiler.CodeGeneratorRequest.compiler_version)
1397 }
1398
1399 // -------------------------------------------------------------------
1400
1401 // CodeGeneratorResponse_File
1402
1403 // optional string name = 1;
_internal_has_name()1404 inline bool CodeGeneratorResponse_File::_internal_has_name() const {
1405 bool value = (_has_bits_[0] & 0x00000001u) != 0;
1406 return value;
1407 }
has_name()1408 inline bool CodeGeneratorResponse_File::has_name() const {
1409 return _internal_has_name();
1410 }
clear_name()1411 inline void CodeGeneratorResponse_File::clear_name() {
1412 name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1413 _has_bits_[0] &= ~0x00000001u;
1414 }
name()1415 inline const std::string& CodeGeneratorResponse_File::name() const {
1416 // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorResponse.File.name)
1417 return _internal_name();
1418 }
set_name(const std::string & value)1419 inline void CodeGeneratorResponse_File::set_name(const std::string& value) {
1420 _internal_set_name(value);
1421 // @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorResponse.File.name)
1422 }
mutable_name()1423 inline std::string* CodeGeneratorResponse_File::mutable_name() {
1424 // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorResponse.File.name)
1425 return _internal_mutable_name();
1426 }
_internal_name()1427 inline const std::string& CodeGeneratorResponse_File::_internal_name() const {
1428 return name_.Get();
1429 }
_internal_set_name(const std::string & value)1430 inline void CodeGeneratorResponse_File::_internal_set_name(const std::string& value) {
1431 _has_bits_[0] |= 0x00000001u;
1432 name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
1433 }
set_name(std::string && value)1434 inline void CodeGeneratorResponse_File::set_name(std::string&& value) {
1435 _has_bits_[0] |= 0x00000001u;
1436 name_.Set(
1437 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
1438 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.compiler.CodeGeneratorResponse.File.name)
1439 }
set_name(const char * value)1440 inline void CodeGeneratorResponse_File::set_name(const char* value) {
1441 GOOGLE_DCHECK(value != nullptr);
1442 _has_bits_[0] |= 0x00000001u;
1443 name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
1444 GetArena());
1445 // @@protoc_insertion_point(field_set_char:google.protobuf.compiler.CodeGeneratorResponse.File.name)
1446 }
set_name(const char * value,size_t size)1447 inline void CodeGeneratorResponse_File::set_name(const char* value,
1448 size_t size) {
1449 _has_bits_[0] |= 0x00000001u;
1450 name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
1451 reinterpret_cast<const char*>(value), size), GetArena());
1452 // @@protoc_insertion_point(field_set_pointer:google.protobuf.compiler.CodeGeneratorResponse.File.name)
1453 }
_internal_mutable_name()1454 inline std::string* CodeGeneratorResponse_File::_internal_mutable_name() {
1455 _has_bits_[0] |= 0x00000001u;
1456 return name_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1457 }
release_name()1458 inline std::string* CodeGeneratorResponse_File::release_name() {
1459 // @@protoc_insertion_point(field_release:google.protobuf.compiler.CodeGeneratorResponse.File.name)
1460 if (!_internal_has_name()) {
1461 return nullptr;
1462 }
1463 _has_bits_[0] &= ~0x00000001u;
1464 return name_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1465 }
set_allocated_name(std::string * name)1466 inline void CodeGeneratorResponse_File::set_allocated_name(std::string* name) {
1467 if (name != nullptr) {
1468 _has_bits_[0] |= 0x00000001u;
1469 } else {
1470 _has_bits_[0] &= ~0x00000001u;
1471 }
1472 name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
1473 GetArena());
1474 // @@protoc_insertion_point(field_set_allocated:google.protobuf.compiler.CodeGeneratorResponse.File.name)
1475 }
1476
1477 // optional string insertion_point = 2;
_internal_has_insertion_point()1478 inline bool CodeGeneratorResponse_File::_internal_has_insertion_point() const {
1479 bool value = (_has_bits_[0] & 0x00000002u) != 0;
1480 return value;
1481 }
has_insertion_point()1482 inline bool CodeGeneratorResponse_File::has_insertion_point() const {
1483 return _internal_has_insertion_point();
1484 }
clear_insertion_point()1485 inline void CodeGeneratorResponse_File::clear_insertion_point() {
1486 insertion_point_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1487 _has_bits_[0] &= ~0x00000002u;
1488 }
insertion_point()1489 inline const std::string& CodeGeneratorResponse_File::insertion_point() const {
1490 // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point)
1491 return _internal_insertion_point();
1492 }
set_insertion_point(const std::string & value)1493 inline void CodeGeneratorResponse_File::set_insertion_point(const std::string& value) {
1494 _internal_set_insertion_point(value);
1495 // @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point)
1496 }
mutable_insertion_point()1497 inline std::string* CodeGeneratorResponse_File::mutable_insertion_point() {
1498 // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point)
1499 return _internal_mutable_insertion_point();
1500 }
_internal_insertion_point()1501 inline const std::string& CodeGeneratorResponse_File::_internal_insertion_point() const {
1502 return insertion_point_.Get();
1503 }
_internal_set_insertion_point(const std::string & value)1504 inline void CodeGeneratorResponse_File::_internal_set_insertion_point(const std::string& value) {
1505 _has_bits_[0] |= 0x00000002u;
1506 insertion_point_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
1507 }
set_insertion_point(std::string && value)1508 inline void CodeGeneratorResponse_File::set_insertion_point(std::string&& value) {
1509 _has_bits_[0] |= 0x00000002u;
1510 insertion_point_.Set(
1511 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
1512 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point)
1513 }
set_insertion_point(const char * value)1514 inline void CodeGeneratorResponse_File::set_insertion_point(const char* value) {
1515 GOOGLE_DCHECK(value != nullptr);
1516 _has_bits_[0] |= 0x00000002u;
1517 insertion_point_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
1518 GetArena());
1519 // @@protoc_insertion_point(field_set_char:google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point)
1520 }
set_insertion_point(const char * value,size_t size)1521 inline void CodeGeneratorResponse_File::set_insertion_point(const char* value,
1522 size_t size) {
1523 _has_bits_[0] |= 0x00000002u;
1524 insertion_point_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
1525 reinterpret_cast<const char*>(value), size), GetArena());
1526 // @@protoc_insertion_point(field_set_pointer:google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point)
1527 }
_internal_mutable_insertion_point()1528 inline std::string* CodeGeneratorResponse_File::_internal_mutable_insertion_point() {
1529 _has_bits_[0] |= 0x00000002u;
1530 return insertion_point_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1531 }
release_insertion_point()1532 inline std::string* CodeGeneratorResponse_File::release_insertion_point() {
1533 // @@protoc_insertion_point(field_release:google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point)
1534 if (!_internal_has_insertion_point()) {
1535 return nullptr;
1536 }
1537 _has_bits_[0] &= ~0x00000002u;
1538 return insertion_point_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1539 }
set_allocated_insertion_point(std::string * insertion_point)1540 inline void CodeGeneratorResponse_File::set_allocated_insertion_point(std::string* insertion_point) {
1541 if (insertion_point != nullptr) {
1542 _has_bits_[0] |= 0x00000002u;
1543 } else {
1544 _has_bits_[0] &= ~0x00000002u;
1545 }
1546 insertion_point_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), insertion_point,
1547 GetArena());
1548 // @@protoc_insertion_point(field_set_allocated:google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point)
1549 }
1550
1551 // optional string content = 15;
_internal_has_content()1552 inline bool CodeGeneratorResponse_File::_internal_has_content() const {
1553 bool value = (_has_bits_[0] & 0x00000004u) != 0;
1554 return value;
1555 }
has_content()1556 inline bool CodeGeneratorResponse_File::has_content() const {
1557 return _internal_has_content();
1558 }
clear_content()1559 inline void CodeGeneratorResponse_File::clear_content() {
1560 content_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1561 _has_bits_[0] &= ~0x00000004u;
1562 }
content()1563 inline const std::string& CodeGeneratorResponse_File::content() const {
1564 // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorResponse.File.content)
1565 return _internal_content();
1566 }
set_content(const std::string & value)1567 inline void CodeGeneratorResponse_File::set_content(const std::string& value) {
1568 _internal_set_content(value);
1569 // @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorResponse.File.content)
1570 }
mutable_content()1571 inline std::string* CodeGeneratorResponse_File::mutable_content() {
1572 // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorResponse.File.content)
1573 return _internal_mutable_content();
1574 }
_internal_content()1575 inline const std::string& CodeGeneratorResponse_File::_internal_content() const {
1576 return content_.Get();
1577 }
_internal_set_content(const std::string & value)1578 inline void CodeGeneratorResponse_File::_internal_set_content(const std::string& value) {
1579 _has_bits_[0] |= 0x00000004u;
1580 content_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
1581 }
set_content(std::string && value)1582 inline void CodeGeneratorResponse_File::set_content(std::string&& value) {
1583 _has_bits_[0] |= 0x00000004u;
1584 content_.Set(
1585 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
1586 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.compiler.CodeGeneratorResponse.File.content)
1587 }
set_content(const char * value)1588 inline void CodeGeneratorResponse_File::set_content(const char* value) {
1589 GOOGLE_DCHECK(value != nullptr);
1590 _has_bits_[0] |= 0x00000004u;
1591 content_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
1592 GetArena());
1593 // @@protoc_insertion_point(field_set_char:google.protobuf.compiler.CodeGeneratorResponse.File.content)
1594 }
set_content(const char * value,size_t size)1595 inline void CodeGeneratorResponse_File::set_content(const char* value,
1596 size_t size) {
1597 _has_bits_[0] |= 0x00000004u;
1598 content_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
1599 reinterpret_cast<const char*>(value), size), GetArena());
1600 // @@protoc_insertion_point(field_set_pointer:google.protobuf.compiler.CodeGeneratorResponse.File.content)
1601 }
_internal_mutable_content()1602 inline std::string* CodeGeneratorResponse_File::_internal_mutable_content() {
1603 _has_bits_[0] |= 0x00000004u;
1604 return content_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1605 }
release_content()1606 inline std::string* CodeGeneratorResponse_File::release_content() {
1607 // @@protoc_insertion_point(field_release:google.protobuf.compiler.CodeGeneratorResponse.File.content)
1608 if (!_internal_has_content()) {
1609 return nullptr;
1610 }
1611 _has_bits_[0] &= ~0x00000004u;
1612 return content_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1613 }
set_allocated_content(std::string * content)1614 inline void CodeGeneratorResponse_File::set_allocated_content(std::string* content) {
1615 if (content != nullptr) {
1616 _has_bits_[0] |= 0x00000004u;
1617 } else {
1618 _has_bits_[0] &= ~0x00000004u;
1619 }
1620 content_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), content,
1621 GetArena());
1622 // @@protoc_insertion_point(field_set_allocated:google.protobuf.compiler.CodeGeneratorResponse.File.content)
1623 }
1624
1625 // -------------------------------------------------------------------
1626
1627 // CodeGeneratorResponse
1628
1629 // optional string error = 1;
_internal_has_error()1630 inline bool CodeGeneratorResponse::_internal_has_error() const {
1631 bool value = (_has_bits_[0] & 0x00000001u) != 0;
1632 return value;
1633 }
has_error()1634 inline bool CodeGeneratorResponse::has_error() const {
1635 return _internal_has_error();
1636 }
clear_error()1637 inline void CodeGeneratorResponse::clear_error() {
1638 error_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1639 _has_bits_[0] &= ~0x00000001u;
1640 }
error()1641 inline const std::string& CodeGeneratorResponse::error() const {
1642 // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorResponse.error)
1643 return _internal_error();
1644 }
set_error(const std::string & value)1645 inline void CodeGeneratorResponse::set_error(const std::string& value) {
1646 _internal_set_error(value);
1647 // @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorResponse.error)
1648 }
mutable_error()1649 inline std::string* CodeGeneratorResponse::mutable_error() {
1650 // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorResponse.error)
1651 return _internal_mutable_error();
1652 }
_internal_error()1653 inline const std::string& CodeGeneratorResponse::_internal_error() const {
1654 return error_.Get();
1655 }
_internal_set_error(const std::string & value)1656 inline void CodeGeneratorResponse::_internal_set_error(const std::string& value) {
1657 _has_bits_[0] |= 0x00000001u;
1658 error_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
1659 }
set_error(std::string && value)1660 inline void CodeGeneratorResponse::set_error(std::string&& value) {
1661 _has_bits_[0] |= 0x00000001u;
1662 error_.Set(
1663 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
1664 // @@protoc_insertion_point(field_set_rvalue:google.protobuf.compiler.CodeGeneratorResponse.error)
1665 }
set_error(const char * value)1666 inline void CodeGeneratorResponse::set_error(const char* value) {
1667 GOOGLE_DCHECK(value != nullptr);
1668 _has_bits_[0] |= 0x00000001u;
1669 error_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
1670 GetArena());
1671 // @@protoc_insertion_point(field_set_char:google.protobuf.compiler.CodeGeneratorResponse.error)
1672 }
set_error(const char * value,size_t size)1673 inline void CodeGeneratorResponse::set_error(const char* value,
1674 size_t size) {
1675 _has_bits_[0] |= 0x00000001u;
1676 error_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
1677 reinterpret_cast<const char*>(value), size), GetArena());
1678 // @@protoc_insertion_point(field_set_pointer:google.protobuf.compiler.CodeGeneratorResponse.error)
1679 }
_internal_mutable_error()1680 inline std::string* CodeGeneratorResponse::_internal_mutable_error() {
1681 _has_bits_[0] |= 0x00000001u;
1682 return error_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1683 }
release_error()1684 inline std::string* CodeGeneratorResponse::release_error() {
1685 // @@protoc_insertion_point(field_release:google.protobuf.compiler.CodeGeneratorResponse.error)
1686 if (!_internal_has_error()) {
1687 return nullptr;
1688 }
1689 _has_bits_[0] &= ~0x00000001u;
1690 return error_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1691 }
set_allocated_error(std::string * error)1692 inline void CodeGeneratorResponse::set_allocated_error(std::string* error) {
1693 if (error != nullptr) {
1694 _has_bits_[0] |= 0x00000001u;
1695 } else {
1696 _has_bits_[0] &= ~0x00000001u;
1697 }
1698 error_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), error,
1699 GetArena());
1700 // @@protoc_insertion_point(field_set_allocated:google.protobuf.compiler.CodeGeneratorResponse.error)
1701 }
1702
1703 // optional uint64 supported_features = 2;
_internal_has_supported_features()1704 inline bool CodeGeneratorResponse::_internal_has_supported_features() const {
1705 bool value = (_has_bits_[0] & 0x00000002u) != 0;
1706 return value;
1707 }
has_supported_features()1708 inline bool CodeGeneratorResponse::has_supported_features() const {
1709 return _internal_has_supported_features();
1710 }
clear_supported_features()1711 inline void CodeGeneratorResponse::clear_supported_features() {
1712 supported_features_ = PROTOBUF_ULONGLONG(0);
1713 _has_bits_[0] &= ~0x00000002u;
1714 }
_internal_supported_features()1715 inline ::PROTOBUF_NAMESPACE_ID::uint64 CodeGeneratorResponse::_internal_supported_features() const {
1716 return supported_features_;
1717 }
supported_features()1718 inline ::PROTOBUF_NAMESPACE_ID::uint64 CodeGeneratorResponse::supported_features() const {
1719 // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorResponse.supported_features)
1720 return _internal_supported_features();
1721 }
_internal_set_supported_features(::PROTOBUF_NAMESPACE_ID::uint64 value)1722 inline void CodeGeneratorResponse::_internal_set_supported_features(::PROTOBUF_NAMESPACE_ID::uint64 value) {
1723 _has_bits_[0] |= 0x00000002u;
1724 supported_features_ = value;
1725 }
set_supported_features(::PROTOBUF_NAMESPACE_ID::uint64 value)1726 inline void CodeGeneratorResponse::set_supported_features(::PROTOBUF_NAMESPACE_ID::uint64 value) {
1727 _internal_set_supported_features(value);
1728 // @@protoc_insertion_point(field_set:google.protobuf.compiler.CodeGeneratorResponse.supported_features)
1729 }
1730
1731 // repeated .google.protobuf.compiler.CodeGeneratorResponse.File file = 15;
_internal_file_size()1732 inline int CodeGeneratorResponse::_internal_file_size() const {
1733 return file_.size();
1734 }
file_size()1735 inline int CodeGeneratorResponse::file_size() const {
1736 return _internal_file_size();
1737 }
clear_file()1738 inline void CodeGeneratorResponse::clear_file() {
1739 file_.Clear();
1740 }
mutable_file(int index)1741 inline PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File* CodeGeneratorResponse::mutable_file(int index) {
1742 // @@protoc_insertion_point(field_mutable:google.protobuf.compiler.CodeGeneratorResponse.file)
1743 return file_.Mutable(index);
1744 }
1745 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File >*
mutable_file()1746 CodeGeneratorResponse::mutable_file() {
1747 // @@protoc_insertion_point(field_mutable_list:google.protobuf.compiler.CodeGeneratorResponse.file)
1748 return &file_;
1749 }
_internal_file(int index)1750 inline const PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File& CodeGeneratorResponse::_internal_file(int index) const {
1751 return file_.Get(index);
1752 }
file(int index)1753 inline const PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File& CodeGeneratorResponse::file(int index) const {
1754 // @@protoc_insertion_point(field_get:google.protobuf.compiler.CodeGeneratorResponse.file)
1755 return _internal_file(index);
1756 }
_internal_add_file()1757 inline PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File* CodeGeneratorResponse::_internal_add_file() {
1758 return file_.Add();
1759 }
add_file()1760 inline PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File* CodeGeneratorResponse::add_file() {
1761 // @@protoc_insertion_point(field_add:google.protobuf.compiler.CodeGeneratorResponse.file)
1762 return _internal_add_file();
1763 }
1764 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File >&
file()1765 CodeGeneratorResponse::file() const {
1766 // @@protoc_insertion_point(field_list:google.protobuf.compiler.CodeGeneratorResponse.file)
1767 return file_;
1768 }
1769
1770 #ifdef __GNUC__
1771 #pragma GCC diagnostic pop
1772 #endif // __GNUC__
1773 // -------------------------------------------------------------------
1774
1775 // -------------------------------------------------------------------
1776
1777 // -------------------------------------------------------------------
1778
1779
1780 // @@protoc_insertion_point(namespace_scope)
1781
1782 } // namespace compiler
1783 PROTOBUF_NAMESPACE_CLOSE
1784
1785 PROTOBUF_NAMESPACE_OPEN
1786
1787 template <> struct is_proto_enum< PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_Feature> : ::std::true_type {};
1788 template <>
1789 inline const EnumDescriptor* GetEnumDescriptor< PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_Feature>() {
1790 return PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_Feature_descriptor();
1791 }
1792
1793 PROTOBUF_NAMESPACE_CLOSE
1794
1795 // @@protoc_insertion_point(global_scope)
1796
1797 #include <google/protobuf/port_undef.inc>
1798 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fcompiler_2fplugin_2eproto
1799