File indexing completed on 2025-01-31 10:12:01
0001
0002
0003
0004
0005
0006 #ifndef GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fcompiler_2fplugin_2eproto_2epb_2eh
0007 #define GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fcompiler_2fplugin_2eproto_2epb_2eh
0008
0009 #include <limits>
0010 #include <string>
0011 #include <type_traits>
0012 #include <utility>
0013
0014 #include "google/protobuf/runtime_version.h"
0015 #if PROTOBUF_VERSION != 5028002
0016 #error "Protobuf C++ gencode is built with an incompatible version of"
0017 #error "Protobuf C++ headers/runtime. See"
0018 #error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
0019 #endif
0020 #include "google/protobuf/io/coded_stream.h"
0021 #include "google/protobuf/arena.h"
0022 #include "google/protobuf/arenastring.h"
0023 #include "google/protobuf/generated_message_tctable_decl.h"
0024 #include "google/protobuf/generated_message_util.h"
0025 #include "google/protobuf/metadata_lite.h"
0026 #include "google/protobuf/generated_message_reflection.h"
0027 #include "google/protobuf/message.h"
0028 #include "google/protobuf/repeated_field.h" // IWYU pragma: export
0029 #include "google/protobuf/extension_set.h" // IWYU pragma: export
0030 #include "google/protobuf/generated_enum_reflection.h"
0031 #include "google/protobuf/unknown_field_set.h"
0032 #include "google/protobuf/descriptor.pb.h"
0033
0034
0035
0036 #include "google/protobuf/port_def.inc"
0037
0038 #define PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fcompiler_2fplugin_2eproto PROTOC_EXPORT
0039 #ifdef major
0040 #undef major
0041 #endif
0042 #ifdef minor
0043 #undef minor
0044 #endif
0045
0046 namespace google {
0047 namespace protobuf {
0048 namespace internal {
0049 class AnyMetadata;
0050 }
0051 }
0052 }
0053
0054
0055 struct PROTOC_EXPORT TableStruct_google_2fprotobuf_2fcompiler_2fplugin_2eproto {
0056 static const ::uint32_t offsets[];
0057 };
0058 PROTOC_EXPORT extern const ::google::protobuf::internal::DescriptorTable
0059 descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto;
0060 namespace google {
0061 namespace protobuf {
0062 namespace compiler {
0063 class CodeGeneratorRequest;
0064 struct CodeGeneratorRequestDefaultTypeInternal;
0065 PROTOC_EXPORT extern CodeGeneratorRequestDefaultTypeInternal _CodeGeneratorRequest_default_instance_;
0066 class CodeGeneratorResponse;
0067 struct CodeGeneratorResponseDefaultTypeInternal;
0068 PROTOC_EXPORT extern CodeGeneratorResponseDefaultTypeInternal _CodeGeneratorResponse_default_instance_;
0069 class CodeGeneratorResponse_File;
0070 struct CodeGeneratorResponse_FileDefaultTypeInternal;
0071 PROTOC_EXPORT extern CodeGeneratorResponse_FileDefaultTypeInternal _CodeGeneratorResponse_File_default_instance_;
0072 class Version;
0073 struct VersionDefaultTypeInternal;
0074 PROTOC_EXPORT extern VersionDefaultTypeInternal _Version_default_instance_;
0075 }
0076 }
0077 }
0078
0079 namespace google {
0080 namespace protobuf {
0081 namespace compiler {
0082 enum CodeGeneratorResponse_Feature : int {
0083 CodeGeneratorResponse_Feature_FEATURE_NONE = 0,
0084 CodeGeneratorResponse_Feature_FEATURE_PROTO3_OPTIONAL = 1,
0085 CodeGeneratorResponse_Feature_FEATURE_SUPPORTS_EDITIONS = 2,
0086 };
0087
0088 PROTOC_EXPORT bool CodeGeneratorResponse_Feature_IsValid(int value);
0089 PROTOC_EXPORT extern const uint32_t CodeGeneratorResponse_Feature_internal_data_[];
0090 constexpr CodeGeneratorResponse_Feature CodeGeneratorResponse_Feature_Feature_MIN = static_cast<CodeGeneratorResponse_Feature>(0);
0091 constexpr CodeGeneratorResponse_Feature CodeGeneratorResponse_Feature_Feature_MAX = static_cast<CodeGeneratorResponse_Feature>(2);
0092 constexpr int CodeGeneratorResponse_Feature_Feature_ARRAYSIZE = 2 + 1;
0093 PROTOC_EXPORT const ::google::protobuf::EnumDescriptor*
0094 CodeGeneratorResponse_Feature_descriptor();
0095 template <typename T>
0096 const std::string& CodeGeneratorResponse_Feature_Name(T value) {
0097 static_assert(std::is_same<T, CodeGeneratorResponse_Feature>::value ||
0098 std::is_integral<T>::value,
0099 "Incorrect type passed to Feature_Name().");
0100 return CodeGeneratorResponse_Feature_Name(static_cast<CodeGeneratorResponse_Feature>(value));
0101 }
0102 template <>
0103 inline const std::string& CodeGeneratorResponse_Feature_Name(CodeGeneratorResponse_Feature value) {
0104 return ::google::protobuf::internal::NameOfDenseEnum<CodeGeneratorResponse_Feature_descriptor,
0105 0, 2>(
0106 static_cast<int>(value));
0107 }
0108 inline bool CodeGeneratorResponse_Feature_Parse(absl::string_view name, CodeGeneratorResponse_Feature* value) {
0109 return ::google::protobuf::internal::ParseNamedEnum<CodeGeneratorResponse_Feature>(
0110 CodeGeneratorResponse_Feature_descriptor(), name, value);
0111 }
0112
0113
0114
0115
0116
0117
0118 class PROTOC_EXPORT Version final : public ::google::protobuf::Message
0119 {
0120 public:
0121 inline Version() : Version(nullptr) {}
0122 ~Version() PROTOBUF_FINAL;
0123 template <typename = void>
0124 explicit PROTOBUF_CONSTEXPR Version(
0125 ::google::protobuf::internal::ConstantInitialized);
0126
0127 inline Version(const Version& from) : Version(nullptr, from) {}
0128 inline Version(Version&& from) noexcept
0129 : Version(nullptr, std::move(from)) {}
0130 inline Version& operator=(const Version& from) {
0131 CopyFrom(from);
0132 return *this;
0133 }
0134 inline Version& operator=(Version&& from) noexcept {
0135 if (this == &from) return *this;
0136 if (GetArena() == from.GetArena()
0137 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
0138 && GetArena() != nullptr
0139 #endif
0140 ) {
0141 InternalSwap(&from);
0142 } else {
0143 CopyFrom(from);
0144 }
0145 return *this;
0146 }
0147
0148 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
0149 ABSL_ATTRIBUTE_LIFETIME_BOUND {
0150 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
0151 }
0152 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
0153 ABSL_ATTRIBUTE_LIFETIME_BOUND {
0154 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
0155 }
0156
0157 static const ::google::protobuf::Descriptor* descriptor() {
0158 return GetDescriptor();
0159 }
0160 static const ::google::protobuf::Descriptor* GetDescriptor() {
0161 return default_instance().GetMetadata().descriptor;
0162 }
0163 static const ::google::protobuf::Reflection* GetReflection() {
0164 return default_instance().GetMetadata().reflection;
0165 }
0166 static const Version& default_instance() {
0167 return *internal_default_instance();
0168 }
0169 static inline const Version* internal_default_instance() {
0170 return reinterpret_cast<const Version*>(
0171 &_Version_default_instance_);
0172 }
0173 static constexpr int kIndexInFileMessages = 0;
0174 friend void swap(Version& a, Version& b) { a.Swap(&b); }
0175 inline void Swap(Version* other) {
0176 if (other == this) return;
0177 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
0178 if (GetArena() != nullptr && GetArena() == other->GetArena()) {
0179 #else
0180 if (GetArena() == other->GetArena()) {
0181 #endif
0182 InternalSwap(other);
0183 } else {
0184 ::google::protobuf::internal::GenericSwap(this, other);
0185 }
0186 }
0187 void UnsafeArenaSwap(Version* other) {
0188 if (other == this) return;
0189 ABSL_DCHECK(GetArena() == other->GetArena());
0190 InternalSwap(other);
0191 }
0192
0193
0194
0195 Version* New(::google::protobuf::Arena* arena = nullptr) const PROTOBUF_FINAL {
0196 return ::google::protobuf::Message::DefaultConstruct<Version>(arena);
0197 }
0198 using ::google::protobuf::Message::CopyFrom;
0199 void CopyFrom(const Version& from);
0200 using ::google::protobuf::Message::MergeFrom;
0201 void MergeFrom(const Version& from) { Version::MergeImpl(*this, from); }
0202
0203 private:
0204 static void MergeImpl(
0205 ::google::protobuf::MessageLite& to_msg,
0206 const ::google::protobuf::MessageLite& from_msg);
0207
0208 public:
0209 bool IsInitialized() const {
0210 return true;
0211 }
0212 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
0213 #if defined(PROTOBUF_CUSTOM_VTABLE)
0214 private:
0215 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
0216 static ::uint8_t* _InternalSerialize(
0217 const MessageLite& msg, ::uint8_t* target,
0218 ::google::protobuf::io::EpsCopyOutputStream* stream);
0219
0220 public:
0221 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
0222 ::uint8_t* _InternalSerialize(
0223 ::uint8_t* target,
0224 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
0225 return _InternalSerialize(*this, target, stream);
0226 }
0227 #else
0228 ::size_t ByteSizeLong() const final;
0229 ::uint8_t* _InternalSerialize(
0230 ::uint8_t* target,
0231 ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
0232 #endif
0233 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
0234
0235 private:
0236 void SharedCtor(::google::protobuf::Arena* arena);
0237 void SharedDtor();
0238 void InternalSwap(Version* other);
0239 private:
0240 friend class ::google::protobuf::internal::AnyMetadata;
0241 static ::absl::string_view FullMessageName() { return "google.protobuf.compiler.Version"; }
0242
0243 protected:
0244 explicit Version(::google::protobuf::Arena* arena);
0245 Version(::google::protobuf::Arena* arena, const Version& from);
0246 Version(::google::protobuf::Arena* arena, Version&& from) noexcept
0247 : Version(arena) {
0248 *this = ::std::move(from);
0249 }
0250 const ::google::protobuf::Message::ClassData* GetClassData() const PROTOBUF_FINAL;
0251 static const ::google::protobuf::Message::ClassDataFull _class_data_;
0252
0253 public:
0254 ::google::protobuf::Metadata GetMetadata() const;
0255
0256
0257
0258 enum : int {
0259 kSuffixFieldNumber = 4,
0260 kMajorFieldNumber = 1,
0261 kMinorFieldNumber = 2,
0262 kPatchFieldNumber = 3,
0263 };
0264
0265 bool has_suffix() const;
0266 void clear_suffix() ;
0267 const std::string& suffix() const;
0268 template <typename Arg_ = const std::string&, typename... Args_>
0269 void set_suffix(Arg_&& arg, Args_... args);
0270 std::string* mutable_suffix();
0271 PROTOBUF_NODISCARD std::string* release_suffix();
0272 void set_allocated_suffix(std::string* value);
0273
0274 private:
0275 const std::string& _internal_suffix() const;
0276 inline PROTOBUF_ALWAYS_INLINE void _internal_set_suffix(
0277 const std::string& value);
0278 std::string* _internal_mutable_suffix();
0279
0280 public:
0281
0282 bool has_major() const;
0283 void clear_major() ;
0284 ::int32_t major() const;
0285 void set_major(::int32_t value);
0286
0287 private:
0288 ::int32_t _internal_major() const;
0289 void _internal_set_major(::int32_t value);
0290
0291 public:
0292
0293 bool has_minor() const;
0294 void clear_minor() ;
0295 ::int32_t minor() const;
0296 void set_minor(::int32_t value);
0297
0298 private:
0299 ::int32_t _internal_minor() const;
0300 void _internal_set_minor(::int32_t value);
0301
0302 public:
0303
0304 bool has_patch() const;
0305 void clear_patch() ;
0306 ::int32_t patch() const;
0307 void set_patch(::int32_t value);
0308
0309 private:
0310 ::int32_t _internal_patch() const;
0311 void _internal_set_patch(::int32_t value);
0312
0313 public:
0314
0315 private:
0316 class _Internal;
0317 friend class ::google::protobuf::internal::TcParser;
0318 static const ::google::protobuf::internal::TcParseTable<
0319 2, 4, 0,
0320 47, 2>
0321 _table_;
0322
0323
0324 friend class ::google::protobuf::MessageLite;
0325 friend class ::google::protobuf::Arena;
0326 template <typename T>
0327 friend class ::google::protobuf::Arena::InternalHelper;
0328 using InternalArenaConstructable_ = void;
0329 using DestructorSkippable_ = void;
0330 struct Impl_ {
0331 inline explicit constexpr Impl_(
0332 ::google::protobuf::internal::ConstantInitialized) noexcept;
0333 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
0334 ::google::protobuf::Arena* arena);
0335 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
0336 ::google::protobuf::Arena* arena, const Impl_& from,
0337 const Version& from_msg);
0338 ::google::protobuf::internal::HasBits<1> _has_bits_;
0339 mutable ::google::protobuf::internal::CachedSize _cached_size_;
0340 ::google::protobuf::internal::ArenaStringPtr suffix_;
0341 ::int32_t major_;
0342 ::int32_t minor_;
0343 ::int32_t patch_;
0344 PROTOBUF_TSAN_DECLARE_MEMBER
0345 };
0346 union { Impl_ _impl_; };
0347 friend struct ::TableStruct_google_2fprotobuf_2fcompiler_2fplugin_2eproto;
0348 };
0349
0350
0351 class PROTOC_EXPORT CodeGeneratorResponse_File final : public ::google::protobuf::Message
0352 {
0353 public:
0354 inline CodeGeneratorResponse_File() : CodeGeneratorResponse_File(nullptr) {}
0355 ~CodeGeneratorResponse_File() PROTOBUF_FINAL;
0356 template <typename = void>
0357 explicit PROTOBUF_CONSTEXPR CodeGeneratorResponse_File(
0358 ::google::protobuf::internal::ConstantInitialized);
0359
0360 inline CodeGeneratorResponse_File(const CodeGeneratorResponse_File& from) : CodeGeneratorResponse_File(nullptr, from) {}
0361 inline CodeGeneratorResponse_File(CodeGeneratorResponse_File&& from) noexcept
0362 : CodeGeneratorResponse_File(nullptr, std::move(from)) {}
0363 inline CodeGeneratorResponse_File& operator=(const CodeGeneratorResponse_File& from) {
0364 CopyFrom(from);
0365 return *this;
0366 }
0367 inline CodeGeneratorResponse_File& operator=(CodeGeneratorResponse_File&& from) noexcept {
0368 if (this == &from) return *this;
0369 if (GetArena() == from.GetArena()
0370 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
0371 && GetArena() != nullptr
0372 #endif
0373 ) {
0374 InternalSwap(&from);
0375 } else {
0376 CopyFrom(from);
0377 }
0378 return *this;
0379 }
0380
0381 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
0382 ABSL_ATTRIBUTE_LIFETIME_BOUND {
0383 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
0384 }
0385 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
0386 ABSL_ATTRIBUTE_LIFETIME_BOUND {
0387 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
0388 }
0389
0390 static const ::google::protobuf::Descriptor* descriptor() {
0391 return GetDescriptor();
0392 }
0393 static const ::google::protobuf::Descriptor* GetDescriptor() {
0394 return default_instance().GetMetadata().descriptor;
0395 }
0396 static const ::google::protobuf::Reflection* GetReflection() {
0397 return default_instance().GetMetadata().reflection;
0398 }
0399 static const CodeGeneratorResponse_File& default_instance() {
0400 return *internal_default_instance();
0401 }
0402 static inline const CodeGeneratorResponse_File* internal_default_instance() {
0403 return reinterpret_cast<const CodeGeneratorResponse_File*>(
0404 &_CodeGeneratorResponse_File_default_instance_);
0405 }
0406 static constexpr int kIndexInFileMessages = 2;
0407 friend void swap(CodeGeneratorResponse_File& a, CodeGeneratorResponse_File& b) { a.Swap(&b); }
0408 inline void Swap(CodeGeneratorResponse_File* other) {
0409 if (other == this) return;
0410 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
0411 if (GetArena() != nullptr && GetArena() == other->GetArena()) {
0412 #else
0413 if (GetArena() == other->GetArena()) {
0414 #endif
0415 InternalSwap(other);
0416 } else {
0417 ::google::protobuf::internal::GenericSwap(this, other);
0418 }
0419 }
0420 void UnsafeArenaSwap(CodeGeneratorResponse_File* other) {
0421 if (other == this) return;
0422 ABSL_DCHECK(GetArena() == other->GetArena());
0423 InternalSwap(other);
0424 }
0425
0426
0427
0428 CodeGeneratorResponse_File* New(::google::protobuf::Arena* arena = nullptr) const PROTOBUF_FINAL {
0429 return ::google::protobuf::Message::DefaultConstruct<CodeGeneratorResponse_File>(arena);
0430 }
0431 using ::google::protobuf::Message::CopyFrom;
0432 void CopyFrom(const CodeGeneratorResponse_File& from);
0433 using ::google::protobuf::Message::MergeFrom;
0434 void MergeFrom(const CodeGeneratorResponse_File& from) { CodeGeneratorResponse_File::MergeImpl(*this, from); }
0435
0436 private:
0437 static void MergeImpl(
0438 ::google::protobuf::MessageLite& to_msg,
0439 const ::google::protobuf::MessageLite& from_msg);
0440
0441 public:
0442 bool IsInitialized() const {
0443 return true;
0444 }
0445 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
0446 #if defined(PROTOBUF_CUSTOM_VTABLE)
0447 private:
0448 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
0449 static ::uint8_t* _InternalSerialize(
0450 const MessageLite& msg, ::uint8_t* target,
0451 ::google::protobuf::io::EpsCopyOutputStream* stream);
0452
0453 public:
0454 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
0455 ::uint8_t* _InternalSerialize(
0456 ::uint8_t* target,
0457 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
0458 return _InternalSerialize(*this, target, stream);
0459 }
0460 #else
0461 ::size_t ByteSizeLong() const final;
0462 ::uint8_t* _InternalSerialize(
0463 ::uint8_t* target,
0464 ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
0465 #endif
0466 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
0467
0468 private:
0469 void SharedCtor(::google::protobuf::Arena* arena);
0470 void SharedDtor();
0471 void InternalSwap(CodeGeneratorResponse_File* other);
0472 private:
0473 friend class ::google::protobuf::internal::AnyMetadata;
0474 static ::absl::string_view FullMessageName() { return "google.protobuf.compiler.CodeGeneratorResponse.File"; }
0475
0476 protected:
0477 explicit CodeGeneratorResponse_File(::google::protobuf::Arena* arena);
0478 CodeGeneratorResponse_File(::google::protobuf::Arena* arena, const CodeGeneratorResponse_File& from);
0479 CodeGeneratorResponse_File(::google::protobuf::Arena* arena, CodeGeneratorResponse_File&& from) noexcept
0480 : CodeGeneratorResponse_File(arena) {
0481 *this = ::std::move(from);
0482 }
0483 const ::google::protobuf::Message::ClassData* GetClassData() const PROTOBUF_FINAL;
0484 static const ::google::protobuf::Message::ClassDataFull _class_data_;
0485
0486 public:
0487 ::google::protobuf::Metadata GetMetadata() const;
0488
0489
0490
0491 enum : int {
0492 kNameFieldNumber = 1,
0493 kInsertionPointFieldNumber = 2,
0494 kContentFieldNumber = 15,
0495 kGeneratedCodeInfoFieldNumber = 16,
0496 };
0497
0498 bool has_name() const;
0499 void clear_name() ;
0500 const std::string& name() const;
0501 template <typename Arg_ = const std::string&, typename... Args_>
0502 void set_name(Arg_&& arg, Args_... args);
0503 std::string* mutable_name();
0504 PROTOBUF_NODISCARD std::string* release_name();
0505 void set_allocated_name(std::string* value);
0506
0507 private:
0508 const std::string& _internal_name() const;
0509 inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(
0510 const std::string& value);
0511 std::string* _internal_mutable_name();
0512
0513 public:
0514
0515 bool has_insertion_point() const;
0516 void clear_insertion_point() ;
0517 const std::string& insertion_point() const;
0518 template <typename Arg_ = const std::string&, typename... Args_>
0519 void set_insertion_point(Arg_&& arg, Args_... args);
0520 std::string* mutable_insertion_point();
0521 PROTOBUF_NODISCARD std::string* release_insertion_point();
0522 void set_allocated_insertion_point(std::string* value);
0523
0524 private:
0525 const std::string& _internal_insertion_point() const;
0526 inline PROTOBUF_ALWAYS_INLINE void _internal_set_insertion_point(
0527 const std::string& value);
0528 std::string* _internal_mutable_insertion_point();
0529
0530 public:
0531
0532 bool has_content() const;
0533 void clear_content() ;
0534 const std::string& content() const;
0535 template <typename Arg_ = const std::string&, typename... Args_>
0536 void set_content(Arg_&& arg, Args_... args);
0537 std::string* mutable_content();
0538 PROTOBUF_NODISCARD std::string* release_content();
0539 void set_allocated_content(std::string* value);
0540
0541 private:
0542 const std::string& _internal_content() const;
0543 inline PROTOBUF_ALWAYS_INLINE void _internal_set_content(
0544 const std::string& value);
0545 std::string* _internal_mutable_content();
0546
0547 public:
0548
0549 bool has_generated_code_info() const;
0550 void clear_generated_code_info() ;
0551 const ::google::protobuf::GeneratedCodeInfo& generated_code_info() const;
0552 PROTOBUF_NODISCARD ::google::protobuf::GeneratedCodeInfo* release_generated_code_info();
0553 ::google::protobuf::GeneratedCodeInfo* mutable_generated_code_info();
0554 void set_allocated_generated_code_info(::google::protobuf::GeneratedCodeInfo* value);
0555 void unsafe_arena_set_allocated_generated_code_info(::google::protobuf::GeneratedCodeInfo* value);
0556 ::google::protobuf::GeneratedCodeInfo* unsafe_arena_release_generated_code_info();
0557
0558 private:
0559 const ::google::protobuf::GeneratedCodeInfo& _internal_generated_code_info() const;
0560 ::google::protobuf::GeneratedCodeInfo* _internal_mutable_generated_code_info();
0561
0562 public:
0563
0564 private:
0565 class _Internal;
0566 friend class ::google::protobuf::internal::TcParser;
0567 static const ::google::protobuf::internal::TcParseTable<
0568 2, 4, 1,
0569 86, 2>
0570 _table_;
0571
0572
0573 friend class ::google::protobuf::MessageLite;
0574 friend class ::google::protobuf::Arena;
0575 template <typename T>
0576 friend class ::google::protobuf::Arena::InternalHelper;
0577 using InternalArenaConstructable_ = void;
0578 using DestructorSkippable_ = void;
0579 struct Impl_ {
0580 inline explicit constexpr Impl_(
0581 ::google::protobuf::internal::ConstantInitialized) noexcept;
0582 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
0583 ::google::protobuf::Arena* arena);
0584 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
0585 ::google::protobuf::Arena* arena, const Impl_& from,
0586 const CodeGeneratorResponse_File& from_msg);
0587 ::google::protobuf::internal::HasBits<1> _has_bits_;
0588 mutable ::google::protobuf::internal::CachedSize _cached_size_;
0589 ::google::protobuf::internal::ArenaStringPtr name_;
0590 ::google::protobuf::internal::ArenaStringPtr insertion_point_;
0591 ::google::protobuf::internal::ArenaStringPtr content_;
0592 ::google::protobuf::GeneratedCodeInfo* generated_code_info_;
0593 PROTOBUF_TSAN_DECLARE_MEMBER
0594 };
0595 union { Impl_ _impl_; };
0596 friend struct ::TableStruct_google_2fprotobuf_2fcompiler_2fplugin_2eproto;
0597 };
0598
0599
0600 class PROTOC_EXPORT CodeGeneratorResponse final : public ::google::protobuf::Message
0601 {
0602 public:
0603 inline CodeGeneratorResponse() : CodeGeneratorResponse(nullptr) {}
0604 ~CodeGeneratorResponse() PROTOBUF_FINAL;
0605 template <typename = void>
0606 explicit PROTOBUF_CONSTEXPR CodeGeneratorResponse(
0607 ::google::protobuf::internal::ConstantInitialized);
0608
0609 inline CodeGeneratorResponse(const CodeGeneratorResponse& from) : CodeGeneratorResponse(nullptr, from) {}
0610 inline CodeGeneratorResponse(CodeGeneratorResponse&& from) noexcept
0611 : CodeGeneratorResponse(nullptr, std::move(from)) {}
0612 inline CodeGeneratorResponse& operator=(const CodeGeneratorResponse& from) {
0613 CopyFrom(from);
0614 return *this;
0615 }
0616 inline CodeGeneratorResponse& operator=(CodeGeneratorResponse&& from) noexcept {
0617 if (this == &from) return *this;
0618 if (GetArena() == from.GetArena()
0619 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
0620 && GetArena() != nullptr
0621 #endif
0622 ) {
0623 InternalSwap(&from);
0624 } else {
0625 CopyFrom(from);
0626 }
0627 return *this;
0628 }
0629
0630 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
0631 ABSL_ATTRIBUTE_LIFETIME_BOUND {
0632 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
0633 }
0634 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
0635 ABSL_ATTRIBUTE_LIFETIME_BOUND {
0636 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
0637 }
0638
0639 static const ::google::protobuf::Descriptor* descriptor() {
0640 return GetDescriptor();
0641 }
0642 static const ::google::protobuf::Descriptor* GetDescriptor() {
0643 return default_instance().GetMetadata().descriptor;
0644 }
0645 static const ::google::protobuf::Reflection* GetReflection() {
0646 return default_instance().GetMetadata().reflection;
0647 }
0648 static const CodeGeneratorResponse& default_instance() {
0649 return *internal_default_instance();
0650 }
0651 static inline const CodeGeneratorResponse* internal_default_instance() {
0652 return reinterpret_cast<const CodeGeneratorResponse*>(
0653 &_CodeGeneratorResponse_default_instance_);
0654 }
0655 static constexpr int kIndexInFileMessages = 3;
0656 friend void swap(CodeGeneratorResponse& a, CodeGeneratorResponse& b) { a.Swap(&b); }
0657 inline void Swap(CodeGeneratorResponse* other) {
0658 if (other == this) return;
0659 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
0660 if (GetArena() != nullptr && GetArena() == other->GetArena()) {
0661 #else
0662 if (GetArena() == other->GetArena()) {
0663 #endif
0664 InternalSwap(other);
0665 } else {
0666 ::google::protobuf::internal::GenericSwap(this, other);
0667 }
0668 }
0669 void UnsafeArenaSwap(CodeGeneratorResponse* other) {
0670 if (other == this) return;
0671 ABSL_DCHECK(GetArena() == other->GetArena());
0672 InternalSwap(other);
0673 }
0674
0675
0676
0677 CodeGeneratorResponse* New(::google::protobuf::Arena* arena = nullptr) const PROTOBUF_FINAL {
0678 return ::google::protobuf::Message::DefaultConstruct<CodeGeneratorResponse>(arena);
0679 }
0680 using ::google::protobuf::Message::CopyFrom;
0681 void CopyFrom(const CodeGeneratorResponse& from);
0682 using ::google::protobuf::Message::MergeFrom;
0683 void MergeFrom(const CodeGeneratorResponse& from) { CodeGeneratorResponse::MergeImpl(*this, from); }
0684
0685 private:
0686 static void MergeImpl(
0687 ::google::protobuf::MessageLite& to_msg,
0688 const ::google::protobuf::MessageLite& from_msg);
0689
0690 public:
0691 bool IsInitialized() const {
0692 return true;
0693 }
0694 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
0695 #if defined(PROTOBUF_CUSTOM_VTABLE)
0696 private:
0697 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
0698 static ::uint8_t* _InternalSerialize(
0699 const MessageLite& msg, ::uint8_t* target,
0700 ::google::protobuf::io::EpsCopyOutputStream* stream);
0701
0702 public:
0703 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
0704 ::uint8_t* _InternalSerialize(
0705 ::uint8_t* target,
0706 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
0707 return _InternalSerialize(*this, target, stream);
0708 }
0709 #else
0710 ::size_t ByteSizeLong() const final;
0711 ::uint8_t* _InternalSerialize(
0712 ::uint8_t* target,
0713 ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
0714 #endif
0715 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
0716
0717 private:
0718 void SharedCtor(::google::protobuf::Arena* arena);
0719 void SharedDtor();
0720 void InternalSwap(CodeGeneratorResponse* other);
0721 private:
0722 friend class ::google::protobuf::internal::AnyMetadata;
0723 static ::absl::string_view FullMessageName() { return "google.protobuf.compiler.CodeGeneratorResponse"; }
0724
0725 protected:
0726 explicit CodeGeneratorResponse(::google::protobuf::Arena* arena);
0727 CodeGeneratorResponse(::google::protobuf::Arena* arena, const CodeGeneratorResponse& from);
0728 CodeGeneratorResponse(::google::protobuf::Arena* arena, CodeGeneratorResponse&& from) noexcept
0729 : CodeGeneratorResponse(arena) {
0730 *this = ::std::move(from);
0731 }
0732 const ::google::protobuf::Message::ClassData* GetClassData() const PROTOBUF_FINAL;
0733 static const ::google::protobuf::Message::ClassDataFull _class_data_;
0734
0735 public:
0736 ::google::protobuf::Metadata GetMetadata() const;
0737
0738 using File = CodeGeneratorResponse_File;
0739 using Feature = CodeGeneratorResponse_Feature;
0740 static constexpr Feature FEATURE_NONE = CodeGeneratorResponse_Feature_FEATURE_NONE;
0741 static constexpr Feature FEATURE_PROTO3_OPTIONAL = CodeGeneratorResponse_Feature_FEATURE_PROTO3_OPTIONAL;
0742 static constexpr Feature FEATURE_SUPPORTS_EDITIONS = CodeGeneratorResponse_Feature_FEATURE_SUPPORTS_EDITIONS;
0743 static inline bool Feature_IsValid(int value) {
0744 return CodeGeneratorResponse_Feature_IsValid(value);
0745 }
0746 static constexpr Feature Feature_MIN = CodeGeneratorResponse_Feature_Feature_MIN;
0747 static constexpr Feature Feature_MAX = CodeGeneratorResponse_Feature_Feature_MAX;
0748 static constexpr int Feature_ARRAYSIZE = CodeGeneratorResponse_Feature_Feature_ARRAYSIZE;
0749 static inline const ::google::protobuf::EnumDescriptor* Feature_descriptor() {
0750 return CodeGeneratorResponse_Feature_descriptor();
0751 }
0752 template <typename T>
0753 static inline const std::string& Feature_Name(T value) {
0754 return CodeGeneratorResponse_Feature_Name(value);
0755 }
0756 static inline bool Feature_Parse(absl::string_view name, Feature* value) {
0757 return CodeGeneratorResponse_Feature_Parse(name, value);
0758 }
0759
0760
0761 enum : int {
0762 kFileFieldNumber = 15,
0763 kErrorFieldNumber = 1,
0764 kSupportedFeaturesFieldNumber = 2,
0765 kMinimumEditionFieldNumber = 3,
0766 kMaximumEditionFieldNumber = 4,
0767 };
0768
0769 int file_size() const;
0770 private:
0771 int _internal_file_size() const;
0772
0773 public:
0774 void clear_file() ;
0775 ::google::protobuf::compiler::CodeGeneratorResponse_File* mutable_file(int index);
0776 ::google::protobuf::RepeatedPtrField<::google::protobuf::compiler::CodeGeneratorResponse_File>* mutable_file();
0777
0778 private:
0779 const ::google::protobuf::RepeatedPtrField<::google::protobuf::compiler::CodeGeneratorResponse_File>& _internal_file() const;
0780 ::google::protobuf::RepeatedPtrField<::google::protobuf::compiler::CodeGeneratorResponse_File>* _internal_mutable_file();
0781 public:
0782 const ::google::protobuf::compiler::CodeGeneratorResponse_File& file(int index) const;
0783 ::google::protobuf::compiler::CodeGeneratorResponse_File* add_file();
0784 const ::google::protobuf::RepeatedPtrField<::google::protobuf::compiler::CodeGeneratorResponse_File>& file() const;
0785
0786 bool has_error() const;
0787 void clear_error() ;
0788 const std::string& error() const;
0789 template <typename Arg_ = const std::string&, typename... Args_>
0790 void set_error(Arg_&& arg, Args_... args);
0791 std::string* mutable_error();
0792 PROTOBUF_NODISCARD std::string* release_error();
0793 void set_allocated_error(std::string* value);
0794
0795 private:
0796 const std::string& _internal_error() const;
0797 inline PROTOBUF_ALWAYS_INLINE void _internal_set_error(
0798 const std::string& value);
0799 std::string* _internal_mutable_error();
0800
0801 public:
0802
0803 bool has_supported_features() const;
0804 void clear_supported_features() ;
0805 ::uint64_t supported_features() const;
0806 void set_supported_features(::uint64_t value);
0807
0808 private:
0809 ::uint64_t _internal_supported_features() const;
0810 void _internal_set_supported_features(::uint64_t value);
0811
0812 public:
0813
0814 bool has_minimum_edition() const;
0815 void clear_minimum_edition() ;
0816 ::int32_t minimum_edition() const;
0817 void set_minimum_edition(::int32_t value);
0818
0819 private:
0820 ::int32_t _internal_minimum_edition() const;
0821 void _internal_set_minimum_edition(::int32_t value);
0822
0823 public:
0824
0825 bool has_maximum_edition() const;
0826 void clear_maximum_edition() ;
0827 ::int32_t maximum_edition() const;
0828 void set_maximum_edition(::int32_t value);
0829
0830 private:
0831 ::int32_t _internal_maximum_edition() const;
0832 void _internal_set_maximum_edition(::int32_t value);
0833
0834 public:
0835
0836 private:
0837 class _Internal;
0838 friend class ::google::protobuf::internal::TcParser;
0839 static const ::google::protobuf::internal::TcParseTable<
0840 3, 5, 1,
0841 60, 2>
0842 _table_;
0843
0844
0845 friend class ::google::protobuf::MessageLite;
0846 friend class ::google::protobuf::Arena;
0847 template <typename T>
0848 friend class ::google::protobuf::Arena::InternalHelper;
0849 using InternalArenaConstructable_ = void;
0850 using DestructorSkippable_ = void;
0851 struct Impl_ {
0852 inline explicit constexpr Impl_(
0853 ::google::protobuf::internal::ConstantInitialized) noexcept;
0854 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
0855 ::google::protobuf::Arena* arena);
0856 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
0857 ::google::protobuf::Arena* arena, const Impl_& from,
0858 const CodeGeneratorResponse& from_msg);
0859 ::google::protobuf::internal::HasBits<1> _has_bits_;
0860 mutable ::google::protobuf::internal::CachedSize _cached_size_;
0861 ::google::protobuf::RepeatedPtrField< ::google::protobuf::compiler::CodeGeneratorResponse_File > file_;
0862 ::google::protobuf::internal::ArenaStringPtr error_;
0863 ::uint64_t supported_features_;
0864 ::int32_t minimum_edition_;
0865 ::int32_t maximum_edition_;
0866 PROTOBUF_TSAN_DECLARE_MEMBER
0867 };
0868 union { Impl_ _impl_; };
0869 friend struct ::TableStruct_google_2fprotobuf_2fcompiler_2fplugin_2eproto;
0870 };
0871
0872
0873 class PROTOC_EXPORT CodeGeneratorRequest final : public ::google::protobuf::Message
0874 {
0875 public:
0876 inline CodeGeneratorRequest() : CodeGeneratorRequest(nullptr) {}
0877 ~CodeGeneratorRequest() PROTOBUF_FINAL;
0878 template <typename = void>
0879 explicit PROTOBUF_CONSTEXPR CodeGeneratorRequest(
0880 ::google::protobuf::internal::ConstantInitialized);
0881
0882 inline CodeGeneratorRequest(const CodeGeneratorRequest& from) : CodeGeneratorRequest(nullptr, from) {}
0883 inline CodeGeneratorRequest(CodeGeneratorRequest&& from) noexcept
0884 : CodeGeneratorRequest(nullptr, std::move(from)) {}
0885 inline CodeGeneratorRequest& operator=(const CodeGeneratorRequest& from) {
0886 CopyFrom(from);
0887 return *this;
0888 }
0889 inline CodeGeneratorRequest& operator=(CodeGeneratorRequest&& from) noexcept {
0890 if (this == &from) return *this;
0891 if (GetArena() == from.GetArena()
0892 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
0893 && GetArena() != nullptr
0894 #endif
0895 ) {
0896 InternalSwap(&from);
0897 } else {
0898 CopyFrom(from);
0899 }
0900 return *this;
0901 }
0902
0903 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
0904 ABSL_ATTRIBUTE_LIFETIME_BOUND {
0905 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
0906 }
0907 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
0908 ABSL_ATTRIBUTE_LIFETIME_BOUND {
0909 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
0910 }
0911
0912 static const ::google::protobuf::Descriptor* descriptor() {
0913 return GetDescriptor();
0914 }
0915 static const ::google::protobuf::Descriptor* GetDescriptor() {
0916 return default_instance().GetMetadata().descriptor;
0917 }
0918 static const ::google::protobuf::Reflection* GetReflection() {
0919 return default_instance().GetMetadata().reflection;
0920 }
0921 static const CodeGeneratorRequest& default_instance() {
0922 return *internal_default_instance();
0923 }
0924 static inline const CodeGeneratorRequest* internal_default_instance() {
0925 return reinterpret_cast<const CodeGeneratorRequest*>(
0926 &_CodeGeneratorRequest_default_instance_);
0927 }
0928 static constexpr int kIndexInFileMessages = 1;
0929 friend void swap(CodeGeneratorRequest& a, CodeGeneratorRequest& b) { a.Swap(&b); }
0930 inline void Swap(CodeGeneratorRequest* other) {
0931 if (other == this) return;
0932 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
0933 if (GetArena() != nullptr && GetArena() == other->GetArena()) {
0934 #else
0935 if (GetArena() == other->GetArena()) {
0936 #endif
0937 InternalSwap(other);
0938 } else {
0939 ::google::protobuf::internal::GenericSwap(this, other);
0940 }
0941 }
0942 void UnsafeArenaSwap(CodeGeneratorRequest* other) {
0943 if (other == this) return;
0944 ABSL_DCHECK(GetArena() == other->GetArena());
0945 InternalSwap(other);
0946 }
0947
0948
0949
0950 CodeGeneratorRequest* New(::google::protobuf::Arena* arena = nullptr) const PROTOBUF_FINAL {
0951 return ::google::protobuf::Message::DefaultConstruct<CodeGeneratorRequest>(arena);
0952 }
0953 using ::google::protobuf::Message::CopyFrom;
0954 void CopyFrom(const CodeGeneratorRequest& from);
0955 using ::google::protobuf::Message::MergeFrom;
0956 void MergeFrom(const CodeGeneratorRequest& from) { CodeGeneratorRequest::MergeImpl(*this, from); }
0957
0958 private:
0959 static void MergeImpl(
0960 ::google::protobuf::MessageLite& to_msg,
0961 const ::google::protobuf::MessageLite& from_msg);
0962
0963 public:
0964 bool IsInitialized() const {
0965 return IsInitializedImpl(*this);
0966 }
0967
0968 private:
0969 static bool IsInitializedImpl(const MessageLite& msg);
0970
0971 public:
0972 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
0973 #if defined(PROTOBUF_CUSTOM_VTABLE)
0974 private:
0975 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
0976 static ::uint8_t* _InternalSerialize(
0977 const MessageLite& msg, ::uint8_t* target,
0978 ::google::protobuf::io::EpsCopyOutputStream* stream);
0979
0980 public:
0981 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
0982 ::uint8_t* _InternalSerialize(
0983 ::uint8_t* target,
0984 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
0985 return _InternalSerialize(*this, target, stream);
0986 }
0987 #else
0988 ::size_t ByteSizeLong() const final;
0989 ::uint8_t* _InternalSerialize(
0990 ::uint8_t* target,
0991 ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
0992 #endif
0993 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
0994
0995 private:
0996 void SharedCtor(::google::protobuf::Arena* arena);
0997 void SharedDtor();
0998 void InternalSwap(CodeGeneratorRequest* other);
0999 private:
1000 friend class ::google::protobuf::internal::AnyMetadata;
1001 static ::absl::string_view FullMessageName() { return "google.protobuf.compiler.CodeGeneratorRequest"; }
1002
1003 protected:
1004 explicit CodeGeneratorRequest(::google::protobuf::Arena* arena);
1005 CodeGeneratorRequest(::google::protobuf::Arena* arena, const CodeGeneratorRequest& from);
1006 CodeGeneratorRequest(::google::protobuf::Arena* arena, CodeGeneratorRequest&& from) noexcept
1007 : CodeGeneratorRequest(arena) {
1008 *this = ::std::move(from);
1009 }
1010 const ::google::protobuf::Message::ClassData* GetClassData() const PROTOBUF_FINAL;
1011 static const ::google::protobuf::Message::ClassDataFull _class_data_;
1012
1013 public:
1014 ::google::protobuf::Metadata GetMetadata() const;
1015
1016
1017
1018 enum : int {
1019 kFileToGenerateFieldNumber = 1,
1020 kProtoFileFieldNumber = 15,
1021 kSourceFileDescriptorsFieldNumber = 17,
1022 kParameterFieldNumber = 2,
1023 kCompilerVersionFieldNumber = 3,
1024 };
1025
1026 int file_to_generate_size() const;
1027 private:
1028 int _internal_file_to_generate_size() const;
1029
1030 public:
1031 void clear_file_to_generate() ;
1032 const std::string& file_to_generate(int index) const;
1033 std::string* mutable_file_to_generate(int index);
1034 template <typename Arg_ = const std::string&, typename... Args_>
1035 void set_file_to_generate(int index, Arg_&& value, Args_... args);
1036 std::string* add_file_to_generate();
1037 template <typename Arg_ = const std::string&, typename... Args_>
1038 void add_file_to_generate(Arg_&& value, Args_... args);
1039 const ::google::protobuf::RepeatedPtrField<std::string>& file_to_generate() const;
1040 ::google::protobuf::RepeatedPtrField<std::string>* mutable_file_to_generate();
1041
1042 private:
1043 const ::google::protobuf::RepeatedPtrField<std::string>& _internal_file_to_generate() const;
1044 ::google::protobuf::RepeatedPtrField<std::string>* _internal_mutable_file_to_generate();
1045
1046 public:
1047
1048 int proto_file_size() const;
1049 private:
1050 int _internal_proto_file_size() const;
1051
1052 public:
1053 void clear_proto_file() ;
1054 ::google::protobuf::FileDescriptorProto* mutable_proto_file(int index);
1055 ::google::protobuf::RepeatedPtrField<::google::protobuf::FileDescriptorProto>* mutable_proto_file();
1056
1057 private:
1058 const ::google::protobuf::RepeatedPtrField<::google::protobuf::FileDescriptorProto>& _internal_proto_file() const;
1059 ::google::protobuf::RepeatedPtrField<::google::protobuf::FileDescriptorProto>* _internal_mutable_proto_file();
1060 public:
1061 const ::google::protobuf::FileDescriptorProto& proto_file(int index) const;
1062 ::google::protobuf::FileDescriptorProto* add_proto_file();
1063 const ::google::protobuf::RepeatedPtrField<::google::protobuf::FileDescriptorProto>& proto_file() const;
1064
1065 int source_file_descriptors_size() const;
1066 private:
1067 int _internal_source_file_descriptors_size() const;
1068
1069 public:
1070 void clear_source_file_descriptors() ;
1071 ::google::protobuf::FileDescriptorProto* mutable_source_file_descriptors(int index);
1072 ::google::protobuf::RepeatedPtrField<::google::protobuf::FileDescriptorProto>* mutable_source_file_descriptors();
1073
1074 private:
1075 const ::google::protobuf::RepeatedPtrField<::google::protobuf::FileDescriptorProto>& _internal_source_file_descriptors() const;
1076 ::google::protobuf::RepeatedPtrField<::google::protobuf::FileDescriptorProto>* _internal_mutable_source_file_descriptors();
1077 public:
1078 const ::google::protobuf::FileDescriptorProto& source_file_descriptors(int index) const;
1079 ::google::protobuf::FileDescriptorProto* add_source_file_descriptors();
1080 const ::google::protobuf::RepeatedPtrField<::google::protobuf::FileDescriptorProto>& source_file_descriptors() const;
1081
1082 bool has_parameter() const;
1083 void clear_parameter() ;
1084 const std::string& parameter() const;
1085 template <typename Arg_ = const std::string&, typename... Args_>
1086 void set_parameter(Arg_&& arg, Args_... args);
1087 std::string* mutable_parameter();
1088 PROTOBUF_NODISCARD std::string* release_parameter();
1089 void set_allocated_parameter(std::string* value);
1090
1091 private:
1092 const std::string& _internal_parameter() const;
1093 inline PROTOBUF_ALWAYS_INLINE void _internal_set_parameter(
1094 const std::string& value);
1095 std::string* _internal_mutable_parameter();
1096
1097 public:
1098
1099 bool has_compiler_version() const;
1100 void clear_compiler_version() ;
1101 const ::google::protobuf::compiler::Version& compiler_version() const;
1102 PROTOBUF_NODISCARD ::google::protobuf::compiler::Version* release_compiler_version();
1103 ::google::protobuf::compiler::Version* mutable_compiler_version();
1104 void set_allocated_compiler_version(::google::protobuf::compiler::Version* value);
1105 void unsafe_arena_set_allocated_compiler_version(::google::protobuf::compiler::Version* value);
1106 ::google::protobuf::compiler::Version* unsafe_arena_release_compiler_version();
1107
1108 private:
1109 const ::google::protobuf::compiler::Version& _internal_compiler_version() const;
1110 ::google::protobuf::compiler::Version* _internal_mutable_compiler_version();
1111
1112 public:
1113
1114 private:
1115 class _Internal;
1116 friend class ::google::protobuf::internal::TcParser;
1117 static const ::google::protobuf::internal::TcParseTable<
1118 3, 5, 3,
1119 79, 2>
1120 _table_;
1121
1122
1123 friend class ::google::protobuf::MessageLite;
1124 friend class ::google::protobuf::Arena;
1125 template <typename T>
1126 friend class ::google::protobuf::Arena::InternalHelper;
1127 using InternalArenaConstructable_ = void;
1128 using DestructorSkippable_ = void;
1129 struct Impl_ {
1130 inline explicit constexpr Impl_(
1131 ::google::protobuf::internal::ConstantInitialized) noexcept;
1132 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
1133 ::google::protobuf::Arena* arena);
1134 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
1135 ::google::protobuf::Arena* arena, const Impl_& from,
1136 const CodeGeneratorRequest& from_msg);
1137 ::google::protobuf::internal::HasBits<1> _has_bits_;
1138 mutable ::google::protobuf::internal::CachedSize _cached_size_;
1139 ::google::protobuf::RepeatedPtrField<std::string> file_to_generate_;
1140 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto > proto_file_;
1141 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto > source_file_descriptors_;
1142 ::google::protobuf::internal::ArenaStringPtr parameter_;
1143 ::google::protobuf::compiler::Version* compiler_version_;
1144 PROTOBUF_TSAN_DECLARE_MEMBER
1145 };
1146 union { Impl_ _impl_; };
1147 friend struct ::TableStruct_google_2fprotobuf_2fcompiler_2fplugin_2eproto;
1148 };
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158 #ifdef __GNUC__
1159 #pragma GCC diagnostic push
1160 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1161 #endif
1162
1163
1164
1165
1166
1167 inline bool Version::has_major() const {
1168 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1169 return value;
1170 }
1171 inline void Version::clear_major() {
1172 ::google::protobuf::internal::TSanWrite(&_impl_);
1173 _impl_.major_ = 0;
1174 _impl_._has_bits_[0] &= ~0x00000002u;
1175 }
1176 inline ::int32_t Version::major() const {
1177
1178 return _internal_major();
1179 }
1180 inline void Version::set_major(::int32_t value) {
1181 _internal_set_major(value);
1182 _impl_._has_bits_[0] |= 0x00000002u;
1183
1184 }
1185 inline ::int32_t Version::_internal_major() const {
1186 ::google::protobuf::internal::TSanRead(&_impl_);
1187 return _impl_.major_;
1188 }
1189 inline void Version::_internal_set_major(::int32_t value) {
1190 ::google::protobuf::internal::TSanWrite(&_impl_);
1191 _impl_.major_ = value;
1192 }
1193
1194
1195 inline bool Version::has_minor() const {
1196 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1197 return value;
1198 }
1199 inline void Version::clear_minor() {
1200 ::google::protobuf::internal::TSanWrite(&_impl_);
1201 _impl_.minor_ = 0;
1202 _impl_._has_bits_[0] &= ~0x00000004u;
1203 }
1204 inline ::int32_t Version::minor() const {
1205
1206 return _internal_minor();
1207 }
1208 inline void Version::set_minor(::int32_t value) {
1209 _internal_set_minor(value);
1210 _impl_._has_bits_[0] |= 0x00000004u;
1211
1212 }
1213 inline ::int32_t Version::_internal_minor() const {
1214 ::google::protobuf::internal::TSanRead(&_impl_);
1215 return _impl_.minor_;
1216 }
1217 inline void Version::_internal_set_minor(::int32_t value) {
1218 ::google::protobuf::internal::TSanWrite(&_impl_);
1219 _impl_.minor_ = value;
1220 }
1221
1222
1223 inline bool Version::has_patch() const {
1224 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1225 return value;
1226 }
1227 inline void Version::clear_patch() {
1228 ::google::protobuf::internal::TSanWrite(&_impl_);
1229 _impl_.patch_ = 0;
1230 _impl_._has_bits_[0] &= ~0x00000008u;
1231 }
1232 inline ::int32_t Version::patch() const {
1233
1234 return _internal_patch();
1235 }
1236 inline void Version::set_patch(::int32_t value) {
1237 _internal_set_patch(value);
1238 _impl_._has_bits_[0] |= 0x00000008u;
1239
1240 }
1241 inline ::int32_t Version::_internal_patch() const {
1242 ::google::protobuf::internal::TSanRead(&_impl_);
1243 return _impl_.patch_;
1244 }
1245 inline void Version::_internal_set_patch(::int32_t value) {
1246 ::google::protobuf::internal::TSanWrite(&_impl_);
1247 _impl_.patch_ = value;
1248 }
1249
1250
1251 inline bool Version::has_suffix() const {
1252 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1253 return value;
1254 }
1255 inline void Version::clear_suffix() {
1256 ::google::protobuf::internal::TSanWrite(&_impl_);
1257 _impl_.suffix_.ClearToEmpty();
1258 _impl_._has_bits_[0] &= ~0x00000001u;
1259 }
1260 inline const std::string& Version::suffix() const
1261 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1262
1263 return _internal_suffix();
1264 }
1265 template <typename Arg_, typename... Args_>
1266 inline PROTOBUF_ALWAYS_INLINE void Version::set_suffix(Arg_&& arg,
1267 Args_... args) {
1268 ::google::protobuf::internal::TSanWrite(&_impl_);
1269 _impl_._has_bits_[0] |= 0x00000001u;
1270 _impl_.suffix_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
1271
1272 }
1273 inline std::string* Version::mutable_suffix() ABSL_ATTRIBUTE_LIFETIME_BOUND {
1274 std::string* _s = _internal_mutable_suffix();
1275
1276 return _s;
1277 }
1278 inline const std::string& Version::_internal_suffix() const {
1279 ::google::protobuf::internal::TSanRead(&_impl_);
1280 return _impl_.suffix_.Get();
1281 }
1282 inline void Version::_internal_set_suffix(const std::string& value) {
1283 ::google::protobuf::internal::TSanWrite(&_impl_);
1284 _impl_._has_bits_[0] |= 0x00000001u;
1285 _impl_.suffix_.Set(value, GetArena());
1286 }
1287 inline std::string* Version::_internal_mutable_suffix() {
1288 ::google::protobuf::internal::TSanWrite(&_impl_);
1289 _impl_._has_bits_[0] |= 0x00000001u;
1290 return _impl_.suffix_.Mutable( GetArena());
1291 }
1292 inline std::string* Version::release_suffix() {
1293 ::google::protobuf::internal::TSanWrite(&_impl_);
1294
1295 if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
1296 return nullptr;
1297 }
1298 _impl_._has_bits_[0] &= ~0x00000001u;
1299 auto* released = _impl_.suffix_.Release();
1300 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1301 _impl_.suffix_.Set("", GetArena());
1302 #endif
1303 return released;
1304 }
1305 inline void Version::set_allocated_suffix(std::string* value) {
1306 ::google::protobuf::internal::TSanWrite(&_impl_);
1307 if (value != nullptr) {
1308 _impl_._has_bits_[0] |= 0x00000001u;
1309 } else {
1310 _impl_._has_bits_[0] &= ~0x00000001u;
1311 }
1312 _impl_.suffix_.SetAllocated(value, GetArena());
1313 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1314 if (_impl_.suffix_.IsDefault()) {
1315 _impl_.suffix_.Set("", GetArena());
1316 }
1317 #endif
1318
1319 }
1320
1321
1322
1323
1324
1325
1326 inline int CodeGeneratorRequest::_internal_file_to_generate_size() const {
1327 return _internal_file_to_generate().size();
1328 }
1329 inline int CodeGeneratorRequest::file_to_generate_size() const {
1330 return _internal_file_to_generate_size();
1331 }
1332 inline void CodeGeneratorRequest::clear_file_to_generate() {
1333 ::google::protobuf::internal::TSanWrite(&_impl_);
1334 _impl_.file_to_generate_.Clear();
1335 }
1336 inline std::string* CodeGeneratorRequest::add_file_to_generate() ABSL_ATTRIBUTE_LIFETIME_BOUND {
1337 ::google::protobuf::internal::TSanWrite(&_impl_);
1338 std::string* _s = _internal_mutable_file_to_generate()->Add();
1339
1340 return _s;
1341 }
1342 inline const std::string& CodeGeneratorRequest::file_to_generate(int index) const
1343 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1344
1345 return _internal_file_to_generate().Get(index);
1346 }
1347 inline std::string* CodeGeneratorRequest::mutable_file_to_generate(int index)
1348 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1349
1350 return _internal_mutable_file_to_generate()->Mutable(index);
1351 }
1352 template <typename Arg_, typename... Args_>
1353 inline void CodeGeneratorRequest::set_file_to_generate(int index, Arg_&& value, Args_... args) {
1354 ::google::protobuf::internal::AssignToString(
1355 *_internal_mutable_file_to_generate()->Mutable(index),
1356 std::forward<Arg_>(value), args... );
1357
1358 }
1359 template <typename Arg_, typename... Args_>
1360 inline void CodeGeneratorRequest::add_file_to_generate(Arg_&& value, Args_... args) {
1361 ::google::protobuf::internal::TSanWrite(&_impl_);
1362 ::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_file_to_generate(),
1363 std::forward<Arg_>(value),
1364 args... );
1365
1366 }
1367 inline const ::google::protobuf::RepeatedPtrField<std::string>&
1368 CodeGeneratorRequest::file_to_generate() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
1369
1370 return _internal_file_to_generate();
1371 }
1372 inline ::google::protobuf::RepeatedPtrField<std::string>*
1373 CodeGeneratorRequest::mutable_file_to_generate() ABSL_ATTRIBUTE_LIFETIME_BOUND {
1374
1375 ::google::protobuf::internal::TSanWrite(&_impl_);
1376 return _internal_mutable_file_to_generate();
1377 }
1378 inline const ::google::protobuf::RepeatedPtrField<std::string>&
1379 CodeGeneratorRequest::_internal_file_to_generate() const {
1380 ::google::protobuf::internal::TSanRead(&_impl_);
1381 return _impl_.file_to_generate_;
1382 }
1383 inline ::google::protobuf::RepeatedPtrField<std::string>*
1384 CodeGeneratorRequest::_internal_mutable_file_to_generate() {
1385 ::google::protobuf::internal::TSanRead(&_impl_);
1386 return &_impl_.file_to_generate_;
1387 }
1388
1389
1390 inline bool CodeGeneratorRequest::has_parameter() const {
1391 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1392 return value;
1393 }
1394 inline void CodeGeneratorRequest::clear_parameter() {
1395 ::google::protobuf::internal::TSanWrite(&_impl_);
1396 _impl_.parameter_.ClearToEmpty();
1397 _impl_._has_bits_[0] &= ~0x00000001u;
1398 }
1399 inline const std::string& CodeGeneratorRequest::parameter() const
1400 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1401
1402 return _internal_parameter();
1403 }
1404 template <typename Arg_, typename... Args_>
1405 inline PROTOBUF_ALWAYS_INLINE void CodeGeneratorRequest::set_parameter(Arg_&& arg,
1406 Args_... args) {
1407 ::google::protobuf::internal::TSanWrite(&_impl_);
1408 _impl_._has_bits_[0] |= 0x00000001u;
1409 _impl_.parameter_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
1410
1411 }
1412 inline std::string* CodeGeneratorRequest::mutable_parameter() ABSL_ATTRIBUTE_LIFETIME_BOUND {
1413 std::string* _s = _internal_mutable_parameter();
1414
1415 return _s;
1416 }
1417 inline const std::string& CodeGeneratorRequest::_internal_parameter() const {
1418 ::google::protobuf::internal::TSanRead(&_impl_);
1419 return _impl_.parameter_.Get();
1420 }
1421 inline void CodeGeneratorRequest::_internal_set_parameter(const std::string& value) {
1422 ::google::protobuf::internal::TSanWrite(&_impl_);
1423 _impl_._has_bits_[0] |= 0x00000001u;
1424 _impl_.parameter_.Set(value, GetArena());
1425 }
1426 inline std::string* CodeGeneratorRequest::_internal_mutable_parameter() {
1427 ::google::protobuf::internal::TSanWrite(&_impl_);
1428 _impl_._has_bits_[0] |= 0x00000001u;
1429 return _impl_.parameter_.Mutable( GetArena());
1430 }
1431 inline std::string* CodeGeneratorRequest::release_parameter() {
1432 ::google::protobuf::internal::TSanWrite(&_impl_);
1433
1434 if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
1435 return nullptr;
1436 }
1437 _impl_._has_bits_[0] &= ~0x00000001u;
1438 auto* released = _impl_.parameter_.Release();
1439 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1440 _impl_.parameter_.Set("", GetArena());
1441 #endif
1442 return released;
1443 }
1444 inline void CodeGeneratorRequest::set_allocated_parameter(std::string* value) {
1445 ::google::protobuf::internal::TSanWrite(&_impl_);
1446 if (value != nullptr) {
1447 _impl_._has_bits_[0] |= 0x00000001u;
1448 } else {
1449 _impl_._has_bits_[0] &= ~0x00000001u;
1450 }
1451 _impl_.parameter_.SetAllocated(value, GetArena());
1452 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1453 if (_impl_.parameter_.IsDefault()) {
1454 _impl_.parameter_.Set("", GetArena());
1455 }
1456 #endif
1457
1458 }
1459
1460
1461 inline int CodeGeneratorRequest::_internal_proto_file_size() const {
1462 return _internal_proto_file().size();
1463 }
1464 inline int CodeGeneratorRequest::proto_file_size() const {
1465 return _internal_proto_file_size();
1466 }
1467 inline ::google::protobuf::FileDescriptorProto* CodeGeneratorRequest::mutable_proto_file(int index)
1468 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1469
1470 return _internal_mutable_proto_file()->Mutable(index);
1471 }
1472 inline ::google::protobuf::RepeatedPtrField<::google::protobuf::FileDescriptorProto>* CodeGeneratorRequest::mutable_proto_file()
1473 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1474
1475 ::google::protobuf::internal::TSanWrite(&_impl_);
1476 return _internal_mutable_proto_file();
1477 }
1478 inline const ::google::protobuf::FileDescriptorProto& CodeGeneratorRequest::proto_file(int index) const
1479 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1480
1481 return _internal_proto_file().Get(index);
1482 }
1483 inline ::google::protobuf::FileDescriptorProto* CodeGeneratorRequest::add_proto_file() ABSL_ATTRIBUTE_LIFETIME_BOUND {
1484 ::google::protobuf::internal::TSanWrite(&_impl_);
1485 ::google::protobuf::FileDescriptorProto* _add = _internal_mutable_proto_file()->Add();
1486
1487 return _add;
1488 }
1489 inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::FileDescriptorProto>& CodeGeneratorRequest::proto_file() const
1490 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1491
1492 return _internal_proto_file();
1493 }
1494 inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::FileDescriptorProto>&
1495 CodeGeneratorRequest::_internal_proto_file() const {
1496 ::google::protobuf::internal::TSanRead(&_impl_);
1497 return _impl_.proto_file_;
1498 }
1499 inline ::google::protobuf::RepeatedPtrField<::google::protobuf::FileDescriptorProto>*
1500 CodeGeneratorRequest::_internal_mutable_proto_file() {
1501 ::google::protobuf::internal::TSanRead(&_impl_);
1502 return &_impl_.proto_file_;
1503 }
1504
1505
1506 inline int CodeGeneratorRequest::_internal_source_file_descriptors_size() const {
1507 return _internal_source_file_descriptors().size();
1508 }
1509 inline int CodeGeneratorRequest::source_file_descriptors_size() const {
1510 return _internal_source_file_descriptors_size();
1511 }
1512 inline ::google::protobuf::FileDescriptorProto* CodeGeneratorRequest::mutable_source_file_descriptors(int index)
1513 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1514
1515 return _internal_mutable_source_file_descriptors()->Mutable(index);
1516 }
1517 inline ::google::protobuf::RepeatedPtrField<::google::protobuf::FileDescriptorProto>* CodeGeneratorRequest::mutable_source_file_descriptors()
1518 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1519
1520 ::google::protobuf::internal::TSanWrite(&_impl_);
1521 return _internal_mutable_source_file_descriptors();
1522 }
1523 inline const ::google::protobuf::FileDescriptorProto& CodeGeneratorRequest::source_file_descriptors(int index) const
1524 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1525
1526 return _internal_source_file_descriptors().Get(index);
1527 }
1528 inline ::google::protobuf::FileDescriptorProto* CodeGeneratorRequest::add_source_file_descriptors() ABSL_ATTRIBUTE_LIFETIME_BOUND {
1529 ::google::protobuf::internal::TSanWrite(&_impl_);
1530 ::google::protobuf::FileDescriptorProto* _add = _internal_mutable_source_file_descriptors()->Add();
1531
1532 return _add;
1533 }
1534 inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::FileDescriptorProto>& CodeGeneratorRequest::source_file_descriptors() const
1535 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1536
1537 return _internal_source_file_descriptors();
1538 }
1539 inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::FileDescriptorProto>&
1540 CodeGeneratorRequest::_internal_source_file_descriptors() const {
1541 ::google::protobuf::internal::TSanRead(&_impl_);
1542 return _impl_.source_file_descriptors_;
1543 }
1544 inline ::google::protobuf::RepeatedPtrField<::google::protobuf::FileDescriptorProto>*
1545 CodeGeneratorRequest::_internal_mutable_source_file_descriptors() {
1546 ::google::protobuf::internal::TSanRead(&_impl_);
1547 return &_impl_.source_file_descriptors_;
1548 }
1549
1550
1551 inline bool CodeGeneratorRequest::has_compiler_version() const {
1552 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1553 PROTOBUF_ASSUME(!value || _impl_.compiler_version_ != nullptr);
1554 return value;
1555 }
1556 inline void CodeGeneratorRequest::clear_compiler_version() {
1557 ::google::protobuf::internal::TSanWrite(&_impl_);
1558 if (_impl_.compiler_version_ != nullptr) _impl_.compiler_version_->Clear();
1559 _impl_._has_bits_[0] &= ~0x00000002u;
1560 }
1561 inline const ::google::protobuf::compiler::Version& CodeGeneratorRequest::_internal_compiler_version() const {
1562 ::google::protobuf::internal::TSanRead(&_impl_);
1563 const ::google::protobuf::compiler::Version* p = _impl_.compiler_version_;
1564 return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::compiler::Version&>(::google::protobuf::compiler::_Version_default_instance_);
1565 }
1566 inline const ::google::protobuf::compiler::Version& CodeGeneratorRequest::compiler_version() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
1567
1568 return _internal_compiler_version();
1569 }
1570 inline void CodeGeneratorRequest::unsafe_arena_set_allocated_compiler_version(::google::protobuf::compiler::Version* value) {
1571 ::google::protobuf::internal::TSanWrite(&_impl_);
1572 if (GetArena() == nullptr) {
1573 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.compiler_version_);
1574 }
1575 _impl_.compiler_version_ = reinterpret_cast<::google::protobuf::compiler::Version*>(value);
1576 if (value != nullptr) {
1577 _impl_._has_bits_[0] |= 0x00000002u;
1578 } else {
1579 _impl_._has_bits_[0] &= ~0x00000002u;
1580 }
1581
1582 }
1583 inline ::google::protobuf::compiler::Version* CodeGeneratorRequest::release_compiler_version() {
1584 ::google::protobuf::internal::TSanWrite(&_impl_);
1585
1586 _impl_._has_bits_[0] &= ~0x00000002u;
1587 ::google::protobuf::compiler::Version* released = _impl_.compiler_version_;
1588 _impl_.compiler_version_ = nullptr;
1589 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1590 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
1591 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1592 if (GetArena() == nullptr) {
1593 delete old;
1594 }
1595 #else
1596 if (GetArena() != nullptr) {
1597 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1598 }
1599 #endif
1600 return released;
1601 }
1602 inline ::google::protobuf::compiler::Version* CodeGeneratorRequest::unsafe_arena_release_compiler_version() {
1603 ::google::protobuf::internal::TSanWrite(&_impl_);
1604
1605
1606 _impl_._has_bits_[0] &= ~0x00000002u;
1607 ::google::protobuf::compiler::Version* temp = _impl_.compiler_version_;
1608 _impl_.compiler_version_ = nullptr;
1609 return temp;
1610 }
1611 inline ::google::protobuf::compiler::Version* CodeGeneratorRequest::_internal_mutable_compiler_version() {
1612 ::google::protobuf::internal::TSanWrite(&_impl_);
1613 if (_impl_.compiler_version_ == nullptr) {
1614 auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::compiler::Version>(GetArena());
1615 _impl_.compiler_version_ = reinterpret_cast<::google::protobuf::compiler::Version*>(p);
1616 }
1617 return _impl_.compiler_version_;
1618 }
1619 inline ::google::protobuf::compiler::Version* CodeGeneratorRequest::mutable_compiler_version() ABSL_ATTRIBUTE_LIFETIME_BOUND {
1620 _impl_._has_bits_[0] |= 0x00000002u;
1621 ::google::protobuf::compiler::Version* _msg = _internal_mutable_compiler_version();
1622
1623 return _msg;
1624 }
1625 inline void CodeGeneratorRequest::set_allocated_compiler_version(::google::protobuf::compiler::Version* value) {
1626 ::google::protobuf::Arena* message_arena = GetArena();
1627 ::google::protobuf::internal::TSanWrite(&_impl_);
1628 if (message_arena == nullptr) {
1629 delete (_impl_.compiler_version_);
1630 }
1631
1632 if (value != nullptr) {
1633 ::google::protobuf::Arena* submessage_arena = (value)->GetArena();
1634 if (message_arena != submessage_arena) {
1635 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
1636 }
1637 _impl_._has_bits_[0] |= 0x00000002u;
1638 } else {
1639 _impl_._has_bits_[0] &= ~0x00000002u;
1640 }
1641
1642 _impl_.compiler_version_ = reinterpret_cast<::google::protobuf::compiler::Version*>(value);
1643
1644 }
1645
1646
1647
1648
1649
1650
1651 inline bool CodeGeneratorResponse_File::has_name() const {
1652 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1653 return value;
1654 }
1655 inline void CodeGeneratorResponse_File::clear_name() {
1656 ::google::protobuf::internal::TSanWrite(&_impl_);
1657 _impl_.name_.ClearToEmpty();
1658 _impl_._has_bits_[0] &= ~0x00000001u;
1659 }
1660 inline const std::string& CodeGeneratorResponse_File::name() const
1661 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1662
1663 return _internal_name();
1664 }
1665 template <typename Arg_, typename... Args_>
1666 inline PROTOBUF_ALWAYS_INLINE void CodeGeneratorResponse_File::set_name(Arg_&& arg,
1667 Args_... args) {
1668 ::google::protobuf::internal::TSanWrite(&_impl_);
1669 _impl_._has_bits_[0] |= 0x00000001u;
1670 _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
1671
1672 }
1673 inline std::string* CodeGeneratorResponse_File::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND {
1674 std::string* _s = _internal_mutable_name();
1675
1676 return _s;
1677 }
1678 inline const std::string& CodeGeneratorResponse_File::_internal_name() const {
1679 ::google::protobuf::internal::TSanRead(&_impl_);
1680 return _impl_.name_.Get();
1681 }
1682 inline void CodeGeneratorResponse_File::_internal_set_name(const std::string& value) {
1683 ::google::protobuf::internal::TSanWrite(&_impl_);
1684 _impl_._has_bits_[0] |= 0x00000001u;
1685 _impl_.name_.Set(value, GetArena());
1686 }
1687 inline std::string* CodeGeneratorResponse_File::_internal_mutable_name() {
1688 ::google::protobuf::internal::TSanWrite(&_impl_);
1689 _impl_._has_bits_[0] |= 0x00000001u;
1690 return _impl_.name_.Mutable( GetArena());
1691 }
1692 inline std::string* CodeGeneratorResponse_File::release_name() {
1693 ::google::protobuf::internal::TSanWrite(&_impl_);
1694
1695 if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
1696 return nullptr;
1697 }
1698 _impl_._has_bits_[0] &= ~0x00000001u;
1699 auto* released = _impl_.name_.Release();
1700 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1701 _impl_.name_.Set("", GetArena());
1702 #endif
1703 return released;
1704 }
1705 inline void CodeGeneratorResponse_File::set_allocated_name(std::string* value) {
1706 ::google::protobuf::internal::TSanWrite(&_impl_);
1707 if (value != nullptr) {
1708 _impl_._has_bits_[0] |= 0x00000001u;
1709 } else {
1710 _impl_._has_bits_[0] &= ~0x00000001u;
1711 }
1712 _impl_.name_.SetAllocated(value, GetArena());
1713 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1714 if (_impl_.name_.IsDefault()) {
1715 _impl_.name_.Set("", GetArena());
1716 }
1717 #endif
1718
1719 }
1720
1721
1722 inline bool CodeGeneratorResponse_File::has_insertion_point() const {
1723 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1724 return value;
1725 }
1726 inline void CodeGeneratorResponse_File::clear_insertion_point() {
1727 ::google::protobuf::internal::TSanWrite(&_impl_);
1728 _impl_.insertion_point_.ClearToEmpty();
1729 _impl_._has_bits_[0] &= ~0x00000002u;
1730 }
1731 inline const std::string& CodeGeneratorResponse_File::insertion_point() const
1732 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1733
1734 return _internal_insertion_point();
1735 }
1736 template <typename Arg_, typename... Args_>
1737 inline PROTOBUF_ALWAYS_INLINE void CodeGeneratorResponse_File::set_insertion_point(Arg_&& arg,
1738 Args_... args) {
1739 ::google::protobuf::internal::TSanWrite(&_impl_);
1740 _impl_._has_bits_[0] |= 0x00000002u;
1741 _impl_.insertion_point_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
1742
1743 }
1744 inline std::string* CodeGeneratorResponse_File::mutable_insertion_point() ABSL_ATTRIBUTE_LIFETIME_BOUND {
1745 std::string* _s = _internal_mutable_insertion_point();
1746
1747 return _s;
1748 }
1749 inline const std::string& CodeGeneratorResponse_File::_internal_insertion_point() const {
1750 ::google::protobuf::internal::TSanRead(&_impl_);
1751 return _impl_.insertion_point_.Get();
1752 }
1753 inline void CodeGeneratorResponse_File::_internal_set_insertion_point(const std::string& value) {
1754 ::google::protobuf::internal::TSanWrite(&_impl_);
1755 _impl_._has_bits_[0] |= 0x00000002u;
1756 _impl_.insertion_point_.Set(value, GetArena());
1757 }
1758 inline std::string* CodeGeneratorResponse_File::_internal_mutable_insertion_point() {
1759 ::google::protobuf::internal::TSanWrite(&_impl_);
1760 _impl_._has_bits_[0] |= 0x00000002u;
1761 return _impl_.insertion_point_.Mutable( GetArena());
1762 }
1763 inline std::string* CodeGeneratorResponse_File::release_insertion_point() {
1764 ::google::protobuf::internal::TSanWrite(&_impl_);
1765
1766 if ((_impl_._has_bits_[0] & 0x00000002u) == 0) {
1767 return nullptr;
1768 }
1769 _impl_._has_bits_[0] &= ~0x00000002u;
1770 auto* released = _impl_.insertion_point_.Release();
1771 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1772 _impl_.insertion_point_.Set("", GetArena());
1773 #endif
1774 return released;
1775 }
1776 inline void CodeGeneratorResponse_File::set_allocated_insertion_point(std::string* value) {
1777 ::google::protobuf::internal::TSanWrite(&_impl_);
1778 if (value != nullptr) {
1779 _impl_._has_bits_[0] |= 0x00000002u;
1780 } else {
1781 _impl_._has_bits_[0] &= ~0x00000002u;
1782 }
1783 _impl_.insertion_point_.SetAllocated(value, GetArena());
1784 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1785 if (_impl_.insertion_point_.IsDefault()) {
1786 _impl_.insertion_point_.Set("", GetArena());
1787 }
1788 #endif
1789
1790 }
1791
1792
1793 inline bool CodeGeneratorResponse_File::has_content() const {
1794 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1795 return value;
1796 }
1797 inline void CodeGeneratorResponse_File::clear_content() {
1798 ::google::protobuf::internal::TSanWrite(&_impl_);
1799 _impl_.content_.ClearToEmpty();
1800 _impl_._has_bits_[0] &= ~0x00000004u;
1801 }
1802 inline const std::string& CodeGeneratorResponse_File::content() const
1803 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1804
1805 return _internal_content();
1806 }
1807 template <typename Arg_, typename... Args_>
1808 inline PROTOBUF_ALWAYS_INLINE void CodeGeneratorResponse_File::set_content(Arg_&& arg,
1809 Args_... args) {
1810 ::google::protobuf::internal::TSanWrite(&_impl_);
1811 _impl_._has_bits_[0] |= 0x00000004u;
1812 _impl_.content_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
1813
1814 }
1815 inline std::string* CodeGeneratorResponse_File::mutable_content() ABSL_ATTRIBUTE_LIFETIME_BOUND {
1816 std::string* _s = _internal_mutable_content();
1817
1818 return _s;
1819 }
1820 inline const std::string& CodeGeneratorResponse_File::_internal_content() const {
1821 ::google::protobuf::internal::TSanRead(&_impl_);
1822 return _impl_.content_.Get();
1823 }
1824 inline void CodeGeneratorResponse_File::_internal_set_content(const std::string& value) {
1825 ::google::protobuf::internal::TSanWrite(&_impl_);
1826 _impl_._has_bits_[0] |= 0x00000004u;
1827 _impl_.content_.Set(value, GetArena());
1828 }
1829 inline std::string* CodeGeneratorResponse_File::_internal_mutable_content() {
1830 ::google::protobuf::internal::TSanWrite(&_impl_);
1831 _impl_._has_bits_[0] |= 0x00000004u;
1832 return _impl_.content_.Mutable( GetArena());
1833 }
1834 inline std::string* CodeGeneratorResponse_File::release_content() {
1835 ::google::protobuf::internal::TSanWrite(&_impl_);
1836
1837 if ((_impl_._has_bits_[0] & 0x00000004u) == 0) {
1838 return nullptr;
1839 }
1840 _impl_._has_bits_[0] &= ~0x00000004u;
1841 auto* released = _impl_.content_.Release();
1842 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1843 _impl_.content_.Set("", GetArena());
1844 #endif
1845 return released;
1846 }
1847 inline void CodeGeneratorResponse_File::set_allocated_content(std::string* value) {
1848 ::google::protobuf::internal::TSanWrite(&_impl_);
1849 if (value != nullptr) {
1850 _impl_._has_bits_[0] |= 0x00000004u;
1851 } else {
1852 _impl_._has_bits_[0] &= ~0x00000004u;
1853 }
1854 _impl_.content_.SetAllocated(value, GetArena());
1855 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1856 if (_impl_.content_.IsDefault()) {
1857 _impl_.content_.Set("", GetArena());
1858 }
1859 #endif
1860
1861 }
1862
1863
1864 inline bool CodeGeneratorResponse_File::has_generated_code_info() const {
1865 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1866 PROTOBUF_ASSUME(!value || _impl_.generated_code_info_ != nullptr);
1867 return value;
1868 }
1869 inline const ::google::protobuf::GeneratedCodeInfo& CodeGeneratorResponse_File::_internal_generated_code_info() const {
1870 ::google::protobuf::internal::TSanRead(&_impl_);
1871 const ::google::protobuf::GeneratedCodeInfo* p = _impl_.generated_code_info_;
1872 return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::GeneratedCodeInfo&>(::google::protobuf::_GeneratedCodeInfo_default_instance_);
1873 }
1874 inline const ::google::protobuf::GeneratedCodeInfo& CodeGeneratorResponse_File::generated_code_info() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
1875
1876 return _internal_generated_code_info();
1877 }
1878 inline void CodeGeneratorResponse_File::unsafe_arena_set_allocated_generated_code_info(::google::protobuf::GeneratedCodeInfo* value) {
1879 ::google::protobuf::internal::TSanWrite(&_impl_);
1880 if (GetArena() == nullptr) {
1881 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.generated_code_info_);
1882 }
1883 _impl_.generated_code_info_ = reinterpret_cast<::google::protobuf::GeneratedCodeInfo*>(value);
1884 if (value != nullptr) {
1885 _impl_._has_bits_[0] |= 0x00000008u;
1886 } else {
1887 _impl_._has_bits_[0] &= ~0x00000008u;
1888 }
1889
1890 }
1891 inline ::google::protobuf::GeneratedCodeInfo* CodeGeneratorResponse_File::release_generated_code_info() {
1892 ::google::protobuf::internal::TSanWrite(&_impl_);
1893
1894 _impl_._has_bits_[0] &= ~0x00000008u;
1895 ::google::protobuf::GeneratedCodeInfo* released = _impl_.generated_code_info_;
1896 _impl_.generated_code_info_ = nullptr;
1897 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1898 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
1899 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1900 if (GetArena() == nullptr) {
1901 delete old;
1902 }
1903 #else
1904 if (GetArena() != nullptr) {
1905 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1906 }
1907 #endif
1908 return released;
1909 }
1910 inline ::google::protobuf::GeneratedCodeInfo* CodeGeneratorResponse_File::unsafe_arena_release_generated_code_info() {
1911 ::google::protobuf::internal::TSanWrite(&_impl_);
1912
1913
1914 _impl_._has_bits_[0] &= ~0x00000008u;
1915 ::google::protobuf::GeneratedCodeInfo* temp = _impl_.generated_code_info_;
1916 _impl_.generated_code_info_ = nullptr;
1917 return temp;
1918 }
1919 inline ::google::protobuf::GeneratedCodeInfo* CodeGeneratorResponse_File::_internal_mutable_generated_code_info() {
1920 ::google::protobuf::internal::TSanWrite(&_impl_);
1921 if (_impl_.generated_code_info_ == nullptr) {
1922 auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::GeneratedCodeInfo>(GetArena());
1923 _impl_.generated_code_info_ = reinterpret_cast<::google::protobuf::GeneratedCodeInfo*>(p);
1924 }
1925 return _impl_.generated_code_info_;
1926 }
1927 inline ::google::protobuf::GeneratedCodeInfo* CodeGeneratorResponse_File::mutable_generated_code_info() ABSL_ATTRIBUTE_LIFETIME_BOUND {
1928 _impl_._has_bits_[0] |= 0x00000008u;
1929 ::google::protobuf::GeneratedCodeInfo* _msg = _internal_mutable_generated_code_info();
1930
1931 return _msg;
1932 }
1933 inline void CodeGeneratorResponse_File::set_allocated_generated_code_info(::google::protobuf::GeneratedCodeInfo* value) {
1934 ::google::protobuf::Arena* message_arena = GetArena();
1935 ::google::protobuf::internal::TSanWrite(&_impl_);
1936 if (message_arena == nullptr) {
1937 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.generated_code_info_);
1938 }
1939
1940 if (value != nullptr) {
1941 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena();
1942 if (message_arena != submessage_arena) {
1943 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
1944 }
1945 _impl_._has_bits_[0] |= 0x00000008u;
1946 } else {
1947 _impl_._has_bits_[0] &= ~0x00000008u;
1948 }
1949
1950 _impl_.generated_code_info_ = reinterpret_cast<::google::protobuf::GeneratedCodeInfo*>(value);
1951
1952 }
1953
1954
1955
1956
1957
1958
1959 inline bool CodeGeneratorResponse::has_error() const {
1960 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1961 return value;
1962 }
1963 inline void CodeGeneratorResponse::clear_error() {
1964 ::google::protobuf::internal::TSanWrite(&_impl_);
1965 _impl_.error_.ClearToEmpty();
1966 _impl_._has_bits_[0] &= ~0x00000001u;
1967 }
1968 inline const std::string& CodeGeneratorResponse::error() const
1969 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1970
1971 return _internal_error();
1972 }
1973 template <typename Arg_, typename... Args_>
1974 inline PROTOBUF_ALWAYS_INLINE void CodeGeneratorResponse::set_error(Arg_&& arg,
1975 Args_... args) {
1976 ::google::protobuf::internal::TSanWrite(&_impl_);
1977 _impl_._has_bits_[0] |= 0x00000001u;
1978 _impl_.error_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
1979
1980 }
1981 inline std::string* CodeGeneratorResponse::mutable_error() ABSL_ATTRIBUTE_LIFETIME_BOUND {
1982 std::string* _s = _internal_mutable_error();
1983
1984 return _s;
1985 }
1986 inline const std::string& CodeGeneratorResponse::_internal_error() const {
1987 ::google::protobuf::internal::TSanRead(&_impl_);
1988 return _impl_.error_.Get();
1989 }
1990 inline void CodeGeneratorResponse::_internal_set_error(const std::string& value) {
1991 ::google::protobuf::internal::TSanWrite(&_impl_);
1992 _impl_._has_bits_[0] |= 0x00000001u;
1993 _impl_.error_.Set(value, GetArena());
1994 }
1995 inline std::string* CodeGeneratorResponse::_internal_mutable_error() {
1996 ::google::protobuf::internal::TSanWrite(&_impl_);
1997 _impl_._has_bits_[0] |= 0x00000001u;
1998 return _impl_.error_.Mutable( GetArena());
1999 }
2000 inline std::string* CodeGeneratorResponse::release_error() {
2001 ::google::protobuf::internal::TSanWrite(&_impl_);
2002
2003 if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
2004 return nullptr;
2005 }
2006 _impl_._has_bits_[0] &= ~0x00000001u;
2007 auto* released = _impl_.error_.Release();
2008 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2009 _impl_.error_.Set("", GetArena());
2010 #endif
2011 return released;
2012 }
2013 inline void CodeGeneratorResponse::set_allocated_error(std::string* value) {
2014 ::google::protobuf::internal::TSanWrite(&_impl_);
2015 if (value != nullptr) {
2016 _impl_._has_bits_[0] |= 0x00000001u;
2017 } else {
2018 _impl_._has_bits_[0] &= ~0x00000001u;
2019 }
2020 _impl_.error_.SetAllocated(value, GetArena());
2021 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2022 if (_impl_.error_.IsDefault()) {
2023 _impl_.error_.Set("", GetArena());
2024 }
2025 #endif
2026
2027 }
2028
2029
2030 inline bool CodeGeneratorResponse::has_supported_features() const {
2031 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
2032 return value;
2033 }
2034 inline void CodeGeneratorResponse::clear_supported_features() {
2035 ::google::protobuf::internal::TSanWrite(&_impl_);
2036 _impl_.supported_features_ = ::uint64_t{0u};
2037 _impl_._has_bits_[0] &= ~0x00000002u;
2038 }
2039 inline ::uint64_t CodeGeneratorResponse::supported_features() const {
2040
2041 return _internal_supported_features();
2042 }
2043 inline void CodeGeneratorResponse::set_supported_features(::uint64_t value) {
2044 _internal_set_supported_features(value);
2045 _impl_._has_bits_[0] |= 0x00000002u;
2046
2047 }
2048 inline ::uint64_t CodeGeneratorResponse::_internal_supported_features() const {
2049 ::google::protobuf::internal::TSanRead(&_impl_);
2050 return _impl_.supported_features_;
2051 }
2052 inline void CodeGeneratorResponse::_internal_set_supported_features(::uint64_t value) {
2053 ::google::protobuf::internal::TSanWrite(&_impl_);
2054 _impl_.supported_features_ = value;
2055 }
2056
2057
2058 inline bool CodeGeneratorResponse::has_minimum_edition() const {
2059 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
2060 return value;
2061 }
2062 inline void CodeGeneratorResponse::clear_minimum_edition() {
2063 ::google::protobuf::internal::TSanWrite(&_impl_);
2064 _impl_.minimum_edition_ = 0;
2065 _impl_._has_bits_[0] &= ~0x00000004u;
2066 }
2067 inline ::int32_t CodeGeneratorResponse::minimum_edition() const {
2068
2069 return _internal_minimum_edition();
2070 }
2071 inline void CodeGeneratorResponse::set_minimum_edition(::int32_t value) {
2072 _internal_set_minimum_edition(value);
2073 _impl_._has_bits_[0] |= 0x00000004u;
2074
2075 }
2076 inline ::int32_t CodeGeneratorResponse::_internal_minimum_edition() const {
2077 ::google::protobuf::internal::TSanRead(&_impl_);
2078 return _impl_.minimum_edition_;
2079 }
2080 inline void CodeGeneratorResponse::_internal_set_minimum_edition(::int32_t value) {
2081 ::google::protobuf::internal::TSanWrite(&_impl_);
2082 _impl_.minimum_edition_ = value;
2083 }
2084
2085
2086 inline bool CodeGeneratorResponse::has_maximum_edition() const {
2087 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
2088 return value;
2089 }
2090 inline void CodeGeneratorResponse::clear_maximum_edition() {
2091 ::google::protobuf::internal::TSanWrite(&_impl_);
2092 _impl_.maximum_edition_ = 0;
2093 _impl_._has_bits_[0] &= ~0x00000008u;
2094 }
2095 inline ::int32_t CodeGeneratorResponse::maximum_edition() const {
2096
2097 return _internal_maximum_edition();
2098 }
2099 inline void CodeGeneratorResponse::set_maximum_edition(::int32_t value) {
2100 _internal_set_maximum_edition(value);
2101 _impl_._has_bits_[0] |= 0x00000008u;
2102
2103 }
2104 inline ::int32_t CodeGeneratorResponse::_internal_maximum_edition() const {
2105 ::google::protobuf::internal::TSanRead(&_impl_);
2106 return _impl_.maximum_edition_;
2107 }
2108 inline void CodeGeneratorResponse::_internal_set_maximum_edition(::int32_t value) {
2109 ::google::protobuf::internal::TSanWrite(&_impl_);
2110 _impl_.maximum_edition_ = value;
2111 }
2112
2113
2114 inline int CodeGeneratorResponse::_internal_file_size() const {
2115 return _internal_file().size();
2116 }
2117 inline int CodeGeneratorResponse::file_size() const {
2118 return _internal_file_size();
2119 }
2120 inline void CodeGeneratorResponse::clear_file() {
2121 ::google::protobuf::internal::TSanWrite(&_impl_);
2122 _impl_.file_.Clear();
2123 }
2124 inline ::google::protobuf::compiler::CodeGeneratorResponse_File* CodeGeneratorResponse::mutable_file(int index)
2125 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2126
2127 return _internal_mutable_file()->Mutable(index);
2128 }
2129 inline ::google::protobuf::RepeatedPtrField<::google::protobuf::compiler::CodeGeneratorResponse_File>* CodeGeneratorResponse::mutable_file()
2130 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2131
2132 ::google::protobuf::internal::TSanWrite(&_impl_);
2133 return _internal_mutable_file();
2134 }
2135 inline const ::google::protobuf::compiler::CodeGeneratorResponse_File& CodeGeneratorResponse::file(int index) const
2136 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2137
2138 return _internal_file().Get(index);
2139 }
2140 inline ::google::protobuf::compiler::CodeGeneratorResponse_File* CodeGeneratorResponse::add_file() ABSL_ATTRIBUTE_LIFETIME_BOUND {
2141 ::google::protobuf::internal::TSanWrite(&_impl_);
2142 ::google::protobuf::compiler::CodeGeneratorResponse_File* _add = _internal_mutable_file()->Add();
2143
2144 return _add;
2145 }
2146 inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::compiler::CodeGeneratorResponse_File>& CodeGeneratorResponse::file() const
2147 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2148
2149 return _internal_file();
2150 }
2151 inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::compiler::CodeGeneratorResponse_File>&
2152 CodeGeneratorResponse::_internal_file() const {
2153 ::google::protobuf::internal::TSanRead(&_impl_);
2154 return _impl_.file_;
2155 }
2156 inline ::google::protobuf::RepeatedPtrField<::google::protobuf::compiler::CodeGeneratorResponse_File>*
2157 CodeGeneratorResponse::_internal_mutable_file() {
2158 ::google::protobuf::internal::TSanRead(&_impl_);
2159 return &_impl_.file_;
2160 }
2161
2162 #ifdef __GNUC__
2163 #pragma GCC diagnostic pop
2164 #endif
2165
2166
2167 }
2168 }
2169 }
2170
2171
2172 namespace google {
2173 namespace protobuf {
2174
2175 template <>
2176 struct is_proto_enum<::google::protobuf::compiler::CodeGeneratorResponse_Feature> : std::true_type {};
2177 template <>
2178 inline const EnumDescriptor* GetEnumDescriptor<::google::protobuf::compiler::CodeGeneratorResponse_Feature>() {
2179 return ::google::protobuf::compiler::CodeGeneratorResponse_Feature_descriptor();
2180 }
2181
2182 }
2183 }
2184
2185
2186
2187 #include "google/protobuf/port_undef.inc"
2188
2189 #endif