12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: op_def.proto
- #ifndef GOOGLE_PROTOBUF_INCLUDED_op_5fdef_2eproto
- #define GOOGLE_PROTOBUF_INCLUDED_op_5fdef_2eproto
- #include <limits>
- #include <string>
- #include <google/protobuf/port_def.inc>
- #if PROTOBUF_VERSION < 3019000
- #error This file was generated by a newer version of protoc which is
- #error incompatible with your Protocol Buffer headers. Please update
- #error your headers.
- #endif
- #if 3019001 < PROTOBUF_MIN_PROTOC_VERSION
- #error This file was generated by an older version of protoc which is
- #error incompatible with your Protocol Buffer headers. Please
- #error regenerate this file with a newer version of protoc.
- #endif
- #include <google/protobuf/port_undef.inc>
- #include <google/protobuf/io/coded_stream.h>
- #include <google/protobuf/arena.h>
- #include <google/protobuf/arenastring.h>
- #include <google/protobuf/generated_message_table_driven.h>
- #include <google/protobuf/generated_message_util.h>
- #include <google/protobuf/metadata_lite.h>
- #include <google/protobuf/generated_message_reflection.h>
- #include <google/protobuf/message.h>
- #include <google/protobuf/repeated_field.h> // IWYU pragma: export
- #include <google/protobuf/extension_set.h> // IWYU pragma: export
- #include <google/protobuf/unknown_field_set.h>
- #include "attr_value.pb.h"
- #include "types.pb.h"
- // @@protoc_insertion_point(includes)
- #include <google/protobuf/port_def.inc>
- #define PROTOBUF_INTERNAL_EXPORT_op_5fdef_2eproto
- PROTOBUF_NAMESPACE_OPEN
- namespace internal {
- class AnyMetadata;
- } // namespace internal
- PROTOBUF_NAMESPACE_CLOSE
- // Internal implementation detail -- do not use these members.
- struct TableStruct_op_5fdef_2eproto {
- static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
- PROTOBUF_SECTION_VARIABLE(protodesc_cold);
- static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
- PROTOBUF_SECTION_VARIABLE(protodesc_cold);
- static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[5]
- PROTOBUF_SECTION_VARIABLE(protodesc_cold);
- static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
- static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
- static const uint32_t offsets[];
- };
- extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_op_5fdef_2eproto;
- namespace opencv_tensorflow {
- class OpDef;
- struct OpDefDefaultTypeInternal;
- extern OpDefDefaultTypeInternal _OpDef_default_instance_;
- class OpDef_ArgDef;
- struct OpDef_ArgDefDefaultTypeInternal;
- extern OpDef_ArgDefDefaultTypeInternal _OpDef_ArgDef_default_instance_;
- class OpDef_AttrDef;
- struct OpDef_AttrDefDefaultTypeInternal;
- extern OpDef_AttrDefDefaultTypeInternal _OpDef_AttrDef_default_instance_;
- class OpDeprecation;
- struct OpDeprecationDefaultTypeInternal;
- extern OpDeprecationDefaultTypeInternal _OpDeprecation_default_instance_;
- class OpList;
- struct OpListDefaultTypeInternal;
- extern OpListDefaultTypeInternal _OpList_default_instance_;
- } // namespace opencv_tensorflow
- PROTOBUF_NAMESPACE_OPEN
- template<> ::opencv_tensorflow::OpDef* Arena::CreateMaybeMessage<::opencv_tensorflow::OpDef>(Arena*);
- template<> ::opencv_tensorflow::OpDef_ArgDef* Arena::CreateMaybeMessage<::opencv_tensorflow::OpDef_ArgDef>(Arena*);
- template<> ::opencv_tensorflow::OpDef_AttrDef* Arena::CreateMaybeMessage<::opencv_tensorflow::OpDef_AttrDef>(Arena*);
- template<> ::opencv_tensorflow::OpDeprecation* Arena::CreateMaybeMessage<::opencv_tensorflow::OpDeprecation>(Arena*);
- template<> ::opencv_tensorflow::OpList* Arena::CreateMaybeMessage<::opencv_tensorflow::OpList>(Arena*);
- PROTOBUF_NAMESPACE_CLOSE
- namespace opencv_tensorflow {
- // ===================================================================
- class OpDef_ArgDef final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opencv_tensorflow.OpDef.ArgDef) */ {
- public:
- inline OpDef_ArgDef() : OpDef_ArgDef(nullptr) {}
- ~OpDef_ArgDef() override;
- explicit constexpr OpDef_ArgDef(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- OpDef_ArgDef(const OpDef_ArgDef& from);
- OpDef_ArgDef(OpDef_ArgDef&& from) noexcept
- : OpDef_ArgDef() {
- *this = ::std::move(from);
- }
- inline OpDef_ArgDef& operator=(const OpDef_ArgDef& from) {
- CopyFrom(from);
- return *this;
- }
- inline OpDef_ArgDef& operator=(OpDef_ArgDef&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const OpDef_ArgDef& default_instance() {
- return *internal_default_instance();
- }
- static inline const OpDef_ArgDef* internal_default_instance() {
- return reinterpret_cast<const OpDef_ArgDef*>(
- &_OpDef_ArgDef_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 0;
- friend void swap(OpDef_ArgDef& a, OpDef_ArgDef& b) {
- a.Swap(&b);
- }
- inline void Swap(OpDef_ArgDef* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(OpDef_ArgDef* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- OpDef_ArgDef* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<OpDef_ArgDef>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const OpDef_ArgDef& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const OpDef_ArgDef& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(OpDef_ArgDef* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "opencv_tensorflow.OpDef.ArgDef";
- }
- protected:
- explicit OpDef_ArgDef(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kNameFieldNumber = 1,
- kDescriptionFieldNumber = 2,
- kTypeAttrFieldNumber = 4,
- kNumberAttrFieldNumber = 5,
- kTypeListAttrFieldNumber = 6,
- kTypeFieldNumber = 3,
- kIsRefFieldNumber = 16,
- };
- // string name = 1;
- void clear_name();
- const std::string& name() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_name(ArgT0&& arg0, ArgT... args);
- std::string* mutable_name();
- PROTOBUF_NODISCARD std::string* release_name();
- void set_allocated_name(std::string* name);
- private:
- const std::string& _internal_name() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
- std::string* _internal_mutable_name();
- public:
- // string description = 2;
- void clear_description();
- const std::string& description() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_description(ArgT0&& arg0, ArgT... args);
- std::string* mutable_description();
- PROTOBUF_NODISCARD std::string* release_description();
- void set_allocated_description(std::string* description);
- private:
- const std::string& _internal_description() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_description(const std::string& value);
- std::string* _internal_mutable_description();
- public:
- // string type_attr = 4;
- void clear_type_attr();
- const std::string& type_attr() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_type_attr(ArgT0&& arg0, ArgT... args);
- std::string* mutable_type_attr();
- PROTOBUF_NODISCARD std::string* release_type_attr();
- void set_allocated_type_attr(std::string* type_attr);
- private:
- const std::string& _internal_type_attr() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_type_attr(const std::string& value);
- std::string* _internal_mutable_type_attr();
- public:
- // string number_attr = 5;
- void clear_number_attr();
- const std::string& number_attr() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_number_attr(ArgT0&& arg0, ArgT... args);
- std::string* mutable_number_attr();
- PROTOBUF_NODISCARD std::string* release_number_attr();
- void set_allocated_number_attr(std::string* number_attr);
- private:
- const std::string& _internal_number_attr() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_number_attr(const std::string& value);
- std::string* _internal_mutable_number_attr();
- public:
- // string type_list_attr = 6;
- void clear_type_list_attr();
- const std::string& type_list_attr() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_type_list_attr(ArgT0&& arg0, ArgT... args);
- std::string* mutable_type_list_attr();
- PROTOBUF_NODISCARD std::string* release_type_list_attr();
- void set_allocated_type_list_attr(std::string* type_list_attr);
- private:
- const std::string& _internal_type_list_attr() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_type_list_attr(const std::string& value);
- std::string* _internal_mutable_type_list_attr();
- public:
- // .opencv_tensorflow.DataType type = 3;
- void clear_type();
- ::opencv_tensorflow::DataType type() const;
- void set_type(::opencv_tensorflow::DataType value);
- private:
- ::opencv_tensorflow::DataType _internal_type() const;
- void _internal_set_type(::opencv_tensorflow::DataType value);
- public:
- // bool is_ref = 16;
- void clear_is_ref();
- bool is_ref() const;
- void set_is_ref(bool value);
- private:
- bool _internal_is_ref() const;
- void _internal_set_is_ref(bool value);
- public:
- // @@protoc_insertion_point(class_scope:opencv_tensorflow.OpDef.ArgDef)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr description_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_attr_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr number_attr_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_list_attr_;
- int type_;
- bool is_ref_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_op_5fdef_2eproto;
- };
- // -------------------------------------------------------------------
- class OpDef_AttrDef final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opencv_tensorflow.OpDef.AttrDef) */ {
- public:
- inline OpDef_AttrDef() : OpDef_AttrDef(nullptr) {}
- ~OpDef_AttrDef() override;
- explicit constexpr OpDef_AttrDef(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- OpDef_AttrDef(const OpDef_AttrDef& from);
- OpDef_AttrDef(OpDef_AttrDef&& from) noexcept
- : OpDef_AttrDef() {
- *this = ::std::move(from);
- }
- inline OpDef_AttrDef& operator=(const OpDef_AttrDef& from) {
- CopyFrom(from);
- return *this;
- }
- inline OpDef_AttrDef& operator=(OpDef_AttrDef&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const OpDef_AttrDef& default_instance() {
- return *internal_default_instance();
- }
- static inline const OpDef_AttrDef* internal_default_instance() {
- return reinterpret_cast<const OpDef_AttrDef*>(
- &_OpDef_AttrDef_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 1;
- friend void swap(OpDef_AttrDef& a, OpDef_AttrDef& b) {
- a.Swap(&b);
- }
- inline void Swap(OpDef_AttrDef* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(OpDef_AttrDef* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- OpDef_AttrDef* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<OpDef_AttrDef>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const OpDef_AttrDef& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const OpDef_AttrDef& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(OpDef_AttrDef* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "opencv_tensorflow.OpDef.AttrDef";
- }
- protected:
- explicit OpDef_AttrDef(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kNameFieldNumber = 1,
- kTypeFieldNumber = 2,
- kDescriptionFieldNumber = 4,
- kDefaultValueFieldNumber = 3,
- kAllowedValuesFieldNumber = 7,
- kMinimumFieldNumber = 6,
- kHasMinimumFieldNumber = 5,
- };
- // string name = 1;
- void clear_name();
- const std::string& name() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_name(ArgT0&& arg0, ArgT... args);
- std::string* mutable_name();
- PROTOBUF_NODISCARD std::string* release_name();
- void set_allocated_name(std::string* name);
- private:
- const std::string& _internal_name() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
- std::string* _internal_mutable_name();
- public:
- // string type = 2;
- void clear_type();
- const std::string& type() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_type(ArgT0&& arg0, ArgT... args);
- std::string* mutable_type();
- PROTOBUF_NODISCARD std::string* release_type();
- void set_allocated_type(std::string* type);
- private:
- const std::string& _internal_type() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_type(const std::string& value);
- std::string* _internal_mutable_type();
- public:
- // string description = 4;
- void clear_description();
- const std::string& description() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_description(ArgT0&& arg0, ArgT... args);
- std::string* mutable_description();
- PROTOBUF_NODISCARD std::string* release_description();
- void set_allocated_description(std::string* description);
- private:
- const std::string& _internal_description() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_description(const std::string& value);
- std::string* _internal_mutable_description();
- public:
- // .opencv_tensorflow.AttrValue default_value = 3;
- bool has_default_value() const;
- private:
- bool _internal_has_default_value() const;
- public:
- void clear_default_value();
- const ::opencv_tensorflow::AttrValue& default_value() const;
- PROTOBUF_NODISCARD ::opencv_tensorflow::AttrValue* release_default_value();
- ::opencv_tensorflow::AttrValue* mutable_default_value();
- void set_allocated_default_value(::opencv_tensorflow::AttrValue* default_value);
- private:
- const ::opencv_tensorflow::AttrValue& _internal_default_value() const;
- ::opencv_tensorflow::AttrValue* _internal_mutable_default_value();
- public:
- void unsafe_arena_set_allocated_default_value(
- ::opencv_tensorflow::AttrValue* default_value);
- ::opencv_tensorflow::AttrValue* unsafe_arena_release_default_value();
- // .opencv_tensorflow.AttrValue allowed_values = 7;
- bool has_allowed_values() const;
- private:
- bool _internal_has_allowed_values() const;
- public:
- void clear_allowed_values();
- const ::opencv_tensorflow::AttrValue& allowed_values() const;
- PROTOBUF_NODISCARD ::opencv_tensorflow::AttrValue* release_allowed_values();
- ::opencv_tensorflow::AttrValue* mutable_allowed_values();
- void set_allocated_allowed_values(::opencv_tensorflow::AttrValue* allowed_values);
- private:
- const ::opencv_tensorflow::AttrValue& _internal_allowed_values() const;
- ::opencv_tensorflow::AttrValue* _internal_mutable_allowed_values();
- public:
- void unsafe_arena_set_allocated_allowed_values(
- ::opencv_tensorflow::AttrValue* allowed_values);
- ::opencv_tensorflow::AttrValue* unsafe_arena_release_allowed_values();
- // int64 minimum = 6;
- void clear_minimum();
- int64_t minimum() const;
- void set_minimum(int64_t value);
- private:
- int64_t _internal_minimum() const;
- void _internal_set_minimum(int64_t value);
- public:
- // bool has_minimum = 5;
- void clear_has_minimum();
- bool has_minimum() const;
- void set_has_minimum(bool value);
- private:
- bool _internal_has_minimum() const;
- void _internal_set_has_minimum(bool value);
- public:
- // @@protoc_insertion_point(class_scope:opencv_tensorflow.OpDef.AttrDef)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr description_;
- ::opencv_tensorflow::AttrValue* default_value_;
- ::opencv_tensorflow::AttrValue* allowed_values_;
- int64_t minimum_;
- bool has_minimum_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_op_5fdef_2eproto;
- };
- // -------------------------------------------------------------------
- class OpDef final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opencv_tensorflow.OpDef) */ {
- public:
- inline OpDef() : OpDef(nullptr) {}
- ~OpDef() override;
- explicit constexpr OpDef(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- OpDef(const OpDef& from);
- OpDef(OpDef&& from) noexcept
- : OpDef() {
- *this = ::std::move(from);
- }
- inline OpDef& operator=(const OpDef& from) {
- CopyFrom(from);
- return *this;
- }
- inline OpDef& operator=(OpDef&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const OpDef& default_instance() {
- return *internal_default_instance();
- }
- static inline const OpDef* internal_default_instance() {
- return reinterpret_cast<const OpDef*>(
- &_OpDef_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 2;
- friend void swap(OpDef& a, OpDef& b) {
- a.Swap(&b);
- }
- inline void Swap(OpDef* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(OpDef* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- OpDef* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<OpDef>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const OpDef& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const OpDef& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(OpDef* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "opencv_tensorflow.OpDef";
- }
- protected:
- explicit OpDef(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- typedef OpDef_ArgDef ArgDef;
- typedef OpDef_AttrDef AttrDef;
- // accessors -------------------------------------------------------
- enum : int {
- kInputArgFieldNumber = 2,
- kOutputArgFieldNumber = 3,
- kAttrFieldNumber = 4,
- kNameFieldNumber = 1,
- kSummaryFieldNumber = 5,
- kDescriptionFieldNumber = 6,
- kDeprecationFieldNumber = 8,
- kIsCommutativeFieldNumber = 18,
- kIsAggregateFieldNumber = 16,
- kIsStatefulFieldNumber = 17,
- kAllowsUninitializedInputFieldNumber = 19,
- };
- // repeated .opencv_tensorflow.OpDef.ArgDef input_arg = 2;
- int input_arg_size() const;
- private:
- int _internal_input_arg_size() const;
- public:
- void clear_input_arg();
- ::opencv_tensorflow::OpDef_ArgDef* mutable_input_arg(int index);
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opencv_tensorflow::OpDef_ArgDef >*
- mutable_input_arg();
- private:
- const ::opencv_tensorflow::OpDef_ArgDef& _internal_input_arg(int index) const;
- ::opencv_tensorflow::OpDef_ArgDef* _internal_add_input_arg();
- public:
- const ::opencv_tensorflow::OpDef_ArgDef& input_arg(int index) const;
- ::opencv_tensorflow::OpDef_ArgDef* add_input_arg();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opencv_tensorflow::OpDef_ArgDef >&
- input_arg() const;
- // repeated .opencv_tensorflow.OpDef.ArgDef output_arg = 3;
- int output_arg_size() const;
- private:
- int _internal_output_arg_size() const;
- public:
- void clear_output_arg();
- ::opencv_tensorflow::OpDef_ArgDef* mutable_output_arg(int index);
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opencv_tensorflow::OpDef_ArgDef >*
- mutable_output_arg();
- private:
- const ::opencv_tensorflow::OpDef_ArgDef& _internal_output_arg(int index) const;
- ::opencv_tensorflow::OpDef_ArgDef* _internal_add_output_arg();
- public:
- const ::opencv_tensorflow::OpDef_ArgDef& output_arg(int index) const;
- ::opencv_tensorflow::OpDef_ArgDef* add_output_arg();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opencv_tensorflow::OpDef_ArgDef >&
- output_arg() const;
- // repeated .opencv_tensorflow.OpDef.AttrDef attr = 4;
- int attr_size() const;
- private:
- int _internal_attr_size() const;
- public:
- void clear_attr();
- ::opencv_tensorflow::OpDef_AttrDef* mutable_attr(int index);
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opencv_tensorflow::OpDef_AttrDef >*
- mutable_attr();
- private:
- const ::opencv_tensorflow::OpDef_AttrDef& _internal_attr(int index) const;
- ::opencv_tensorflow::OpDef_AttrDef* _internal_add_attr();
- public:
- const ::opencv_tensorflow::OpDef_AttrDef& attr(int index) const;
- ::opencv_tensorflow::OpDef_AttrDef* add_attr();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opencv_tensorflow::OpDef_AttrDef >&
- attr() const;
- // string name = 1;
- void clear_name();
- const std::string& name() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_name(ArgT0&& arg0, ArgT... args);
- std::string* mutable_name();
- PROTOBUF_NODISCARD std::string* release_name();
- void set_allocated_name(std::string* name);
- private:
- const std::string& _internal_name() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
- std::string* _internal_mutable_name();
- public:
- // string summary = 5;
- void clear_summary();
- const std::string& summary() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_summary(ArgT0&& arg0, ArgT... args);
- std::string* mutable_summary();
- PROTOBUF_NODISCARD std::string* release_summary();
- void set_allocated_summary(std::string* summary);
- private:
- const std::string& _internal_summary() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_summary(const std::string& value);
- std::string* _internal_mutable_summary();
- public:
- // string description = 6;
- void clear_description();
- const std::string& description() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_description(ArgT0&& arg0, ArgT... args);
- std::string* mutable_description();
- PROTOBUF_NODISCARD std::string* release_description();
- void set_allocated_description(std::string* description);
- private:
- const std::string& _internal_description() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_description(const std::string& value);
- std::string* _internal_mutable_description();
- public:
- // .opencv_tensorflow.OpDeprecation deprecation = 8;
- bool has_deprecation() const;
- private:
- bool _internal_has_deprecation() const;
- public:
- void clear_deprecation();
- const ::opencv_tensorflow::OpDeprecation& deprecation() const;
- PROTOBUF_NODISCARD ::opencv_tensorflow::OpDeprecation* release_deprecation();
- ::opencv_tensorflow::OpDeprecation* mutable_deprecation();
- void set_allocated_deprecation(::opencv_tensorflow::OpDeprecation* deprecation);
- private:
- const ::opencv_tensorflow::OpDeprecation& _internal_deprecation() const;
- ::opencv_tensorflow::OpDeprecation* _internal_mutable_deprecation();
- public:
- void unsafe_arena_set_allocated_deprecation(
- ::opencv_tensorflow::OpDeprecation* deprecation);
- ::opencv_tensorflow::OpDeprecation* unsafe_arena_release_deprecation();
- // bool is_commutative = 18;
- void clear_is_commutative();
- bool is_commutative() const;
- void set_is_commutative(bool value);
- private:
- bool _internal_is_commutative() const;
- void _internal_set_is_commutative(bool value);
- public:
- // bool is_aggregate = 16;
- void clear_is_aggregate();
- bool is_aggregate() const;
- void set_is_aggregate(bool value);
- private:
- bool _internal_is_aggregate() const;
- void _internal_set_is_aggregate(bool value);
- public:
- // bool is_stateful = 17;
- void clear_is_stateful();
- bool is_stateful() const;
- void set_is_stateful(bool value);
- private:
- bool _internal_is_stateful() const;
- void _internal_set_is_stateful(bool value);
- public:
- // bool allows_uninitialized_input = 19;
- void clear_allows_uninitialized_input();
- bool allows_uninitialized_input() const;
- void set_allows_uninitialized_input(bool value);
- private:
- bool _internal_allows_uninitialized_input() const;
- void _internal_set_allows_uninitialized_input(bool value);
- public:
- // @@protoc_insertion_point(class_scope:opencv_tensorflow.OpDef)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opencv_tensorflow::OpDef_ArgDef > input_arg_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opencv_tensorflow::OpDef_ArgDef > output_arg_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opencv_tensorflow::OpDef_AttrDef > attr_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr summary_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr description_;
- ::opencv_tensorflow::OpDeprecation* deprecation_;
- bool is_commutative_;
- bool is_aggregate_;
- bool is_stateful_;
- bool allows_uninitialized_input_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_op_5fdef_2eproto;
- };
- // -------------------------------------------------------------------
- class OpDeprecation final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opencv_tensorflow.OpDeprecation) */ {
- public:
- inline OpDeprecation() : OpDeprecation(nullptr) {}
- ~OpDeprecation() override;
- explicit constexpr OpDeprecation(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- OpDeprecation(const OpDeprecation& from);
- OpDeprecation(OpDeprecation&& from) noexcept
- : OpDeprecation() {
- *this = ::std::move(from);
- }
- inline OpDeprecation& operator=(const OpDeprecation& from) {
- CopyFrom(from);
- return *this;
- }
- inline OpDeprecation& operator=(OpDeprecation&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const OpDeprecation& default_instance() {
- return *internal_default_instance();
- }
- static inline const OpDeprecation* internal_default_instance() {
- return reinterpret_cast<const OpDeprecation*>(
- &_OpDeprecation_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 3;
- friend void swap(OpDeprecation& a, OpDeprecation& b) {
- a.Swap(&b);
- }
- inline void Swap(OpDeprecation* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(OpDeprecation* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- OpDeprecation* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<OpDeprecation>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const OpDeprecation& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const OpDeprecation& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(OpDeprecation* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "opencv_tensorflow.OpDeprecation";
- }
- protected:
- explicit OpDeprecation(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kExplanationFieldNumber = 2,
- kVersionFieldNumber = 1,
- };
- // string explanation = 2;
- void clear_explanation();
- const std::string& explanation() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_explanation(ArgT0&& arg0, ArgT... args);
- std::string* mutable_explanation();
- PROTOBUF_NODISCARD std::string* release_explanation();
- void set_allocated_explanation(std::string* explanation);
- private:
- const std::string& _internal_explanation() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_explanation(const std::string& value);
- std::string* _internal_mutable_explanation();
- public:
- // int32 version = 1;
- void clear_version();
- int32_t version() const;
- void set_version(int32_t value);
- private:
- int32_t _internal_version() const;
- void _internal_set_version(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:opencv_tensorflow.OpDeprecation)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr explanation_;
- int32_t version_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_op_5fdef_2eproto;
- };
- // -------------------------------------------------------------------
- class OpList final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opencv_tensorflow.OpList) */ {
- public:
- inline OpList() : OpList(nullptr) {}
- ~OpList() override;
- explicit constexpr OpList(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- OpList(const OpList& from);
- OpList(OpList&& from) noexcept
- : OpList() {
- *this = ::std::move(from);
- }
- inline OpList& operator=(const OpList& from) {
- CopyFrom(from);
- return *this;
- }
- inline OpList& operator=(OpList&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const OpList& default_instance() {
- return *internal_default_instance();
- }
- static inline const OpList* internal_default_instance() {
- return reinterpret_cast<const OpList*>(
- &_OpList_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 4;
- friend void swap(OpList& a, OpList& b) {
- a.Swap(&b);
- }
- inline void Swap(OpList* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(OpList* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- OpList* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<OpList>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const OpList& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const OpList& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(OpList* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "opencv_tensorflow.OpList";
- }
- protected:
- explicit OpList(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kOpFieldNumber = 1,
- };
- // repeated .opencv_tensorflow.OpDef op = 1;
- int op_size() const;
- private:
- int _internal_op_size() const;
- public:
- void clear_op();
- ::opencv_tensorflow::OpDef* mutable_op(int index);
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opencv_tensorflow::OpDef >*
- mutable_op();
- private:
- const ::opencv_tensorflow::OpDef& _internal_op(int index) const;
- ::opencv_tensorflow::OpDef* _internal_add_op();
- public:
- const ::opencv_tensorflow::OpDef& op(int index) const;
- ::opencv_tensorflow::OpDef* add_op();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opencv_tensorflow::OpDef >&
- op() const;
- // @@protoc_insertion_point(class_scope:opencv_tensorflow.OpList)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opencv_tensorflow::OpDef > op_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_op_5fdef_2eproto;
- };
- // ===================================================================
- // ===================================================================
- #ifdef __GNUC__
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wstrict-aliasing"
- #endif // __GNUC__
- // OpDef_ArgDef
- // string name = 1;
- inline void OpDef_ArgDef::clear_name() {
- name_.ClearToEmpty();
- }
- inline const std::string& OpDef_ArgDef::name() const {
- // @@protoc_insertion_point(field_get:opencv_tensorflow.OpDef.ArgDef.name)
- return _internal_name();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void OpDef_ArgDef::set_name(ArgT0&& arg0, ArgT... args) {
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:opencv_tensorflow.OpDef.ArgDef.name)
- }
- inline std::string* OpDef_ArgDef::mutable_name() {
- std::string* _s = _internal_mutable_name();
- // @@protoc_insertion_point(field_mutable:opencv_tensorflow.OpDef.ArgDef.name)
- return _s;
- }
- inline const std::string& OpDef_ArgDef::_internal_name() const {
- return name_.Get();
- }
- inline void OpDef_ArgDef::_internal_set_name(const std::string& value) {
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* OpDef_ArgDef::_internal_mutable_name() {
- return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* OpDef_ArgDef::release_name() {
- // @@protoc_insertion_point(field_release:opencv_tensorflow.OpDef.ArgDef.name)
- return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void OpDef_ArgDef::set_allocated_name(std::string* name) {
- if (name != nullptr) {
- } else {
- }
- name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:opencv_tensorflow.OpDef.ArgDef.name)
- }
- // string description = 2;
- inline void OpDef_ArgDef::clear_description() {
- description_.ClearToEmpty();
- }
- inline const std::string& OpDef_ArgDef::description() const {
- // @@protoc_insertion_point(field_get:opencv_tensorflow.OpDef.ArgDef.description)
- return _internal_description();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void OpDef_ArgDef::set_description(ArgT0&& arg0, ArgT... args) {
- description_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:opencv_tensorflow.OpDef.ArgDef.description)
- }
- inline std::string* OpDef_ArgDef::mutable_description() {
- std::string* _s = _internal_mutable_description();
- // @@protoc_insertion_point(field_mutable:opencv_tensorflow.OpDef.ArgDef.description)
- return _s;
- }
- inline const std::string& OpDef_ArgDef::_internal_description() const {
- return description_.Get();
- }
- inline void OpDef_ArgDef::_internal_set_description(const std::string& value) {
- description_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* OpDef_ArgDef::_internal_mutable_description() {
- return description_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* OpDef_ArgDef::release_description() {
- // @@protoc_insertion_point(field_release:opencv_tensorflow.OpDef.ArgDef.description)
- return description_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void OpDef_ArgDef::set_allocated_description(std::string* description) {
- if (description != nullptr) {
- } else {
- }
- description_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), description,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (description_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- description_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:opencv_tensorflow.OpDef.ArgDef.description)
- }
- // .opencv_tensorflow.DataType type = 3;
- inline void OpDef_ArgDef::clear_type() {
- type_ = 0;
- }
- inline ::opencv_tensorflow::DataType OpDef_ArgDef::_internal_type() const {
- return static_cast< ::opencv_tensorflow::DataType >(type_);
- }
- inline ::opencv_tensorflow::DataType OpDef_ArgDef::type() const {
- // @@protoc_insertion_point(field_get:opencv_tensorflow.OpDef.ArgDef.type)
- return _internal_type();
- }
- inline void OpDef_ArgDef::_internal_set_type(::opencv_tensorflow::DataType value) {
- type_ = value;
- }
- inline void OpDef_ArgDef::set_type(::opencv_tensorflow::DataType value) {
- _internal_set_type(value);
- // @@protoc_insertion_point(field_set:opencv_tensorflow.OpDef.ArgDef.type)
- }
- // string type_attr = 4;
- inline void OpDef_ArgDef::clear_type_attr() {
- type_attr_.ClearToEmpty();
- }
- inline const std::string& OpDef_ArgDef::type_attr() const {
- // @@protoc_insertion_point(field_get:opencv_tensorflow.OpDef.ArgDef.type_attr)
- return _internal_type_attr();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void OpDef_ArgDef::set_type_attr(ArgT0&& arg0, ArgT... args) {
- type_attr_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:opencv_tensorflow.OpDef.ArgDef.type_attr)
- }
- inline std::string* OpDef_ArgDef::mutable_type_attr() {
- std::string* _s = _internal_mutable_type_attr();
- // @@protoc_insertion_point(field_mutable:opencv_tensorflow.OpDef.ArgDef.type_attr)
- return _s;
- }
- inline const std::string& OpDef_ArgDef::_internal_type_attr() const {
- return type_attr_.Get();
- }
- inline void OpDef_ArgDef::_internal_set_type_attr(const std::string& value) {
- type_attr_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* OpDef_ArgDef::_internal_mutable_type_attr() {
- return type_attr_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* OpDef_ArgDef::release_type_attr() {
- // @@protoc_insertion_point(field_release:opencv_tensorflow.OpDef.ArgDef.type_attr)
- return type_attr_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void OpDef_ArgDef::set_allocated_type_attr(std::string* type_attr) {
- if (type_attr != nullptr) {
- } else {
- }
- type_attr_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type_attr,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (type_attr_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- type_attr_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:opencv_tensorflow.OpDef.ArgDef.type_attr)
- }
- // string number_attr = 5;
- inline void OpDef_ArgDef::clear_number_attr() {
- number_attr_.ClearToEmpty();
- }
- inline const std::string& OpDef_ArgDef::number_attr() const {
- // @@protoc_insertion_point(field_get:opencv_tensorflow.OpDef.ArgDef.number_attr)
- return _internal_number_attr();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void OpDef_ArgDef::set_number_attr(ArgT0&& arg0, ArgT... args) {
- number_attr_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:opencv_tensorflow.OpDef.ArgDef.number_attr)
- }
- inline std::string* OpDef_ArgDef::mutable_number_attr() {
- std::string* _s = _internal_mutable_number_attr();
- // @@protoc_insertion_point(field_mutable:opencv_tensorflow.OpDef.ArgDef.number_attr)
- return _s;
- }
- inline const std::string& OpDef_ArgDef::_internal_number_attr() const {
- return number_attr_.Get();
- }
- inline void OpDef_ArgDef::_internal_set_number_attr(const std::string& value) {
- number_attr_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* OpDef_ArgDef::_internal_mutable_number_attr() {
- return number_attr_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* OpDef_ArgDef::release_number_attr() {
- // @@protoc_insertion_point(field_release:opencv_tensorflow.OpDef.ArgDef.number_attr)
- return number_attr_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void OpDef_ArgDef::set_allocated_number_attr(std::string* number_attr) {
- if (number_attr != nullptr) {
- } else {
- }
- number_attr_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), number_attr,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (number_attr_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- number_attr_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:opencv_tensorflow.OpDef.ArgDef.number_attr)
- }
- // string type_list_attr = 6;
- inline void OpDef_ArgDef::clear_type_list_attr() {
- type_list_attr_.ClearToEmpty();
- }
- inline const std::string& OpDef_ArgDef::type_list_attr() const {
- // @@protoc_insertion_point(field_get:opencv_tensorflow.OpDef.ArgDef.type_list_attr)
- return _internal_type_list_attr();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void OpDef_ArgDef::set_type_list_attr(ArgT0&& arg0, ArgT... args) {
- type_list_attr_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:opencv_tensorflow.OpDef.ArgDef.type_list_attr)
- }
- inline std::string* OpDef_ArgDef::mutable_type_list_attr() {
- std::string* _s = _internal_mutable_type_list_attr();
- // @@protoc_insertion_point(field_mutable:opencv_tensorflow.OpDef.ArgDef.type_list_attr)
- return _s;
- }
- inline const std::string& OpDef_ArgDef::_internal_type_list_attr() const {
- return type_list_attr_.Get();
- }
- inline void OpDef_ArgDef::_internal_set_type_list_attr(const std::string& value) {
- type_list_attr_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* OpDef_ArgDef::_internal_mutable_type_list_attr() {
- return type_list_attr_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* OpDef_ArgDef::release_type_list_attr() {
- // @@protoc_insertion_point(field_release:opencv_tensorflow.OpDef.ArgDef.type_list_attr)
- return type_list_attr_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void OpDef_ArgDef::set_allocated_type_list_attr(std::string* type_list_attr) {
- if (type_list_attr != nullptr) {
- } else {
- }
- type_list_attr_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type_list_attr,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (type_list_attr_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- type_list_attr_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:opencv_tensorflow.OpDef.ArgDef.type_list_attr)
- }
- // bool is_ref = 16;
- inline void OpDef_ArgDef::clear_is_ref() {
- is_ref_ = false;
- }
- inline bool OpDef_ArgDef::_internal_is_ref() const {
- return is_ref_;
- }
- inline bool OpDef_ArgDef::is_ref() const {
- // @@protoc_insertion_point(field_get:opencv_tensorflow.OpDef.ArgDef.is_ref)
- return _internal_is_ref();
- }
- inline void OpDef_ArgDef::_internal_set_is_ref(bool value) {
- is_ref_ = value;
- }
- inline void OpDef_ArgDef::set_is_ref(bool value) {
- _internal_set_is_ref(value);
- // @@protoc_insertion_point(field_set:opencv_tensorflow.OpDef.ArgDef.is_ref)
- }
- // -------------------------------------------------------------------
- // OpDef_AttrDef
- // string name = 1;
- inline void OpDef_AttrDef::clear_name() {
- name_.ClearToEmpty();
- }
- inline const std::string& OpDef_AttrDef::name() const {
- // @@protoc_insertion_point(field_get:opencv_tensorflow.OpDef.AttrDef.name)
- return _internal_name();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void OpDef_AttrDef::set_name(ArgT0&& arg0, ArgT... args) {
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:opencv_tensorflow.OpDef.AttrDef.name)
- }
- inline std::string* OpDef_AttrDef::mutable_name() {
- std::string* _s = _internal_mutable_name();
- // @@protoc_insertion_point(field_mutable:opencv_tensorflow.OpDef.AttrDef.name)
- return _s;
- }
- inline const std::string& OpDef_AttrDef::_internal_name() const {
- return name_.Get();
- }
- inline void OpDef_AttrDef::_internal_set_name(const std::string& value) {
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* OpDef_AttrDef::_internal_mutable_name() {
- return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* OpDef_AttrDef::release_name() {
- // @@protoc_insertion_point(field_release:opencv_tensorflow.OpDef.AttrDef.name)
- return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void OpDef_AttrDef::set_allocated_name(std::string* name) {
- if (name != nullptr) {
- } else {
- }
- name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:opencv_tensorflow.OpDef.AttrDef.name)
- }
- // string type = 2;
- inline void OpDef_AttrDef::clear_type() {
- type_.ClearToEmpty();
- }
- inline const std::string& OpDef_AttrDef::type() const {
- // @@protoc_insertion_point(field_get:opencv_tensorflow.OpDef.AttrDef.type)
- return _internal_type();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void OpDef_AttrDef::set_type(ArgT0&& arg0, ArgT... args) {
- type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:opencv_tensorflow.OpDef.AttrDef.type)
- }
- inline std::string* OpDef_AttrDef::mutable_type() {
- std::string* _s = _internal_mutable_type();
- // @@protoc_insertion_point(field_mutable:opencv_tensorflow.OpDef.AttrDef.type)
- return _s;
- }
- inline const std::string& OpDef_AttrDef::_internal_type() const {
- return type_.Get();
- }
- inline void OpDef_AttrDef::_internal_set_type(const std::string& value) {
- type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* OpDef_AttrDef::_internal_mutable_type() {
- return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* OpDef_AttrDef::release_type() {
- // @@protoc_insertion_point(field_release:opencv_tensorflow.OpDef.AttrDef.type)
- return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void OpDef_AttrDef::set_allocated_type(std::string* type) {
- if (type != nullptr) {
- } else {
- }
- type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:opencv_tensorflow.OpDef.AttrDef.type)
- }
- // .opencv_tensorflow.AttrValue default_value = 3;
- inline bool OpDef_AttrDef::_internal_has_default_value() const {
- return this != internal_default_instance() && default_value_ != nullptr;
- }
- inline bool OpDef_AttrDef::has_default_value() const {
- return _internal_has_default_value();
- }
- inline const ::opencv_tensorflow::AttrValue& OpDef_AttrDef::_internal_default_value() const {
- const ::opencv_tensorflow::AttrValue* p = default_value_;
- return p != nullptr ? *p : reinterpret_cast<const ::opencv_tensorflow::AttrValue&>(
- ::opencv_tensorflow::_AttrValue_default_instance_);
- }
- inline const ::opencv_tensorflow::AttrValue& OpDef_AttrDef::default_value() const {
- // @@protoc_insertion_point(field_get:opencv_tensorflow.OpDef.AttrDef.default_value)
- return _internal_default_value();
- }
- inline void OpDef_AttrDef::unsafe_arena_set_allocated_default_value(
- ::opencv_tensorflow::AttrValue* default_value) {
- if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(default_value_);
- }
- default_value_ = default_value;
- if (default_value) {
- } else {
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opencv_tensorflow.OpDef.AttrDef.default_value)
- }
- inline ::opencv_tensorflow::AttrValue* OpDef_AttrDef::release_default_value() {
- ::opencv_tensorflow::AttrValue* temp = default_value_;
- default_value_ = nullptr;
- #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
- auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- if (GetArenaForAllocation() == nullptr) { delete old; }
- #else // PROTOBUF_FORCE_COPY_IN_RELEASE
- if (GetArenaForAllocation() != nullptr) {
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- }
- #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
- return temp;
- }
- inline ::opencv_tensorflow::AttrValue* OpDef_AttrDef::unsafe_arena_release_default_value() {
- // @@protoc_insertion_point(field_release:opencv_tensorflow.OpDef.AttrDef.default_value)
- ::opencv_tensorflow::AttrValue* temp = default_value_;
- default_value_ = nullptr;
- return temp;
- }
- inline ::opencv_tensorflow::AttrValue* OpDef_AttrDef::_internal_mutable_default_value() {
- if (default_value_ == nullptr) {
- auto* p = CreateMaybeMessage<::opencv_tensorflow::AttrValue>(GetArenaForAllocation());
- default_value_ = p;
- }
- return default_value_;
- }
- inline ::opencv_tensorflow::AttrValue* OpDef_AttrDef::mutable_default_value() {
- ::opencv_tensorflow::AttrValue* _msg = _internal_mutable_default_value();
- // @@protoc_insertion_point(field_mutable:opencv_tensorflow.OpDef.AttrDef.default_value)
- return _msg;
- }
- inline void OpDef_AttrDef::set_allocated_default_value(::opencv_tensorflow::AttrValue* default_value) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
- if (message_arena == nullptr) {
- delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(default_value_);
- }
- if (default_value) {
- ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
- ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
- reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(default_value));
- if (message_arena != submessage_arena) {
- default_value = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
- message_arena, default_value, submessage_arena);
- }
- } else {
- }
- default_value_ = default_value;
- // @@protoc_insertion_point(field_set_allocated:opencv_tensorflow.OpDef.AttrDef.default_value)
- }
- // string description = 4;
- inline void OpDef_AttrDef::clear_description() {
- description_.ClearToEmpty();
- }
- inline const std::string& OpDef_AttrDef::description() const {
- // @@protoc_insertion_point(field_get:opencv_tensorflow.OpDef.AttrDef.description)
- return _internal_description();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void OpDef_AttrDef::set_description(ArgT0&& arg0, ArgT... args) {
- description_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:opencv_tensorflow.OpDef.AttrDef.description)
- }
- inline std::string* OpDef_AttrDef::mutable_description() {
- std::string* _s = _internal_mutable_description();
- // @@protoc_insertion_point(field_mutable:opencv_tensorflow.OpDef.AttrDef.description)
- return _s;
- }
- inline const std::string& OpDef_AttrDef::_internal_description() const {
- return description_.Get();
- }
- inline void OpDef_AttrDef::_internal_set_description(const std::string& value) {
- description_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* OpDef_AttrDef::_internal_mutable_description() {
- return description_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* OpDef_AttrDef::release_description() {
- // @@protoc_insertion_point(field_release:opencv_tensorflow.OpDef.AttrDef.description)
- return description_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void OpDef_AttrDef::set_allocated_description(std::string* description) {
- if (description != nullptr) {
- } else {
- }
- description_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), description,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (description_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- description_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:opencv_tensorflow.OpDef.AttrDef.description)
- }
- // bool has_minimum = 5;
- inline void OpDef_AttrDef::clear_has_minimum() {
- has_minimum_ = false;
- }
- inline bool OpDef_AttrDef::_internal_has_minimum() const {
- return has_minimum_;
- }
- inline bool OpDef_AttrDef::has_minimum() const {
- // @@protoc_insertion_point(field_get:opencv_tensorflow.OpDef.AttrDef.has_minimum)
- return _internal_has_minimum();
- }
- inline void OpDef_AttrDef::_internal_set_has_minimum(bool value) {
- has_minimum_ = value;
- }
- inline void OpDef_AttrDef::set_has_minimum(bool value) {
- _internal_set_has_minimum(value);
- // @@protoc_insertion_point(field_set:opencv_tensorflow.OpDef.AttrDef.has_minimum)
- }
- // int64 minimum = 6;
- inline void OpDef_AttrDef::clear_minimum() {
- minimum_ = int64_t{0};
- }
- inline int64_t OpDef_AttrDef::_internal_minimum() const {
- return minimum_;
- }
- inline int64_t OpDef_AttrDef::minimum() const {
- // @@protoc_insertion_point(field_get:opencv_tensorflow.OpDef.AttrDef.minimum)
- return _internal_minimum();
- }
- inline void OpDef_AttrDef::_internal_set_minimum(int64_t value) {
- minimum_ = value;
- }
- inline void OpDef_AttrDef::set_minimum(int64_t value) {
- _internal_set_minimum(value);
- // @@protoc_insertion_point(field_set:opencv_tensorflow.OpDef.AttrDef.minimum)
- }
- // .opencv_tensorflow.AttrValue allowed_values = 7;
- inline bool OpDef_AttrDef::_internal_has_allowed_values() const {
- return this != internal_default_instance() && allowed_values_ != nullptr;
- }
- inline bool OpDef_AttrDef::has_allowed_values() const {
- return _internal_has_allowed_values();
- }
- inline const ::opencv_tensorflow::AttrValue& OpDef_AttrDef::_internal_allowed_values() const {
- const ::opencv_tensorflow::AttrValue* p = allowed_values_;
- return p != nullptr ? *p : reinterpret_cast<const ::opencv_tensorflow::AttrValue&>(
- ::opencv_tensorflow::_AttrValue_default_instance_);
- }
- inline const ::opencv_tensorflow::AttrValue& OpDef_AttrDef::allowed_values() const {
- // @@protoc_insertion_point(field_get:opencv_tensorflow.OpDef.AttrDef.allowed_values)
- return _internal_allowed_values();
- }
- inline void OpDef_AttrDef::unsafe_arena_set_allocated_allowed_values(
- ::opencv_tensorflow::AttrValue* allowed_values) {
- if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(allowed_values_);
- }
- allowed_values_ = allowed_values;
- if (allowed_values) {
- } else {
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opencv_tensorflow.OpDef.AttrDef.allowed_values)
- }
- inline ::opencv_tensorflow::AttrValue* OpDef_AttrDef::release_allowed_values() {
- ::opencv_tensorflow::AttrValue* temp = allowed_values_;
- allowed_values_ = nullptr;
- #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
- auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- if (GetArenaForAllocation() == nullptr) { delete old; }
- #else // PROTOBUF_FORCE_COPY_IN_RELEASE
- if (GetArenaForAllocation() != nullptr) {
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- }
- #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
- return temp;
- }
- inline ::opencv_tensorflow::AttrValue* OpDef_AttrDef::unsafe_arena_release_allowed_values() {
- // @@protoc_insertion_point(field_release:opencv_tensorflow.OpDef.AttrDef.allowed_values)
- ::opencv_tensorflow::AttrValue* temp = allowed_values_;
- allowed_values_ = nullptr;
- return temp;
- }
- inline ::opencv_tensorflow::AttrValue* OpDef_AttrDef::_internal_mutable_allowed_values() {
- if (allowed_values_ == nullptr) {
- auto* p = CreateMaybeMessage<::opencv_tensorflow::AttrValue>(GetArenaForAllocation());
- allowed_values_ = p;
- }
- return allowed_values_;
- }
- inline ::opencv_tensorflow::AttrValue* OpDef_AttrDef::mutable_allowed_values() {
- ::opencv_tensorflow::AttrValue* _msg = _internal_mutable_allowed_values();
- // @@protoc_insertion_point(field_mutable:opencv_tensorflow.OpDef.AttrDef.allowed_values)
- return _msg;
- }
- inline void OpDef_AttrDef::set_allocated_allowed_values(::opencv_tensorflow::AttrValue* allowed_values) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
- if (message_arena == nullptr) {
- delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(allowed_values_);
- }
- if (allowed_values) {
- ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
- ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
- reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(allowed_values));
- if (message_arena != submessage_arena) {
- allowed_values = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
- message_arena, allowed_values, submessage_arena);
- }
- } else {
- }
- allowed_values_ = allowed_values;
- // @@protoc_insertion_point(field_set_allocated:opencv_tensorflow.OpDef.AttrDef.allowed_values)
- }
- // -------------------------------------------------------------------
- // OpDef
- // string name = 1;
- inline void OpDef::clear_name() {
- name_.ClearToEmpty();
- }
- inline const std::string& OpDef::name() const {
- // @@protoc_insertion_point(field_get:opencv_tensorflow.OpDef.name)
- return _internal_name();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void OpDef::set_name(ArgT0&& arg0, ArgT... args) {
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:opencv_tensorflow.OpDef.name)
- }
- inline std::string* OpDef::mutable_name() {
- std::string* _s = _internal_mutable_name();
- // @@protoc_insertion_point(field_mutable:opencv_tensorflow.OpDef.name)
- return _s;
- }
- inline const std::string& OpDef::_internal_name() const {
- return name_.Get();
- }
- inline void OpDef::_internal_set_name(const std::string& value) {
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* OpDef::_internal_mutable_name() {
- return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* OpDef::release_name() {
- // @@protoc_insertion_point(field_release:opencv_tensorflow.OpDef.name)
- return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void OpDef::set_allocated_name(std::string* name) {
- if (name != nullptr) {
- } else {
- }
- name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:opencv_tensorflow.OpDef.name)
- }
- // repeated .opencv_tensorflow.OpDef.ArgDef input_arg = 2;
- inline int OpDef::_internal_input_arg_size() const {
- return input_arg_.size();
- }
- inline int OpDef::input_arg_size() const {
- return _internal_input_arg_size();
- }
- inline void OpDef::clear_input_arg() {
- input_arg_.Clear();
- }
- inline ::opencv_tensorflow::OpDef_ArgDef* OpDef::mutable_input_arg(int index) {
- // @@protoc_insertion_point(field_mutable:opencv_tensorflow.OpDef.input_arg)
- return input_arg_.Mutable(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opencv_tensorflow::OpDef_ArgDef >*
- OpDef::mutable_input_arg() {
- // @@protoc_insertion_point(field_mutable_list:opencv_tensorflow.OpDef.input_arg)
- return &input_arg_;
- }
- inline const ::opencv_tensorflow::OpDef_ArgDef& OpDef::_internal_input_arg(int index) const {
- return input_arg_.Get(index);
- }
- inline const ::opencv_tensorflow::OpDef_ArgDef& OpDef::input_arg(int index) const {
- // @@protoc_insertion_point(field_get:opencv_tensorflow.OpDef.input_arg)
- return _internal_input_arg(index);
- }
- inline ::opencv_tensorflow::OpDef_ArgDef* OpDef::_internal_add_input_arg() {
- return input_arg_.Add();
- }
- inline ::opencv_tensorflow::OpDef_ArgDef* OpDef::add_input_arg() {
- ::opencv_tensorflow::OpDef_ArgDef* _add = _internal_add_input_arg();
- // @@protoc_insertion_point(field_add:opencv_tensorflow.OpDef.input_arg)
- return _add;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opencv_tensorflow::OpDef_ArgDef >&
- OpDef::input_arg() const {
- // @@protoc_insertion_point(field_list:opencv_tensorflow.OpDef.input_arg)
- return input_arg_;
- }
- // repeated .opencv_tensorflow.OpDef.ArgDef output_arg = 3;
- inline int OpDef::_internal_output_arg_size() const {
- return output_arg_.size();
- }
- inline int OpDef::output_arg_size() const {
- return _internal_output_arg_size();
- }
- inline void OpDef::clear_output_arg() {
- output_arg_.Clear();
- }
- inline ::opencv_tensorflow::OpDef_ArgDef* OpDef::mutable_output_arg(int index) {
- // @@protoc_insertion_point(field_mutable:opencv_tensorflow.OpDef.output_arg)
- return output_arg_.Mutable(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opencv_tensorflow::OpDef_ArgDef >*
- OpDef::mutable_output_arg() {
- // @@protoc_insertion_point(field_mutable_list:opencv_tensorflow.OpDef.output_arg)
- return &output_arg_;
- }
- inline const ::opencv_tensorflow::OpDef_ArgDef& OpDef::_internal_output_arg(int index) const {
- return output_arg_.Get(index);
- }
- inline const ::opencv_tensorflow::OpDef_ArgDef& OpDef::output_arg(int index) const {
- // @@protoc_insertion_point(field_get:opencv_tensorflow.OpDef.output_arg)
- return _internal_output_arg(index);
- }
- inline ::opencv_tensorflow::OpDef_ArgDef* OpDef::_internal_add_output_arg() {
- return output_arg_.Add();
- }
- inline ::opencv_tensorflow::OpDef_ArgDef* OpDef::add_output_arg() {
- ::opencv_tensorflow::OpDef_ArgDef* _add = _internal_add_output_arg();
- // @@protoc_insertion_point(field_add:opencv_tensorflow.OpDef.output_arg)
- return _add;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opencv_tensorflow::OpDef_ArgDef >&
- OpDef::output_arg() const {
- // @@protoc_insertion_point(field_list:opencv_tensorflow.OpDef.output_arg)
- return output_arg_;
- }
- // repeated .opencv_tensorflow.OpDef.AttrDef attr = 4;
- inline int OpDef::_internal_attr_size() const {
- return attr_.size();
- }
- inline int OpDef::attr_size() const {
- return _internal_attr_size();
- }
- inline void OpDef::clear_attr() {
- attr_.Clear();
- }
- inline ::opencv_tensorflow::OpDef_AttrDef* OpDef::mutable_attr(int index) {
- // @@protoc_insertion_point(field_mutable:opencv_tensorflow.OpDef.attr)
- return attr_.Mutable(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opencv_tensorflow::OpDef_AttrDef >*
- OpDef::mutable_attr() {
- // @@protoc_insertion_point(field_mutable_list:opencv_tensorflow.OpDef.attr)
- return &attr_;
- }
- inline const ::opencv_tensorflow::OpDef_AttrDef& OpDef::_internal_attr(int index) const {
- return attr_.Get(index);
- }
- inline const ::opencv_tensorflow::OpDef_AttrDef& OpDef::attr(int index) const {
- // @@protoc_insertion_point(field_get:opencv_tensorflow.OpDef.attr)
- return _internal_attr(index);
- }
- inline ::opencv_tensorflow::OpDef_AttrDef* OpDef::_internal_add_attr() {
- return attr_.Add();
- }
- inline ::opencv_tensorflow::OpDef_AttrDef* OpDef::add_attr() {
- ::opencv_tensorflow::OpDef_AttrDef* _add = _internal_add_attr();
- // @@protoc_insertion_point(field_add:opencv_tensorflow.OpDef.attr)
- return _add;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opencv_tensorflow::OpDef_AttrDef >&
- OpDef::attr() const {
- // @@protoc_insertion_point(field_list:opencv_tensorflow.OpDef.attr)
- return attr_;
- }
- // .opencv_tensorflow.OpDeprecation deprecation = 8;
- inline bool OpDef::_internal_has_deprecation() const {
- return this != internal_default_instance() && deprecation_ != nullptr;
- }
- inline bool OpDef::has_deprecation() const {
- return _internal_has_deprecation();
- }
- inline void OpDef::clear_deprecation() {
- if (GetArenaForAllocation() == nullptr && deprecation_ != nullptr) {
- delete deprecation_;
- }
- deprecation_ = nullptr;
- }
- inline const ::opencv_tensorflow::OpDeprecation& OpDef::_internal_deprecation() const {
- const ::opencv_tensorflow::OpDeprecation* p = deprecation_;
- return p != nullptr ? *p : reinterpret_cast<const ::opencv_tensorflow::OpDeprecation&>(
- ::opencv_tensorflow::_OpDeprecation_default_instance_);
- }
- inline const ::opencv_tensorflow::OpDeprecation& OpDef::deprecation() const {
- // @@protoc_insertion_point(field_get:opencv_tensorflow.OpDef.deprecation)
- return _internal_deprecation();
- }
- inline void OpDef::unsafe_arena_set_allocated_deprecation(
- ::opencv_tensorflow::OpDeprecation* deprecation) {
- if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(deprecation_);
- }
- deprecation_ = deprecation;
- if (deprecation) {
- } else {
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opencv_tensorflow.OpDef.deprecation)
- }
- inline ::opencv_tensorflow::OpDeprecation* OpDef::release_deprecation() {
- ::opencv_tensorflow::OpDeprecation* temp = deprecation_;
- deprecation_ = nullptr;
- #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
- auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- if (GetArenaForAllocation() == nullptr) { delete old; }
- #else // PROTOBUF_FORCE_COPY_IN_RELEASE
- if (GetArenaForAllocation() != nullptr) {
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- }
- #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
- return temp;
- }
- inline ::opencv_tensorflow::OpDeprecation* OpDef::unsafe_arena_release_deprecation() {
- // @@protoc_insertion_point(field_release:opencv_tensorflow.OpDef.deprecation)
- ::opencv_tensorflow::OpDeprecation* temp = deprecation_;
- deprecation_ = nullptr;
- return temp;
- }
- inline ::opencv_tensorflow::OpDeprecation* OpDef::_internal_mutable_deprecation() {
- if (deprecation_ == nullptr) {
- auto* p = CreateMaybeMessage<::opencv_tensorflow::OpDeprecation>(GetArenaForAllocation());
- deprecation_ = p;
- }
- return deprecation_;
- }
- inline ::opencv_tensorflow::OpDeprecation* OpDef::mutable_deprecation() {
- ::opencv_tensorflow::OpDeprecation* _msg = _internal_mutable_deprecation();
- // @@protoc_insertion_point(field_mutable:opencv_tensorflow.OpDef.deprecation)
- return _msg;
- }
- inline void OpDef::set_allocated_deprecation(::opencv_tensorflow::OpDeprecation* deprecation) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
- if (message_arena == nullptr) {
- delete deprecation_;
- }
- if (deprecation) {
- ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::opencv_tensorflow::OpDeprecation>::GetOwningArena(deprecation);
- if (message_arena != submessage_arena) {
- deprecation = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
- message_arena, deprecation, submessage_arena);
- }
- } else {
- }
- deprecation_ = deprecation;
- // @@protoc_insertion_point(field_set_allocated:opencv_tensorflow.OpDef.deprecation)
- }
- // string summary = 5;
- inline void OpDef::clear_summary() {
- summary_.ClearToEmpty();
- }
- inline const std::string& OpDef::summary() const {
- // @@protoc_insertion_point(field_get:opencv_tensorflow.OpDef.summary)
- return _internal_summary();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void OpDef::set_summary(ArgT0&& arg0, ArgT... args) {
- summary_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:opencv_tensorflow.OpDef.summary)
- }
- inline std::string* OpDef::mutable_summary() {
- std::string* _s = _internal_mutable_summary();
- // @@protoc_insertion_point(field_mutable:opencv_tensorflow.OpDef.summary)
- return _s;
- }
- inline const std::string& OpDef::_internal_summary() const {
- return summary_.Get();
- }
- inline void OpDef::_internal_set_summary(const std::string& value) {
- summary_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* OpDef::_internal_mutable_summary() {
- return summary_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* OpDef::release_summary() {
- // @@protoc_insertion_point(field_release:opencv_tensorflow.OpDef.summary)
- return summary_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void OpDef::set_allocated_summary(std::string* summary) {
- if (summary != nullptr) {
- } else {
- }
- summary_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), summary,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (summary_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- summary_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:opencv_tensorflow.OpDef.summary)
- }
- // string description = 6;
- inline void OpDef::clear_description() {
- description_.ClearToEmpty();
- }
- inline const std::string& OpDef::description() const {
- // @@protoc_insertion_point(field_get:opencv_tensorflow.OpDef.description)
- return _internal_description();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void OpDef::set_description(ArgT0&& arg0, ArgT... args) {
- description_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:opencv_tensorflow.OpDef.description)
- }
- inline std::string* OpDef::mutable_description() {
- std::string* _s = _internal_mutable_description();
- // @@protoc_insertion_point(field_mutable:opencv_tensorflow.OpDef.description)
- return _s;
- }
- inline const std::string& OpDef::_internal_description() const {
- return description_.Get();
- }
- inline void OpDef::_internal_set_description(const std::string& value) {
- description_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* OpDef::_internal_mutable_description() {
- return description_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* OpDef::release_description() {
- // @@protoc_insertion_point(field_release:opencv_tensorflow.OpDef.description)
- return description_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void OpDef::set_allocated_description(std::string* description) {
- if (description != nullptr) {
- } else {
- }
- description_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), description,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (description_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- description_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:opencv_tensorflow.OpDef.description)
- }
- // bool is_commutative = 18;
- inline void OpDef::clear_is_commutative() {
- is_commutative_ = false;
- }
- inline bool OpDef::_internal_is_commutative() const {
- return is_commutative_;
- }
- inline bool OpDef::is_commutative() const {
- // @@protoc_insertion_point(field_get:opencv_tensorflow.OpDef.is_commutative)
- return _internal_is_commutative();
- }
- inline void OpDef::_internal_set_is_commutative(bool value) {
- is_commutative_ = value;
- }
- inline void OpDef::set_is_commutative(bool value) {
- _internal_set_is_commutative(value);
- // @@protoc_insertion_point(field_set:opencv_tensorflow.OpDef.is_commutative)
- }
- // bool is_aggregate = 16;
- inline void OpDef::clear_is_aggregate() {
- is_aggregate_ = false;
- }
- inline bool OpDef::_internal_is_aggregate() const {
- return is_aggregate_;
- }
- inline bool OpDef::is_aggregate() const {
- // @@protoc_insertion_point(field_get:opencv_tensorflow.OpDef.is_aggregate)
- return _internal_is_aggregate();
- }
- inline void OpDef::_internal_set_is_aggregate(bool value) {
- is_aggregate_ = value;
- }
- inline void OpDef::set_is_aggregate(bool value) {
- _internal_set_is_aggregate(value);
- // @@protoc_insertion_point(field_set:opencv_tensorflow.OpDef.is_aggregate)
- }
- // bool is_stateful = 17;
- inline void OpDef::clear_is_stateful() {
- is_stateful_ = false;
- }
- inline bool OpDef::_internal_is_stateful() const {
- return is_stateful_;
- }
- inline bool OpDef::is_stateful() const {
- // @@protoc_insertion_point(field_get:opencv_tensorflow.OpDef.is_stateful)
- return _internal_is_stateful();
- }
- inline void OpDef::_internal_set_is_stateful(bool value) {
- is_stateful_ = value;
- }
- inline void OpDef::set_is_stateful(bool value) {
- _internal_set_is_stateful(value);
- // @@protoc_insertion_point(field_set:opencv_tensorflow.OpDef.is_stateful)
- }
- // bool allows_uninitialized_input = 19;
- inline void OpDef::clear_allows_uninitialized_input() {
- allows_uninitialized_input_ = false;
- }
- inline bool OpDef::_internal_allows_uninitialized_input() const {
- return allows_uninitialized_input_;
- }
- inline bool OpDef::allows_uninitialized_input() const {
- // @@protoc_insertion_point(field_get:opencv_tensorflow.OpDef.allows_uninitialized_input)
- return _internal_allows_uninitialized_input();
- }
- inline void OpDef::_internal_set_allows_uninitialized_input(bool value) {
- allows_uninitialized_input_ = value;
- }
- inline void OpDef::set_allows_uninitialized_input(bool value) {
- _internal_set_allows_uninitialized_input(value);
- // @@protoc_insertion_point(field_set:opencv_tensorflow.OpDef.allows_uninitialized_input)
- }
- // -------------------------------------------------------------------
- // OpDeprecation
- // int32 version = 1;
- inline void OpDeprecation::clear_version() {
- version_ = 0;
- }
- inline int32_t OpDeprecation::_internal_version() const {
- return version_;
- }
- inline int32_t OpDeprecation::version() const {
- // @@protoc_insertion_point(field_get:opencv_tensorflow.OpDeprecation.version)
- return _internal_version();
- }
- inline void OpDeprecation::_internal_set_version(int32_t value) {
- version_ = value;
- }
- inline void OpDeprecation::set_version(int32_t value) {
- _internal_set_version(value);
- // @@protoc_insertion_point(field_set:opencv_tensorflow.OpDeprecation.version)
- }
- // string explanation = 2;
- inline void OpDeprecation::clear_explanation() {
- explanation_.ClearToEmpty();
- }
- inline const std::string& OpDeprecation::explanation() const {
- // @@protoc_insertion_point(field_get:opencv_tensorflow.OpDeprecation.explanation)
- return _internal_explanation();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void OpDeprecation::set_explanation(ArgT0&& arg0, ArgT... args) {
- explanation_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:opencv_tensorflow.OpDeprecation.explanation)
- }
- inline std::string* OpDeprecation::mutable_explanation() {
- std::string* _s = _internal_mutable_explanation();
- // @@protoc_insertion_point(field_mutable:opencv_tensorflow.OpDeprecation.explanation)
- return _s;
- }
- inline const std::string& OpDeprecation::_internal_explanation() const {
- return explanation_.Get();
- }
- inline void OpDeprecation::_internal_set_explanation(const std::string& value) {
- explanation_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* OpDeprecation::_internal_mutable_explanation() {
- return explanation_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* OpDeprecation::release_explanation() {
- // @@protoc_insertion_point(field_release:opencv_tensorflow.OpDeprecation.explanation)
- return explanation_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void OpDeprecation::set_allocated_explanation(std::string* explanation) {
- if (explanation != nullptr) {
- } else {
- }
- explanation_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), explanation,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (explanation_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- explanation_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:opencv_tensorflow.OpDeprecation.explanation)
- }
- // -------------------------------------------------------------------
- // OpList
- // repeated .opencv_tensorflow.OpDef op = 1;
- inline int OpList::_internal_op_size() const {
- return op_.size();
- }
- inline int OpList::op_size() const {
- return _internal_op_size();
- }
- inline void OpList::clear_op() {
- op_.Clear();
- }
- inline ::opencv_tensorflow::OpDef* OpList::mutable_op(int index) {
- // @@protoc_insertion_point(field_mutable:opencv_tensorflow.OpList.op)
- return op_.Mutable(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opencv_tensorflow::OpDef >*
- OpList::mutable_op() {
- // @@protoc_insertion_point(field_mutable_list:opencv_tensorflow.OpList.op)
- return &op_;
- }
- inline const ::opencv_tensorflow::OpDef& OpList::_internal_op(int index) const {
- return op_.Get(index);
- }
- inline const ::opencv_tensorflow::OpDef& OpList::op(int index) const {
- // @@protoc_insertion_point(field_get:opencv_tensorflow.OpList.op)
- return _internal_op(index);
- }
- inline ::opencv_tensorflow::OpDef* OpList::_internal_add_op() {
- return op_.Add();
- }
- inline ::opencv_tensorflow::OpDef* OpList::add_op() {
- ::opencv_tensorflow::OpDef* _add = _internal_add_op();
- // @@protoc_insertion_point(field_add:opencv_tensorflow.OpList.op)
- return _add;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opencv_tensorflow::OpDef >&
- OpList::op() const {
- // @@protoc_insertion_point(field_list:opencv_tensorflow.OpList.op)
- return op_;
- }
- #ifdef __GNUC__
- #pragma GCC diagnostic pop
- #endif // __GNUC__
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // @@protoc_insertion_point(namespace_scope)
- } // namespace opencv_tensorflow
- // @@protoc_insertion_point(global_scope)
- #include <google/protobuf/port_undef.inc>
- #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_op_5fdef_2eproto
|