Path: blob/master/modules/dnn/misc/tensorflow/attr_value.pb.h
16358 views
// Generated by the protocol buffer compiler. DO NOT EDIT!1// source: attr_value.proto23#ifndef PROTOBUF_attr_5fvalue_2eproto__INCLUDED4#define PROTOBUF_attr_5fvalue_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 "tensor.pb.h"35#include "tensor_shape.pb.h"36#include "types.pb.h"37// @@protoc_insertion_point(includes)3839namespace protobuf_attr_5fvalue_2eproto {40// Internal implementation detail -- do not use these members.41struct TableStruct {42static const ::google::protobuf::internal::ParseTableField entries[];43static const ::google::protobuf::internal::AuxillaryParseTableField aux[];44static const ::google::protobuf::internal::ParseTable schema[4];45static const ::google::protobuf::internal::FieldMetadata field_metadata[];46static const ::google::protobuf::internal::SerializationTable serialization_table[];47static const ::google::protobuf::uint32 offsets[];48};49void AddDescriptors();50void InitDefaultsAttrValue_ListValueImpl();51void InitDefaultsAttrValue_ListValue();52void InitDefaultsAttrValueImpl();53void InitDefaultsAttrValue();54inline void InitDefaults() {55InitDefaultsAttrValue_ListValue();56InitDefaultsAttrValue();57}58} // namespace protobuf_attr_5fvalue_2eproto59namespace opencv_tensorflow {60class AttrValue;61class AttrValueDefaultTypeInternal;62extern AttrValueDefaultTypeInternal _AttrValue_default_instance_;63class AttrValue_ListValue;64class AttrValue_ListValueDefaultTypeInternal;65extern AttrValue_ListValueDefaultTypeInternal _AttrValue_ListValue_default_instance_;66class NameAttrList;67class NameAttrListDefaultTypeInternal;68extern NameAttrListDefaultTypeInternal _NameAttrList_default_instance_;69class NameAttrList_AttrEntry_DoNotUse;70class NameAttrList_AttrEntry_DoNotUseDefaultTypeInternal;71extern NameAttrList_AttrEntry_DoNotUseDefaultTypeInternal _NameAttrList_AttrEntry_DoNotUse_default_instance_;72} // namespace opencv_tensorflow73namespace opencv_tensorflow {7475// ===================================================================7677class AttrValue_ListValue : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_tensorflow.AttrValue.ListValue) */ {78public:79AttrValue_ListValue();80virtual ~AttrValue_ListValue();8182AttrValue_ListValue(const AttrValue_ListValue& from);8384inline AttrValue_ListValue& operator=(const AttrValue_ListValue& from) {85CopyFrom(from);86return *this;87}88#if LANG_CXX1189AttrValue_ListValue(AttrValue_ListValue&& from) noexcept90: AttrValue_ListValue() {91*this = ::std::move(from);92}9394inline AttrValue_ListValue& operator=(AttrValue_ListValue&& from) noexcept {95if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {96if (this != &from) InternalSwap(&from);97} else {98CopyFrom(from);99}100return *this;101}102#endif103inline ::google::protobuf::Arena* GetArena() const PROTOBUF_FINAL {104return GetArenaNoVirtual();105}106inline void* GetMaybeArenaPointer() const PROTOBUF_FINAL {107return MaybeArenaPtr();108}109static const ::google::protobuf::Descriptor* descriptor();110static const AttrValue_ListValue& default_instance();111112static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY113static inline const AttrValue_ListValue* internal_default_instance() {114return reinterpret_cast<const AttrValue_ListValue*>(115&_AttrValue_ListValue_default_instance_);116}117static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =1180;119120void UnsafeArenaSwap(AttrValue_ListValue* other);121void Swap(AttrValue_ListValue* other);122friend void swap(AttrValue_ListValue& a, AttrValue_ListValue& b) {123a.Swap(&b);124}125126// implements Message ----------------------------------------------127128inline AttrValue_ListValue* New() const PROTOBUF_FINAL { return New(NULL); }129130AttrValue_ListValue* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;131void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;132void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;133void CopyFrom(const AttrValue_ListValue& from);134void MergeFrom(const AttrValue_ListValue& from);135void Clear() PROTOBUF_FINAL;136bool IsInitialized() const PROTOBUF_FINAL;137138size_t ByteSizeLong() const PROTOBUF_FINAL;139bool MergePartialFromCodedStream(140::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;141void SerializeWithCachedSizes(142::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;143::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(144bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;145int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }146private:147void SharedCtor();148void SharedDtor();149void SetCachedSize(int size) const PROTOBUF_FINAL;150void InternalSwap(AttrValue_ListValue* other);151protected:152explicit AttrValue_ListValue(::google::protobuf::Arena* arena);153private:154static void ArenaDtor(void* object);155inline void RegisterArenaDtor(::google::protobuf::Arena* arena);156private:157inline ::google::protobuf::Arena* GetArenaNoVirtual() const {158return _internal_metadata_.arena();159}160inline void* MaybeArenaPtr() const {161return _internal_metadata_.raw_arena_ptr();162}163public:164165::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;166167// nested types ----------------------------------------------------168169// accessors -------------------------------------------------------170171// repeated bytes s = 2;172int s_size() const;173void clear_s();174static const int kSFieldNumber = 2;175const ::std::string& s(int index) const;176::std::string* mutable_s(int index);177void set_s(int index, const ::std::string& value);178#if LANG_CXX11179void set_s(int index, ::std::string&& value);180#endif181void set_s(int index, const char* value);182void set_s(int index, const void* value, size_t size);183::std::string* add_s();184void add_s(const ::std::string& value);185#if LANG_CXX11186void add_s(::std::string&& value);187#endif188void add_s(const char* value);189void add_s(const void* value, size_t size);190const ::google::protobuf::RepeatedPtrField< ::std::string>& s() const;191::google::protobuf::RepeatedPtrField< ::std::string>* mutable_s();192193// repeated int64 i = 3 [packed = true];194int i_size() const;195void clear_i();196static const int kIFieldNumber = 3;197::google::protobuf::int64 i(int index) const;198void set_i(int index, ::google::protobuf::int64 value);199void add_i(::google::protobuf::int64 value);200const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&201i() const;202::google::protobuf::RepeatedField< ::google::protobuf::int64 >*203mutable_i();204205// repeated float f = 4 [packed = true];206int f_size() const;207void clear_f();208static const int kFFieldNumber = 4;209float f(int index) const;210void set_f(int index, float value);211void add_f(float value);212const ::google::protobuf::RepeatedField< float >&213f() const;214::google::protobuf::RepeatedField< float >*215mutable_f();216217// repeated bool b = 5 [packed = true];218int b_size() const;219void clear_b();220static const int kBFieldNumber = 5;221bool b(int index) const;222void set_b(int index, bool value);223void add_b(bool value);224const ::google::protobuf::RepeatedField< bool >&225b() const;226::google::protobuf::RepeatedField< bool >*227mutable_b();228229// repeated .opencv_tensorflow.DataType type = 6 [packed = true];230int type_size() const;231void clear_type();232static const int kTypeFieldNumber = 6;233::opencv_tensorflow::DataType type(int index) const;234void set_type(int index, ::opencv_tensorflow::DataType value);235void add_type(::opencv_tensorflow::DataType value);236const ::google::protobuf::RepeatedField<int>& type() const;237::google::protobuf::RepeatedField<int>* mutable_type();238239// repeated .opencv_tensorflow.TensorShapeProto shape = 7;240int shape_size() const;241void clear_shape();242static const int kShapeFieldNumber = 7;243const ::opencv_tensorflow::TensorShapeProto& shape(int index) const;244::opencv_tensorflow::TensorShapeProto* mutable_shape(int index);245::opencv_tensorflow::TensorShapeProto* add_shape();246::google::protobuf::RepeatedPtrField< ::opencv_tensorflow::TensorShapeProto >*247mutable_shape();248const ::google::protobuf::RepeatedPtrField< ::opencv_tensorflow::TensorShapeProto >&249shape() const;250251// repeated .opencv_tensorflow.TensorProto tensor = 8;252int tensor_size() const;253void clear_tensor();254static const int kTensorFieldNumber = 8;255const ::opencv_tensorflow::TensorProto& tensor(int index) const;256::opencv_tensorflow::TensorProto* mutable_tensor(int index);257::opencv_tensorflow::TensorProto* add_tensor();258::google::protobuf::RepeatedPtrField< ::opencv_tensorflow::TensorProto >*259mutable_tensor();260const ::google::protobuf::RepeatedPtrField< ::opencv_tensorflow::TensorProto >&261tensor() const;262263// @@protoc_insertion_point(class_scope:opencv_tensorflow.AttrValue.ListValue)264private:265266::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;267template <typename T> friend class ::google::protobuf::Arena::InternalHelper;268typedef void InternalArenaConstructable_;269typedef void DestructorSkippable_;270::google::protobuf::RepeatedPtrField< ::std::string> s_;271::google::protobuf::RepeatedField< ::google::protobuf::int64 > i_;272mutable int _i_cached_byte_size_;273::google::protobuf::RepeatedField< float > f_;274mutable int _f_cached_byte_size_;275::google::protobuf::RepeatedField< bool > b_;276mutable int _b_cached_byte_size_;277::google::protobuf::RepeatedField<int> type_;278mutable int _type_cached_byte_size_;279::google::protobuf::RepeatedPtrField< ::opencv_tensorflow::TensorShapeProto > shape_;280::google::protobuf::RepeatedPtrField< ::opencv_tensorflow::TensorProto > tensor_;281mutable int _cached_size_;282friend struct ::protobuf_attr_5fvalue_2eproto::TableStruct;283friend void ::protobuf_attr_5fvalue_2eproto::InitDefaultsAttrValue_ListValueImpl();284};285// -------------------------------------------------------------------286287class AttrValue : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_tensorflow.AttrValue) */ {288public:289AttrValue();290virtual ~AttrValue();291292AttrValue(const AttrValue& from);293294inline AttrValue& operator=(const AttrValue& from) {295CopyFrom(from);296return *this;297}298#if LANG_CXX11299AttrValue(AttrValue&& from) noexcept300: AttrValue() {301*this = ::std::move(from);302}303304inline AttrValue& operator=(AttrValue&& from) noexcept {305if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {306if (this != &from) InternalSwap(&from);307} else {308CopyFrom(from);309}310return *this;311}312#endif313inline ::google::protobuf::Arena* GetArena() const PROTOBUF_FINAL {314return GetArenaNoVirtual();315}316inline void* GetMaybeArenaPointer() const PROTOBUF_FINAL {317return MaybeArenaPtr();318}319static const ::google::protobuf::Descriptor* descriptor();320static const AttrValue& default_instance();321322enum ValueCase {323kS = 2,324kI = 3,325kF = 4,326kB = 5,327kType = 6,328kShape = 7,329kTensor = 8,330kList = 1,331kFunc = 10,332kPlaceholder = 9,333VALUE_NOT_SET = 0,334};335336static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY337static inline const AttrValue* internal_default_instance() {338return reinterpret_cast<const AttrValue*>(339&_AttrValue_default_instance_);340}341static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =3421;343344void UnsafeArenaSwap(AttrValue* other);345void Swap(AttrValue* other);346friend void swap(AttrValue& a, AttrValue& b) {347a.Swap(&b);348}349350// implements Message ----------------------------------------------351352inline AttrValue* New() const PROTOBUF_FINAL { return New(NULL); }353354AttrValue* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;355void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;356void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;357void CopyFrom(const AttrValue& from);358void MergeFrom(const AttrValue& from);359void Clear() PROTOBUF_FINAL;360bool IsInitialized() const PROTOBUF_FINAL;361362size_t ByteSizeLong() const PROTOBUF_FINAL;363bool MergePartialFromCodedStream(364::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;365void SerializeWithCachedSizes(366::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;367::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(368bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;369int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }370private:371void SharedCtor();372void SharedDtor();373void SetCachedSize(int size) const PROTOBUF_FINAL;374void InternalSwap(AttrValue* other);375protected:376explicit AttrValue(::google::protobuf::Arena* arena);377private:378static void ArenaDtor(void* object);379inline void RegisterArenaDtor(::google::protobuf::Arena* arena);380private:381inline ::google::protobuf::Arena* GetArenaNoVirtual() const {382return _internal_metadata_.arena();383}384inline void* MaybeArenaPtr() const {385return _internal_metadata_.raw_arena_ptr();386}387public:388389::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;390391// nested types ----------------------------------------------------392393typedef AttrValue_ListValue ListValue;394395// accessors -------------------------------------------------------396397// bytes s = 2;398private:399bool has_s() const;400public:401void clear_s();402static const int kSFieldNumber = 2;403const ::std::string& s() const;404void set_s(const ::std::string& value);405#if LANG_CXX11406void set_s(::std::string&& value);407#endif408void set_s(const char* value);409void set_s(const void* value, size_t size);410::std::string* mutable_s();411::std::string* release_s();412void set_allocated_s(::std::string* s);413PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"414" string fields are deprecated and will be removed in a"415" future release.")416::std::string* unsafe_arena_release_s();417PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"418" string fields are deprecated and will be removed in a"419" future release.")420void unsafe_arena_set_allocated_s(421::std::string* s);422423// int64 i = 3;424private:425bool has_i() const;426public:427void clear_i();428static const int kIFieldNumber = 3;429::google::protobuf::int64 i() const;430void set_i(::google::protobuf::int64 value);431432// float f = 4;433private:434bool has_f() const;435public:436void clear_f();437static const int kFFieldNumber = 4;438float f() const;439void set_f(float value);440441// bool b = 5;442private:443bool has_b() const;444public:445void clear_b();446static const int kBFieldNumber = 5;447bool b() const;448void set_b(bool value);449450// .opencv_tensorflow.DataType type = 6;451private:452bool has_type() const;453public:454void clear_type();455static const int kTypeFieldNumber = 6;456::opencv_tensorflow::DataType type() const;457void set_type(::opencv_tensorflow::DataType value);458459// .opencv_tensorflow.TensorShapeProto shape = 7;460bool has_shape() const;461void clear_shape();462static const int kShapeFieldNumber = 7;463private:464void _slow_mutable_shape();465public:466const ::opencv_tensorflow::TensorShapeProto& shape() const;467::opencv_tensorflow::TensorShapeProto* release_shape();468::opencv_tensorflow::TensorShapeProto* mutable_shape();469void set_allocated_shape(::opencv_tensorflow::TensorShapeProto* shape);470void unsafe_arena_set_allocated_shape(471::opencv_tensorflow::TensorShapeProto* shape);472::opencv_tensorflow::TensorShapeProto* unsafe_arena_release_shape();473474// .opencv_tensorflow.TensorProto tensor = 8;475bool has_tensor() const;476void clear_tensor();477static const int kTensorFieldNumber = 8;478private:479void _slow_mutable_tensor();480public:481const ::opencv_tensorflow::TensorProto& tensor() const;482::opencv_tensorflow::TensorProto* release_tensor();483::opencv_tensorflow::TensorProto* mutable_tensor();484void set_allocated_tensor(::opencv_tensorflow::TensorProto* tensor);485void unsafe_arena_set_allocated_tensor(486::opencv_tensorflow::TensorProto* tensor);487::opencv_tensorflow::TensorProto* unsafe_arena_release_tensor();488489// .opencv_tensorflow.AttrValue.ListValue list = 1;490bool has_list() const;491void clear_list();492static const int kListFieldNumber = 1;493private:494void _slow_mutable_list();495public:496const ::opencv_tensorflow::AttrValue_ListValue& list() const;497::opencv_tensorflow::AttrValue_ListValue* release_list();498::opencv_tensorflow::AttrValue_ListValue* mutable_list();499void set_allocated_list(::opencv_tensorflow::AttrValue_ListValue* list);500void unsafe_arena_set_allocated_list(501::opencv_tensorflow::AttrValue_ListValue* list);502::opencv_tensorflow::AttrValue_ListValue* unsafe_arena_release_list();503504// .opencv_tensorflow.NameAttrList func = 10;505bool has_func() const;506void clear_func();507static const int kFuncFieldNumber = 10;508private:509void _slow_mutable_func();510public:511const ::opencv_tensorflow::NameAttrList& func() const;512::opencv_tensorflow::NameAttrList* release_func();513::opencv_tensorflow::NameAttrList* mutable_func();514void set_allocated_func(::opencv_tensorflow::NameAttrList* func);515void unsafe_arena_set_allocated_func(516::opencv_tensorflow::NameAttrList* func);517::opencv_tensorflow::NameAttrList* unsafe_arena_release_func();518519// string placeholder = 9;520private:521bool has_placeholder() const;522public:523void clear_placeholder();524static const int kPlaceholderFieldNumber = 9;525const ::std::string& placeholder() const;526void set_placeholder(const ::std::string& value);527#if LANG_CXX11528void set_placeholder(::std::string&& value);529#endif530void set_placeholder(const char* value);531void set_placeholder(const char* value, size_t size);532::std::string* mutable_placeholder();533::std::string* release_placeholder();534void set_allocated_placeholder(::std::string* placeholder);535PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"536" string fields are deprecated and will be removed in a"537" future release.")538::std::string* unsafe_arena_release_placeholder();539PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"540" string fields are deprecated and will be removed in a"541" future release.")542void unsafe_arena_set_allocated_placeholder(543::std::string* placeholder);544545ValueCase value_case() const;546// @@protoc_insertion_point(class_scope:opencv_tensorflow.AttrValue)547private:548void set_has_s();549void set_has_i();550void set_has_f();551void set_has_b();552void set_has_type();553void set_has_shape();554void set_has_tensor();555void set_has_list();556void set_has_func();557void set_has_placeholder();558559inline bool has_value() const;560void clear_value();561inline void clear_has_value();562563::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;564template <typename T> friend class ::google::protobuf::Arena::InternalHelper;565typedef void InternalArenaConstructable_;566typedef void DestructorSkippable_;567union ValueUnion {568ValueUnion() {}569::google::protobuf::internal::ArenaStringPtr s_;570::google::protobuf::int64 i_;571float f_;572bool b_;573int type_;574::opencv_tensorflow::TensorShapeProto* shape_;575::opencv_tensorflow::TensorProto* tensor_;576::opencv_tensorflow::AttrValue_ListValue* list_;577::opencv_tensorflow::NameAttrList* func_;578::google::protobuf::internal::ArenaStringPtr placeholder_;579} value_;580mutable int _cached_size_;581::google::protobuf::uint32 _oneof_case_[1];582583friend struct ::protobuf_attr_5fvalue_2eproto::TableStruct;584friend void ::protobuf_attr_5fvalue_2eproto::InitDefaultsAttrValueImpl();585};586// -------------------------------------------------------------------587588class NameAttrList_AttrEntry_DoNotUse : public ::google::protobuf::internal::MapEntry<NameAttrList_AttrEntry_DoNotUse,589::std::string, ::opencv_tensorflow::AttrValue,590::google::protobuf::internal::WireFormatLite::TYPE_STRING,591::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE,5920 > {593public:594typedef ::google::protobuf::internal::MapEntry<NameAttrList_AttrEntry_DoNotUse,595::std::string, ::opencv_tensorflow::AttrValue,596::google::protobuf::internal::WireFormatLite::TYPE_STRING,597::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE,5980 > SuperType;599NameAttrList_AttrEntry_DoNotUse();600NameAttrList_AttrEntry_DoNotUse(::google::protobuf::Arena* arena);601void MergeFrom(const NameAttrList_AttrEntry_DoNotUse& other);602static const NameAttrList_AttrEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const NameAttrList_AttrEntry_DoNotUse*>(&_NameAttrList_AttrEntry_DoNotUse_default_instance_); }603void MergeFrom(const ::google::protobuf::Message& other) PROTOBUF_FINAL;604::google::protobuf::Metadata GetMetadata() const;605};606607// -------------------------------------------------------------------608609class NameAttrList : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_tensorflow.NameAttrList) */ {610public:611NameAttrList();612virtual ~NameAttrList();613614NameAttrList(const NameAttrList& from);615616inline NameAttrList& operator=(const NameAttrList& from) {617CopyFrom(from);618return *this;619}620#if LANG_CXX11621NameAttrList(NameAttrList&& from) noexcept622: NameAttrList() {623*this = ::std::move(from);624}625626inline NameAttrList& operator=(NameAttrList&& from) noexcept {627if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {628if (this != &from) InternalSwap(&from);629} else {630CopyFrom(from);631}632return *this;633}634#endif635inline ::google::protobuf::Arena* GetArena() const PROTOBUF_FINAL {636return GetArenaNoVirtual();637}638inline void* GetMaybeArenaPointer() const PROTOBUF_FINAL {639return MaybeArenaPtr();640}641static const ::google::protobuf::Descriptor* descriptor();642static const NameAttrList& default_instance();643644static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY645static inline const NameAttrList* internal_default_instance() {646return reinterpret_cast<const NameAttrList*>(647&_NameAttrList_default_instance_);648}649static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =6503;651652void UnsafeArenaSwap(NameAttrList* other);653void Swap(NameAttrList* other);654friend void swap(NameAttrList& a, NameAttrList& b) {655a.Swap(&b);656}657658// implements Message ----------------------------------------------659660inline NameAttrList* New() const PROTOBUF_FINAL { return New(NULL); }661662NameAttrList* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;663void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;664void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;665void CopyFrom(const NameAttrList& from);666void MergeFrom(const NameAttrList& from);667void Clear() PROTOBUF_FINAL;668bool IsInitialized() const PROTOBUF_FINAL;669670size_t ByteSizeLong() const PROTOBUF_FINAL;671bool MergePartialFromCodedStream(672::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;673void SerializeWithCachedSizes(674::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;675::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(676bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;677int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }678private:679void SharedCtor();680void SharedDtor();681void SetCachedSize(int size) const PROTOBUF_FINAL;682void InternalSwap(NameAttrList* other);683protected:684explicit NameAttrList(::google::protobuf::Arena* arena);685private:686static void ArenaDtor(void* object);687inline void RegisterArenaDtor(::google::protobuf::Arena* arena);688private:689inline ::google::protobuf::Arena* GetArenaNoVirtual() const {690return _internal_metadata_.arena();691}692inline void* MaybeArenaPtr() const {693return _internal_metadata_.raw_arena_ptr();694}695public:696697::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;698699// nested types ----------------------------------------------------700701702// accessors -------------------------------------------------------703704// map<string, .opencv_tensorflow.AttrValue> attr = 2;705int attr_size() const;706void clear_attr();707static const int kAttrFieldNumber = 2;708const ::google::protobuf::Map< ::std::string, ::opencv_tensorflow::AttrValue >&709attr() const;710::google::protobuf::Map< ::std::string, ::opencv_tensorflow::AttrValue >*711mutable_attr();712713// string name = 1;714void clear_name();715static const int kNameFieldNumber = 1;716const ::std::string& name() const;717void set_name(const ::std::string& value);718#if LANG_CXX11719void set_name(::std::string&& value);720#endif721void set_name(const char* value);722void set_name(const char* value, size_t size);723::std::string* mutable_name();724::std::string* release_name();725void set_allocated_name(::std::string* name);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_name();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_name(734::std::string* name);735736// @@protoc_insertion_point(class_scope:opencv_tensorflow.NameAttrList)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::MapField<744NameAttrList_AttrEntry_DoNotUse,745::std::string, ::opencv_tensorflow::AttrValue,746::google::protobuf::internal::WireFormatLite::TYPE_STRING,747::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE,7480 > attr_;749::google::protobuf::internal::ArenaStringPtr name_;750mutable int _cached_size_;751friend struct ::protobuf_attr_5fvalue_2eproto::TableStruct;752friend void ::protobuf_attr_5fvalue_2eproto::InitDefaultsAttrValueImpl();753};754// ===================================================================755756757// ===================================================================758759#ifdef __GNUC__760#pragma GCC diagnostic push761#pragma GCC diagnostic ignored "-Wstrict-aliasing"762#endif // __GNUC__763// AttrValue_ListValue764765// repeated bytes s = 2;766inline int AttrValue_ListValue::s_size() const {767return s_.size();768}769inline void AttrValue_ListValue::clear_s() {770s_.Clear();771}772inline const ::std::string& AttrValue_ListValue::s(int index) const {773// @@protoc_insertion_point(field_get:opencv_tensorflow.AttrValue.ListValue.s)774return s_.Get(index);775}776inline ::std::string* AttrValue_ListValue::mutable_s(int index) {777// @@protoc_insertion_point(field_mutable:opencv_tensorflow.AttrValue.ListValue.s)778return s_.Mutable(index);779}780inline void AttrValue_ListValue::set_s(int index, const ::std::string& value) {781// @@protoc_insertion_point(field_set:opencv_tensorflow.AttrValue.ListValue.s)782s_.Mutable(index)->assign(value);783}784#if LANG_CXX11785inline void AttrValue_ListValue::set_s(int index, ::std::string&& value) {786// @@protoc_insertion_point(field_set:opencv_tensorflow.AttrValue.ListValue.s)787s_.Mutable(index)->assign(std::move(value));788}789#endif790inline void AttrValue_ListValue::set_s(int index, const char* value) {791GOOGLE_DCHECK(value != NULL);792s_.Mutable(index)->assign(value);793// @@protoc_insertion_point(field_set_char:opencv_tensorflow.AttrValue.ListValue.s)794}795inline void AttrValue_ListValue::set_s(int index, const void* value, size_t size) {796s_.Mutable(index)->assign(797reinterpret_cast<const char*>(value), size);798// @@protoc_insertion_point(field_set_pointer:opencv_tensorflow.AttrValue.ListValue.s)799}800inline ::std::string* AttrValue_ListValue::add_s() {801// @@protoc_insertion_point(field_add_mutable:opencv_tensorflow.AttrValue.ListValue.s)802return s_.Add();803}804inline void AttrValue_ListValue::add_s(const ::std::string& value) {805s_.Add()->assign(value);806// @@protoc_insertion_point(field_add:opencv_tensorflow.AttrValue.ListValue.s)807}808#if LANG_CXX11809inline void AttrValue_ListValue::add_s(::std::string&& value) {810s_.Add(std::move(value));811// @@protoc_insertion_point(field_add:opencv_tensorflow.AttrValue.ListValue.s)812}813#endif814inline void AttrValue_ListValue::add_s(const char* value) {815GOOGLE_DCHECK(value != NULL);816s_.Add()->assign(value);817// @@protoc_insertion_point(field_add_char:opencv_tensorflow.AttrValue.ListValue.s)818}819inline void AttrValue_ListValue::add_s(const void* value, size_t size) {820s_.Add()->assign(reinterpret_cast<const char*>(value), size);821// @@protoc_insertion_point(field_add_pointer:opencv_tensorflow.AttrValue.ListValue.s)822}823inline const ::google::protobuf::RepeatedPtrField< ::std::string>&824AttrValue_ListValue::s() const {825// @@protoc_insertion_point(field_list:opencv_tensorflow.AttrValue.ListValue.s)826return s_;827}828inline ::google::protobuf::RepeatedPtrField< ::std::string>*829AttrValue_ListValue::mutable_s() {830// @@protoc_insertion_point(field_mutable_list:opencv_tensorflow.AttrValue.ListValue.s)831return &s_;832}833834// repeated int64 i = 3 [packed = true];835inline int AttrValue_ListValue::i_size() const {836return i_.size();837}838inline void AttrValue_ListValue::clear_i() {839i_.Clear();840}841inline ::google::protobuf::int64 AttrValue_ListValue::i(int index) const {842// @@protoc_insertion_point(field_get:opencv_tensorflow.AttrValue.ListValue.i)843return i_.Get(index);844}845inline void AttrValue_ListValue::set_i(int index, ::google::protobuf::int64 value) {846i_.Set(index, value);847// @@protoc_insertion_point(field_set:opencv_tensorflow.AttrValue.ListValue.i)848}849inline void AttrValue_ListValue::add_i(::google::protobuf::int64 value) {850i_.Add(value);851// @@protoc_insertion_point(field_add:opencv_tensorflow.AttrValue.ListValue.i)852}853inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&854AttrValue_ListValue::i() const {855// @@protoc_insertion_point(field_list:opencv_tensorflow.AttrValue.ListValue.i)856return i_;857}858inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*859AttrValue_ListValue::mutable_i() {860// @@protoc_insertion_point(field_mutable_list:opencv_tensorflow.AttrValue.ListValue.i)861return &i_;862}863864// repeated float f = 4 [packed = true];865inline int AttrValue_ListValue::f_size() const {866return f_.size();867}868inline void AttrValue_ListValue::clear_f() {869f_.Clear();870}871inline float AttrValue_ListValue::f(int index) const {872// @@protoc_insertion_point(field_get:opencv_tensorflow.AttrValue.ListValue.f)873return f_.Get(index);874}875inline void AttrValue_ListValue::set_f(int index, float value) {876f_.Set(index, value);877// @@protoc_insertion_point(field_set:opencv_tensorflow.AttrValue.ListValue.f)878}879inline void AttrValue_ListValue::add_f(float value) {880f_.Add(value);881// @@protoc_insertion_point(field_add:opencv_tensorflow.AttrValue.ListValue.f)882}883inline const ::google::protobuf::RepeatedField< float >&884AttrValue_ListValue::f() const {885// @@protoc_insertion_point(field_list:opencv_tensorflow.AttrValue.ListValue.f)886return f_;887}888inline ::google::protobuf::RepeatedField< float >*889AttrValue_ListValue::mutable_f() {890// @@protoc_insertion_point(field_mutable_list:opencv_tensorflow.AttrValue.ListValue.f)891return &f_;892}893894// repeated bool b = 5 [packed = true];895inline int AttrValue_ListValue::b_size() const {896return b_.size();897}898inline void AttrValue_ListValue::clear_b() {899b_.Clear();900}901inline bool AttrValue_ListValue::b(int index) const {902// @@protoc_insertion_point(field_get:opencv_tensorflow.AttrValue.ListValue.b)903return b_.Get(index);904}905inline void AttrValue_ListValue::set_b(int index, bool value) {906b_.Set(index, value);907// @@protoc_insertion_point(field_set:opencv_tensorflow.AttrValue.ListValue.b)908}909inline void AttrValue_ListValue::add_b(bool value) {910b_.Add(value);911// @@protoc_insertion_point(field_add:opencv_tensorflow.AttrValue.ListValue.b)912}913inline const ::google::protobuf::RepeatedField< bool >&914AttrValue_ListValue::b() const {915// @@protoc_insertion_point(field_list:opencv_tensorflow.AttrValue.ListValue.b)916return b_;917}918inline ::google::protobuf::RepeatedField< bool >*919AttrValue_ListValue::mutable_b() {920// @@protoc_insertion_point(field_mutable_list:opencv_tensorflow.AttrValue.ListValue.b)921return &b_;922}923924// repeated .opencv_tensorflow.DataType type = 6 [packed = true];925inline int AttrValue_ListValue::type_size() const {926return type_.size();927}928inline void AttrValue_ListValue::clear_type() {929type_.Clear();930}931inline ::opencv_tensorflow::DataType AttrValue_ListValue::type(int index) const {932// @@protoc_insertion_point(field_get:opencv_tensorflow.AttrValue.ListValue.type)933return static_cast< ::opencv_tensorflow::DataType >(type_.Get(index));934}935inline void AttrValue_ListValue::set_type(int index, ::opencv_tensorflow::DataType value) {936type_.Set(index, value);937// @@protoc_insertion_point(field_set:opencv_tensorflow.AttrValue.ListValue.type)938}939inline void AttrValue_ListValue::add_type(::opencv_tensorflow::DataType value) {940type_.Add(value);941// @@protoc_insertion_point(field_add:opencv_tensorflow.AttrValue.ListValue.type)942}943inline const ::google::protobuf::RepeatedField<int>&944AttrValue_ListValue::type() const {945// @@protoc_insertion_point(field_list:opencv_tensorflow.AttrValue.ListValue.type)946return type_;947}948inline ::google::protobuf::RepeatedField<int>*949AttrValue_ListValue::mutable_type() {950// @@protoc_insertion_point(field_mutable_list:opencv_tensorflow.AttrValue.ListValue.type)951return &type_;952}953954// repeated .opencv_tensorflow.TensorShapeProto shape = 7;955inline int AttrValue_ListValue::shape_size() const {956return shape_.size();957}958inline const ::opencv_tensorflow::TensorShapeProto& AttrValue_ListValue::shape(int index) const {959// @@protoc_insertion_point(field_get:opencv_tensorflow.AttrValue.ListValue.shape)960return shape_.Get(index);961}962inline ::opencv_tensorflow::TensorShapeProto* AttrValue_ListValue::mutable_shape(int index) {963// @@protoc_insertion_point(field_mutable:opencv_tensorflow.AttrValue.ListValue.shape)964return shape_.Mutable(index);965}966inline ::opencv_tensorflow::TensorShapeProto* AttrValue_ListValue::add_shape() {967// @@protoc_insertion_point(field_add:opencv_tensorflow.AttrValue.ListValue.shape)968return shape_.Add();969}970inline ::google::protobuf::RepeatedPtrField< ::opencv_tensorflow::TensorShapeProto >*971AttrValue_ListValue::mutable_shape() {972// @@protoc_insertion_point(field_mutable_list:opencv_tensorflow.AttrValue.ListValue.shape)973return &shape_;974}975inline const ::google::protobuf::RepeatedPtrField< ::opencv_tensorflow::TensorShapeProto >&976AttrValue_ListValue::shape() const {977// @@protoc_insertion_point(field_list:opencv_tensorflow.AttrValue.ListValue.shape)978return shape_;979}980981// repeated .opencv_tensorflow.TensorProto tensor = 8;982inline int AttrValue_ListValue::tensor_size() const {983return tensor_.size();984}985inline const ::opencv_tensorflow::TensorProto& AttrValue_ListValue::tensor(int index) const {986// @@protoc_insertion_point(field_get:opencv_tensorflow.AttrValue.ListValue.tensor)987return tensor_.Get(index);988}989inline ::opencv_tensorflow::TensorProto* AttrValue_ListValue::mutable_tensor(int index) {990// @@protoc_insertion_point(field_mutable:opencv_tensorflow.AttrValue.ListValue.tensor)991return tensor_.Mutable(index);992}993inline ::opencv_tensorflow::TensorProto* AttrValue_ListValue::add_tensor() {994// @@protoc_insertion_point(field_add:opencv_tensorflow.AttrValue.ListValue.tensor)995return tensor_.Add();996}997inline ::google::protobuf::RepeatedPtrField< ::opencv_tensorflow::TensorProto >*998AttrValue_ListValue::mutable_tensor() {999// @@protoc_insertion_point(field_mutable_list:opencv_tensorflow.AttrValue.ListValue.tensor)1000return &tensor_;1001}1002inline const ::google::protobuf::RepeatedPtrField< ::opencv_tensorflow::TensorProto >&1003AttrValue_ListValue::tensor() const {1004// @@protoc_insertion_point(field_list:opencv_tensorflow.AttrValue.ListValue.tensor)1005return tensor_;1006}10071008// -------------------------------------------------------------------10091010// AttrValue10111012// bytes s = 2;1013inline bool AttrValue::has_s() const {1014return value_case() == kS;1015}1016inline void AttrValue::set_has_s() {1017_oneof_case_[0] = kS;1018}1019inline void AttrValue::clear_s() {1020if (has_s()) {1021value_.s_.Destroy(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),1022GetArenaNoVirtual());1023clear_has_value();1024}1025}1026inline const ::std::string& AttrValue::s() const {1027// @@protoc_insertion_point(field_get:opencv_tensorflow.AttrValue.s)1028if (has_s()) {1029return value_.s_.Get();1030}1031return *&::google::protobuf::internal::GetEmptyStringAlreadyInited();1032}1033inline void AttrValue::set_s(const ::std::string& value) {1034if (!has_s()) {1035clear_value();1036set_has_s();1037value_.s_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());1038}1039value_.s_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value,1040GetArenaNoVirtual());1041// @@protoc_insertion_point(field_set:opencv_tensorflow.AttrValue.s)1042}1043#if LANG_CXX111044inline void AttrValue::set_s(::std::string&& value) {1045// @@protoc_insertion_point(field_set:opencv_tensorflow.AttrValue.s)1046if (!has_s()) {1047clear_value();1048set_has_s();1049value_.s_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());1050}1051value_.s_.Set(1052&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());1053// @@protoc_insertion_point(field_set_rvalue:opencv_tensorflow.AttrValue.s)1054}1055#endif1056inline void AttrValue::set_s(const char* value) {1057GOOGLE_DCHECK(value != NULL);1058if (!has_s()) {1059clear_value();1060set_has_s();1061value_.s_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());1062}1063value_.s_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),1064::std::string(value), GetArenaNoVirtual());1065// @@protoc_insertion_point(field_set_char:opencv_tensorflow.AttrValue.s)1066}1067inline void AttrValue::set_s(const void* value,1068size_t size) {1069if (!has_s()) {1070clear_value();1071set_has_s();1072value_.s_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());1073}1074value_.s_.Set(1075&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(1076reinterpret_cast<const char*>(value), size),1077GetArenaNoVirtual());1078// @@protoc_insertion_point(field_set_pointer:opencv_tensorflow.AttrValue.s)1079}1080inline ::std::string* AttrValue::mutable_s() {1081if (!has_s()) {1082clear_value();1083set_has_s();1084value_.s_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());1085}1086return value_.s_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),1087GetArenaNoVirtual());1088// @@protoc_insertion_point(field_mutable:opencv_tensorflow.AttrValue.s)1089}1090inline ::std::string* AttrValue::release_s() {1091// @@protoc_insertion_point(field_release:opencv_tensorflow.AttrValue.s)1092if (has_s()) {1093clear_has_value();1094return value_.s_.Release(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),1095GetArenaNoVirtual());1096} else {1097return NULL;1098}1099}1100inline void AttrValue::set_allocated_s(::std::string* s) {1101if (!has_s()) {1102value_.s_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());1103}1104clear_value();1105if (s != NULL) {1106set_has_s();1107value_.s_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), s,1108GetArenaNoVirtual());1109}1110// @@protoc_insertion_point(field_set_allocated:opencv_tensorflow.AttrValue.s)1111}1112inline ::std::string* AttrValue::unsafe_arena_release_s() {1113// @@protoc_insertion_point(field_unsafe_arena_release:opencv_tensorflow.AttrValue.s)1114GOOGLE_DCHECK(GetArenaNoVirtual() != NULL);1115if (has_s()) {1116clear_has_value();1117return value_.s_.UnsafeArenaRelease(1118&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());1119} else {1120return NULL;1121}1122}1123inline void AttrValue::unsafe_arena_set_allocated_s(::std::string* s) {1124GOOGLE_DCHECK(GetArenaNoVirtual() != NULL);1125if (!has_s()) {1126value_.s_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());1127}1128clear_value();1129if (s) {1130set_has_s();1131value_.s_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), s, GetArenaNoVirtual());1132}1133// @@protoc_insertion_point(field_unsafe_arena_set_allocated:opencv_tensorflow.AttrValue.s)1134}11351136// int64 i = 3;1137inline bool AttrValue::has_i() const {1138return value_case() == kI;1139}1140inline void AttrValue::set_has_i() {1141_oneof_case_[0] = kI;1142}1143inline void AttrValue::clear_i() {1144if (has_i()) {1145value_.i_ = GOOGLE_LONGLONG(0);1146clear_has_value();1147}1148}1149inline ::google::protobuf::int64 AttrValue::i() const {1150// @@protoc_insertion_point(field_get:opencv_tensorflow.AttrValue.i)1151if (has_i()) {1152return value_.i_;1153}1154return GOOGLE_LONGLONG(0);1155}1156inline void AttrValue::set_i(::google::protobuf::int64 value) {1157if (!has_i()) {1158clear_value();1159set_has_i();1160}1161value_.i_ = value;1162// @@protoc_insertion_point(field_set:opencv_tensorflow.AttrValue.i)1163}11641165// float f = 4;1166inline bool AttrValue::has_f() const {1167return value_case() == kF;1168}1169inline void AttrValue::set_has_f() {1170_oneof_case_[0] = kF;1171}1172inline void AttrValue::clear_f() {1173if (has_f()) {1174value_.f_ = 0;1175clear_has_value();1176}1177}1178inline float AttrValue::f() const {1179// @@protoc_insertion_point(field_get:opencv_tensorflow.AttrValue.f)1180if (has_f()) {1181return value_.f_;1182}1183return 0;1184}1185inline void AttrValue::set_f(float value) {1186if (!has_f()) {1187clear_value();1188set_has_f();1189}1190value_.f_ = value;1191// @@protoc_insertion_point(field_set:opencv_tensorflow.AttrValue.f)1192}11931194// bool b = 5;1195inline bool AttrValue::has_b() const {1196return value_case() == kB;1197}1198inline void AttrValue::set_has_b() {1199_oneof_case_[0] = kB;1200}1201inline void AttrValue::clear_b() {1202if (has_b()) {1203value_.b_ = false;1204clear_has_value();1205}1206}1207inline bool AttrValue::b() const {1208// @@protoc_insertion_point(field_get:opencv_tensorflow.AttrValue.b)1209if (has_b()) {1210return value_.b_;1211}1212return false;1213}1214inline void AttrValue::set_b(bool value) {1215if (!has_b()) {1216clear_value();1217set_has_b();1218}1219value_.b_ = value;1220// @@protoc_insertion_point(field_set:opencv_tensorflow.AttrValue.b)1221}12221223// .opencv_tensorflow.DataType type = 6;1224inline bool AttrValue::has_type() const {1225return value_case() == kType;1226}1227inline void AttrValue::set_has_type() {1228_oneof_case_[0] = kType;1229}1230inline void AttrValue::clear_type() {1231if (has_type()) {1232value_.type_ = 0;1233clear_has_value();1234}1235}1236inline ::opencv_tensorflow::DataType AttrValue::type() const {1237// @@protoc_insertion_point(field_get:opencv_tensorflow.AttrValue.type)1238if (has_type()) {1239return static_cast< ::opencv_tensorflow::DataType >(value_.type_);1240}1241return static_cast< ::opencv_tensorflow::DataType >(0);1242}1243inline void AttrValue::set_type(::opencv_tensorflow::DataType value) {1244if (!has_type()) {1245clear_value();1246set_has_type();1247}1248value_.type_ = value;1249// @@protoc_insertion_point(field_set:opencv_tensorflow.AttrValue.type)1250}12511252// .opencv_tensorflow.TensorShapeProto shape = 7;1253inline bool AttrValue::has_shape() const {1254return value_case() == kShape;1255}1256inline void AttrValue::set_has_shape() {1257_oneof_case_[0] = kShape;1258}1259inline ::opencv_tensorflow::TensorShapeProto* AttrValue::release_shape() {1260// @@protoc_insertion_point(field_release:opencv_tensorflow.AttrValue.shape)1261if (has_shape()) {1262clear_has_value();1263::opencv_tensorflow::TensorShapeProto* temp = value_.shape_;1264if (GetArenaNoVirtual() != NULL) {1265temp = ::google::protobuf::internal::DuplicateIfNonNull(temp, NULL);1266}1267value_.shape_ = NULL;1268return temp;1269} else {1270return NULL;1271}1272}1273inline const ::opencv_tensorflow::TensorShapeProto& AttrValue::shape() const {1274// @@protoc_insertion_point(field_get:opencv_tensorflow.AttrValue.shape)1275return has_shape()1276? *value_.shape_1277: *reinterpret_cast< ::opencv_tensorflow::TensorShapeProto*>(&::opencv_tensorflow::_TensorShapeProto_default_instance_);1278}1279inline ::opencv_tensorflow::TensorShapeProto* AttrValue::unsafe_arena_release_shape() {1280// @@protoc_insertion_point(field_unsafe_arena_release:opencv_tensorflow.AttrValue.shape)1281if (has_shape()) {1282clear_has_value();1283::opencv_tensorflow::TensorShapeProto* temp = value_.shape_;1284value_.shape_ = NULL;1285return temp;1286} else {1287return NULL;1288}1289}1290inline void AttrValue::unsafe_arena_set_allocated_shape(::opencv_tensorflow::TensorShapeProto* shape) {1291clear_value();1292if (shape) {1293set_has_shape();1294value_.shape_ = shape;1295}1296// @@protoc_insertion_point(field_unsafe_arena_set_allocated:opencv_tensorflow.AttrValue.shape)1297}1298inline ::opencv_tensorflow::TensorShapeProto* AttrValue::mutable_shape() {1299if (!has_shape()) {1300clear_value();1301set_has_shape();1302value_.shape_ =1303::google::protobuf::Arena::CreateMessage< ::opencv_tensorflow::TensorShapeProto >(1304GetArenaNoVirtual());1305}1306// @@protoc_insertion_point(field_mutable:opencv_tensorflow.AttrValue.shape)1307return value_.shape_;1308}13091310// .opencv_tensorflow.TensorProto tensor = 8;1311inline bool AttrValue::has_tensor() const {1312return value_case() == kTensor;1313}1314inline void AttrValue::set_has_tensor() {1315_oneof_case_[0] = kTensor;1316}1317inline ::opencv_tensorflow::TensorProto* AttrValue::release_tensor() {1318// @@protoc_insertion_point(field_release:opencv_tensorflow.AttrValue.tensor)1319if (has_tensor()) {1320clear_has_value();1321::opencv_tensorflow::TensorProto* temp = value_.tensor_;1322if (GetArenaNoVirtual() != NULL) {1323temp = ::google::protobuf::internal::DuplicateIfNonNull(temp, NULL);1324}1325value_.tensor_ = NULL;1326return temp;1327} else {1328return NULL;1329}1330}1331inline const ::opencv_tensorflow::TensorProto& AttrValue::tensor() const {1332// @@protoc_insertion_point(field_get:opencv_tensorflow.AttrValue.tensor)1333return has_tensor()1334? *value_.tensor_1335: *reinterpret_cast< ::opencv_tensorflow::TensorProto*>(&::opencv_tensorflow::_TensorProto_default_instance_);1336}1337inline ::opencv_tensorflow::TensorProto* AttrValue::unsafe_arena_release_tensor() {1338// @@protoc_insertion_point(field_unsafe_arena_release:opencv_tensorflow.AttrValue.tensor)1339if (has_tensor()) {1340clear_has_value();1341::opencv_tensorflow::TensorProto* temp = value_.tensor_;1342value_.tensor_ = NULL;1343return temp;1344} else {1345return NULL;1346}1347}1348inline void AttrValue::unsafe_arena_set_allocated_tensor(::opencv_tensorflow::TensorProto* tensor) {1349clear_value();1350if (tensor) {1351set_has_tensor();1352value_.tensor_ = tensor;1353}1354// @@protoc_insertion_point(field_unsafe_arena_set_allocated:opencv_tensorflow.AttrValue.tensor)1355}1356inline ::opencv_tensorflow::TensorProto* AttrValue::mutable_tensor() {1357if (!has_tensor()) {1358clear_value();1359set_has_tensor();1360value_.tensor_ =1361::google::protobuf::Arena::CreateMessage< ::opencv_tensorflow::TensorProto >(1362GetArenaNoVirtual());1363}1364// @@protoc_insertion_point(field_mutable:opencv_tensorflow.AttrValue.tensor)1365return value_.tensor_;1366}13671368// .opencv_tensorflow.AttrValue.ListValue list = 1;1369inline bool AttrValue::has_list() const {1370return value_case() == kList;1371}1372inline void AttrValue::set_has_list() {1373_oneof_case_[0] = kList;1374}1375inline void AttrValue::clear_list() {1376if (has_list()) {1377if (GetArenaNoVirtual() == NULL) {1378delete value_.list_;1379}1380clear_has_value();1381}1382}1383inline ::opencv_tensorflow::AttrValue_ListValue* AttrValue::release_list() {1384// @@protoc_insertion_point(field_release:opencv_tensorflow.AttrValue.list)1385if (has_list()) {1386clear_has_value();1387::opencv_tensorflow::AttrValue_ListValue* temp = value_.list_;1388if (GetArenaNoVirtual() != NULL) {1389temp = ::google::protobuf::internal::DuplicateIfNonNull(temp, NULL);1390}1391value_.list_ = NULL;1392return temp;1393} else {1394return NULL;1395}1396}1397inline const ::opencv_tensorflow::AttrValue_ListValue& AttrValue::list() const {1398// @@protoc_insertion_point(field_get:opencv_tensorflow.AttrValue.list)1399return has_list()1400? *value_.list_1401: *reinterpret_cast< ::opencv_tensorflow::AttrValue_ListValue*>(&::opencv_tensorflow::_AttrValue_ListValue_default_instance_);1402}1403inline ::opencv_tensorflow::AttrValue_ListValue* AttrValue::unsafe_arena_release_list() {1404// @@protoc_insertion_point(field_unsafe_arena_release:opencv_tensorflow.AttrValue.list)1405if (has_list()) {1406clear_has_value();1407::opencv_tensorflow::AttrValue_ListValue* temp = value_.list_;1408value_.list_ = NULL;1409return temp;1410} else {1411return NULL;1412}1413}1414inline void AttrValue::unsafe_arena_set_allocated_list(::opencv_tensorflow::AttrValue_ListValue* list) {1415clear_value();1416if (list) {1417set_has_list();1418value_.list_ = list;1419}1420// @@protoc_insertion_point(field_unsafe_arena_set_allocated:opencv_tensorflow.AttrValue.list)1421}1422inline ::opencv_tensorflow::AttrValue_ListValue* AttrValue::mutable_list() {1423if (!has_list()) {1424clear_value();1425set_has_list();1426value_.list_ =1427::google::protobuf::Arena::CreateMessage< ::opencv_tensorflow::AttrValue_ListValue >(1428GetArenaNoVirtual());1429}1430// @@protoc_insertion_point(field_mutable:opencv_tensorflow.AttrValue.list)1431return value_.list_;1432}14331434// .opencv_tensorflow.NameAttrList func = 10;1435inline bool AttrValue::has_func() const {1436return value_case() == kFunc;1437}1438inline void AttrValue::set_has_func() {1439_oneof_case_[0] = kFunc;1440}1441inline void AttrValue::clear_func() {1442if (has_func()) {1443if (GetArenaNoVirtual() == NULL) {1444delete value_.func_;1445}1446clear_has_value();1447}1448}1449inline ::opencv_tensorflow::NameAttrList* AttrValue::release_func() {1450// @@protoc_insertion_point(field_release:opencv_tensorflow.AttrValue.func)1451if (has_func()) {1452clear_has_value();1453::opencv_tensorflow::NameAttrList* temp = value_.func_;1454if (GetArenaNoVirtual() != NULL) {1455temp = ::google::protobuf::internal::DuplicateIfNonNull(temp, NULL);1456}1457value_.func_ = NULL;1458return temp;1459} else {1460return NULL;1461}1462}1463inline const ::opencv_tensorflow::NameAttrList& AttrValue::func() const {1464// @@protoc_insertion_point(field_get:opencv_tensorflow.AttrValue.func)1465return has_func()1466? *value_.func_1467: *reinterpret_cast< ::opencv_tensorflow::NameAttrList*>(&::opencv_tensorflow::_NameAttrList_default_instance_);1468}1469inline ::opencv_tensorflow::NameAttrList* AttrValue::unsafe_arena_release_func() {1470// @@protoc_insertion_point(field_unsafe_arena_release:opencv_tensorflow.AttrValue.func)1471if (has_func()) {1472clear_has_value();1473::opencv_tensorflow::NameAttrList* temp = value_.func_;1474value_.func_ = NULL;1475return temp;1476} else {1477return NULL;1478}1479}1480inline void AttrValue::unsafe_arena_set_allocated_func(::opencv_tensorflow::NameAttrList* func) {1481clear_value();1482if (func) {1483set_has_func();1484value_.func_ = func;1485}1486// @@protoc_insertion_point(field_unsafe_arena_set_allocated:opencv_tensorflow.AttrValue.func)1487}1488inline ::opencv_tensorflow::NameAttrList* AttrValue::mutable_func() {1489if (!has_func()) {1490clear_value();1491set_has_func();1492value_.func_ =1493::google::protobuf::Arena::CreateMessage< ::opencv_tensorflow::NameAttrList >(1494GetArenaNoVirtual());1495}1496// @@protoc_insertion_point(field_mutable:opencv_tensorflow.AttrValue.func)1497return value_.func_;1498}14991500// string placeholder = 9;1501inline bool AttrValue::has_placeholder() const {1502return value_case() == kPlaceholder;1503}1504inline void AttrValue::set_has_placeholder() {1505_oneof_case_[0] = kPlaceholder;1506}1507inline void AttrValue::clear_placeholder() {1508if (has_placeholder()) {1509value_.placeholder_.Destroy(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),1510GetArenaNoVirtual());1511clear_has_value();1512}1513}1514inline const ::std::string& AttrValue::placeholder() const {1515// @@protoc_insertion_point(field_get:opencv_tensorflow.AttrValue.placeholder)1516if (has_placeholder()) {1517return value_.placeholder_.Get();1518}1519return *&::google::protobuf::internal::GetEmptyStringAlreadyInited();1520}1521inline void AttrValue::set_placeholder(const ::std::string& value) {1522if (!has_placeholder()) {1523clear_value();1524set_has_placeholder();1525value_.placeholder_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());1526}1527value_.placeholder_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value,1528GetArenaNoVirtual());1529// @@protoc_insertion_point(field_set:opencv_tensorflow.AttrValue.placeholder)1530}1531#if LANG_CXX111532inline void AttrValue::set_placeholder(::std::string&& value) {1533// @@protoc_insertion_point(field_set:opencv_tensorflow.AttrValue.placeholder)1534if (!has_placeholder()) {1535clear_value();1536set_has_placeholder();1537value_.placeholder_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());1538}1539value_.placeholder_.Set(1540&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());1541// @@protoc_insertion_point(field_set_rvalue:opencv_tensorflow.AttrValue.placeholder)1542}1543#endif1544inline void AttrValue::set_placeholder(const char* value) {1545GOOGLE_DCHECK(value != NULL);1546if (!has_placeholder()) {1547clear_value();1548set_has_placeholder();1549value_.placeholder_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());1550}1551value_.placeholder_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),1552::std::string(value), GetArenaNoVirtual());1553// @@protoc_insertion_point(field_set_char:opencv_tensorflow.AttrValue.placeholder)1554}1555inline void AttrValue::set_placeholder(const char* value,1556size_t size) {1557if (!has_placeholder()) {1558clear_value();1559set_has_placeholder();1560value_.placeholder_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());1561}1562value_.placeholder_.Set(1563&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(1564reinterpret_cast<const char*>(value), size),1565GetArenaNoVirtual());1566// @@protoc_insertion_point(field_set_pointer:opencv_tensorflow.AttrValue.placeholder)1567}1568inline ::std::string* AttrValue::mutable_placeholder() {1569if (!has_placeholder()) {1570clear_value();1571set_has_placeholder();1572value_.placeholder_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());1573}1574return value_.placeholder_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),1575GetArenaNoVirtual());1576// @@protoc_insertion_point(field_mutable:opencv_tensorflow.AttrValue.placeholder)1577}1578inline ::std::string* AttrValue::release_placeholder() {1579// @@protoc_insertion_point(field_release:opencv_tensorflow.AttrValue.placeholder)1580if (has_placeholder()) {1581clear_has_value();1582return value_.placeholder_.Release(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),1583GetArenaNoVirtual());1584} else {1585return NULL;1586}1587}1588inline void AttrValue::set_allocated_placeholder(::std::string* placeholder) {1589if (!has_placeholder()) {1590value_.placeholder_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());1591}1592clear_value();1593if (placeholder != NULL) {1594set_has_placeholder();1595value_.placeholder_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), placeholder,1596GetArenaNoVirtual());1597}1598// @@protoc_insertion_point(field_set_allocated:opencv_tensorflow.AttrValue.placeholder)1599}1600inline ::std::string* AttrValue::unsafe_arena_release_placeholder() {1601// @@protoc_insertion_point(field_unsafe_arena_release:opencv_tensorflow.AttrValue.placeholder)1602GOOGLE_DCHECK(GetArenaNoVirtual() != NULL);1603if (has_placeholder()) {1604clear_has_value();1605return value_.placeholder_.UnsafeArenaRelease(1606&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());1607} else {1608return NULL;1609}1610}1611inline void AttrValue::unsafe_arena_set_allocated_placeholder(::std::string* placeholder) {1612GOOGLE_DCHECK(GetArenaNoVirtual() != NULL);1613if (!has_placeholder()) {1614value_.placeholder_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());1615}1616clear_value();1617if (placeholder) {1618set_has_placeholder();1619value_.placeholder_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), placeholder, GetArenaNoVirtual());1620}1621// @@protoc_insertion_point(field_unsafe_arena_set_allocated:opencv_tensorflow.AttrValue.placeholder)1622}16231624inline bool AttrValue::has_value() const {1625return value_case() != VALUE_NOT_SET;1626}1627inline void AttrValue::clear_has_value() {1628_oneof_case_[0] = VALUE_NOT_SET;1629}1630inline AttrValue::ValueCase AttrValue::value_case() const {1631return AttrValue::ValueCase(_oneof_case_[0]);1632}1633// -------------------------------------------------------------------16341635// -------------------------------------------------------------------16361637// NameAttrList16381639// string name = 1;1640inline void NameAttrList::clear_name() {1641name_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());1642}1643inline const ::std::string& NameAttrList::name() const {1644// @@protoc_insertion_point(field_get:opencv_tensorflow.NameAttrList.name)1645return name_.Get();1646}1647inline void NameAttrList::set_name(const ::std::string& value) {16481649name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());1650// @@protoc_insertion_point(field_set:opencv_tensorflow.NameAttrList.name)1651}1652#if LANG_CXX111653inline void NameAttrList::set_name(::std::string&& value) {16541655name_.Set(1656&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());1657// @@protoc_insertion_point(field_set_rvalue:opencv_tensorflow.NameAttrList.name)1658}1659#endif1660inline void NameAttrList::set_name(const char* value) {1661GOOGLE_DCHECK(value != NULL);16621663name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value),1664GetArenaNoVirtual());1665// @@protoc_insertion_point(field_set_char:opencv_tensorflow.NameAttrList.name)1666}1667inline void NameAttrList::set_name(const char* value,1668size_t size) {16691670name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(1671reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());1672// @@protoc_insertion_point(field_set_pointer:opencv_tensorflow.NameAttrList.name)1673}1674inline ::std::string* NameAttrList::mutable_name() {16751676// @@protoc_insertion_point(field_mutable:opencv_tensorflow.NameAttrList.name)1677return name_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());1678}1679inline ::std::string* NameAttrList::release_name() {1680// @@protoc_insertion_point(field_release:opencv_tensorflow.NameAttrList.name)16811682return name_.Release(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());1683}1684inline void NameAttrList::set_allocated_name(::std::string* name) {1685if (name != NULL) {16861687} else {16881689}1690name_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name,1691GetArenaNoVirtual());1692// @@protoc_insertion_point(field_set_allocated:opencv_tensorflow.NameAttrList.name)1693}1694inline ::std::string* NameAttrList::unsafe_arena_release_name() {1695// @@protoc_insertion_point(field_unsafe_arena_release:opencv_tensorflow.NameAttrList.name)1696GOOGLE_DCHECK(GetArenaNoVirtual() != NULL);16971698return name_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),1699GetArenaNoVirtual());1700}1701inline void NameAttrList::unsafe_arena_set_allocated_name(1702::std::string* name) {1703GOOGLE_DCHECK(GetArenaNoVirtual() != NULL);1704if (name != NULL) {17051706} else {17071708}1709name_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),1710name, GetArenaNoVirtual());1711// @@protoc_insertion_point(field_unsafe_arena_set_allocated:opencv_tensorflow.NameAttrList.name)1712}17131714// map<string, .opencv_tensorflow.AttrValue> attr = 2;1715inline int NameAttrList::attr_size() const {1716return attr_.size();1717}1718inline void NameAttrList::clear_attr() {1719attr_.Clear();1720}1721inline const ::google::protobuf::Map< ::std::string, ::opencv_tensorflow::AttrValue >&1722NameAttrList::attr() const {1723// @@protoc_insertion_point(field_map:opencv_tensorflow.NameAttrList.attr)1724return attr_.GetMap();1725}1726inline ::google::protobuf::Map< ::std::string, ::opencv_tensorflow::AttrValue >*1727NameAttrList::mutable_attr() {1728// @@protoc_insertion_point(field_mutable_map:opencv_tensorflow.NameAttrList.attr)1729return attr_.MutableMap();1730}17311732#ifdef __GNUC__1733#pragma GCC diagnostic pop1734#endif // __GNUC__1735// -------------------------------------------------------------------17361737// -------------------------------------------------------------------17381739// -------------------------------------------------------------------174017411742// @@protoc_insertion_point(namespace_scope)17431744} // namespace opencv_tensorflow17451746// @@protoc_insertion_point(global_scope)17471748#endif // PROTOBUF_attr_5fvalue_2eproto__INCLUDED174917501751