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