4 #ifndef GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fcompiler_2fplugin_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fcompiler_2fplugin_2eproto
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3019000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
16 #if 3019005 < 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.
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/metadata_lite.h>
29 #include <google/protobuf/generated_message_reflection.h>
30 #include <google/protobuf/message.h>
31 #include <google/protobuf/repeated_field.h>
32 #include <google/protobuf/extension_set.h>
33 #include <google/protobuf/generated_enum_reflection.h>
34 #include <google/protobuf/unknown_field_set.h>
35 #include <google/protobuf/descriptor.pb.h>
37 #include <google/protobuf/port_def.inc>
38 #define PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fcompiler_2fplugin_2eproto PROTOC_EXPORT
45 PROTOBUF_NAMESPACE_OPEN
49 PROTOBUF_NAMESPACE_CLOSE
53 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
55 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
57 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[4]
59 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
60 static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
64 PROTOBUF_NAMESPACE_OPEN
66 class CodeGeneratorRequest;
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*);
85 PROTOBUF_NAMESPACE_CLOSE
86 PROTOBUF_NAMESPACE_OPEN
103 "Incorrect type passed to function CodeGeneratorResponse_Feature_Name.");
109 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<CodeGeneratorResponse_Feature>(
114 class PROTOC_EXPORT
Version final :
119 explicit constexpr
Version(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
132 if (
this == &
from)
return *
this;
133 if (GetOwningArena() ==
from.GetOwningArena()
134 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
135 && GetOwningArena() !=
nullptr
156 return default_instance().GetMetadata().descriptor;
159 return default_instance().GetMetadata().reflection;
162 return *internal_default_instance();
165 return reinterpret_cast<const Version*
>(
168 static constexpr
int kIndexInFileMessages =
175 if (other ==
this)
return;
176 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
177 if (GetOwningArena() !=
nullptr &&
178 GetOwningArena() == other->GetOwningArena()) {
179 #else // PROTOBUF_FORCE_COPY_IN_SWAP
180 if (GetOwningArena() == other->GetOwningArena()) {
181 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
188 if (other ==
this)
return;
196 return CreateMaybeMessage<Version>(
arena);
205 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
208 size_t ByteSizeLong()
const final;
212 int GetCachedSize()
const final {
return _cached_size_.Get(); }
217 void SetCachedSize(
int size)
const final;
218 void InternalSwap(
Version* other);
221 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
223 return "google.protobuf.compiler.Version";
227 bool is_message_owned =
false);
229 static void ArenaDtor(
void*
object);
234 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData()
const final;
243 kSuffixFieldNumber = 4,
244 kMajorFieldNumber = 1,
245 kMinorFieldNumber = 2,
246 kPatchFieldNumber = 3,
249 bool has_suffix()
const;
251 bool _internal_has_suffix()
const;
255 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
256 void set_suffix(ArgT0&& arg0, ArgT...
args);
262 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_suffix(
const std::string&
value);
267 bool has_major()
const;
269 bool _internal_has_major()
const;
275 int32_t _internal_major()
const;
280 bool has_minor()
const;
282 bool _internal_has_minor()
const;
288 int32_t _internal_minor()
const;
293 bool has_patch()
const;
295 bool _internal_has_patch()
const;
301 int32_t _internal_patch()
const;
309 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
312 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
313 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
314 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr suffix_;
318 friend struct ::TableStruct_google_2fprotobuf_2fcompiler_2fplugin_2eproto;
327 explicit constexpr
CodeGeneratorRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
340 if (
this == &
from)
return *
this;
341 if (GetOwningArena() ==
from.GetOwningArena()
342 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
343 && GetOwningArena() !=
nullptr
364 return default_instance().GetMetadata().descriptor;
367 return default_instance().GetMetadata().reflection;
370 return *internal_default_instance();
376 static constexpr
int kIndexInFileMessages =
383 if (other ==
this)
return;
384 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
385 if (GetOwningArena() !=
nullptr &&
386 GetOwningArena() == other->GetOwningArena()) {
387 #else // PROTOBUF_FORCE_COPY_IN_SWAP
388 if (GetOwningArena() == other->GetOwningArena()) {
389 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
396 if (other ==
this)
return;
404 return CreateMaybeMessage<CodeGeneratorRequest>(
arena);
413 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
416 size_t ByteSizeLong()
const final;
420 int GetCachedSize()
const final {
return _cached_size_.Get(); }
425 void SetCachedSize(
int size)
const final;
429 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
431 return "google.protobuf.compiler.CodeGeneratorRequest";
435 bool is_message_owned =
false);
437 static void ArenaDtor(
void*
object);
442 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData()
const final;
451 kFileToGenerateFieldNumber = 1,
452 kProtoFileFieldNumber = 15,
453 kParameterFieldNumber = 2,
454 kCompilerVersionFieldNumber = 3,
457 int file_to_generate_size()
const;
459 int _internal_file_to_generate_size()
const;
461 void clear_file_to_generate();
466 void set_file_to_generate(
int index,
const char*
value);
467 void set_file_to_generate(
int index,
const char*
value,
size_t size);
471 void add_file_to_generate(
const char*
value);
472 void add_file_to_generate(
const char*
value,
size_t size);
473 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& file_to_generate()
const;
474 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_file_to_generate();
481 int proto_file_size()
const;
483 int _internal_proto_file_size()
const;
485 void clear_proto_file();
487 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto >*
488 mutable_proto_file();
495 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto >&
499 bool has_parameter()
const;
501 bool _internal_has_parameter()
const;
503 void clear_parameter();
505 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
506 void set_parameter(ArgT0&& arg0, ArgT...
args);
508 PROTOBUF_NODISCARD
std::string* release_parameter();
509 void set_allocated_parameter(
std::string* parameter);
512 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_parameter(
const std::string&
value);
517 bool has_compiler_version()
const;
519 bool _internal_has_compiler_version()
const;
521 void clear_compiler_version();
530 void unsafe_arena_set_allocated_compiler_version(
538 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
541 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
542 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
543 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> file_to_generate_;
544 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto >
proto_file_;
545 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr
parameter_;
547 friend struct ::TableStruct_google_2fprotobuf_2fcompiler_2fplugin_2eproto;
569 if (
this == &
from)
return *
this;
570 if (GetOwningArena() ==
from.GetOwningArena()
571 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
572 && GetOwningArena() !=
nullptr
593 return default_instance().GetMetadata().descriptor;
596 return default_instance().GetMetadata().reflection;
599 return *internal_default_instance();
605 static constexpr
int kIndexInFileMessages =
612 if (other ==
this)
return;
613 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
614 if (GetOwningArena() !=
nullptr &&
615 GetOwningArena() == other->GetOwningArena()) {
616 #else // PROTOBUF_FORCE_COPY_IN_SWAP
617 if (GetOwningArena() == other->GetOwningArena()) {
618 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
625 if (other ==
this)
return;
633 return CreateMaybeMessage<CodeGeneratorResponse_File>(
arena);
642 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
645 size_t ByteSizeLong()
const final;
649 int GetCachedSize()
const final {
return _cached_size_.Get(); }
654 void SetCachedSize(
int size)
const final;
658 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
660 return "google.protobuf.compiler.CodeGeneratorResponse.File";
664 bool is_message_owned =
false);
666 static void ArenaDtor(
void*
object);
671 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData()
const final;
680 kNameFieldNumber = 1,
681 kInsertionPointFieldNumber = 2,
682 kContentFieldNumber = 15,
683 kGeneratedCodeInfoFieldNumber = 16,
686 bool has_name()
const;
688 bool _internal_has_name()
const;
692 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
693 void set_name(ArgT0&& arg0, ArgT...
args);
699 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_name(
const std::string&
value);
704 bool has_insertion_point()
const;
706 bool _internal_has_insertion_point()
const;
708 void clear_insertion_point();
710 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
711 void set_insertion_point(ArgT0&& arg0, ArgT...
args);
713 PROTOBUF_NODISCARD
std::string* release_insertion_point();
714 void set_allocated_insertion_point(
std::string* insertion_point);
716 const std::string& _internal_insertion_point()
const;
717 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_insertion_point(
const std::string&
value);
722 bool has_content()
const;
724 bool _internal_has_content()
const;
726 void clear_content();
728 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
729 void set_content(ArgT0&& arg0, ArgT...
args);
735 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_content(
const std::string&
value);
740 bool has_generated_code_info()
const;
742 bool _internal_has_generated_code_info()
const;
744 void clear_generated_code_info();
745 const ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo& generated_code_info()
const;
746 PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo* release_generated_code_info();
747 ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo* mutable_generated_code_info();
748 void set_allocated_generated_code_info(::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo* generated_code_info);
750 const ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo& _internal_generated_code_info()
const;
751 ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo* _internal_mutable_generated_code_info();
753 void unsafe_arena_set_allocated_generated_code_info(
754 ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo* generated_code_info);
755 ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo* unsafe_arena_release_generated_code_info();
761 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
764 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
765 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
766 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr
name_;
767 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr insertion_point_;
768 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr content_;
770 friend struct ::TableStruct_google_2fprotobuf_2fcompiler_2fplugin_2eproto;
792 if (
this == &
from)
return *
this;
793 if (GetOwningArena() ==
from.GetOwningArena()
794 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
795 && GetOwningArena() !=
nullptr
816 return default_instance().GetMetadata().descriptor;
819 return default_instance().GetMetadata().reflection;
822 return *internal_default_instance();
828 static constexpr
int kIndexInFileMessages =
835 if (other ==
this)
return;
836 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
837 if (GetOwningArena() !=
nullptr &&
838 GetOwningArena() == other->GetOwningArena()) {
839 #else // PROTOBUF_FORCE_COPY_IN_SWAP
840 if (GetOwningArena() == other->GetOwningArena()) {
841 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
848 if (other ==
this)
return;
856 return CreateMaybeMessage<CodeGeneratorResponse>(
arena);
865 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
868 size_t ByteSizeLong()
const final;
872 int GetCachedSize()
const final {
return _cached_size_.Get(); }
877 void SetCachedSize(
int size)
const final;
881 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
883 return "google.protobuf.compiler.CodeGeneratorResponse";
887 bool is_message_owned =
false);
889 static void ArenaDtor(
void*
object);
894 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData()
const final;
905 static constexpr
Feature FEATURE_PROTO3_OPTIONAL =
907 static inline
bool Feature_IsValid(
int value) {
914 static constexpr
int Feature_ARRAYSIZE =
924 "Incorrect type passed to function Feature_Name.");
935 kFileFieldNumber = 15,
936 kErrorFieldNumber = 1,
937 kSupportedFeaturesFieldNumber = 2,
940 int file_size()
const;
942 int _internal_file_size()
const;
945 ::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File* mutable_file(
int index);
946 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File >*
949 const ::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File& _internal_file(
int index)
const;
950 ::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File* _internal_add_file();
952 const ::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File&
file(
int index)
const;
953 ::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File* add_file();
954 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File >&
958 bool has_error()
const;
960 bool _internal_has_error()
const;
964 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
965 void set_error(ArgT0&& arg0, ArgT...
args);
971 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_error(
const std::string&
value);
976 bool has_supported_features()
const;
978 bool _internal_has_supported_features()
const;
980 void clear_supported_features();
981 uint64_t supported_features()
const;
984 uint64_t _internal_supported_features()
const;
992 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
995 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
996 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
997 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File >
file_;
998 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr
error_;
1000 friend struct ::TableStruct_google_2fprotobuf_2fcompiler_2fplugin_2eproto;
1008 #pragma GCC diagnostic push
1009 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1015 bool value = (_has_bits_[0] & 0x00000002
u) != 0;
1019 return _internal_has_major();
1023 _has_bits_[0] &= ~0x00000002
u;
1030 return _internal_major();
1033 _has_bits_[0] |= 0x00000002
u;
1037 _internal_set_major(
value);
1043 bool value = (_has_bits_[0] & 0x00000004
u) != 0;
1047 return _internal_has_minor();
1051 _has_bits_[0] &= ~0x00000004
u;
1058 return _internal_minor();
1061 _has_bits_[0] |= 0x00000004
u;
1065 _internal_set_minor(
value);
1071 bool value = (_has_bits_[0] & 0x00000008
u) != 0;
1075 return _internal_has_patch();
1079 _has_bits_[0] &= ~0x00000008
u;
1086 return _internal_patch();
1089 _has_bits_[0] |= 0x00000008
u;
1093 _internal_set_patch(
value);
1099 bool value = (_has_bits_[0] & 0x00000001
u) != 0;
1103 return _internal_has_suffix();
1106 suffix_.ClearToEmpty();
1107 _has_bits_[0] &= ~0x00000001
u;
1111 return _internal_suffix();
1113 template <
typename ArgT0,
typename... ArgT>
1114 inline PROTOBUF_ALWAYS_INLINE
1116 _has_bits_[0] |= 0x00000001
u;
1126 return suffix_.Get();
1129 _has_bits_[0] |= 0x00000001
u;
1133 _has_bits_[0] |= 0x00000001
u;
1138 if (!_internal_has_suffix()) {
1141 _has_bits_[0] &= ~0x00000001
u;
1143 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1147 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1152 _has_bits_[0] |= 0x00000001
u;
1154 _has_bits_[0] &= ~0x00000001
u;
1157 GetArenaForAllocation());
1158 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1162 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1172 return file_to_generate_.size();
1175 return _internal_file_to_generate_size();
1178 file_to_generate_.Clear();
1181 std::string* _s = _internal_add_file_to_generate();
1186 return file_to_generate_.Get(
index);
1190 return _internal_file_to_generate(
index);
1194 return file_to_generate_.Mutable(
index);
1197 file_to_generate_.Mutable(
index)->assign(
value);
1206 file_to_generate_.Mutable(
index)->assign(
value);
1210 file_to_generate_.Mutable(
index)->assign(
1211 reinterpret_cast<const char*
>(
value),
size);
1215 return file_to_generate_.Add();
1218 file_to_generate_.Add()->assign(
value);
1227 file_to_generate_.Add()->assign(
value);
1231 file_to_generate_.Add()->assign(
reinterpret_cast<const char*
>(
value),
size);
1234 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
1237 return file_to_generate_;
1239 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
1242 return &file_to_generate_;
1247 bool value = (_has_bits_[0] & 0x00000001
u) != 0;
1251 return _internal_has_parameter();
1255 _has_bits_[0] &= ~0x00000001
u;
1259 return _internal_parameter();
1261 template <
typename ArgT0,
typename... ArgT>
1262 inline PROTOBUF_ALWAYS_INLINE
1264 _has_bits_[0] |= 0x00000001
u;
1277 _has_bits_[0] |= 0x00000001
u;
1281 _has_bits_[0] |= 0x00000001
u;
1286 if (!_internal_has_parameter()) {
1289 _has_bits_[0] &= ~0x00000001
u;
1291 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1295 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1299 if (parameter !=
nullptr) {
1300 _has_bits_[0] |= 0x00000001
u;
1302 _has_bits_[0] &= ~0x00000001
u;
1305 GetArenaForAllocation());
1306 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1310 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1316 return proto_file_.size();
1319 return _internal_proto_file_size();
1323 return proto_file_.Mutable(
index);
1325 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto >*
1328 return &proto_file_;
1331 return proto_file_.Get(
index);
1335 return _internal_proto_file(
index);
1338 return proto_file_.Add();
1345 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto >&
1353 bool value = (_has_bits_[0] & 0x00000002
u) != 0;
1354 PROTOBUF_ASSUME(!
value || compiler_version_ !=
nullptr);
1358 return _internal_has_compiler_version();
1361 if (compiler_version_ !=
nullptr) compiler_version_->Clear();
1362 _has_bits_[0] &= ~0x00000002
u;
1367 ::PROTOBUF_NAMESPACE_ID::compiler::_Version_default_instance_);
1371 return _internal_compiler_version();
1375 if (GetArenaForAllocation() ==
nullptr) {
1378 compiler_version_ = compiler_version;
1379 if (compiler_version) {
1380 _has_bits_[0] |= 0x00000002
u;
1382 _has_bits_[0] &= ~0x00000002
u;
1387 _has_bits_[0] &= ~0x00000002
u;
1389 compiler_version_ =
nullptr;
1390 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1393 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
1394 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
1395 if (GetArenaForAllocation() !=
nullptr) {
1398 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1403 _has_bits_[0] &= ~0x00000002
u;
1405 compiler_version_ =
nullptr;
1409 _has_bits_[0] |= 0x00000002
u;
1410 if (compiler_version_ ==
nullptr) {
1411 auto*
p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::compiler::Version>(GetArenaForAllocation());
1412 compiler_version_ =
p;
1414 return compiler_version_;
1423 if (message_arena ==
nullptr) {
1424 delete compiler_version_;
1426 if (compiler_version) {
1428 ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::PROTOBUF_NAMESPACE_ID::compiler::Version>::GetOwningArena(compiler_version);
1429 if (message_arena != submessage_arena) {
1431 message_arena, compiler_version, submessage_arena);
1433 _has_bits_[0] |= 0x00000002
u;
1435 _has_bits_[0] &= ~0x00000002
u;
1437 compiler_version_ = compiler_version;
1447 bool value = (_has_bits_[0] & 0x00000001
u) != 0;
1451 return _internal_has_name();
1454 name_.ClearToEmpty();
1455 _has_bits_[0] &= ~0x00000001
u;
1459 return _internal_name();
1461 template <
typename ArgT0,
typename... ArgT>
1462 inline PROTOBUF_ALWAYS_INLINE
1464 _has_bits_[0] |= 0x00000001
u;
1477 _has_bits_[0] |= 0x00000001
u;
1481 _has_bits_[0] |= 0x00000001
u;
1486 if (!_internal_has_name()) {
1489 _has_bits_[0] &= ~0x00000001
u;
1491 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1495 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1499 if (
name !=
nullptr) {
1500 _has_bits_[0] |= 0x00000001
u;
1502 _has_bits_[0] &= ~0x00000001
u;
1505 GetArenaForAllocation());
1506 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1510 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1516 bool value = (_has_bits_[0] & 0x00000002
u) != 0;
1520 return _internal_has_insertion_point();
1523 insertion_point_.ClearToEmpty();
1524 _has_bits_[0] &= ~0x00000002
u;
1528 return _internal_insertion_point();
1530 template <
typename ArgT0,
typename... ArgT>
1531 inline PROTOBUF_ALWAYS_INLINE
1533 _has_bits_[0] |= 0x00000002
u;
1538 std::string* _s = _internal_mutable_insertion_point();
1543 return insertion_point_.Get();
1546 _has_bits_[0] |= 0x00000002
u;
1550 _has_bits_[0] |= 0x00000002
u;
1555 if (!_internal_has_insertion_point()) {
1558 _has_bits_[0] &= ~0x00000002
u;
1560 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1564 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1568 if (insertion_point !=
nullptr) {
1569 _has_bits_[0] |= 0x00000002
u;
1571 _has_bits_[0] &= ~0x00000002
u;
1574 GetArenaForAllocation());
1575 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1579 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1585 bool value = (_has_bits_[0] & 0x00000004
u) != 0;
1589 return _internal_has_content();
1592 content_.ClearToEmpty();
1593 _has_bits_[0] &= ~0x00000004
u;
1597 return _internal_content();
1599 template <
typename ArgT0,
typename... ArgT>
1600 inline PROTOBUF_ALWAYS_INLINE
1602 _has_bits_[0] |= 0x00000004
u;
1612 return content_.Get();
1615 _has_bits_[0] |= 0x00000004
u;
1619 _has_bits_[0] |= 0x00000004
u;
1624 if (!_internal_has_content()) {
1627 _has_bits_[0] &= ~0x00000004
u;
1629 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1633 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1638 _has_bits_[0] |= 0x00000004
u;
1640 _has_bits_[0] &= ~0x00000004
u;
1643 GetArenaForAllocation());
1644 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1648 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1654 bool value = (_has_bits_[0] & 0x00000008
u) != 0;
1655 PROTOBUF_ASSUME(!
value || generated_code_info_ !=
nullptr);
1659 return _internal_has_generated_code_info();
1662 const ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo*
p = generated_code_info_;
1663 return p !=
nullptr ? *
p :
reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo&
>(
1668 return _internal_generated_code_info();
1671 ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo* generated_code_info) {
1672 if (GetArenaForAllocation() ==
nullptr) {
1675 generated_code_info_ = generated_code_info;
1676 if (generated_code_info) {
1677 _has_bits_[0] |= 0x00000008
u;
1679 _has_bits_[0] &= ~0x00000008
u;
1684 _has_bits_[0] &= ~0x00000008
u;
1685 ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo*
temp = generated_code_info_;
1686 generated_code_info_ =
nullptr;
1687 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1690 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
1691 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
1692 if (GetArenaForAllocation() !=
nullptr) {
1695 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1700 _has_bits_[0] &= ~0x00000008
u;
1701 ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo*
temp = generated_code_info_;
1702 generated_code_info_ =
nullptr;
1706 _has_bits_[0] |= 0x00000008
u;
1707 if (generated_code_info_ ==
nullptr) {
1708 auto*
p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo>(GetArenaForAllocation());
1709 generated_code_info_ =
p;
1711 return generated_code_info_;
1714 ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo* _msg = _internal_mutable_generated_code_info();
1720 if (message_arena ==
nullptr) {
1723 if (generated_code_info) {
1725 ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
1728 if (message_arena != submessage_arena) {
1730 message_arena, generated_code_info, submessage_arena);
1732 _has_bits_[0] |= 0x00000008
u;
1734 _has_bits_[0] &= ~0x00000008
u;
1736 generated_code_info_ = generated_code_info;
1746 bool value = (_has_bits_[0] & 0x00000001
u) != 0;
1750 return _internal_has_error();
1754 _has_bits_[0] &= ~0x00000001
u;
1758 return _internal_error();
1760 template <
typename ArgT0,
typename... ArgT>
1761 inline PROTOBUF_ALWAYS_INLINE
1763 _has_bits_[0] |= 0x00000001
u;
1776 _has_bits_[0] |= 0x00000001
u;
1780 _has_bits_[0] |= 0x00000001
u;
1785 if (!_internal_has_error()) {
1788 _has_bits_[0] &= ~0x00000001
u;
1790 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1794 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1798 if (
error !=
nullptr) {
1799 _has_bits_[0] |= 0x00000001
u;
1801 _has_bits_[0] &= ~0x00000001
u;
1804 GetArenaForAllocation());
1805 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1809 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1815 bool value = (_has_bits_[0] & 0x00000002
u) != 0;
1819 return _internal_has_supported_features();
1823 _has_bits_[0] &= ~0x00000002
u;
1826 return supported_features_;
1830 return _internal_supported_features();
1833 _has_bits_[0] |= 0x00000002
u;
1834 supported_features_ =
value;
1837 _internal_set_supported_features(
value);
1843 return file_.size();
1846 return _internal_file_size();
1855 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File >*
1865 return _internal_file(
index);
1871 ::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File* _add = _internal_add_file();
1875 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File >&
1882 #pragma GCC diagnostic pop
1894 PROTOBUF_NAMESPACE_CLOSE
1896 PROTOBUF_NAMESPACE_OPEN
1898 template <>
struct is_proto_enum< ::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_Feature> :
::std::true_type {};
1900 inline const EnumDescriptor* GetEnumDescriptor< ::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_Feature>() {
1904 PROTOBUF_NAMESPACE_CLOSE
1908 #include <google/protobuf/port_undef.inc>
1909 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fcompiler_2fplugin_2eproto