File indexing completed on 2026-08-28 09:17:31
0001
0002
0003
0004
0005
0006 #ifndef onnx_2fonnx_2doperators_2dml_2eproto_2epb_2eh
0007 #define onnx_2fonnx_2doperators_2dml_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 #include "onnx/onnx-ml.pb.h"
0033
0034
0035
0036 #include "google/protobuf/port_def.inc"
0037
0038 #define PROTOBUF_INTERNAL_EXPORT_onnx_2fonnx_2doperators_2dml_2eproto ONNX_API
0039
0040 namespace google {
0041 namespace protobuf {
0042 namespace internal {
0043 template <typename T>
0044 ::absl::string_view GetAnyMessageName();
0045 }
0046 }
0047 }
0048
0049
0050 struct ONNX_API TableStruct_onnx_2fonnx_2doperators_2dml_2eproto {
0051 static const ::uint32_t offsets[];
0052 };
0053 extern "C" {
0054 ONNX_API extern const ::google::protobuf::internal::DescriptorTable descriptor_table_onnx_2fonnx_2doperators_2dml_2eproto;
0055 }
0056 namespace onnx {
0057 class OperatorProto;
0058 struct OperatorProtoDefaultTypeInternal;
0059 ONNX_API extern OperatorProtoDefaultTypeInternal _OperatorProto_default_instance_;
0060 ONNX_API extern const ::google::protobuf::internal::ClassDataFull OperatorProto_class_data_;
0061 class OperatorSetProto;
0062 struct OperatorSetProtoDefaultTypeInternal;
0063 ONNX_API extern OperatorSetProtoDefaultTypeInternal _OperatorSetProto_default_instance_;
0064 ONNX_API extern const ::google::protobuf::internal::ClassDataFull OperatorSetProto_class_data_;
0065 }
0066 namespace google {
0067 namespace protobuf {
0068 }
0069 }
0070
0071 namespace onnx {
0072
0073
0074
0075
0076
0077
0078 class ONNX_API OperatorProto final : public ::google::protobuf::Message
0079 {
0080 public:
0081 inline OperatorProto() : OperatorProto(nullptr) {}
0082 ~OperatorProto() PROTOBUF_FINAL;
0083
0084 #if defined(PROTOBUF_CUSTOM_VTABLE)
0085 void operator delete(OperatorProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
0086 SharedDtor(*msg);
0087 ::google::protobuf::internal::SizedDelete(msg, sizeof(OperatorProto));
0088 }
0089 #endif
0090
0091 template <typename = void>
0092 explicit PROTOBUF_CONSTEXPR OperatorProto(::google::protobuf::internal::ConstantInitialized);
0093
0094 inline OperatorProto(const OperatorProto& from) : OperatorProto(nullptr, from) {}
0095 inline OperatorProto(OperatorProto&& from) noexcept
0096 : OperatorProto(nullptr, ::std::move(from)) {}
0097 inline OperatorProto& operator=(const OperatorProto& from) {
0098 CopyFrom(from);
0099 return *this;
0100 }
0101 inline OperatorProto& operator=(OperatorProto&& from) noexcept {
0102 if (this == &from) return *this;
0103 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
0104 InternalSwap(&from);
0105 } else {
0106 CopyFrom(from);
0107 }
0108 return *this;
0109 }
0110
0111 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
0112 ABSL_ATTRIBUTE_LIFETIME_BOUND {
0113 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
0114 }
0115 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
0116 ABSL_ATTRIBUTE_LIFETIME_BOUND {
0117 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
0118 }
0119
0120 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
0121 return GetDescriptor();
0122 }
0123 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
0124 return default_instance().GetMetadata().descriptor;
0125 }
0126 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
0127 return default_instance().GetMetadata().reflection;
0128 }
0129 static const OperatorProto& default_instance() {
0130 return *reinterpret_cast<const OperatorProto*>(
0131 &_OperatorProto_default_instance_);
0132 }
0133 static constexpr int kIndexInFileMessages = 0;
0134 friend void swap(OperatorProto& a, OperatorProto& b) { a.Swap(&b); }
0135 inline void Swap(OperatorProto* PROTOBUF_NONNULL other) {
0136 if (other == this) return;
0137 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
0138 InternalSwap(other);
0139 } else {
0140 ::google::protobuf::internal::GenericSwap(this, other);
0141 }
0142 }
0143 void UnsafeArenaSwap(OperatorProto* PROTOBUF_NONNULL other) {
0144 if (other == this) return;
0145 ABSL_DCHECK(GetArena() == other->GetArena());
0146 InternalSwap(other);
0147 }
0148
0149
0150
0151 OperatorProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
0152 return ::google::protobuf::Message::DefaultConstruct<OperatorProto>(arena);
0153 }
0154 using ::google::protobuf::Message::CopyFrom;
0155 void CopyFrom(const OperatorProto& from);
0156 using ::google::protobuf::Message::MergeFrom;
0157 void MergeFrom(const OperatorProto& from) { OperatorProto::MergeImpl(*this, from); }
0158
0159 private:
0160 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
0161 const ::google::protobuf::MessageLite& from_msg);
0162
0163 public:
0164 bool IsInitialized() const {
0165 return true;
0166 }
0167 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
0168 #if defined(PROTOBUF_CUSTOM_VTABLE)
0169 private:
0170 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
0171 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
0172 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
0173 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
0174
0175 public:
0176 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
0177 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
0178 ::uint8_t* PROTOBUF_NONNULL target,
0179 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
0180 return _InternalSerialize(*this, target, stream);
0181 }
0182 #else
0183 ::size_t ByteSizeLong() const final;
0184 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
0185 ::uint8_t* PROTOBUF_NONNULL target,
0186 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
0187 #endif
0188 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
0189
0190 private:
0191 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
0192 static void SharedDtor(MessageLite& self);
0193 void InternalSwap(OperatorProto* PROTOBUF_NONNULL other);
0194 private:
0195 template <typename T>
0196 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
0197 static ::absl::string_view FullMessageName() { return "onnx.OperatorProto"; }
0198
0199 protected:
0200 explicit OperatorProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
0201 OperatorProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const OperatorProto& from);
0202 OperatorProto(
0203 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, OperatorProto&& from) noexcept
0204 : OperatorProto(arena) {
0205 *this = ::std::move(from);
0206 }
0207 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
0208 static void* PROTOBUF_NONNULL PlacementNew_(
0209 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
0210 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
0211 static constexpr auto InternalNewImpl_();
0212
0213 public:
0214 static constexpr auto InternalGenerateClassData_();
0215
0216 ::google::protobuf::Metadata GetMetadata() const;
0217
0218
0219
0220 enum : int {
0221 kOpTypeFieldNumber = 1,
0222 kDocStringFieldNumber = 10,
0223 kSinceVersionFieldNumber = 2,
0224 kStatusFieldNumber = 3,
0225 };
0226
0227 bool has_op_type() const;
0228 void clear_op_type() ;
0229 const ::std::string& op_type() const;
0230 template <typename Arg_ = const ::std::string&, typename... Args_>
0231 void set_op_type(Arg_&& arg, Args_... args);
0232 ::std::string* PROTOBUF_NONNULL mutable_op_type();
0233 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_op_type();
0234 void set_allocated_op_type(::std::string* PROTOBUF_NULLABLE value);
0235
0236 private:
0237 const ::std::string& _internal_op_type() const;
0238 PROTOBUF_ALWAYS_INLINE void _internal_set_op_type(const ::std::string& value);
0239 ::std::string* PROTOBUF_NONNULL _internal_mutable_op_type();
0240
0241 public:
0242
0243 bool has_doc_string() const;
0244 void clear_doc_string() ;
0245 const ::std::string& doc_string() const;
0246 template <typename Arg_ = const ::std::string&, typename... Args_>
0247 void set_doc_string(Arg_&& arg, Args_... args);
0248 ::std::string* PROTOBUF_NONNULL mutable_doc_string();
0249 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_doc_string();
0250 void set_allocated_doc_string(::std::string* PROTOBUF_NULLABLE value);
0251
0252 private:
0253 const ::std::string& _internal_doc_string() const;
0254 PROTOBUF_ALWAYS_INLINE void _internal_set_doc_string(const ::std::string& value);
0255 ::std::string* PROTOBUF_NONNULL _internal_mutable_doc_string();
0256
0257 public:
0258
0259 bool has_since_version() const;
0260 void clear_since_version() ;
0261 ::int64_t since_version() const;
0262 void set_since_version(::int64_t value);
0263
0264 private:
0265 ::int64_t _internal_since_version() const;
0266 void _internal_set_since_version(::int64_t value);
0267
0268 public:
0269
0270 bool has_status() const;
0271 void clear_status() ;
0272 ::onnx::OperatorStatus status() const;
0273 void set_status(::onnx::OperatorStatus value);
0274
0275 private:
0276 ::onnx::OperatorStatus _internal_status() const;
0277 void _internal_set_status(::onnx::OperatorStatus value);
0278
0279 public:
0280
0281 private:
0282 class _Internal;
0283 friend class ::google::protobuf::internal::TcParser;
0284 static const ::google::protobuf::internal::TcParseTable<2, 4,
0285 1, 44,
0286 2>
0287 _table_;
0288
0289 friend class ::google::protobuf::MessageLite;
0290 friend class ::google::protobuf::Arena;
0291 template <typename T>
0292 friend class ::google::protobuf::Arena::InternalHelper;
0293 using InternalArenaConstructable_ = void;
0294 using DestructorSkippable_ = void;
0295 struct Impl_ {
0296 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
0297 inline explicit Impl_(
0298 ::google::protobuf::internal::InternalVisibility visibility,
0299 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
0300 inline explicit Impl_(
0301 ::google::protobuf::internal::InternalVisibility visibility,
0302 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
0303 const OperatorProto& from_msg);
0304 ::google::protobuf::internal::HasBits<1> _has_bits_;
0305 ::google::protobuf::internal::CachedSize _cached_size_;
0306 ::google::protobuf::internal::ArenaStringPtr op_type_;
0307 ::google::protobuf::internal::ArenaStringPtr doc_string_;
0308 ::int64_t since_version_;
0309 int status_;
0310 PROTOBUF_TSAN_DECLARE_MEMBER
0311 };
0312 union { Impl_ _impl_; };
0313 friend struct ::TableStruct_onnx_2fonnx_2doperators_2dml_2eproto;
0314 };
0315
0316 ONNX_API extern const ::google::protobuf::internal::ClassDataFull OperatorProto_class_data_;
0317
0318
0319 class ONNX_API OperatorSetProto final : public ::google::protobuf::Message
0320 {
0321 public:
0322 inline OperatorSetProto() : OperatorSetProto(nullptr) {}
0323 ~OperatorSetProto() PROTOBUF_FINAL;
0324
0325 #if defined(PROTOBUF_CUSTOM_VTABLE)
0326 void operator delete(OperatorSetProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
0327 SharedDtor(*msg);
0328 ::google::protobuf::internal::SizedDelete(msg, sizeof(OperatorSetProto));
0329 }
0330 #endif
0331
0332 template <typename = void>
0333 explicit PROTOBUF_CONSTEXPR OperatorSetProto(::google::protobuf::internal::ConstantInitialized);
0334
0335 inline OperatorSetProto(const OperatorSetProto& from) : OperatorSetProto(nullptr, from) {}
0336 inline OperatorSetProto(OperatorSetProto&& from) noexcept
0337 : OperatorSetProto(nullptr, ::std::move(from)) {}
0338 inline OperatorSetProto& operator=(const OperatorSetProto& from) {
0339 CopyFrom(from);
0340 return *this;
0341 }
0342 inline OperatorSetProto& operator=(OperatorSetProto&& from) noexcept {
0343 if (this == &from) return *this;
0344 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
0345 InternalSwap(&from);
0346 } else {
0347 CopyFrom(from);
0348 }
0349 return *this;
0350 }
0351
0352 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
0353 ABSL_ATTRIBUTE_LIFETIME_BOUND {
0354 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
0355 }
0356 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
0357 ABSL_ATTRIBUTE_LIFETIME_BOUND {
0358 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
0359 }
0360
0361 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
0362 return GetDescriptor();
0363 }
0364 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
0365 return default_instance().GetMetadata().descriptor;
0366 }
0367 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
0368 return default_instance().GetMetadata().reflection;
0369 }
0370 static const OperatorSetProto& default_instance() {
0371 return *reinterpret_cast<const OperatorSetProto*>(
0372 &_OperatorSetProto_default_instance_);
0373 }
0374 static constexpr int kIndexInFileMessages = 1;
0375 friend void swap(OperatorSetProto& a, OperatorSetProto& b) { a.Swap(&b); }
0376 inline void Swap(OperatorSetProto* PROTOBUF_NONNULL other) {
0377 if (other == this) return;
0378 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
0379 InternalSwap(other);
0380 } else {
0381 ::google::protobuf::internal::GenericSwap(this, other);
0382 }
0383 }
0384 void UnsafeArenaSwap(OperatorSetProto* PROTOBUF_NONNULL other) {
0385 if (other == this) return;
0386 ABSL_DCHECK(GetArena() == other->GetArena());
0387 InternalSwap(other);
0388 }
0389
0390
0391
0392 OperatorSetProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
0393 return ::google::protobuf::Message::DefaultConstruct<OperatorSetProto>(arena);
0394 }
0395 using ::google::protobuf::Message::CopyFrom;
0396 void CopyFrom(const OperatorSetProto& from);
0397 using ::google::protobuf::Message::MergeFrom;
0398 void MergeFrom(const OperatorSetProto& from) { OperatorSetProto::MergeImpl(*this, from); }
0399
0400 private:
0401 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
0402 const ::google::protobuf::MessageLite& from_msg);
0403
0404 public:
0405 bool IsInitialized() const {
0406 return true;
0407 }
0408 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
0409 #if defined(PROTOBUF_CUSTOM_VTABLE)
0410 private:
0411 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
0412 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
0413 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
0414 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
0415
0416 public:
0417 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
0418 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
0419 ::uint8_t* PROTOBUF_NONNULL target,
0420 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
0421 return _InternalSerialize(*this, target, stream);
0422 }
0423 #else
0424 ::size_t ByteSizeLong() const final;
0425 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
0426 ::uint8_t* PROTOBUF_NONNULL target,
0427 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
0428 #endif
0429 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
0430
0431 private:
0432 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
0433 static void SharedDtor(MessageLite& self);
0434 void InternalSwap(OperatorSetProto* PROTOBUF_NONNULL other);
0435 private:
0436 template <typename T>
0437 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
0438 static ::absl::string_view FullMessageName() { return "onnx.OperatorSetProto"; }
0439
0440 protected:
0441 explicit OperatorSetProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
0442 OperatorSetProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const OperatorSetProto& from);
0443 OperatorSetProto(
0444 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, OperatorSetProto&& from) noexcept
0445 : OperatorSetProto(arena) {
0446 *this = ::std::move(from);
0447 }
0448 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
0449 static void* PROTOBUF_NONNULL PlacementNew_(
0450 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
0451 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
0452 static constexpr auto InternalNewImpl_();
0453
0454 public:
0455 static constexpr auto InternalGenerateClassData_();
0456
0457 ::google::protobuf::Metadata GetMetadata() const;
0458
0459
0460
0461 enum : int {
0462 kOperatorFieldNumber = 8,
0463 kFunctionsFieldNumber = 9,
0464 kMagicFieldNumber = 1,
0465 kIrVersionPrereleaseFieldNumber = 3,
0466 kDomainFieldNumber = 4,
0467 kDocStringFieldNumber = 6,
0468 kIrBuildMetadataFieldNumber = 7,
0469 kIrVersionFieldNumber = 2,
0470 kOpsetVersionFieldNumber = 5,
0471 };
0472
0473 int operator__size() const;
0474 private:
0475 int _internal_operator__size() const;
0476
0477 public:
0478 void clear_operator_() ;
0479 ::onnx::OperatorProto* PROTOBUF_NONNULL mutable_operator_(int index);
0480 ::google::protobuf::RepeatedPtrField<::onnx::OperatorProto>* PROTOBUF_NONNULL mutable_operator_();
0481
0482 private:
0483 const ::google::protobuf::RepeatedPtrField<::onnx::OperatorProto>& _internal_operator_() const;
0484 ::google::protobuf::RepeatedPtrField<::onnx::OperatorProto>* PROTOBUF_NONNULL _internal_mutable_operator_();
0485 public:
0486 const ::onnx::OperatorProto& operator_(int index) const;
0487 ::onnx::OperatorProto* PROTOBUF_NONNULL add_operator_();
0488 const ::google::protobuf::RepeatedPtrField<::onnx::OperatorProto>& operator_() const;
0489
0490 int functions_size() const;
0491 private:
0492 int _internal_functions_size() const;
0493
0494 public:
0495 void clear_functions() ;
0496 ::onnx::FunctionProto* PROTOBUF_NONNULL mutable_functions(int index);
0497 ::google::protobuf::RepeatedPtrField<::onnx::FunctionProto>* PROTOBUF_NONNULL mutable_functions();
0498
0499 private:
0500 const ::google::protobuf::RepeatedPtrField<::onnx::FunctionProto>& _internal_functions() const;
0501 ::google::protobuf::RepeatedPtrField<::onnx::FunctionProto>* PROTOBUF_NONNULL _internal_mutable_functions();
0502 public:
0503 const ::onnx::FunctionProto& functions(int index) const;
0504 ::onnx::FunctionProto* PROTOBUF_NONNULL add_functions();
0505 const ::google::protobuf::RepeatedPtrField<::onnx::FunctionProto>& functions() const;
0506
0507 bool has_magic() const;
0508 void clear_magic() ;
0509 const ::std::string& magic() const;
0510 template <typename Arg_ = const ::std::string&, typename... Args_>
0511 void set_magic(Arg_&& arg, Args_... args);
0512 ::std::string* PROTOBUF_NONNULL mutable_magic();
0513 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_magic();
0514 void set_allocated_magic(::std::string* PROTOBUF_NULLABLE value);
0515
0516 private:
0517 const ::std::string& _internal_magic() const;
0518 PROTOBUF_ALWAYS_INLINE void _internal_set_magic(const ::std::string& value);
0519 ::std::string* PROTOBUF_NONNULL _internal_mutable_magic();
0520
0521 public:
0522
0523 bool has_ir_version_prerelease() const;
0524 void clear_ir_version_prerelease() ;
0525 const ::std::string& ir_version_prerelease() const;
0526 template <typename Arg_ = const ::std::string&, typename... Args_>
0527 void set_ir_version_prerelease(Arg_&& arg, Args_... args);
0528 ::std::string* PROTOBUF_NONNULL mutable_ir_version_prerelease();
0529 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_ir_version_prerelease();
0530 void set_allocated_ir_version_prerelease(::std::string* PROTOBUF_NULLABLE value);
0531
0532 private:
0533 const ::std::string& _internal_ir_version_prerelease() const;
0534 PROTOBUF_ALWAYS_INLINE void _internal_set_ir_version_prerelease(const ::std::string& value);
0535 ::std::string* PROTOBUF_NONNULL _internal_mutable_ir_version_prerelease();
0536
0537 public:
0538
0539 bool has_domain() const;
0540 void clear_domain() ;
0541 const ::std::string& domain() const;
0542 template <typename Arg_ = const ::std::string&, typename... Args_>
0543 void set_domain(Arg_&& arg, Args_... args);
0544 ::std::string* PROTOBUF_NONNULL mutable_domain();
0545 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_domain();
0546 void set_allocated_domain(::std::string* PROTOBUF_NULLABLE value);
0547
0548 private:
0549 const ::std::string& _internal_domain() const;
0550 PROTOBUF_ALWAYS_INLINE void _internal_set_domain(const ::std::string& value);
0551 ::std::string* PROTOBUF_NONNULL _internal_mutable_domain();
0552
0553 public:
0554
0555 bool has_doc_string() const;
0556 void clear_doc_string() ;
0557 const ::std::string& doc_string() const;
0558 template <typename Arg_ = const ::std::string&, typename... Args_>
0559 void set_doc_string(Arg_&& arg, Args_... args);
0560 ::std::string* PROTOBUF_NONNULL mutable_doc_string();
0561 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_doc_string();
0562 void set_allocated_doc_string(::std::string* PROTOBUF_NULLABLE value);
0563
0564 private:
0565 const ::std::string& _internal_doc_string() const;
0566 PROTOBUF_ALWAYS_INLINE void _internal_set_doc_string(const ::std::string& value);
0567 ::std::string* PROTOBUF_NONNULL _internal_mutable_doc_string();
0568
0569 public:
0570
0571 bool has_ir_build_metadata() const;
0572 void clear_ir_build_metadata() ;
0573 const ::std::string& ir_build_metadata() const;
0574 template <typename Arg_ = const ::std::string&, typename... Args_>
0575 void set_ir_build_metadata(Arg_&& arg, Args_... args);
0576 ::std::string* PROTOBUF_NONNULL mutable_ir_build_metadata();
0577 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_ir_build_metadata();
0578 void set_allocated_ir_build_metadata(::std::string* PROTOBUF_NULLABLE value);
0579
0580 private:
0581 const ::std::string& _internal_ir_build_metadata() const;
0582 PROTOBUF_ALWAYS_INLINE void _internal_set_ir_build_metadata(const ::std::string& value);
0583 ::std::string* PROTOBUF_NONNULL _internal_mutable_ir_build_metadata();
0584
0585 public:
0586
0587 bool has_ir_version() const;
0588 void clear_ir_version() ;
0589 ::int64_t ir_version() const;
0590 void set_ir_version(::int64_t value);
0591
0592 private:
0593 ::int64_t _internal_ir_version() const;
0594 void _internal_set_ir_version(::int64_t value);
0595
0596 public:
0597
0598 bool has_opset_version() const;
0599 void clear_opset_version() ;
0600 ::int64_t opset_version() const;
0601 void set_opset_version(::int64_t value);
0602
0603 private:
0604 ::int64_t _internal_opset_version() const;
0605 void _internal_set_opset_version(::int64_t value);
0606
0607 public:
0608
0609 private:
0610 class _Internal;
0611 friend class ::google::protobuf::internal::TcParser;
0612 static const ::google::protobuf::internal::TcParseTable<4, 9,
0613 2, 97,
0614 2>
0615 _table_;
0616
0617 friend class ::google::protobuf::MessageLite;
0618 friend class ::google::protobuf::Arena;
0619 template <typename T>
0620 friend class ::google::protobuf::Arena::InternalHelper;
0621 using InternalArenaConstructable_ = void;
0622 using DestructorSkippable_ = void;
0623 struct Impl_ {
0624 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
0625 inline explicit Impl_(
0626 ::google::protobuf::internal::InternalVisibility visibility,
0627 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
0628 inline explicit Impl_(
0629 ::google::protobuf::internal::InternalVisibility visibility,
0630 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
0631 const OperatorSetProto& from_msg);
0632 ::google::protobuf::internal::HasBits<1> _has_bits_;
0633 ::google::protobuf::internal::CachedSize _cached_size_;
0634 ::google::protobuf::RepeatedPtrField< ::onnx::OperatorProto > operator__;
0635 ::google::protobuf::RepeatedPtrField< ::onnx::FunctionProto > functions_;
0636 ::google::protobuf::internal::ArenaStringPtr magic_;
0637 ::google::protobuf::internal::ArenaStringPtr ir_version_prerelease_;
0638 ::google::protobuf::internal::ArenaStringPtr domain_;
0639 ::google::protobuf::internal::ArenaStringPtr doc_string_;
0640 ::google::protobuf::internal::ArenaStringPtr ir_build_metadata_;
0641 ::int64_t ir_version_;
0642 ::int64_t opset_version_;
0643 PROTOBUF_TSAN_DECLARE_MEMBER
0644 };
0645 union { Impl_ _impl_; };
0646 friend struct ::TableStruct_onnx_2fonnx_2doperators_2dml_2eproto;
0647 };
0648
0649 ONNX_API extern const ::google::protobuf::internal::ClassDataFull OperatorSetProto_class_data_;
0650
0651
0652
0653
0654
0655
0656
0657
0658
0659 #ifdef __GNUC__
0660 #pragma GCC diagnostic push
0661 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
0662 #endif
0663
0664
0665
0666
0667
0668 inline bool OperatorProto::has_op_type() const {
0669 bool value = (_impl_._has_bits_[0] & 0x00000001U) != 0;
0670 return value;
0671 }
0672 inline void OperatorProto::clear_op_type() {
0673 ::google::protobuf::internal::TSanWrite(&_impl_);
0674 _impl_.op_type_.ClearToEmpty();
0675 _impl_._has_bits_[0] &= ~0x00000001U;
0676 }
0677 inline const ::std::string& OperatorProto::op_type() const
0678 ABSL_ATTRIBUTE_LIFETIME_BOUND {
0679
0680 return _internal_op_type();
0681 }
0682 template <typename Arg_, typename... Args_>
0683 PROTOBUF_ALWAYS_INLINE void OperatorProto::set_op_type(Arg_&& arg, Args_... args) {
0684 ::google::protobuf::internal::TSanWrite(&_impl_);
0685 _impl_._has_bits_[0] |= 0x00000001U;
0686 _impl_.op_type_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
0687
0688 }
0689 inline ::std::string* PROTOBUF_NONNULL OperatorProto::mutable_op_type()
0690 ABSL_ATTRIBUTE_LIFETIME_BOUND {
0691 ::std::string* _s = _internal_mutable_op_type();
0692
0693 return _s;
0694 }
0695 inline const ::std::string& OperatorProto::_internal_op_type() const {
0696 ::google::protobuf::internal::TSanRead(&_impl_);
0697 return _impl_.op_type_.Get();
0698 }
0699 inline void OperatorProto::_internal_set_op_type(const ::std::string& value) {
0700 ::google::protobuf::internal::TSanWrite(&_impl_);
0701 _impl_._has_bits_[0] |= 0x00000001U;
0702 _impl_.op_type_.Set(value, GetArena());
0703 }
0704 inline ::std::string* PROTOBUF_NONNULL OperatorProto::_internal_mutable_op_type() {
0705 ::google::protobuf::internal::TSanWrite(&_impl_);
0706 _impl_._has_bits_[0] |= 0x00000001U;
0707 return _impl_.op_type_.Mutable( GetArena());
0708 }
0709 inline ::std::string* PROTOBUF_NULLABLE OperatorProto::release_op_type() {
0710 ::google::protobuf::internal::TSanWrite(&_impl_);
0711
0712 if ((_impl_._has_bits_[0] & 0x00000001U) == 0) {
0713 return nullptr;
0714 }
0715 _impl_._has_bits_[0] &= ~0x00000001U;
0716 auto* released = _impl_.op_type_.Release();
0717 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
0718 _impl_.op_type_.Set("", GetArena());
0719 }
0720 return released;
0721 }
0722 inline void OperatorProto::set_allocated_op_type(::std::string* PROTOBUF_NULLABLE value) {
0723 ::google::protobuf::internal::TSanWrite(&_impl_);
0724 if (value != nullptr) {
0725 _impl_._has_bits_[0] |= 0x00000001U;
0726 } else {
0727 _impl_._has_bits_[0] &= ~0x00000001U;
0728 }
0729 _impl_.op_type_.SetAllocated(value, GetArena());
0730 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.op_type_.IsDefault()) {
0731 _impl_.op_type_.Set("", GetArena());
0732 }
0733
0734 }
0735
0736
0737 inline bool OperatorProto::has_since_version() const {
0738 bool value = (_impl_._has_bits_[0] & 0x00000004U) != 0;
0739 return value;
0740 }
0741 inline void OperatorProto::clear_since_version() {
0742 ::google::protobuf::internal::TSanWrite(&_impl_);
0743 _impl_.since_version_ = ::int64_t{0};
0744 _impl_._has_bits_[0] &= ~0x00000004U;
0745 }
0746 inline ::int64_t OperatorProto::since_version() const {
0747
0748 return _internal_since_version();
0749 }
0750 inline void OperatorProto::set_since_version(::int64_t value) {
0751 _internal_set_since_version(value);
0752 _impl_._has_bits_[0] |= 0x00000004U;
0753
0754 }
0755 inline ::int64_t OperatorProto::_internal_since_version() const {
0756 ::google::protobuf::internal::TSanRead(&_impl_);
0757 return _impl_.since_version_;
0758 }
0759 inline void OperatorProto::_internal_set_since_version(::int64_t value) {
0760 ::google::protobuf::internal::TSanWrite(&_impl_);
0761 _impl_.since_version_ = value;
0762 }
0763
0764
0765 inline bool OperatorProto::has_status() const {
0766 bool value = (_impl_._has_bits_[0] & 0x00000008U) != 0;
0767 return value;
0768 }
0769 inline void OperatorProto::clear_status() {
0770 ::google::protobuf::internal::TSanWrite(&_impl_);
0771 _impl_.status_ = 0;
0772 _impl_._has_bits_[0] &= ~0x00000008U;
0773 }
0774 inline ::onnx::OperatorStatus OperatorProto::status() const {
0775
0776 return _internal_status();
0777 }
0778 inline void OperatorProto::set_status(::onnx::OperatorStatus value) {
0779 _internal_set_status(value);
0780 _impl_._has_bits_[0] |= 0x00000008U;
0781
0782 }
0783 inline ::onnx::OperatorStatus OperatorProto::_internal_status() const {
0784 ::google::protobuf::internal::TSanRead(&_impl_);
0785 return static_cast<::onnx::OperatorStatus>(_impl_.status_);
0786 }
0787 inline void OperatorProto::_internal_set_status(::onnx::OperatorStatus value) {
0788 ::google::protobuf::internal::TSanWrite(&_impl_);
0789
0790 assert(::google::protobuf::internal::ValidateEnum(
0791 value, ::onnx::OperatorStatus_internal_data_));
0792 _impl_.status_ = value;
0793 }
0794
0795
0796 inline bool OperatorProto::has_doc_string() const {
0797 bool value = (_impl_._has_bits_[0] & 0x00000002U) != 0;
0798 return value;
0799 }
0800 inline void OperatorProto::clear_doc_string() {
0801 ::google::protobuf::internal::TSanWrite(&_impl_);
0802 _impl_.doc_string_.ClearToEmpty();
0803 _impl_._has_bits_[0] &= ~0x00000002U;
0804 }
0805 inline const ::std::string& OperatorProto::doc_string() const
0806 ABSL_ATTRIBUTE_LIFETIME_BOUND {
0807
0808 return _internal_doc_string();
0809 }
0810 template <typename Arg_, typename... Args_>
0811 PROTOBUF_ALWAYS_INLINE void OperatorProto::set_doc_string(Arg_&& arg, Args_... args) {
0812 ::google::protobuf::internal::TSanWrite(&_impl_);
0813 _impl_._has_bits_[0] |= 0x00000002U;
0814 _impl_.doc_string_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
0815
0816 }
0817 inline ::std::string* PROTOBUF_NONNULL OperatorProto::mutable_doc_string()
0818 ABSL_ATTRIBUTE_LIFETIME_BOUND {
0819 ::std::string* _s = _internal_mutable_doc_string();
0820
0821 return _s;
0822 }
0823 inline const ::std::string& OperatorProto::_internal_doc_string() const {
0824 ::google::protobuf::internal::TSanRead(&_impl_);
0825 return _impl_.doc_string_.Get();
0826 }
0827 inline void OperatorProto::_internal_set_doc_string(const ::std::string& value) {
0828 ::google::protobuf::internal::TSanWrite(&_impl_);
0829 _impl_._has_bits_[0] |= 0x00000002U;
0830 _impl_.doc_string_.Set(value, GetArena());
0831 }
0832 inline ::std::string* PROTOBUF_NONNULL OperatorProto::_internal_mutable_doc_string() {
0833 ::google::protobuf::internal::TSanWrite(&_impl_);
0834 _impl_._has_bits_[0] |= 0x00000002U;
0835 return _impl_.doc_string_.Mutable( GetArena());
0836 }
0837 inline ::std::string* PROTOBUF_NULLABLE OperatorProto::release_doc_string() {
0838 ::google::protobuf::internal::TSanWrite(&_impl_);
0839
0840 if ((_impl_._has_bits_[0] & 0x00000002U) == 0) {
0841 return nullptr;
0842 }
0843 _impl_._has_bits_[0] &= ~0x00000002U;
0844 auto* released = _impl_.doc_string_.Release();
0845 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
0846 _impl_.doc_string_.Set("", GetArena());
0847 }
0848 return released;
0849 }
0850 inline void OperatorProto::set_allocated_doc_string(::std::string* PROTOBUF_NULLABLE value) {
0851 ::google::protobuf::internal::TSanWrite(&_impl_);
0852 if (value != nullptr) {
0853 _impl_._has_bits_[0] |= 0x00000002U;
0854 } else {
0855 _impl_._has_bits_[0] &= ~0x00000002U;
0856 }
0857 _impl_.doc_string_.SetAllocated(value, GetArena());
0858 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.doc_string_.IsDefault()) {
0859 _impl_.doc_string_.Set("", GetArena());
0860 }
0861
0862 }
0863
0864
0865
0866
0867
0868
0869 inline bool OperatorSetProto::has_magic() const {
0870 bool value = (_impl_._has_bits_[0] & 0x00000001U) != 0;
0871 return value;
0872 }
0873 inline void OperatorSetProto::clear_magic() {
0874 ::google::protobuf::internal::TSanWrite(&_impl_);
0875 _impl_.magic_.ClearToEmpty();
0876 _impl_._has_bits_[0] &= ~0x00000001U;
0877 }
0878 inline const ::std::string& OperatorSetProto::magic() const
0879 ABSL_ATTRIBUTE_LIFETIME_BOUND {
0880
0881 return _internal_magic();
0882 }
0883 template <typename Arg_, typename... Args_>
0884 PROTOBUF_ALWAYS_INLINE void OperatorSetProto::set_magic(Arg_&& arg, Args_... args) {
0885 ::google::protobuf::internal::TSanWrite(&_impl_);
0886 _impl_._has_bits_[0] |= 0x00000001U;
0887 _impl_.magic_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
0888
0889 }
0890 inline ::std::string* PROTOBUF_NONNULL OperatorSetProto::mutable_magic()
0891 ABSL_ATTRIBUTE_LIFETIME_BOUND {
0892 ::std::string* _s = _internal_mutable_magic();
0893
0894 return _s;
0895 }
0896 inline const ::std::string& OperatorSetProto::_internal_magic() const {
0897 ::google::protobuf::internal::TSanRead(&_impl_);
0898 return _impl_.magic_.Get();
0899 }
0900 inline void OperatorSetProto::_internal_set_magic(const ::std::string& value) {
0901 ::google::protobuf::internal::TSanWrite(&_impl_);
0902 _impl_._has_bits_[0] |= 0x00000001U;
0903 _impl_.magic_.Set(value, GetArena());
0904 }
0905 inline ::std::string* PROTOBUF_NONNULL OperatorSetProto::_internal_mutable_magic() {
0906 ::google::protobuf::internal::TSanWrite(&_impl_);
0907 _impl_._has_bits_[0] |= 0x00000001U;
0908 return _impl_.magic_.Mutable( GetArena());
0909 }
0910 inline ::std::string* PROTOBUF_NULLABLE OperatorSetProto::release_magic() {
0911 ::google::protobuf::internal::TSanWrite(&_impl_);
0912
0913 if ((_impl_._has_bits_[0] & 0x00000001U) == 0) {
0914 return nullptr;
0915 }
0916 _impl_._has_bits_[0] &= ~0x00000001U;
0917 auto* released = _impl_.magic_.Release();
0918 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
0919 _impl_.magic_.Set("", GetArena());
0920 }
0921 return released;
0922 }
0923 inline void OperatorSetProto::set_allocated_magic(::std::string* PROTOBUF_NULLABLE value) {
0924 ::google::protobuf::internal::TSanWrite(&_impl_);
0925 if (value != nullptr) {
0926 _impl_._has_bits_[0] |= 0x00000001U;
0927 } else {
0928 _impl_._has_bits_[0] &= ~0x00000001U;
0929 }
0930 _impl_.magic_.SetAllocated(value, GetArena());
0931 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.magic_.IsDefault()) {
0932 _impl_.magic_.Set("", GetArena());
0933 }
0934
0935 }
0936
0937
0938 inline bool OperatorSetProto::has_ir_version() const {
0939 bool value = (_impl_._has_bits_[0] & 0x00000020U) != 0;
0940 return value;
0941 }
0942 inline void OperatorSetProto::clear_ir_version() {
0943 ::google::protobuf::internal::TSanWrite(&_impl_);
0944 _impl_.ir_version_ = ::int64_t{0};
0945 _impl_._has_bits_[0] &= ~0x00000020U;
0946 }
0947 inline ::int64_t OperatorSetProto::ir_version() const {
0948
0949 return _internal_ir_version();
0950 }
0951 inline void OperatorSetProto::set_ir_version(::int64_t value) {
0952 _internal_set_ir_version(value);
0953 _impl_._has_bits_[0] |= 0x00000020U;
0954
0955 }
0956 inline ::int64_t OperatorSetProto::_internal_ir_version() const {
0957 ::google::protobuf::internal::TSanRead(&_impl_);
0958 return _impl_.ir_version_;
0959 }
0960 inline void OperatorSetProto::_internal_set_ir_version(::int64_t value) {
0961 ::google::protobuf::internal::TSanWrite(&_impl_);
0962 _impl_.ir_version_ = value;
0963 }
0964
0965
0966 inline bool OperatorSetProto::has_ir_version_prerelease() const {
0967 bool value = (_impl_._has_bits_[0] & 0x00000002U) != 0;
0968 return value;
0969 }
0970 inline void OperatorSetProto::clear_ir_version_prerelease() {
0971 ::google::protobuf::internal::TSanWrite(&_impl_);
0972 _impl_.ir_version_prerelease_.ClearToEmpty();
0973 _impl_._has_bits_[0] &= ~0x00000002U;
0974 }
0975 inline const ::std::string& OperatorSetProto::ir_version_prerelease() const
0976 ABSL_ATTRIBUTE_LIFETIME_BOUND {
0977
0978 return _internal_ir_version_prerelease();
0979 }
0980 template <typename Arg_, typename... Args_>
0981 PROTOBUF_ALWAYS_INLINE void OperatorSetProto::set_ir_version_prerelease(Arg_&& arg, Args_... args) {
0982 ::google::protobuf::internal::TSanWrite(&_impl_);
0983 _impl_._has_bits_[0] |= 0x00000002U;
0984 _impl_.ir_version_prerelease_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
0985
0986 }
0987 inline ::std::string* PROTOBUF_NONNULL OperatorSetProto::mutable_ir_version_prerelease()
0988 ABSL_ATTRIBUTE_LIFETIME_BOUND {
0989 ::std::string* _s = _internal_mutable_ir_version_prerelease();
0990
0991 return _s;
0992 }
0993 inline const ::std::string& OperatorSetProto::_internal_ir_version_prerelease() const {
0994 ::google::protobuf::internal::TSanRead(&_impl_);
0995 return _impl_.ir_version_prerelease_.Get();
0996 }
0997 inline void OperatorSetProto::_internal_set_ir_version_prerelease(const ::std::string& value) {
0998 ::google::protobuf::internal::TSanWrite(&_impl_);
0999 _impl_._has_bits_[0] |= 0x00000002U;
1000 _impl_.ir_version_prerelease_.Set(value, GetArena());
1001 }
1002 inline ::std::string* PROTOBUF_NONNULL OperatorSetProto::_internal_mutable_ir_version_prerelease() {
1003 ::google::protobuf::internal::TSanWrite(&_impl_);
1004 _impl_._has_bits_[0] |= 0x00000002U;
1005 return _impl_.ir_version_prerelease_.Mutable( GetArena());
1006 }
1007 inline ::std::string* PROTOBUF_NULLABLE OperatorSetProto::release_ir_version_prerelease() {
1008 ::google::protobuf::internal::TSanWrite(&_impl_);
1009
1010 if ((_impl_._has_bits_[0] & 0x00000002U) == 0) {
1011 return nullptr;
1012 }
1013 _impl_._has_bits_[0] &= ~0x00000002U;
1014 auto* released = _impl_.ir_version_prerelease_.Release();
1015 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
1016 _impl_.ir_version_prerelease_.Set("", GetArena());
1017 }
1018 return released;
1019 }
1020 inline void OperatorSetProto::set_allocated_ir_version_prerelease(::std::string* PROTOBUF_NULLABLE value) {
1021 ::google::protobuf::internal::TSanWrite(&_impl_);
1022 if (value != nullptr) {
1023 _impl_._has_bits_[0] |= 0x00000002U;
1024 } else {
1025 _impl_._has_bits_[0] &= ~0x00000002U;
1026 }
1027 _impl_.ir_version_prerelease_.SetAllocated(value, GetArena());
1028 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.ir_version_prerelease_.IsDefault()) {
1029 _impl_.ir_version_prerelease_.Set("", GetArena());
1030 }
1031
1032 }
1033
1034
1035 inline bool OperatorSetProto::has_ir_build_metadata() const {
1036 bool value = (_impl_._has_bits_[0] & 0x00000010U) != 0;
1037 return value;
1038 }
1039 inline void OperatorSetProto::clear_ir_build_metadata() {
1040 ::google::protobuf::internal::TSanWrite(&_impl_);
1041 _impl_.ir_build_metadata_.ClearToEmpty();
1042 _impl_._has_bits_[0] &= ~0x00000010U;
1043 }
1044 inline const ::std::string& OperatorSetProto::ir_build_metadata() const
1045 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1046
1047 return _internal_ir_build_metadata();
1048 }
1049 template <typename Arg_, typename... Args_>
1050 PROTOBUF_ALWAYS_INLINE void OperatorSetProto::set_ir_build_metadata(Arg_&& arg, Args_... args) {
1051 ::google::protobuf::internal::TSanWrite(&_impl_);
1052 _impl_._has_bits_[0] |= 0x00000010U;
1053 _impl_.ir_build_metadata_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
1054
1055 }
1056 inline ::std::string* PROTOBUF_NONNULL OperatorSetProto::mutable_ir_build_metadata()
1057 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1058 ::std::string* _s = _internal_mutable_ir_build_metadata();
1059
1060 return _s;
1061 }
1062 inline const ::std::string& OperatorSetProto::_internal_ir_build_metadata() const {
1063 ::google::protobuf::internal::TSanRead(&_impl_);
1064 return _impl_.ir_build_metadata_.Get();
1065 }
1066 inline void OperatorSetProto::_internal_set_ir_build_metadata(const ::std::string& value) {
1067 ::google::protobuf::internal::TSanWrite(&_impl_);
1068 _impl_._has_bits_[0] |= 0x00000010U;
1069 _impl_.ir_build_metadata_.Set(value, GetArena());
1070 }
1071 inline ::std::string* PROTOBUF_NONNULL OperatorSetProto::_internal_mutable_ir_build_metadata() {
1072 ::google::protobuf::internal::TSanWrite(&_impl_);
1073 _impl_._has_bits_[0] |= 0x00000010U;
1074 return _impl_.ir_build_metadata_.Mutable( GetArena());
1075 }
1076 inline ::std::string* PROTOBUF_NULLABLE OperatorSetProto::release_ir_build_metadata() {
1077 ::google::protobuf::internal::TSanWrite(&_impl_);
1078
1079 if ((_impl_._has_bits_[0] & 0x00000010U) == 0) {
1080 return nullptr;
1081 }
1082 _impl_._has_bits_[0] &= ~0x00000010U;
1083 auto* released = _impl_.ir_build_metadata_.Release();
1084 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
1085 _impl_.ir_build_metadata_.Set("", GetArena());
1086 }
1087 return released;
1088 }
1089 inline void OperatorSetProto::set_allocated_ir_build_metadata(::std::string* PROTOBUF_NULLABLE value) {
1090 ::google::protobuf::internal::TSanWrite(&_impl_);
1091 if (value != nullptr) {
1092 _impl_._has_bits_[0] |= 0x00000010U;
1093 } else {
1094 _impl_._has_bits_[0] &= ~0x00000010U;
1095 }
1096 _impl_.ir_build_metadata_.SetAllocated(value, GetArena());
1097 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.ir_build_metadata_.IsDefault()) {
1098 _impl_.ir_build_metadata_.Set("", GetArena());
1099 }
1100
1101 }
1102
1103
1104 inline bool OperatorSetProto::has_domain() const {
1105 bool value = (_impl_._has_bits_[0] & 0x00000004U) != 0;
1106 return value;
1107 }
1108 inline void OperatorSetProto::clear_domain() {
1109 ::google::protobuf::internal::TSanWrite(&_impl_);
1110 _impl_.domain_.ClearToEmpty();
1111 _impl_._has_bits_[0] &= ~0x00000004U;
1112 }
1113 inline const ::std::string& OperatorSetProto::domain() const
1114 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1115
1116 return _internal_domain();
1117 }
1118 template <typename Arg_, typename... Args_>
1119 PROTOBUF_ALWAYS_INLINE void OperatorSetProto::set_domain(Arg_&& arg, Args_... args) {
1120 ::google::protobuf::internal::TSanWrite(&_impl_);
1121 _impl_._has_bits_[0] |= 0x00000004U;
1122 _impl_.domain_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
1123
1124 }
1125 inline ::std::string* PROTOBUF_NONNULL OperatorSetProto::mutable_domain()
1126 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1127 ::std::string* _s = _internal_mutable_domain();
1128
1129 return _s;
1130 }
1131 inline const ::std::string& OperatorSetProto::_internal_domain() const {
1132 ::google::protobuf::internal::TSanRead(&_impl_);
1133 return _impl_.domain_.Get();
1134 }
1135 inline void OperatorSetProto::_internal_set_domain(const ::std::string& value) {
1136 ::google::protobuf::internal::TSanWrite(&_impl_);
1137 _impl_._has_bits_[0] |= 0x00000004U;
1138 _impl_.domain_.Set(value, GetArena());
1139 }
1140 inline ::std::string* PROTOBUF_NONNULL OperatorSetProto::_internal_mutable_domain() {
1141 ::google::protobuf::internal::TSanWrite(&_impl_);
1142 _impl_._has_bits_[0] |= 0x00000004U;
1143 return _impl_.domain_.Mutable( GetArena());
1144 }
1145 inline ::std::string* PROTOBUF_NULLABLE OperatorSetProto::release_domain() {
1146 ::google::protobuf::internal::TSanWrite(&_impl_);
1147
1148 if ((_impl_._has_bits_[0] & 0x00000004U) == 0) {
1149 return nullptr;
1150 }
1151 _impl_._has_bits_[0] &= ~0x00000004U;
1152 auto* released = _impl_.domain_.Release();
1153 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
1154 _impl_.domain_.Set("", GetArena());
1155 }
1156 return released;
1157 }
1158 inline void OperatorSetProto::set_allocated_domain(::std::string* PROTOBUF_NULLABLE value) {
1159 ::google::protobuf::internal::TSanWrite(&_impl_);
1160 if (value != nullptr) {
1161 _impl_._has_bits_[0] |= 0x00000004U;
1162 } else {
1163 _impl_._has_bits_[0] &= ~0x00000004U;
1164 }
1165 _impl_.domain_.SetAllocated(value, GetArena());
1166 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.domain_.IsDefault()) {
1167 _impl_.domain_.Set("", GetArena());
1168 }
1169
1170 }
1171
1172
1173 inline bool OperatorSetProto::has_opset_version() const {
1174 bool value = (_impl_._has_bits_[0] & 0x00000040U) != 0;
1175 return value;
1176 }
1177 inline void OperatorSetProto::clear_opset_version() {
1178 ::google::protobuf::internal::TSanWrite(&_impl_);
1179 _impl_.opset_version_ = ::int64_t{0};
1180 _impl_._has_bits_[0] &= ~0x00000040U;
1181 }
1182 inline ::int64_t OperatorSetProto::opset_version() const {
1183
1184 return _internal_opset_version();
1185 }
1186 inline void OperatorSetProto::set_opset_version(::int64_t value) {
1187 _internal_set_opset_version(value);
1188 _impl_._has_bits_[0] |= 0x00000040U;
1189
1190 }
1191 inline ::int64_t OperatorSetProto::_internal_opset_version() const {
1192 ::google::protobuf::internal::TSanRead(&_impl_);
1193 return _impl_.opset_version_;
1194 }
1195 inline void OperatorSetProto::_internal_set_opset_version(::int64_t value) {
1196 ::google::protobuf::internal::TSanWrite(&_impl_);
1197 _impl_.opset_version_ = value;
1198 }
1199
1200
1201 inline bool OperatorSetProto::has_doc_string() const {
1202 bool value = (_impl_._has_bits_[0] & 0x00000008U) != 0;
1203 return value;
1204 }
1205 inline void OperatorSetProto::clear_doc_string() {
1206 ::google::protobuf::internal::TSanWrite(&_impl_);
1207 _impl_.doc_string_.ClearToEmpty();
1208 _impl_._has_bits_[0] &= ~0x00000008U;
1209 }
1210 inline const ::std::string& OperatorSetProto::doc_string() const
1211 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1212
1213 return _internal_doc_string();
1214 }
1215 template <typename Arg_, typename... Args_>
1216 PROTOBUF_ALWAYS_INLINE void OperatorSetProto::set_doc_string(Arg_&& arg, Args_... args) {
1217 ::google::protobuf::internal::TSanWrite(&_impl_);
1218 _impl_._has_bits_[0] |= 0x00000008U;
1219 _impl_.doc_string_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
1220
1221 }
1222 inline ::std::string* PROTOBUF_NONNULL OperatorSetProto::mutable_doc_string()
1223 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1224 ::std::string* _s = _internal_mutable_doc_string();
1225
1226 return _s;
1227 }
1228 inline const ::std::string& OperatorSetProto::_internal_doc_string() const {
1229 ::google::protobuf::internal::TSanRead(&_impl_);
1230 return _impl_.doc_string_.Get();
1231 }
1232 inline void OperatorSetProto::_internal_set_doc_string(const ::std::string& value) {
1233 ::google::protobuf::internal::TSanWrite(&_impl_);
1234 _impl_._has_bits_[0] |= 0x00000008U;
1235 _impl_.doc_string_.Set(value, GetArena());
1236 }
1237 inline ::std::string* PROTOBUF_NONNULL OperatorSetProto::_internal_mutable_doc_string() {
1238 ::google::protobuf::internal::TSanWrite(&_impl_);
1239 _impl_._has_bits_[0] |= 0x00000008U;
1240 return _impl_.doc_string_.Mutable( GetArena());
1241 }
1242 inline ::std::string* PROTOBUF_NULLABLE OperatorSetProto::release_doc_string() {
1243 ::google::protobuf::internal::TSanWrite(&_impl_);
1244
1245 if ((_impl_._has_bits_[0] & 0x00000008U) == 0) {
1246 return nullptr;
1247 }
1248 _impl_._has_bits_[0] &= ~0x00000008U;
1249 auto* released = _impl_.doc_string_.Release();
1250 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
1251 _impl_.doc_string_.Set("", GetArena());
1252 }
1253 return released;
1254 }
1255 inline void OperatorSetProto::set_allocated_doc_string(::std::string* PROTOBUF_NULLABLE value) {
1256 ::google::protobuf::internal::TSanWrite(&_impl_);
1257 if (value != nullptr) {
1258 _impl_._has_bits_[0] |= 0x00000008U;
1259 } else {
1260 _impl_._has_bits_[0] &= ~0x00000008U;
1261 }
1262 _impl_.doc_string_.SetAllocated(value, GetArena());
1263 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.doc_string_.IsDefault()) {
1264 _impl_.doc_string_.Set("", GetArena());
1265 }
1266
1267 }
1268
1269
1270 inline int OperatorSetProto::_internal_operator__size() const {
1271 return _internal_operator_().size();
1272 }
1273 inline int OperatorSetProto::operator__size() const {
1274 return _internal_operator__size();
1275 }
1276 inline void OperatorSetProto::clear_operator_() {
1277 ::google::protobuf::internal::TSanWrite(&_impl_);
1278 _impl_.operator__.Clear();
1279 }
1280 inline ::onnx::OperatorProto* PROTOBUF_NONNULL OperatorSetProto::mutable_operator_(int index)
1281 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1282
1283 return _internal_mutable_operator_()->Mutable(index);
1284 }
1285 inline ::google::protobuf::RepeatedPtrField<::onnx::OperatorProto>* PROTOBUF_NONNULL OperatorSetProto::mutable_operator_()
1286 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1287
1288 ::google::protobuf::internal::TSanWrite(&_impl_);
1289 return _internal_mutable_operator_();
1290 }
1291 inline const ::onnx::OperatorProto& OperatorSetProto::operator_(int index) const
1292 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1293
1294 return _internal_operator_().Get(index);
1295 }
1296 inline ::onnx::OperatorProto* PROTOBUF_NONNULL OperatorSetProto::add_operator_()
1297 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1298 ::google::protobuf::internal::TSanWrite(&_impl_);
1299 ::onnx::OperatorProto* _add = _internal_mutable_operator_()->Add();
1300
1301 return _add;
1302 }
1303 inline const ::google::protobuf::RepeatedPtrField<::onnx::OperatorProto>& OperatorSetProto::operator_() const
1304 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1305
1306 return _internal_operator_();
1307 }
1308 inline const ::google::protobuf::RepeatedPtrField<::onnx::OperatorProto>&
1309 OperatorSetProto::_internal_operator_() const {
1310 ::google::protobuf::internal::TSanRead(&_impl_);
1311 return _impl_.operator__;
1312 }
1313 inline ::google::protobuf::RepeatedPtrField<::onnx::OperatorProto>* PROTOBUF_NONNULL
1314 OperatorSetProto::_internal_mutable_operator_() {
1315 ::google::protobuf::internal::TSanRead(&_impl_);
1316 return &_impl_.operator__;
1317 }
1318
1319
1320 inline int OperatorSetProto::_internal_functions_size() const {
1321 return _internal_functions().size();
1322 }
1323 inline int OperatorSetProto::functions_size() const {
1324 return _internal_functions_size();
1325 }
1326 inline ::onnx::FunctionProto* PROTOBUF_NONNULL OperatorSetProto::mutable_functions(int index)
1327 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1328
1329 return _internal_mutable_functions()->Mutable(index);
1330 }
1331 inline ::google::protobuf::RepeatedPtrField<::onnx::FunctionProto>* PROTOBUF_NONNULL OperatorSetProto::mutable_functions()
1332 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1333
1334 ::google::protobuf::internal::TSanWrite(&_impl_);
1335 return _internal_mutable_functions();
1336 }
1337 inline const ::onnx::FunctionProto& OperatorSetProto::functions(int index) const
1338 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1339
1340 return _internal_functions().Get(index);
1341 }
1342 inline ::onnx::FunctionProto* PROTOBUF_NONNULL OperatorSetProto::add_functions()
1343 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1344 ::google::protobuf::internal::TSanWrite(&_impl_);
1345 ::onnx::FunctionProto* _add = _internal_mutable_functions()->Add();
1346
1347 return _add;
1348 }
1349 inline const ::google::protobuf::RepeatedPtrField<::onnx::FunctionProto>& OperatorSetProto::functions() const
1350 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1351
1352 return _internal_functions();
1353 }
1354 inline const ::google::protobuf::RepeatedPtrField<::onnx::FunctionProto>&
1355 OperatorSetProto::_internal_functions() const {
1356 ::google::protobuf::internal::TSanRead(&_impl_);
1357 return _impl_.functions_;
1358 }
1359 inline ::google::protobuf::RepeatedPtrField<::onnx::FunctionProto>* PROTOBUF_NONNULL
1360 OperatorSetProto::_internal_mutable_functions() {
1361 ::google::protobuf::internal::TSanRead(&_impl_);
1362 return &_impl_.functions_;
1363 }
1364
1365 #ifdef __GNUC__
1366 #pragma GCC diagnostic pop
1367 #endif
1368
1369
1370 }
1371
1372
1373
1374
1375 #include "google/protobuf/port_undef.inc"
1376
1377 #endif