Path: blob/master/modules/dnn/misc/tensorflow/function.pb.h
16358 views
// Generated by the protocol buffer compiler. DO NOT EDIT!1// source: function.proto23#ifndef PROTOBUF_function_2eproto__INCLUDED4#define PROTOBUF_function_2eproto__INCLUDED56#include <string>78#include <google/protobuf/stubs/common.h>910#if GOOGLE_PROTOBUF_VERSION < 300500011#error This file was generated by a newer version of protoc which is12#error incompatible with your Protocol Buffer headers. Please update13#error your headers.14#endif15#if 3005001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION16#error This file was generated by an older version of protoc which is17#error incompatible with your Protocol Buffer headers. Please18#error regenerate this file with a newer version of protoc.19#endif2021#include <google/protobuf/io/coded_stream.h>22#include <google/protobuf/arena.h>23#include <google/protobuf/arenastring.h>24#include <google/protobuf/generated_message_table_driven.h>25#include <google/protobuf/generated_message_util.h>26#include <google/protobuf/metadata.h>27#include <google/protobuf/message.h>28#include <google/protobuf/repeated_field.h> // IWYU pragma: export29#include <google/protobuf/extension_set.h> // IWYU pragma: export30#include <google/protobuf/map.h> // IWYU pragma: export31#include <google/protobuf/map_entry.h>32#include <google/protobuf/map_field_inl.h>33#include <google/protobuf/unknown_field_set.h>34#include "attr_value.pb.h"35#include "op_def.pb.h"36// @@protoc_insertion_point(includes)3738namespace protobuf_function_2eproto {39// Internal implementation detail -- do not use these members.40struct TableStruct {41static const ::google::protobuf::internal::ParseTableField entries[];42static const ::google::protobuf::internal::AuxillaryParseTableField aux[];43static const ::google::protobuf::internal::ParseTable schema[5];44static const ::google::protobuf::internal::FieldMetadata field_metadata[];45static const ::google::protobuf::internal::SerializationTable serialization_table[];46static const ::google::protobuf::uint32 offsets[];47};48void AddDescriptors();49void InitDefaultsFunctionDefLibraryImpl();50void InitDefaultsFunctionDefLibrary();51void InitDefaultsFunctionDef_Node_AttrEntry_DoNotUseImpl();52void InitDefaultsFunctionDef_Node_AttrEntry_DoNotUse();53void InitDefaultsFunctionDef_NodeImpl();54void InitDefaultsFunctionDef_Node();55void InitDefaultsFunctionDefImpl();56void InitDefaultsFunctionDef();57void InitDefaultsGradientDefImpl();58void InitDefaultsGradientDef();59inline void InitDefaults() {60InitDefaultsFunctionDefLibrary();61InitDefaultsFunctionDef_Node_AttrEntry_DoNotUse();62InitDefaultsFunctionDef_Node();63InitDefaultsFunctionDef();64InitDefaultsGradientDef();65}66} // namespace protobuf_function_2eproto67namespace opencv_tensorflow {68class FunctionDef;69class FunctionDefDefaultTypeInternal;70extern FunctionDefDefaultTypeInternal _FunctionDef_default_instance_;71class FunctionDefLibrary;72class FunctionDefLibraryDefaultTypeInternal;73extern FunctionDefLibraryDefaultTypeInternal _FunctionDefLibrary_default_instance_;74class FunctionDef_Node;75class FunctionDef_NodeDefaultTypeInternal;76extern FunctionDef_NodeDefaultTypeInternal _FunctionDef_Node_default_instance_;77class FunctionDef_Node_AttrEntry_DoNotUse;78class FunctionDef_Node_AttrEntry_DoNotUseDefaultTypeInternal;79extern FunctionDef_Node_AttrEntry_DoNotUseDefaultTypeInternal _FunctionDef_Node_AttrEntry_DoNotUse_default_instance_;80class GradientDef;81class GradientDefDefaultTypeInternal;82extern GradientDefDefaultTypeInternal _GradientDef_default_instance_;83} // namespace opencv_tensorflow84namespace opencv_tensorflow {8586// ===================================================================8788class FunctionDefLibrary : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_tensorflow.FunctionDefLibrary) */ {89public:90FunctionDefLibrary();91virtual ~FunctionDefLibrary();9293FunctionDefLibrary(const FunctionDefLibrary& from);9495inline FunctionDefLibrary& operator=(const FunctionDefLibrary& from) {96CopyFrom(from);97return *this;98}99#if LANG_CXX11100FunctionDefLibrary(FunctionDefLibrary&& from) noexcept101: FunctionDefLibrary() {102*this = ::std::move(from);103}104105inline FunctionDefLibrary& operator=(FunctionDefLibrary&& from) noexcept {106if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {107if (this != &from) InternalSwap(&from);108} else {109CopyFrom(from);110}111return *this;112}113#endif114inline ::google::protobuf::Arena* GetArena() const PROTOBUF_FINAL {115return GetArenaNoVirtual();116}117inline void* GetMaybeArenaPointer() const PROTOBUF_FINAL {118return MaybeArenaPtr();119}120static const ::google::protobuf::Descriptor* descriptor();121static const FunctionDefLibrary& default_instance();122123static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY124static inline const FunctionDefLibrary* internal_default_instance() {125return reinterpret_cast<const FunctionDefLibrary*>(126&_FunctionDefLibrary_default_instance_);127}128static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =1290;130131void UnsafeArenaSwap(FunctionDefLibrary* other);132void Swap(FunctionDefLibrary* other);133friend void swap(FunctionDefLibrary& a, FunctionDefLibrary& b) {134a.Swap(&b);135}136137// implements Message ----------------------------------------------138139inline FunctionDefLibrary* New() const PROTOBUF_FINAL { return New(NULL); }140141FunctionDefLibrary* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;142void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;143void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;144void CopyFrom(const FunctionDefLibrary& from);145void MergeFrom(const FunctionDefLibrary& from);146void Clear() PROTOBUF_FINAL;147bool IsInitialized() const PROTOBUF_FINAL;148149size_t ByteSizeLong() const PROTOBUF_FINAL;150bool MergePartialFromCodedStream(151::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;152void SerializeWithCachedSizes(153::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;154::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(155bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;156int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }157private:158void SharedCtor();159void SharedDtor();160void SetCachedSize(int size) const PROTOBUF_FINAL;161void InternalSwap(FunctionDefLibrary* other);162protected:163explicit FunctionDefLibrary(::google::protobuf::Arena* arena);164private:165static void ArenaDtor(void* object);166inline void RegisterArenaDtor(::google::protobuf::Arena* arena);167private:168inline ::google::protobuf::Arena* GetArenaNoVirtual() const {169return _internal_metadata_.arena();170}171inline void* MaybeArenaPtr() const {172return _internal_metadata_.raw_arena_ptr();173}174public:175176::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;177178// nested types ----------------------------------------------------179180// accessors -------------------------------------------------------181182// repeated .opencv_tensorflow.FunctionDef function = 1;183int function_size() const;184void clear_function();185static const int kFunctionFieldNumber = 1;186const ::opencv_tensorflow::FunctionDef& function(int index) const;187::opencv_tensorflow::FunctionDef* mutable_function(int index);188::opencv_tensorflow::FunctionDef* add_function();189::google::protobuf::RepeatedPtrField< ::opencv_tensorflow::FunctionDef >*190mutable_function();191const ::google::protobuf::RepeatedPtrField< ::opencv_tensorflow::FunctionDef >&192function() const;193194// repeated .opencv_tensorflow.GradientDef gradient = 2;195int gradient_size() const;196void clear_gradient();197static const int kGradientFieldNumber = 2;198const ::opencv_tensorflow::GradientDef& gradient(int index) const;199::opencv_tensorflow::GradientDef* mutable_gradient(int index);200::opencv_tensorflow::GradientDef* add_gradient();201::google::protobuf::RepeatedPtrField< ::opencv_tensorflow::GradientDef >*202mutable_gradient();203const ::google::protobuf::RepeatedPtrField< ::opencv_tensorflow::GradientDef >&204gradient() const;205206// @@protoc_insertion_point(class_scope:opencv_tensorflow.FunctionDefLibrary)207private:208209::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;210template <typename T> friend class ::google::protobuf::Arena::InternalHelper;211typedef void InternalArenaConstructable_;212typedef void DestructorSkippable_;213::google::protobuf::RepeatedPtrField< ::opencv_tensorflow::FunctionDef > function_;214::google::protobuf::RepeatedPtrField< ::opencv_tensorflow::GradientDef > gradient_;215mutable int _cached_size_;216friend struct ::protobuf_function_2eproto::TableStruct;217friend void ::protobuf_function_2eproto::InitDefaultsFunctionDefLibraryImpl();218};219// -------------------------------------------------------------------220221class FunctionDef_Node_AttrEntry_DoNotUse : public ::google::protobuf::internal::MapEntry<FunctionDef_Node_AttrEntry_DoNotUse,222::std::string, ::opencv_tensorflow::AttrValue,223::google::protobuf::internal::WireFormatLite::TYPE_STRING,224::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE,2250 > {226public:227typedef ::google::protobuf::internal::MapEntry<FunctionDef_Node_AttrEntry_DoNotUse,228::std::string, ::opencv_tensorflow::AttrValue,229::google::protobuf::internal::WireFormatLite::TYPE_STRING,230::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE,2310 > SuperType;232FunctionDef_Node_AttrEntry_DoNotUse();233FunctionDef_Node_AttrEntry_DoNotUse(::google::protobuf::Arena* arena);234void MergeFrom(const FunctionDef_Node_AttrEntry_DoNotUse& other);235static const FunctionDef_Node_AttrEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const FunctionDef_Node_AttrEntry_DoNotUse*>(&_FunctionDef_Node_AttrEntry_DoNotUse_default_instance_); }236void MergeFrom(const ::google::protobuf::Message& other) PROTOBUF_FINAL;237::google::protobuf::Metadata GetMetadata() const;238};239240// -------------------------------------------------------------------241242class FunctionDef_Node : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_tensorflow.FunctionDef.Node) */ {243public:244FunctionDef_Node();245virtual ~FunctionDef_Node();246247FunctionDef_Node(const FunctionDef_Node& from);248249inline FunctionDef_Node& operator=(const FunctionDef_Node& from) {250CopyFrom(from);251return *this;252}253#if LANG_CXX11254FunctionDef_Node(FunctionDef_Node&& from) noexcept255: FunctionDef_Node() {256*this = ::std::move(from);257}258259inline FunctionDef_Node& operator=(FunctionDef_Node&& from) noexcept {260if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {261if (this != &from) InternalSwap(&from);262} else {263CopyFrom(from);264}265return *this;266}267#endif268inline ::google::protobuf::Arena* GetArena() const PROTOBUF_FINAL {269return GetArenaNoVirtual();270}271inline void* GetMaybeArenaPointer() const PROTOBUF_FINAL {272return MaybeArenaPtr();273}274static const ::google::protobuf::Descriptor* descriptor();275static const FunctionDef_Node& default_instance();276277static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY278static inline const FunctionDef_Node* internal_default_instance() {279return reinterpret_cast<const FunctionDef_Node*>(280&_FunctionDef_Node_default_instance_);281}282static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =2832;284285void UnsafeArenaSwap(FunctionDef_Node* other);286void Swap(FunctionDef_Node* other);287friend void swap(FunctionDef_Node& a, FunctionDef_Node& b) {288a.Swap(&b);289}290291// implements Message ----------------------------------------------292293inline FunctionDef_Node* New() const PROTOBUF_FINAL { return New(NULL); }294295FunctionDef_Node* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;296void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;297void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;298void CopyFrom(const FunctionDef_Node& from);299void MergeFrom(const FunctionDef_Node& from);300void Clear() PROTOBUF_FINAL;301bool IsInitialized() const PROTOBUF_FINAL;302303size_t ByteSizeLong() const PROTOBUF_FINAL;304bool MergePartialFromCodedStream(305::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;306void SerializeWithCachedSizes(307::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;308::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(309bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;310int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }311private:312void SharedCtor();313void SharedDtor();314void SetCachedSize(int size) const PROTOBUF_FINAL;315void InternalSwap(FunctionDef_Node* other);316protected:317explicit FunctionDef_Node(::google::protobuf::Arena* arena);318private:319static void ArenaDtor(void* object);320inline void RegisterArenaDtor(::google::protobuf::Arena* arena);321private:322inline ::google::protobuf::Arena* GetArenaNoVirtual() const {323return _internal_metadata_.arena();324}325inline void* MaybeArenaPtr() const {326return _internal_metadata_.raw_arena_ptr();327}328public:329330::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;331332// nested types ----------------------------------------------------333334335// accessors -------------------------------------------------------336337// repeated string ret = 1;338int ret_size() const;339void clear_ret();340static const int kRetFieldNumber = 1;341const ::std::string& ret(int index) const;342::std::string* mutable_ret(int index);343void set_ret(int index, const ::std::string& value);344#if LANG_CXX11345void set_ret(int index, ::std::string&& value);346#endif347void set_ret(int index, const char* value);348void set_ret(int index, const char* value, size_t size);349::std::string* add_ret();350void add_ret(const ::std::string& value);351#if LANG_CXX11352void add_ret(::std::string&& value);353#endif354void add_ret(const char* value);355void add_ret(const char* value, size_t size);356const ::google::protobuf::RepeatedPtrField< ::std::string>& ret() const;357::google::protobuf::RepeatedPtrField< ::std::string>* mutable_ret();358359// repeated string arg = 3;360int arg_size() const;361void clear_arg();362static const int kArgFieldNumber = 3;363const ::std::string& arg(int index) const;364::std::string* mutable_arg(int index);365void set_arg(int index, const ::std::string& value);366#if LANG_CXX11367void set_arg(int index, ::std::string&& value);368#endif369void set_arg(int index, const char* value);370void set_arg(int index, const char* value, size_t size);371::std::string* add_arg();372void add_arg(const ::std::string& value);373#if LANG_CXX11374void add_arg(::std::string&& value);375#endif376void add_arg(const char* value);377void add_arg(const char* value, size_t size);378const ::google::protobuf::RepeatedPtrField< ::std::string>& arg() const;379::google::protobuf::RepeatedPtrField< ::std::string>* mutable_arg();380381// repeated string dep = 4;382int dep_size() const;383void clear_dep();384static const int kDepFieldNumber = 4;385const ::std::string& dep(int index) const;386::std::string* mutable_dep(int index);387void set_dep(int index, const ::std::string& value);388#if LANG_CXX11389void set_dep(int index, ::std::string&& value);390#endif391void set_dep(int index, const char* value);392void set_dep(int index, const char* value, size_t size);393::std::string* add_dep();394void add_dep(const ::std::string& value);395#if LANG_CXX11396void add_dep(::std::string&& value);397#endif398void add_dep(const char* value);399void add_dep(const char* value, size_t size);400const ::google::protobuf::RepeatedPtrField< ::std::string>& dep() const;401::google::protobuf::RepeatedPtrField< ::std::string>* mutable_dep();402403// map<string, .opencv_tensorflow.AttrValue> attr = 5;404int attr_size() const;405void clear_attr();406static const int kAttrFieldNumber = 5;407const ::google::protobuf::Map< ::std::string, ::opencv_tensorflow::AttrValue >&408attr() const;409::google::protobuf::Map< ::std::string, ::opencv_tensorflow::AttrValue >*410mutable_attr();411412// string op = 2;413void clear_op();414static const int kOpFieldNumber = 2;415const ::std::string& op() const;416void set_op(const ::std::string& value);417#if LANG_CXX11418void set_op(::std::string&& value);419#endif420void set_op(const char* value);421void set_op(const char* value, size_t size);422::std::string* mutable_op();423::std::string* release_op();424void set_allocated_op(::std::string* op);425PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"426" string fields are deprecated and will be removed in a"427" future release.")428::std::string* unsafe_arena_release_op();429PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"430" string fields are deprecated and will be removed in a"431" future release.")432void unsafe_arena_set_allocated_op(433::std::string* op);434435// @@protoc_insertion_point(class_scope:opencv_tensorflow.FunctionDef.Node)436private:437438::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;439template <typename T> friend class ::google::protobuf::Arena::InternalHelper;440typedef void InternalArenaConstructable_;441typedef void DestructorSkippable_;442::google::protobuf::RepeatedPtrField< ::std::string> ret_;443::google::protobuf::RepeatedPtrField< ::std::string> arg_;444::google::protobuf::RepeatedPtrField< ::std::string> dep_;445::google::protobuf::internal::MapField<446FunctionDef_Node_AttrEntry_DoNotUse,447::std::string, ::opencv_tensorflow::AttrValue,448::google::protobuf::internal::WireFormatLite::TYPE_STRING,449::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE,4500 > attr_;451::google::protobuf::internal::ArenaStringPtr op_;452mutable int _cached_size_;453friend struct ::protobuf_function_2eproto::TableStruct;454friend void ::protobuf_function_2eproto::InitDefaultsFunctionDef_NodeImpl();455};456// -------------------------------------------------------------------457458class FunctionDef : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_tensorflow.FunctionDef) */ {459public:460FunctionDef();461virtual ~FunctionDef();462463FunctionDef(const FunctionDef& from);464465inline FunctionDef& operator=(const FunctionDef& from) {466CopyFrom(from);467return *this;468}469#if LANG_CXX11470FunctionDef(FunctionDef&& from) noexcept471: FunctionDef() {472*this = ::std::move(from);473}474475inline FunctionDef& operator=(FunctionDef&& from) noexcept {476if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {477if (this != &from) InternalSwap(&from);478} else {479CopyFrom(from);480}481return *this;482}483#endif484inline ::google::protobuf::Arena* GetArena() const PROTOBUF_FINAL {485return GetArenaNoVirtual();486}487inline void* GetMaybeArenaPointer() const PROTOBUF_FINAL {488return MaybeArenaPtr();489}490static const ::google::protobuf::Descriptor* descriptor();491static const FunctionDef& default_instance();492493static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY494static inline const FunctionDef* internal_default_instance() {495return reinterpret_cast<const FunctionDef*>(496&_FunctionDef_default_instance_);497}498static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =4993;500501void UnsafeArenaSwap(FunctionDef* other);502void Swap(FunctionDef* other);503friend void swap(FunctionDef& a, FunctionDef& b) {504a.Swap(&b);505}506507// implements Message ----------------------------------------------508509inline FunctionDef* New() const PROTOBUF_FINAL { return New(NULL); }510511FunctionDef* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;512void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;513void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;514void CopyFrom(const FunctionDef& from);515void MergeFrom(const FunctionDef& from);516void Clear() PROTOBUF_FINAL;517bool IsInitialized() const PROTOBUF_FINAL;518519size_t ByteSizeLong() const PROTOBUF_FINAL;520bool MergePartialFromCodedStream(521::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;522void SerializeWithCachedSizes(523::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;524::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(525bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;526int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }527private:528void SharedCtor();529void SharedDtor();530void SetCachedSize(int size) const PROTOBUF_FINAL;531void InternalSwap(FunctionDef* other);532protected:533explicit FunctionDef(::google::protobuf::Arena* arena);534private:535static void ArenaDtor(void* object);536inline void RegisterArenaDtor(::google::protobuf::Arena* arena);537private:538inline ::google::protobuf::Arena* GetArenaNoVirtual() const {539return _internal_metadata_.arena();540}541inline void* MaybeArenaPtr() const {542return _internal_metadata_.raw_arena_ptr();543}544public:545546::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;547548// nested types ----------------------------------------------------549550typedef FunctionDef_Node Node;551552// accessors -------------------------------------------------------553554// repeated .opencv_tensorflow.FunctionDef.Node node = 2;555int node_size() const;556void clear_node();557static const int kNodeFieldNumber = 2;558const ::opencv_tensorflow::FunctionDef_Node& node(int index) const;559::opencv_tensorflow::FunctionDef_Node* mutable_node(int index);560::opencv_tensorflow::FunctionDef_Node* add_node();561::google::protobuf::RepeatedPtrField< ::opencv_tensorflow::FunctionDef_Node >*562mutable_node();563const ::google::protobuf::RepeatedPtrField< ::opencv_tensorflow::FunctionDef_Node >&564node() const;565566// .opencv_tensorflow.OpDef signature = 1;567bool has_signature() const;568void clear_signature();569static const int kSignatureFieldNumber = 1;570private:571void _slow_mutable_signature();572public:573const ::opencv_tensorflow::OpDef& signature() const;574::opencv_tensorflow::OpDef* release_signature();575::opencv_tensorflow::OpDef* mutable_signature();576void set_allocated_signature(::opencv_tensorflow::OpDef* signature);577void unsafe_arena_set_allocated_signature(578::opencv_tensorflow::OpDef* signature);579::opencv_tensorflow::OpDef* unsafe_arena_release_signature();580581// @@protoc_insertion_point(class_scope:opencv_tensorflow.FunctionDef)582private:583584::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;585template <typename T> friend class ::google::protobuf::Arena::InternalHelper;586typedef void InternalArenaConstructable_;587typedef void DestructorSkippable_;588::google::protobuf::RepeatedPtrField< ::opencv_tensorflow::FunctionDef_Node > node_;589::opencv_tensorflow::OpDef* signature_;590mutable int _cached_size_;591friend struct ::protobuf_function_2eproto::TableStruct;592friend void ::protobuf_function_2eproto::InitDefaultsFunctionDefImpl();593};594// -------------------------------------------------------------------595596class GradientDef : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_tensorflow.GradientDef) */ {597public:598GradientDef();599virtual ~GradientDef();600601GradientDef(const GradientDef& from);602603inline GradientDef& operator=(const GradientDef& from) {604CopyFrom(from);605return *this;606}607#if LANG_CXX11608GradientDef(GradientDef&& from) noexcept609: GradientDef() {610*this = ::std::move(from);611}612613inline GradientDef& operator=(GradientDef&& from) noexcept {614if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {615if (this != &from) InternalSwap(&from);616} else {617CopyFrom(from);618}619return *this;620}621#endif622inline ::google::protobuf::Arena* GetArena() const PROTOBUF_FINAL {623return GetArenaNoVirtual();624}625inline void* GetMaybeArenaPointer() const PROTOBUF_FINAL {626return MaybeArenaPtr();627}628static const ::google::protobuf::Descriptor* descriptor();629static const GradientDef& default_instance();630631static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY632static inline const GradientDef* internal_default_instance() {633return reinterpret_cast<const GradientDef*>(634&_GradientDef_default_instance_);635}636static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =6374;638639void UnsafeArenaSwap(GradientDef* other);640void Swap(GradientDef* other);641friend void swap(GradientDef& a, GradientDef& b) {642a.Swap(&b);643}644645// implements Message ----------------------------------------------646647inline GradientDef* New() const PROTOBUF_FINAL { return New(NULL); }648649GradientDef* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;650void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;651void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;652void CopyFrom(const GradientDef& from);653void MergeFrom(const GradientDef& from);654void Clear() PROTOBUF_FINAL;655bool IsInitialized() const PROTOBUF_FINAL;656657size_t ByteSizeLong() const PROTOBUF_FINAL;658bool MergePartialFromCodedStream(659::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;660void SerializeWithCachedSizes(661::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;662::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(663bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;664int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }665private:666void SharedCtor();667void SharedDtor();668void SetCachedSize(int size) const PROTOBUF_FINAL;669void InternalSwap(GradientDef* other);670protected:671explicit GradientDef(::google::protobuf::Arena* arena);672private:673static void ArenaDtor(void* object);674inline void RegisterArenaDtor(::google::protobuf::Arena* arena);675private:676inline ::google::protobuf::Arena* GetArenaNoVirtual() const {677return _internal_metadata_.arena();678}679inline void* MaybeArenaPtr() const {680return _internal_metadata_.raw_arena_ptr();681}682public:683684::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;685686// nested types ----------------------------------------------------687688// accessors -------------------------------------------------------689690// string function_name = 1;691void clear_function_name();692static const int kFunctionNameFieldNumber = 1;693const ::std::string& function_name() const;694void set_function_name(const ::std::string& value);695#if LANG_CXX11696void set_function_name(::std::string&& value);697#endif698void set_function_name(const char* value);699void set_function_name(const char* value, size_t size);700::std::string* mutable_function_name();701::std::string* release_function_name();702void set_allocated_function_name(::std::string* function_name);703PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"704" string fields are deprecated and will be removed in a"705" future release.")706::std::string* unsafe_arena_release_function_name();707PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"708" string fields are deprecated and will be removed in a"709" future release.")710void unsafe_arena_set_allocated_function_name(711::std::string* function_name);712713// string gradient_func = 2;714void clear_gradient_func();715static const int kGradientFuncFieldNumber = 2;716const ::std::string& gradient_func() const;717void set_gradient_func(const ::std::string& value);718#if LANG_CXX11719void set_gradient_func(::std::string&& value);720#endif721void set_gradient_func(const char* value);722void set_gradient_func(const char* value, size_t size);723::std::string* mutable_gradient_func();724::std::string* release_gradient_func();725void set_allocated_gradient_func(::std::string* gradient_func);726PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"727" string fields are deprecated and will be removed in a"728" future release.")729::std::string* unsafe_arena_release_gradient_func();730PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"731" string fields are deprecated and will be removed in a"732" future release.")733void unsafe_arena_set_allocated_gradient_func(734::std::string* gradient_func);735736// @@protoc_insertion_point(class_scope:opencv_tensorflow.GradientDef)737private:738739::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;740template <typename T> friend class ::google::protobuf::Arena::InternalHelper;741typedef void InternalArenaConstructable_;742typedef void DestructorSkippable_;743::google::protobuf::internal::ArenaStringPtr function_name_;744::google::protobuf::internal::ArenaStringPtr gradient_func_;745mutable int _cached_size_;746friend struct ::protobuf_function_2eproto::TableStruct;747friend void ::protobuf_function_2eproto::InitDefaultsGradientDefImpl();748};749// ===================================================================750751752// ===================================================================753754#ifdef __GNUC__755#pragma GCC diagnostic push756#pragma GCC diagnostic ignored "-Wstrict-aliasing"757#endif // __GNUC__758// FunctionDefLibrary759760// repeated .opencv_tensorflow.FunctionDef function = 1;761inline int FunctionDefLibrary::function_size() const {762return function_.size();763}764inline void FunctionDefLibrary::clear_function() {765function_.Clear();766}767inline const ::opencv_tensorflow::FunctionDef& FunctionDefLibrary::function(int index) const {768// @@protoc_insertion_point(field_get:opencv_tensorflow.FunctionDefLibrary.function)769return function_.Get(index);770}771inline ::opencv_tensorflow::FunctionDef* FunctionDefLibrary::mutable_function(int index) {772// @@protoc_insertion_point(field_mutable:opencv_tensorflow.FunctionDefLibrary.function)773return function_.Mutable(index);774}775inline ::opencv_tensorflow::FunctionDef* FunctionDefLibrary::add_function() {776// @@protoc_insertion_point(field_add:opencv_tensorflow.FunctionDefLibrary.function)777return function_.Add();778}779inline ::google::protobuf::RepeatedPtrField< ::opencv_tensorflow::FunctionDef >*780FunctionDefLibrary::mutable_function() {781// @@protoc_insertion_point(field_mutable_list:opencv_tensorflow.FunctionDefLibrary.function)782return &function_;783}784inline const ::google::protobuf::RepeatedPtrField< ::opencv_tensorflow::FunctionDef >&785FunctionDefLibrary::function() const {786// @@protoc_insertion_point(field_list:opencv_tensorflow.FunctionDefLibrary.function)787return function_;788}789790// repeated .opencv_tensorflow.GradientDef gradient = 2;791inline int FunctionDefLibrary::gradient_size() const {792return gradient_.size();793}794inline void FunctionDefLibrary::clear_gradient() {795gradient_.Clear();796}797inline const ::opencv_tensorflow::GradientDef& FunctionDefLibrary::gradient(int index) const {798// @@protoc_insertion_point(field_get:opencv_tensorflow.FunctionDefLibrary.gradient)799return gradient_.Get(index);800}801inline ::opencv_tensorflow::GradientDef* FunctionDefLibrary::mutable_gradient(int index) {802// @@protoc_insertion_point(field_mutable:opencv_tensorflow.FunctionDefLibrary.gradient)803return gradient_.Mutable(index);804}805inline ::opencv_tensorflow::GradientDef* FunctionDefLibrary::add_gradient() {806// @@protoc_insertion_point(field_add:opencv_tensorflow.FunctionDefLibrary.gradient)807return gradient_.Add();808}809inline ::google::protobuf::RepeatedPtrField< ::opencv_tensorflow::GradientDef >*810FunctionDefLibrary::mutable_gradient() {811// @@protoc_insertion_point(field_mutable_list:opencv_tensorflow.FunctionDefLibrary.gradient)812return &gradient_;813}814inline const ::google::protobuf::RepeatedPtrField< ::opencv_tensorflow::GradientDef >&815FunctionDefLibrary::gradient() const {816// @@protoc_insertion_point(field_list:opencv_tensorflow.FunctionDefLibrary.gradient)817return gradient_;818}819820// -------------------------------------------------------------------821822// -------------------------------------------------------------------823824// FunctionDef_Node825826// repeated string ret = 1;827inline int FunctionDef_Node::ret_size() const {828return ret_.size();829}830inline void FunctionDef_Node::clear_ret() {831ret_.Clear();832}833inline const ::std::string& FunctionDef_Node::ret(int index) const {834// @@protoc_insertion_point(field_get:opencv_tensorflow.FunctionDef.Node.ret)835return ret_.Get(index);836}837inline ::std::string* FunctionDef_Node::mutable_ret(int index) {838// @@protoc_insertion_point(field_mutable:opencv_tensorflow.FunctionDef.Node.ret)839return ret_.Mutable(index);840}841inline void FunctionDef_Node::set_ret(int index, const ::std::string& value) {842// @@protoc_insertion_point(field_set:opencv_tensorflow.FunctionDef.Node.ret)843ret_.Mutable(index)->assign(value);844}845#if LANG_CXX11846inline void FunctionDef_Node::set_ret(int index, ::std::string&& value) {847// @@protoc_insertion_point(field_set:opencv_tensorflow.FunctionDef.Node.ret)848ret_.Mutable(index)->assign(std::move(value));849}850#endif851inline void FunctionDef_Node::set_ret(int index, const char* value) {852GOOGLE_DCHECK(value != NULL);853ret_.Mutable(index)->assign(value);854// @@protoc_insertion_point(field_set_char:opencv_tensorflow.FunctionDef.Node.ret)855}856inline void FunctionDef_Node::set_ret(int index, const char* value, size_t size) {857ret_.Mutable(index)->assign(858reinterpret_cast<const char*>(value), size);859// @@protoc_insertion_point(field_set_pointer:opencv_tensorflow.FunctionDef.Node.ret)860}861inline ::std::string* FunctionDef_Node::add_ret() {862// @@protoc_insertion_point(field_add_mutable:opencv_tensorflow.FunctionDef.Node.ret)863return ret_.Add();864}865inline void FunctionDef_Node::add_ret(const ::std::string& value) {866ret_.Add()->assign(value);867// @@protoc_insertion_point(field_add:opencv_tensorflow.FunctionDef.Node.ret)868}869#if LANG_CXX11870inline void FunctionDef_Node::add_ret(::std::string&& value) {871ret_.Add(std::move(value));872// @@protoc_insertion_point(field_add:opencv_tensorflow.FunctionDef.Node.ret)873}874#endif875inline void FunctionDef_Node::add_ret(const char* value) {876GOOGLE_DCHECK(value != NULL);877ret_.Add()->assign(value);878// @@protoc_insertion_point(field_add_char:opencv_tensorflow.FunctionDef.Node.ret)879}880inline void FunctionDef_Node::add_ret(const char* value, size_t size) {881ret_.Add()->assign(reinterpret_cast<const char*>(value), size);882// @@protoc_insertion_point(field_add_pointer:opencv_tensorflow.FunctionDef.Node.ret)883}884inline const ::google::protobuf::RepeatedPtrField< ::std::string>&885FunctionDef_Node::ret() const {886// @@protoc_insertion_point(field_list:opencv_tensorflow.FunctionDef.Node.ret)887return ret_;888}889inline ::google::protobuf::RepeatedPtrField< ::std::string>*890FunctionDef_Node::mutable_ret() {891// @@protoc_insertion_point(field_mutable_list:opencv_tensorflow.FunctionDef.Node.ret)892return &ret_;893}894895// string op = 2;896inline void FunctionDef_Node::clear_op() {897op_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());898}899inline const ::std::string& FunctionDef_Node::op() const {900// @@protoc_insertion_point(field_get:opencv_tensorflow.FunctionDef.Node.op)901return op_.Get();902}903inline void FunctionDef_Node::set_op(const ::std::string& value) {904905op_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());906// @@protoc_insertion_point(field_set:opencv_tensorflow.FunctionDef.Node.op)907}908#if LANG_CXX11909inline void FunctionDef_Node::set_op(::std::string&& value) {910911op_.Set(912&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());913// @@protoc_insertion_point(field_set_rvalue:opencv_tensorflow.FunctionDef.Node.op)914}915#endif916inline void FunctionDef_Node::set_op(const char* value) {917GOOGLE_DCHECK(value != NULL);918919op_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value),920GetArenaNoVirtual());921// @@protoc_insertion_point(field_set_char:opencv_tensorflow.FunctionDef.Node.op)922}923inline void FunctionDef_Node::set_op(const char* value,924size_t size) {925926op_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(927reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());928// @@protoc_insertion_point(field_set_pointer:opencv_tensorflow.FunctionDef.Node.op)929}930inline ::std::string* FunctionDef_Node::mutable_op() {931932// @@protoc_insertion_point(field_mutable:opencv_tensorflow.FunctionDef.Node.op)933return op_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());934}935inline ::std::string* FunctionDef_Node::release_op() {936// @@protoc_insertion_point(field_release:opencv_tensorflow.FunctionDef.Node.op)937938return op_.Release(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());939}940inline void FunctionDef_Node::set_allocated_op(::std::string* op) {941if (op != NULL) {942943} else {944945}946op_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), op,947GetArenaNoVirtual());948// @@protoc_insertion_point(field_set_allocated:opencv_tensorflow.FunctionDef.Node.op)949}950inline ::std::string* FunctionDef_Node::unsafe_arena_release_op() {951// @@protoc_insertion_point(field_unsafe_arena_release:opencv_tensorflow.FunctionDef.Node.op)952GOOGLE_DCHECK(GetArenaNoVirtual() != NULL);953954return op_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),955GetArenaNoVirtual());956}957inline void FunctionDef_Node::unsafe_arena_set_allocated_op(958::std::string* op) {959GOOGLE_DCHECK(GetArenaNoVirtual() != NULL);960if (op != NULL) {961962} else {963964}965op_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),966op, GetArenaNoVirtual());967// @@protoc_insertion_point(field_unsafe_arena_set_allocated:opencv_tensorflow.FunctionDef.Node.op)968}969970// repeated string arg = 3;971inline int FunctionDef_Node::arg_size() const {972return arg_.size();973}974inline void FunctionDef_Node::clear_arg() {975arg_.Clear();976}977inline const ::std::string& FunctionDef_Node::arg(int index) const {978// @@protoc_insertion_point(field_get:opencv_tensorflow.FunctionDef.Node.arg)979return arg_.Get(index);980}981inline ::std::string* FunctionDef_Node::mutable_arg(int index) {982// @@protoc_insertion_point(field_mutable:opencv_tensorflow.FunctionDef.Node.arg)983return arg_.Mutable(index);984}985inline void FunctionDef_Node::set_arg(int index, const ::std::string& value) {986// @@protoc_insertion_point(field_set:opencv_tensorflow.FunctionDef.Node.arg)987arg_.Mutable(index)->assign(value);988}989#if LANG_CXX11990inline void FunctionDef_Node::set_arg(int index, ::std::string&& value) {991// @@protoc_insertion_point(field_set:opencv_tensorflow.FunctionDef.Node.arg)992arg_.Mutable(index)->assign(std::move(value));993}994#endif995inline void FunctionDef_Node::set_arg(int index, const char* value) {996GOOGLE_DCHECK(value != NULL);997arg_.Mutable(index)->assign(value);998// @@protoc_insertion_point(field_set_char:opencv_tensorflow.FunctionDef.Node.arg)999}1000inline void FunctionDef_Node::set_arg(int index, const char* value, size_t size) {1001arg_.Mutable(index)->assign(1002reinterpret_cast<const char*>(value), size);1003// @@protoc_insertion_point(field_set_pointer:opencv_tensorflow.FunctionDef.Node.arg)1004}1005inline ::std::string* FunctionDef_Node::add_arg() {1006// @@protoc_insertion_point(field_add_mutable:opencv_tensorflow.FunctionDef.Node.arg)1007return arg_.Add();1008}1009inline void FunctionDef_Node::add_arg(const ::std::string& value) {1010arg_.Add()->assign(value);1011// @@protoc_insertion_point(field_add:opencv_tensorflow.FunctionDef.Node.arg)1012}1013#if LANG_CXX111014inline void FunctionDef_Node::add_arg(::std::string&& value) {1015arg_.Add(std::move(value));1016// @@protoc_insertion_point(field_add:opencv_tensorflow.FunctionDef.Node.arg)1017}1018#endif1019inline void FunctionDef_Node::add_arg(const char* value) {1020GOOGLE_DCHECK(value != NULL);1021arg_.Add()->assign(value);1022// @@protoc_insertion_point(field_add_char:opencv_tensorflow.FunctionDef.Node.arg)1023}1024inline void FunctionDef_Node::add_arg(const char* value, size_t size) {1025arg_.Add()->assign(reinterpret_cast<const char*>(value), size);1026// @@protoc_insertion_point(field_add_pointer:opencv_tensorflow.FunctionDef.Node.arg)1027}1028inline const ::google::protobuf::RepeatedPtrField< ::std::string>&1029FunctionDef_Node::arg() const {1030// @@protoc_insertion_point(field_list:opencv_tensorflow.FunctionDef.Node.arg)1031return arg_;1032}1033inline ::google::protobuf::RepeatedPtrField< ::std::string>*1034FunctionDef_Node::mutable_arg() {1035// @@protoc_insertion_point(field_mutable_list:opencv_tensorflow.FunctionDef.Node.arg)1036return &arg_;1037}10381039// repeated string dep = 4;1040inline int FunctionDef_Node::dep_size() const {1041return dep_.size();1042}1043inline void FunctionDef_Node::clear_dep() {1044dep_.Clear();1045}1046inline const ::std::string& FunctionDef_Node::dep(int index) const {1047// @@protoc_insertion_point(field_get:opencv_tensorflow.FunctionDef.Node.dep)1048return dep_.Get(index);1049}1050inline ::std::string* FunctionDef_Node::mutable_dep(int index) {1051// @@protoc_insertion_point(field_mutable:opencv_tensorflow.FunctionDef.Node.dep)1052return dep_.Mutable(index);1053}1054inline void FunctionDef_Node::set_dep(int index, const ::std::string& value) {1055// @@protoc_insertion_point(field_set:opencv_tensorflow.FunctionDef.Node.dep)1056dep_.Mutable(index)->assign(value);1057}1058#if LANG_CXX111059inline void FunctionDef_Node::set_dep(int index, ::std::string&& value) {1060// @@protoc_insertion_point(field_set:opencv_tensorflow.FunctionDef.Node.dep)1061dep_.Mutable(index)->assign(std::move(value));1062}1063#endif1064inline void FunctionDef_Node::set_dep(int index, const char* value) {1065GOOGLE_DCHECK(value != NULL);1066dep_.Mutable(index)->assign(value);1067// @@protoc_insertion_point(field_set_char:opencv_tensorflow.FunctionDef.Node.dep)1068}1069inline void FunctionDef_Node::set_dep(int index, const char* value, size_t size) {1070dep_.Mutable(index)->assign(1071reinterpret_cast<const char*>(value), size);1072// @@protoc_insertion_point(field_set_pointer:opencv_tensorflow.FunctionDef.Node.dep)1073}1074inline ::std::string* FunctionDef_Node::add_dep() {1075// @@protoc_insertion_point(field_add_mutable:opencv_tensorflow.FunctionDef.Node.dep)1076return dep_.Add();1077}1078inline void FunctionDef_Node::add_dep(const ::std::string& value) {1079dep_.Add()->assign(value);1080// @@protoc_insertion_point(field_add:opencv_tensorflow.FunctionDef.Node.dep)1081}1082#if LANG_CXX111083inline void FunctionDef_Node::add_dep(::std::string&& value) {1084dep_.Add(std::move(value));1085// @@protoc_insertion_point(field_add:opencv_tensorflow.FunctionDef.Node.dep)1086}1087#endif1088inline void FunctionDef_Node::add_dep(const char* value) {1089GOOGLE_DCHECK(value != NULL);1090dep_.Add()->assign(value);1091// @@protoc_insertion_point(field_add_char:opencv_tensorflow.FunctionDef.Node.dep)1092}1093inline void FunctionDef_Node::add_dep(const char* value, size_t size) {1094dep_.Add()->assign(reinterpret_cast<const char*>(value), size);1095// @@protoc_insertion_point(field_add_pointer:opencv_tensorflow.FunctionDef.Node.dep)1096}1097inline const ::google::protobuf::RepeatedPtrField< ::std::string>&1098FunctionDef_Node::dep() const {1099// @@protoc_insertion_point(field_list:opencv_tensorflow.FunctionDef.Node.dep)1100return dep_;1101}1102inline ::google::protobuf::RepeatedPtrField< ::std::string>*1103FunctionDef_Node::mutable_dep() {1104// @@protoc_insertion_point(field_mutable_list:opencv_tensorflow.FunctionDef.Node.dep)1105return &dep_;1106}11071108// map<string, .opencv_tensorflow.AttrValue> attr = 5;1109inline int FunctionDef_Node::attr_size() const {1110return attr_.size();1111}1112inline const ::google::protobuf::Map< ::std::string, ::opencv_tensorflow::AttrValue >&1113FunctionDef_Node::attr() const {1114// @@protoc_insertion_point(field_map:opencv_tensorflow.FunctionDef.Node.attr)1115return attr_.GetMap();1116}1117inline ::google::protobuf::Map< ::std::string, ::opencv_tensorflow::AttrValue >*1118FunctionDef_Node::mutable_attr() {1119// @@protoc_insertion_point(field_mutable_map:opencv_tensorflow.FunctionDef.Node.attr)1120return attr_.MutableMap();1121}11221123// -------------------------------------------------------------------11241125// FunctionDef11261127// .opencv_tensorflow.OpDef signature = 1;1128inline bool FunctionDef::has_signature() const {1129return this != internal_default_instance() && signature_ != NULL;1130}1131inline const ::opencv_tensorflow::OpDef& FunctionDef::signature() const {1132const ::opencv_tensorflow::OpDef* p = signature_;1133// @@protoc_insertion_point(field_get:opencv_tensorflow.FunctionDef.signature)1134return p != NULL ? *p : *reinterpret_cast<const ::opencv_tensorflow::OpDef*>(1135&::opencv_tensorflow::_OpDef_default_instance_);1136}1137inline ::opencv_tensorflow::OpDef* FunctionDef::release_signature() {1138// @@protoc_insertion_point(field_release:opencv_tensorflow.FunctionDef.signature)11391140::opencv_tensorflow::OpDef* temp = signature_;1141if (GetArenaNoVirtual() != NULL) {1142temp = ::google::protobuf::internal::DuplicateIfNonNull(temp, NULL);1143}1144signature_ = NULL;1145return temp;1146}1147inline ::opencv_tensorflow::OpDef* FunctionDef::unsafe_arena_release_signature() {1148// @@protoc_insertion_point(field_unsafe_arena_release:opencv_tensorflow.FunctionDef.signature)11491150::opencv_tensorflow::OpDef* temp = signature_;1151signature_ = NULL;1152return temp;1153}1154inline ::opencv_tensorflow::OpDef* FunctionDef::mutable_signature() {11551156if (signature_ == NULL) {1157_slow_mutable_signature();1158}1159// @@protoc_insertion_point(field_mutable:opencv_tensorflow.FunctionDef.signature)1160return signature_;1161}1162inline void FunctionDef::set_allocated_signature(::opencv_tensorflow::OpDef* signature) {1163::google::protobuf::Arena* message_arena = GetArenaNoVirtual();1164if (message_arena == NULL) {1165delete reinterpret_cast< ::google::protobuf::MessageLite*>(signature_);1166}1167if (signature) {1168::google::protobuf::Arena* submessage_arena =1169reinterpret_cast< ::google::protobuf::MessageLite*>(signature)->GetArena();1170if (message_arena != submessage_arena) {1171signature = ::google::protobuf::internal::GetOwnedMessage(1172message_arena, signature, submessage_arena);1173}11741175} else {11761177}1178signature_ = signature;1179// @@protoc_insertion_point(field_set_allocated:opencv_tensorflow.FunctionDef.signature)1180}11811182// repeated .opencv_tensorflow.FunctionDef.Node node = 2;1183inline int FunctionDef::node_size() const {1184return node_.size();1185}1186inline void FunctionDef::clear_node() {1187node_.Clear();1188}1189inline const ::opencv_tensorflow::FunctionDef_Node& FunctionDef::node(int index) const {1190// @@protoc_insertion_point(field_get:opencv_tensorflow.FunctionDef.node)1191return node_.Get(index);1192}1193inline ::opencv_tensorflow::FunctionDef_Node* FunctionDef::mutable_node(int index) {1194// @@protoc_insertion_point(field_mutable:opencv_tensorflow.FunctionDef.node)1195return node_.Mutable(index);1196}1197inline ::opencv_tensorflow::FunctionDef_Node* FunctionDef::add_node() {1198// @@protoc_insertion_point(field_add:opencv_tensorflow.FunctionDef.node)1199return node_.Add();1200}1201inline ::google::protobuf::RepeatedPtrField< ::opencv_tensorflow::FunctionDef_Node >*1202FunctionDef::mutable_node() {1203// @@protoc_insertion_point(field_mutable_list:opencv_tensorflow.FunctionDef.node)1204return &node_;1205}1206inline const ::google::protobuf::RepeatedPtrField< ::opencv_tensorflow::FunctionDef_Node >&1207FunctionDef::node() const {1208// @@protoc_insertion_point(field_list:opencv_tensorflow.FunctionDef.node)1209return node_;1210}12111212// -------------------------------------------------------------------12131214// GradientDef12151216// string function_name = 1;1217inline void GradientDef::clear_function_name() {1218function_name_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());1219}1220inline const ::std::string& GradientDef::function_name() const {1221// @@protoc_insertion_point(field_get:opencv_tensorflow.GradientDef.function_name)1222return function_name_.Get();1223}1224inline void GradientDef::set_function_name(const ::std::string& value) {12251226function_name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());1227// @@protoc_insertion_point(field_set:opencv_tensorflow.GradientDef.function_name)1228}1229#if LANG_CXX111230inline void GradientDef::set_function_name(::std::string&& value) {12311232function_name_.Set(1233&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());1234// @@protoc_insertion_point(field_set_rvalue:opencv_tensorflow.GradientDef.function_name)1235}1236#endif1237inline void GradientDef::set_function_name(const char* value) {1238GOOGLE_DCHECK(value != NULL);12391240function_name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value),1241GetArenaNoVirtual());1242// @@protoc_insertion_point(field_set_char:opencv_tensorflow.GradientDef.function_name)1243}1244inline void GradientDef::set_function_name(const char* value,1245size_t size) {12461247function_name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(1248reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());1249// @@protoc_insertion_point(field_set_pointer:opencv_tensorflow.GradientDef.function_name)1250}1251inline ::std::string* GradientDef::mutable_function_name() {12521253// @@protoc_insertion_point(field_mutable:opencv_tensorflow.GradientDef.function_name)1254return function_name_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());1255}1256inline ::std::string* GradientDef::release_function_name() {1257// @@protoc_insertion_point(field_release:opencv_tensorflow.GradientDef.function_name)12581259return function_name_.Release(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());1260}1261inline void GradientDef::set_allocated_function_name(::std::string* function_name) {1262if (function_name != NULL) {12631264} else {12651266}1267function_name_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), function_name,1268GetArenaNoVirtual());1269// @@protoc_insertion_point(field_set_allocated:opencv_tensorflow.GradientDef.function_name)1270}1271inline ::std::string* GradientDef::unsafe_arena_release_function_name() {1272// @@protoc_insertion_point(field_unsafe_arena_release:opencv_tensorflow.GradientDef.function_name)1273GOOGLE_DCHECK(GetArenaNoVirtual() != NULL);12741275return function_name_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),1276GetArenaNoVirtual());1277}1278inline void GradientDef::unsafe_arena_set_allocated_function_name(1279::std::string* function_name) {1280GOOGLE_DCHECK(GetArenaNoVirtual() != NULL);1281if (function_name != NULL) {12821283} else {12841285}1286function_name_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),1287function_name, GetArenaNoVirtual());1288// @@protoc_insertion_point(field_unsafe_arena_set_allocated:opencv_tensorflow.GradientDef.function_name)1289}12901291// string gradient_func = 2;1292inline void GradientDef::clear_gradient_func() {1293gradient_func_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());1294}1295inline const ::std::string& GradientDef::gradient_func() const {1296// @@protoc_insertion_point(field_get:opencv_tensorflow.GradientDef.gradient_func)1297return gradient_func_.Get();1298}1299inline void GradientDef::set_gradient_func(const ::std::string& value) {13001301gradient_func_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());1302// @@protoc_insertion_point(field_set:opencv_tensorflow.GradientDef.gradient_func)1303}1304#if LANG_CXX111305inline void GradientDef::set_gradient_func(::std::string&& value) {13061307gradient_func_.Set(1308&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());1309// @@protoc_insertion_point(field_set_rvalue:opencv_tensorflow.GradientDef.gradient_func)1310}1311#endif1312inline void GradientDef::set_gradient_func(const char* value) {1313GOOGLE_DCHECK(value != NULL);13141315gradient_func_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value),1316GetArenaNoVirtual());1317// @@protoc_insertion_point(field_set_char:opencv_tensorflow.GradientDef.gradient_func)1318}1319inline void GradientDef::set_gradient_func(const char* value,1320size_t size) {13211322gradient_func_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(1323reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());1324// @@protoc_insertion_point(field_set_pointer:opencv_tensorflow.GradientDef.gradient_func)1325}1326inline ::std::string* GradientDef::mutable_gradient_func() {13271328// @@protoc_insertion_point(field_mutable:opencv_tensorflow.GradientDef.gradient_func)1329return gradient_func_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());1330}1331inline ::std::string* GradientDef::release_gradient_func() {1332// @@protoc_insertion_point(field_release:opencv_tensorflow.GradientDef.gradient_func)13331334return gradient_func_.Release(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());1335}1336inline void GradientDef::set_allocated_gradient_func(::std::string* gradient_func) {1337if (gradient_func != NULL) {13381339} else {13401341}1342gradient_func_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), gradient_func,1343GetArenaNoVirtual());1344// @@protoc_insertion_point(field_set_allocated:opencv_tensorflow.GradientDef.gradient_func)1345}1346inline ::std::string* GradientDef::unsafe_arena_release_gradient_func() {1347// @@protoc_insertion_point(field_unsafe_arena_release:opencv_tensorflow.GradientDef.gradient_func)1348GOOGLE_DCHECK(GetArenaNoVirtual() != NULL);13491350return gradient_func_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),1351GetArenaNoVirtual());1352}1353inline void GradientDef::unsafe_arena_set_allocated_gradient_func(1354::std::string* gradient_func) {1355GOOGLE_DCHECK(GetArenaNoVirtual() != NULL);1356if (gradient_func != NULL) {13571358} else {13591360}1361gradient_func_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),1362gradient_func, GetArenaNoVirtual());1363// @@protoc_insertion_point(field_unsafe_arena_set_allocated:opencv_tensorflow.GradientDef.gradient_func)1364}13651366#ifdef __GNUC__1367#pragma GCC diagnostic pop1368#endif // __GNUC__1369// -------------------------------------------------------------------13701371// -------------------------------------------------------------------13721373// -------------------------------------------------------------------13741375// -------------------------------------------------------------------137613771378// @@protoc_insertion_point(namespace_scope)13791380} // namespace opencv_tensorflow13811382// @@protoc_insertion_point(global_scope)13831384#endif // PROTOBUF_function_2eproto__INCLUDED138513861387