Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-21 09:12:44

0001 // Generated by the protocol buffer compiler.  DO NOT EDIT!
0002 // NO CHECKED-IN PROTOBUF GENCODE
0003 // source: google/protobuf/field_mask.proto
0004 // Protobuf C++ Version: 6.32.1
0005 
0006 #ifndef google_2fprotobuf_2ffield_5fmask_2eproto_2epb_2eh
0007 #define google_2fprotobuf_2ffield_5fmask_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_2ffield_5fmask_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_2ffield_5fmask_2eproto {
0050   static const ::uint32_t offsets[];
0051 };
0052 extern "C" {
0053 PROTOBUF_EXPORT extern const ::google::protobuf::internal::DescriptorTable descriptor_table_google_2fprotobuf_2ffield_5fmask_2eproto;
0054 }  // extern "C"
0055 namespace google {
0056 namespace protobuf {
0057 class FieldMask;
0058 struct FieldMaskDefaultTypeInternal;
0059 PROTOBUF_EXPORT extern FieldMaskDefaultTypeInternal _FieldMask_default_instance_;
0060 PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull FieldMask_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 FieldMask final : public ::google::protobuf::Message
0073 /* @@protoc_insertion_point(class_definition:google.protobuf.FieldMask) */ {
0074  public:
0075   inline FieldMask() : FieldMask(nullptr) {}
0076   ~FieldMask() PROTOBUF_FINAL;
0077 
0078 #if defined(PROTOBUF_CUSTOM_VTABLE)
0079   void operator delete(FieldMask* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
0080     SharedDtor(*msg);
0081     ::google::protobuf::internal::SizedDelete(msg, sizeof(FieldMask));
0082   }
0083 #endif
0084 
0085   template <typename = void>
0086   explicit PROTOBUF_CONSTEXPR FieldMask(::google::protobuf::internal::ConstantInitialized);
0087 
0088   inline FieldMask(const FieldMask& from) : FieldMask(nullptr, from) {}
0089   inline FieldMask(FieldMask&& from) noexcept
0090       : FieldMask(nullptr, ::std::move(from)) {}
0091   inline FieldMask& operator=(const FieldMask& from) {
0092     CopyFrom(from);
0093     return *this;
0094   }
0095   inline FieldMask& operator=(FieldMask&& 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 FieldMask& default_instance() {
0124     return *reinterpret_cast<const FieldMask*>(
0125         &_FieldMask_default_instance_);
0126   }
0127   static constexpr int kIndexInFileMessages = 0;
0128   friend void swap(FieldMask& a, FieldMask& b) { a.Swap(&b); }
0129   inline void Swap(FieldMask* 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(FieldMask* PROTOBUF_NONNULL other) {
0138     if (other == this) return;
0139     ABSL_DCHECK(GetArena() == other->GetArena());
0140     InternalSwap(other);
0141   }
0142 
0143   // implements Message ----------------------------------------------
0144 
0145   FieldMask* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
0146     return ::google::protobuf::Message::DefaultConstruct<FieldMask>(arena);
0147   }
0148   using ::google::protobuf::Message::CopyFrom;
0149   void CopyFrom(const FieldMask& from);
0150   using ::google::protobuf::Message::MergeFrom;
0151   void MergeFrom(const FieldMask& from) { FieldMask::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(FieldMask* 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.FieldMask"; }
0192 
0193  protected:
0194   explicit FieldMask(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
0195   FieldMask(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const FieldMask& from);
0196   FieldMask(
0197       ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, FieldMask&& from) noexcept
0198       : FieldMask(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     kPathsFieldNumber = 1,
0216   };
0217   // repeated string paths = 1;
0218   int paths_size() const;
0219   private:
0220   int _internal_paths_size() const;
0221 
0222   public:
0223   void clear_paths() ;
0224   const ::std::string& paths(int index) const;
0225   ::std::string* PROTOBUF_NONNULL mutable_paths(int index);
0226   template <typename Arg_ = const ::std::string&, typename... Args_>
0227   void set_paths(int index, Arg_&& value, Args_... args);
0228   ::std::string* PROTOBUF_NONNULL add_paths();
0229   template <typename Arg_ = const ::std::string&, typename... Args_>
0230   void add_paths(Arg_&& value, Args_... args);
0231   const ::google::protobuf::RepeatedPtrField<::std::string>& paths() const;
0232   ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL mutable_paths();
0233 
0234   private:
0235   const ::google::protobuf::RepeatedPtrField<::std::string>& _internal_paths() const;
0236   ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL _internal_mutable_paths();
0237 
0238   public:
0239   // @@protoc_insertion_point(class_scope:google.protobuf.FieldMask)
0240  private:
0241   class _Internal;
0242   friend class ::google::protobuf::internal::TcParser;
0243   static const ::google::protobuf::internal::TcParseTable<0, 1,
0244                                    0, 39,
0245                                    2>
0246       _table_;
0247 
0248   friend class ::google::protobuf::MessageLite;
0249   friend class ::google::protobuf::Arena;
0250   template <typename T>
0251   friend class ::google::protobuf::Arena::InternalHelper;
0252   using InternalArenaConstructable_ = void;
0253   using DestructorSkippable_ = void;
0254   struct Impl_ {
0255     inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
0256     inline explicit Impl_(
0257         ::google::protobuf::internal::InternalVisibility visibility,
0258         ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
0259     inline explicit Impl_(
0260         ::google::protobuf::internal::InternalVisibility visibility,
0261         ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
0262         const FieldMask& from_msg);
0263     ::google::protobuf::RepeatedPtrField<::std::string> paths_;
0264     ::google::protobuf::internal::CachedSize _cached_size_;
0265     PROTOBUF_TSAN_DECLARE_MEMBER
0266   };
0267   union { Impl_ _impl_; };
0268   friend struct ::TableStruct_google_2fprotobuf_2ffield_5fmask_2eproto;
0269 };
0270 
0271 PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull FieldMask_class_data_;
0272 
0273 // ===================================================================
0274 
0275 
0276 
0277 
0278 // ===================================================================
0279 
0280 
0281 #ifdef __GNUC__
0282 #pragma GCC diagnostic push
0283 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
0284 #endif  // __GNUC__
0285 // -------------------------------------------------------------------
0286 
0287 // FieldMask
0288 
0289 // repeated string paths = 1;
0290 inline int FieldMask::_internal_paths_size() const {
0291   return _internal_paths().size();
0292 }
0293 inline int FieldMask::paths_size() const {
0294   return _internal_paths_size();
0295 }
0296 inline void FieldMask::clear_paths() {
0297   ::google::protobuf::internal::TSanWrite(&_impl_);
0298   _impl_.paths_.Clear();
0299 }
0300 inline ::std::string* PROTOBUF_NONNULL FieldMask::add_paths()
0301     ABSL_ATTRIBUTE_LIFETIME_BOUND {
0302   ::google::protobuf::internal::TSanWrite(&_impl_);
0303   ::std::string* _s = _internal_mutable_paths()->Add();
0304   // @@protoc_insertion_point(field_add_mutable:google.protobuf.FieldMask.paths)
0305   return _s;
0306 }
0307 inline const ::std::string& FieldMask::paths(int index) const
0308     ABSL_ATTRIBUTE_LIFETIME_BOUND {
0309   // @@protoc_insertion_point(field_get:google.protobuf.FieldMask.paths)
0310   return _internal_paths().Get(index);
0311 }
0312 inline ::std::string* PROTOBUF_NONNULL FieldMask::mutable_paths(int index)
0313     ABSL_ATTRIBUTE_LIFETIME_BOUND {
0314   // @@protoc_insertion_point(field_mutable:google.protobuf.FieldMask.paths)
0315   return _internal_mutable_paths()->Mutable(index);
0316 }
0317 template <typename Arg_, typename... Args_>
0318 inline void FieldMask::set_paths(int index, Arg_&& value, Args_... args) {
0319   ::google::protobuf::internal::AssignToString(*_internal_mutable_paths()->Mutable(index), ::std::forward<Arg_>(value),
0320                         args... );
0321   // @@protoc_insertion_point(field_set:google.protobuf.FieldMask.paths)
0322 }
0323 template <typename Arg_, typename... Args_>
0324 inline void FieldMask::add_paths(Arg_&& value, Args_... args) {
0325   ::google::protobuf::internal::TSanWrite(&_impl_);
0326   ::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_paths(),
0327                                ::std::forward<Arg_>(value),
0328                                args... );
0329   // @@protoc_insertion_point(field_add:google.protobuf.FieldMask.paths)
0330 }
0331 inline const ::google::protobuf::RepeatedPtrField<::std::string>& FieldMask::paths()
0332     const ABSL_ATTRIBUTE_LIFETIME_BOUND {
0333   // @@protoc_insertion_point(field_list:google.protobuf.FieldMask.paths)
0334   return _internal_paths();
0335 }
0336 inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL
0337 FieldMask::mutable_paths() ABSL_ATTRIBUTE_LIFETIME_BOUND {
0338   // @@protoc_insertion_point(field_mutable_list:google.protobuf.FieldMask.paths)
0339   ::google::protobuf::internal::TSanWrite(&_impl_);
0340   return _internal_mutable_paths();
0341 }
0342 inline const ::google::protobuf::RepeatedPtrField<::std::string>&
0343 FieldMask::_internal_paths() const {
0344   ::google::protobuf::internal::TSanRead(&_impl_);
0345   return _impl_.paths_;
0346 }
0347 inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL
0348 FieldMask::_internal_mutable_paths() {
0349   ::google::protobuf::internal::TSanRead(&_impl_);
0350   return &_impl_.paths_;
0351 }
0352 
0353 #ifdef __GNUC__
0354 #pragma GCC diagnostic pop
0355 #endif  // __GNUC__
0356 
0357 // @@protoc_insertion_point(namespace_scope)
0358 }  // namespace protobuf
0359 }  // namespace google
0360 
0361 
0362 // @@protoc_insertion_point(global_scope)
0363 
0364 #include "google/protobuf/port_undef.inc"
0365 
0366 #endif  // google_2fprotobuf_2ffield_5fmask_2eproto_2epb_2eh