Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-27 09:13:26

0001 // Generated by the protocol buffer compiler.  DO NOT EDIT!
0002 // NO CHECKED-IN PROTOBUF GENCODE
0003 // source: google/protobuf/source_context.proto
0004 // Protobuf C++ Version: 6.32.1
0005 
0006 #ifndef google_2fprotobuf_2fsource_5fcontext_2eproto_2epb_2eh
0007 #define google_2fprotobuf_2fsource_5fcontext_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/unknown_field_set.h"
0032 // @@protoc_insertion_point(includes)
0033 
0034 // Must be included last.
0035 #include "google/protobuf/port_def.inc"
0036 
0037 #define PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fsource_5fcontext_2eproto PROTOBUF_EXPORT
0038 
0039 namespace google {
0040 namespace protobuf {
0041 namespace internal {
0042 template <typename T>
0043 ::absl::string_view GetAnyMessageName();
0044 }  // namespace internal
0045 }  // namespace protobuf
0046 }  // namespace google
0047 
0048 // Internal implementation detail -- do not use these members.
0049 struct PROTOBUF_EXPORT TableStruct_google_2fprotobuf_2fsource_5fcontext_2eproto {
0050   static const ::uint32_t offsets[];
0051 };
0052 extern "C" {
0053 PROTOBUF_EXPORT extern const ::google::protobuf::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fsource_5fcontext_2eproto;
0054 }  // extern "C"
0055 namespace google {
0056 namespace protobuf {
0057 class SourceContext;
0058 struct SourceContextDefaultTypeInternal;
0059 PROTOBUF_EXPORT extern SourceContextDefaultTypeInternal _SourceContext_default_instance_;
0060 PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull SourceContext_class_data_;
0061 }  // namespace protobuf
0062 }  // namespace google
0063 
0064 namespace google {
0065 namespace protobuf {
0066 
0067 // ===================================================================
0068 
0069 
0070 // -------------------------------------------------------------------
0071 
0072 class PROTOBUF_EXPORT SourceContext final : public ::google::protobuf::Message
0073 /* @@protoc_insertion_point(class_definition:google.protobuf.SourceContext) */ {
0074  public:
0075   inline SourceContext() : SourceContext(nullptr) {}
0076   ~SourceContext() PROTOBUF_FINAL;
0077 
0078 #if defined(PROTOBUF_CUSTOM_VTABLE)
0079   void operator delete(SourceContext* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
0080     SharedDtor(*msg);
0081     ::google::protobuf::internal::SizedDelete(msg, sizeof(SourceContext));
0082   }
0083 #endif
0084 
0085   template <typename = void>
0086   explicit PROTOBUF_CONSTEXPR SourceContext(::google::protobuf::internal::ConstantInitialized);
0087 
0088   inline SourceContext(const SourceContext& from) : SourceContext(nullptr, from) {}
0089   inline SourceContext(SourceContext&& from) noexcept
0090       : SourceContext(nullptr, ::std::move(from)) {}
0091   inline SourceContext& operator=(const SourceContext& from) {
0092     CopyFrom(from);
0093     return *this;
0094   }
0095   inline SourceContext& operator=(SourceContext&& from) noexcept {
0096     if (this == &from) return *this;
0097     if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
0098       InternalSwap(&from);
0099     } else {
0100       CopyFrom(from);
0101     }
0102     return *this;
0103   }
0104 
0105   inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
0106       ABSL_ATTRIBUTE_LIFETIME_BOUND {
0107     return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
0108   }
0109   inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
0110       ABSL_ATTRIBUTE_LIFETIME_BOUND {
0111     return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
0112   }
0113 
0114   static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
0115     return GetDescriptor();
0116   }
0117   static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
0118     return default_instance().GetMetadata().descriptor;
0119   }
0120   static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
0121     return default_instance().GetMetadata().reflection;
0122   }
0123   static const SourceContext& default_instance() {
0124     return *reinterpret_cast<const SourceContext*>(
0125         &_SourceContext_default_instance_);
0126   }
0127   static constexpr int kIndexInFileMessages = 0;
0128   friend void swap(SourceContext& a, SourceContext& b) { a.Swap(&b); }
0129   inline void Swap(SourceContext* PROTOBUF_NONNULL other) {
0130     if (other == this) return;
0131     if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
0132       InternalSwap(other);
0133     } else {
0134       ::google::protobuf::internal::GenericSwap(this, other);
0135     }
0136   }
0137   void UnsafeArenaSwap(SourceContext* PROTOBUF_NONNULL other) {
0138     if (other == this) return;
0139     ABSL_DCHECK(GetArena() == other->GetArena());
0140     InternalSwap(other);
0141   }
0142 
0143   // implements Message ----------------------------------------------
0144 
0145   SourceContext* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
0146     return ::google::protobuf::Message::DefaultConstruct<SourceContext>(arena);
0147   }
0148   using ::google::protobuf::Message::CopyFrom;
0149   void CopyFrom(const SourceContext& from);
0150   using ::google::protobuf::Message::MergeFrom;
0151   void MergeFrom(const SourceContext& from) { SourceContext::MergeImpl(*this, from); }
0152 
0153   private:
0154   static void MergeImpl(::google::protobuf::MessageLite& to_msg,
0155                         const ::google::protobuf::MessageLite& from_msg);
0156 
0157   public:
0158   bool IsInitialized() const {
0159     return true;
0160   }
0161   ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
0162   #if defined(PROTOBUF_CUSTOM_VTABLE)
0163   private:
0164   static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
0165   static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
0166       const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
0167       ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
0168 
0169   public:
0170   ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
0171   ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
0172       ::uint8_t* PROTOBUF_NONNULL target,
0173       ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
0174     return _InternalSerialize(*this, target, stream);
0175   }
0176   #else   // PROTOBUF_CUSTOM_VTABLE
0177   ::size_t ByteSizeLong() const final;
0178   ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
0179       ::uint8_t* PROTOBUF_NONNULL target,
0180       ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
0181   #endif  // PROTOBUF_CUSTOM_VTABLE
0182   int GetCachedSize() const { return _impl_._cached_size_.Get(); }
0183 
0184   private:
0185   void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
0186   static void SharedDtor(MessageLite& self);
0187   void InternalSwap(SourceContext* PROTOBUF_NONNULL other);
0188  private:
0189   template <typename T>
0190   friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
0191   static ::absl::string_view FullMessageName() { return "google.protobuf.SourceContext"; }
0192 
0193  protected:
0194   explicit SourceContext(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
0195   SourceContext(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SourceContext& from);
0196   SourceContext(
0197       ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SourceContext&& from) noexcept
0198       : SourceContext(arena) {
0199     *this = ::std::move(from);
0200   }
0201   const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
0202   static void* PROTOBUF_NONNULL PlacementNew_(
0203       const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
0204       ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
0205   static constexpr auto InternalNewImpl_();
0206 
0207  public:
0208   static constexpr auto InternalGenerateClassData_();
0209 
0210   ::google::protobuf::Metadata GetMetadata() const;
0211   // nested types ----------------------------------------------------
0212 
0213   // accessors -------------------------------------------------------
0214   enum : int {
0215     kFileNameFieldNumber = 1,
0216   };
0217   // string file_name = 1;
0218   void clear_file_name() ;
0219   const ::std::string& file_name() const;
0220   template <typename Arg_ = const ::std::string&, typename... Args_>
0221   void set_file_name(Arg_&& arg, Args_... args);
0222   ::std::string* PROTOBUF_NONNULL mutable_file_name();
0223   [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_file_name();
0224   void set_allocated_file_name(::std::string* PROTOBUF_NULLABLE value);
0225 
0226   private:
0227   const ::std::string& _internal_file_name() const;
0228   PROTOBUF_ALWAYS_INLINE void _internal_set_file_name(const ::std::string& value);
0229   ::std::string* PROTOBUF_NONNULL _internal_mutable_file_name();
0230 
0231   public:
0232   // @@protoc_insertion_point(class_scope:google.protobuf.SourceContext)
0233  private:
0234   class _Internal;
0235   friend class ::google::protobuf::internal::TcParser;
0236   static const ::google::protobuf::internal::TcParseTable<0, 1,
0237                                    0, 47,
0238                                    2>
0239       _table_;
0240 
0241   friend class ::google::protobuf::MessageLite;
0242   friend class ::google::protobuf::Arena;
0243   template <typename T>
0244   friend class ::google::protobuf::Arena::InternalHelper;
0245   using InternalArenaConstructable_ = void;
0246   using DestructorSkippable_ = void;
0247   struct Impl_ {
0248     inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
0249     inline explicit Impl_(
0250         ::google::protobuf::internal::InternalVisibility visibility,
0251         ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
0252     inline explicit Impl_(
0253         ::google::protobuf::internal::InternalVisibility visibility,
0254         ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
0255         const SourceContext& from_msg);
0256     ::google::protobuf::internal::HasBits<1> _has_bits_;
0257     ::google::protobuf::internal::CachedSize _cached_size_;
0258     ::google::protobuf::internal::ArenaStringPtr file_name_;
0259     PROTOBUF_TSAN_DECLARE_MEMBER
0260   };
0261   union { Impl_ _impl_; };
0262   friend struct ::TableStruct_google_2fprotobuf_2fsource_5fcontext_2eproto;
0263 };
0264 
0265 PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull SourceContext_class_data_;
0266 
0267 // ===================================================================
0268 
0269 
0270 
0271 
0272 // ===================================================================
0273 
0274 
0275 #ifdef __GNUC__
0276 #pragma GCC diagnostic push
0277 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
0278 #endif  // __GNUC__
0279 // -------------------------------------------------------------------
0280 
0281 // SourceContext
0282 
0283 // string file_name = 1;
0284 inline void SourceContext::clear_file_name() {
0285   ::google::protobuf::internal::TSanWrite(&_impl_);
0286   _impl_.file_name_.ClearToEmpty();
0287   _impl_._has_bits_[0] &= ~0x00000001U;
0288 }
0289 inline const ::std::string& SourceContext::file_name() const
0290     ABSL_ATTRIBUTE_LIFETIME_BOUND {
0291   // @@protoc_insertion_point(field_get:google.protobuf.SourceContext.file_name)
0292   return _internal_file_name();
0293 }
0294 template <typename Arg_, typename... Args_>
0295 PROTOBUF_ALWAYS_INLINE void SourceContext::set_file_name(Arg_&& arg, Args_... args) {
0296   ::google::protobuf::internal::TSanWrite(&_impl_);
0297   _impl_._has_bits_[0] |= 0x00000001U;
0298   _impl_.file_name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
0299   // @@protoc_insertion_point(field_set:google.protobuf.SourceContext.file_name)
0300 }
0301 inline ::std::string* PROTOBUF_NONNULL SourceContext::mutable_file_name()
0302     ABSL_ATTRIBUTE_LIFETIME_BOUND {
0303   ::std::string* _s = _internal_mutable_file_name();
0304   // @@protoc_insertion_point(field_mutable:google.protobuf.SourceContext.file_name)
0305   return _s;
0306 }
0307 inline const ::std::string& SourceContext::_internal_file_name() const {
0308   ::google::protobuf::internal::TSanRead(&_impl_);
0309   return _impl_.file_name_.Get();
0310 }
0311 inline void SourceContext::_internal_set_file_name(const ::std::string& value) {
0312   ::google::protobuf::internal::TSanWrite(&_impl_);
0313   _impl_._has_bits_[0] |= 0x00000001U;
0314   _impl_.file_name_.Set(value, GetArena());
0315 }
0316 inline ::std::string* PROTOBUF_NONNULL SourceContext::_internal_mutable_file_name() {
0317   ::google::protobuf::internal::TSanWrite(&_impl_);
0318   _impl_._has_bits_[0] |= 0x00000001U;
0319   return _impl_.file_name_.Mutable( GetArena());
0320 }
0321 inline ::std::string* PROTOBUF_NULLABLE SourceContext::release_file_name() {
0322   ::google::protobuf::internal::TSanWrite(&_impl_);
0323   // @@protoc_insertion_point(field_release:google.protobuf.SourceContext.file_name)
0324   if ((_impl_._has_bits_[0] & 0x00000001U) == 0) {
0325     return nullptr;
0326   }
0327   _impl_._has_bits_[0] &= ~0x00000001U;
0328   auto* released = _impl_.file_name_.Release();
0329   if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
0330     _impl_.file_name_.Set("", GetArena());
0331   }
0332   return released;
0333 }
0334 inline void SourceContext::set_allocated_file_name(::std::string* PROTOBUF_NULLABLE value) {
0335   ::google::protobuf::internal::TSanWrite(&_impl_);
0336   if (value != nullptr) {
0337     _impl_._has_bits_[0] |= 0x00000001U;
0338   } else {
0339     _impl_._has_bits_[0] &= ~0x00000001U;
0340   }
0341   _impl_.file_name_.SetAllocated(value, GetArena());
0342   if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.file_name_.IsDefault()) {
0343     _impl_.file_name_.Set("", GetArena());
0344   }
0345   // @@protoc_insertion_point(field_set_allocated:google.protobuf.SourceContext.file_name)
0346 }
0347 
0348 #ifdef __GNUC__
0349 #pragma GCC diagnostic pop
0350 #endif  // __GNUC__
0351 
0352 // @@protoc_insertion_point(namespace_scope)
0353 }  // namespace protobuf
0354 }  // namespace google
0355 
0356 
0357 // @@protoc_insertion_point(global_scope)
0358 
0359 #include "google/protobuf/port_undef.inc"
0360 
0361 #endif  // google_2fprotobuf_2fsource_5fcontext_2eproto_2epb_2eh