Path: blob/master/modules/dnn/misc/tensorflow/op_def.pb.cc
16358 views
// Generated by the protocol buffer compiler. DO NOT EDIT!1// source: op_def.proto23#include "op_def.pb.h"45#include <algorithm>67#include <google/protobuf/stubs/common.h>8#include <google/protobuf/stubs/port.h>9#include <google/protobuf/stubs/once.h>10#include <google/protobuf/io/coded_stream.h>11#include <google/protobuf/wire_format_lite_inl.h>12#include <google/protobuf/descriptor.h>13#include <google/protobuf/generated_message_reflection.h>14#include <google/protobuf/reflection_ops.h>15#include <google/protobuf/wire_format.h>16// This is a temporary google only hack17#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS18#include "third_party/protobuf/version.h"19#endif20// @@protoc_insertion_point(includes)21namespace opencv_tensorflow {22class OpDef_ArgDefDefaultTypeInternal {23public:24::google::protobuf::internal::ExplicitlyConstructed<OpDef_ArgDef>25_instance;26} _OpDef_ArgDef_default_instance_;27class OpDef_AttrDefDefaultTypeInternal {28public:29::google::protobuf::internal::ExplicitlyConstructed<OpDef_AttrDef>30_instance;31} _OpDef_AttrDef_default_instance_;32class OpDefDefaultTypeInternal {33public:34::google::protobuf::internal::ExplicitlyConstructed<OpDef>35_instance;36} _OpDef_default_instance_;37class OpDeprecationDefaultTypeInternal {38public:39::google::protobuf::internal::ExplicitlyConstructed<OpDeprecation>40_instance;41} _OpDeprecation_default_instance_;42class OpListDefaultTypeInternal {43public:44::google::protobuf::internal::ExplicitlyConstructed<OpList>45_instance;46} _OpList_default_instance_;47} // namespace opencv_tensorflow48namespace protobuf_op_5fdef_2eproto {49void InitDefaultsOpDef_ArgDefImpl() {50GOOGLE_PROTOBUF_VERIFY_VERSION;5152#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS53::google::protobuf::internal::InitProtobufDefaultsForceUnique();54#else55::google::protobuf::internal::InitProtobufDefaults();56#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS57{58void* ptr = &::opencv_tensorflow::_OpDef_ArgDef_default_instance_;59new (ptr) ::opencv_tensorflow::OpDef_ArgDef();60::google::protobuf::internal::OnShutdownDestroyMessage(ptr);61}62::opencv_tensorflow::OpDef_ArgDef::InitAsDefaultInstance();63}6465void InitDefaultsOpDef_ArgDef() {66static GOOGLE_PROTOBUF_DECLARE_ONCE(once);67::google::protobuf::GoogleOnceInit(&once, &InitDefaultsOpDef_ArgDefImpl);68}6970void InitDefaultsOpDef_AttrDefImpl() {71GOOGLE_PROTOBUF_VERIFY_VERSION;7273#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS74::google::protobuf::internal::InitProtobufDefaultsForceUnique();75#else76::google::protobuf::internal::InitProtobufDefaults();77#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS78protobuf_attr_5fvalue_2eproto::InitDefaultsAttrValue();79{80void* ptr = &::opencv_tensorflow::_OpDef_AttrDef_default_instance_;81new (ptr) ::opencv_tensorflow::OpDef_AttrDef();82::google::protobuf::internal::OnShutdownDestroyMessage(ptr);83}84::opencv_tensorflow::OpDef_AttrDef::InitAsDefaultInstance();85}8687void InitDefaultsOpDef_AttrDef() {88static GOOGLE_PROTOBUF_DECLARE_ONCE(once);89::google::protobuf::GoogleOnceInit(&once, &InitDefaultsOpDef_AttrDefImpl);90}9192void InitDefaultsOpDefImpl() {93GOOGLE_PROTOBUF_VERIFY_VERSION;9495#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS96::google::protobuf::internal::InitProtobufDefaultsForceUnique();97#else98::google::protobuf::internal::InitProtobufDefaults();99#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS100protobuf_op_5fdef_2eproto::InitDefaultsOpDef_ArgDef();101protobuf_op_5fdef_2eproto::InitDefaultsOpDef_AttrDef();102protobuf_op_5fdef_2eproto::InitDefaultsOpDeprecation();103{104void* ptr = &::opencv_tensorflow::_OpDef_default_instance_;105new (ptr) ::opencv_tensorflow::OpDef();106::google::protobuf::internal::OnShutdownDestroyMessage(ptr);107}108::opencv_tensorflow::OpDef::InitAsDefaultInstance();109}110111void InitDefaultsOpDef() {112static GOOGLE_PROTOBUF_DECLARE_ONCE(once);113::google::protobuf::GoogleOnceInit(&once, &InitDefaultsOpDefImpl);114}115116void InitDefaultsOpDeprecationImpl() {117GOOGLE_PROTOBUF_VERIFY_VERSION;118119#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS120::google::protobuf::internal::InitProtobufDefaultsForceUnique();121#else122::google::protobuf::internal::InitProtobufDefaults();123#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS124{125void* ptr = &::opencv_tensorflow::_OpDeprecation_default_instance_;126new (ptr) ::opencv_tensorflow::OpDeprecation();127::google::protobuf::internal::OnShutdownDestroyMessage(ptr);128}129::opencv_tensorflow::OpDeprecation::InitAsDefaultInstance();130}131132void InitDefaultsOpDeprecation() {133static GOOGLE_PROTOBUF_DECLARE_ONCE(once);134::google::protobuf::GoogleOnceInit(&once, &InitDefaultsOpDeprecationImpl);135}136137void InitDefaultsOpListImpl() {138GOOGLE_PROTOBUF_VERIFY_VERSION;139140#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS141::google::protobuf::internal::InitProtobufDefaultsForceUnique();142#else143::google::protobuf::internal::InitProtobufDefaults();144#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS145protobuf_op_5fdef_2eproto::InitDefaultsOpDef();146{147void* ptr = &::opencv_tensorflow::_OpList_default_instance_;148new (ptr) ::opencv_tensorflow::OpList();149::google::protobuf::internal::OnShutdownDestroyMessage(ptr);150}151::opencv_tensorflow::OpList::InitAsDefaultInstance();152}153154void InitDefaultsOpList() {155static GOOGLE_PROTOBUF_DECLARE_ONCE(once);156::google::protobuf::GoogleOnceInit(&once, &InitDefaultsOpListImpl);157}158159::google::protobuf::Metadata file_level_metadata[5];160161const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {162~0u, // no _has_bits_163GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::opencv_tensorflow::OpDef_ArgDef, _internal_metadata_),164~0u, // no _extensions_165~0u, // no _oneof_case_166~0u, // no _weak_field_map_167GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::opencv_tensorflow::OpDef_ArgDef, name_),168GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::opencv_tensorflow::OpDef_ArgDef, description_),169GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::opencv_tensorflow::OpDef_ArgDef, type_),170GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::opencv_tensorflow::OpDef_ArgDef, type_attr_),171GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::opencv_tensorflow::OpDef_ArgDef, number_attr_),172GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::opencv_tensorflow::OpDef_ArgDef, type_list_attr_),173GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::opencv_tensorflow::OpDef_ArgDef, is_ref_),174~0u, // no _has_bits_175GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::opencv_tensorflow::OpDef_AttrDef, _internal_metadata_),176~0u, // no _extensions_177~0u, // no _oneof_case_178~0u, // no _weak_field_map_179GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::opencv_tensorflow::OpDef_AttrDef, name_),180GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::opencv_tensorflow::OpDef_AttrDef, type_),181GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::opencv_tensorflow::OpDef_AttrDef, default_value_),182GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::opencv_tensorflow::OpDef_AttrDef, description_),183GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::opencv_tensorflow::OpDef_AttrDef, has_minimum_),184GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::opencv_tensorflow::OpDef_AttrDef, minimum_),185GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::opencv_tensorflow::OpDef_AttrDef, allowed_values_),186~0u, // no _has_bits_187GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::opencv_tensorflow::OpDef, _internal_metadata_),188~0u, // no _extensions_189~0u, // no _oneof_case_190~0u, // no _weak_field_map_191GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::opencv_tensorflow::OpDef, name_),192GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::opencv_tensorflow::OpDef, input_arg_),193GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::opencv_tensorflow::OpDef, output_arg_),194GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::opencv_tensorflow::OpDef, attr_),195GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::opencv_tensorflow::OpDef, deprecation_),196GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::opencv_tensorflow::OpDef, summary_),197GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::opencv_tensorflow::OpDef, description_),198GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::opencv_tensorflow::OpDef, is_commutative_),199GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::opencv_tensorflow::OpDef, is_aggregate_),200GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::opencv_tensorflow::OpDef, is_stateful_),201GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::opencv_tensorflow::OpDef, allows_uninitialized_input_),202~0u, // no _has_bits_203GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::opencv_tensorflow::OpDeprecation, _internal_metadata_),204~0u, // no _extensions_205~0u, // no _oneof_case_206~0u, // no _weak_field_map_207GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::opencv_tensorflow::OpDeprecation, version_),208GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::opencv_tensorflow::OpDeprecation, explanation_),209~0u, // no _has_bits_210GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::opencv_tensorflow::OpList, _internal_metadata_),211~0u, // no _extensions_212~0u, // no _oneof_case_213~0u, // no _weak_field_map_214GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::opencv_tensorflow::OpList, op_),215};216static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {217{ 0, -1, sizeof(::opencv_tensorflow::OpDef_ArgDef)},218{ 12, -1, sizeof(::opencv_tensorflow::OpDef_AttrDef)},219{ 24, -1, sizeof(::opencv_tensorflow::OpDef)},220{ 40, -1, sizeof(::opencv_tensorflow::OpDeprecation)},221{ 47, -1, sizeof(::opencv_tensorflow::OpList)},222};223224static ::google::protobuf::Message const * const file_default_instances[] = {225reinterpret_cast<const ::google::protobuf::Message*>(&::opencv_tensorflow::_OpDef_ArgDef_default_instance_),226reinterpret_cast<const ::google::protobuf::Message*>(&::opencv_tensorflow::_OpDef_AttrDef_default_instance_),227reinterpret_cast<const ::google::protobuf::Message*>(&::opencv_tensorflow::_OpDef_default_instance_),228reinterpret_cast<const ::google::protobuf::Message*>(&::opencv_tensorflow::_OpDeprecation_default_instance_),229reinterpret_cast<const ::google::protobuf::Message*>(&::opencv_tensorflow::_OpList_default_instance_),230};231232void protobuf_AssignDescriptors() {233AddDescriptors();234::google::protobuf::MessageFactory* factory = NULL;235AssignDescriptors(236"op_def.proto", schemas, file_default_instances, TableStruct::offsets, factory,237file_level_metadata, NULL, NULL);238}239240void protobuf_AssignDescriptorsOnce() {241static GOOGLE_PROTOBUF_DECLARE_ONCE(once);242::google::protobuf::GoogleOnceInit(&once, &protobuf_AssignDescriptors);243}244245void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD;246void protobuf_RegisterTypes(const ::std::string&) {247protobuf_AssignDescriptorsOnce();248::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 5);249}250251void AddDescriptorsImpl() {252InitDefaults();253static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {254"\n\014op_def.proto\022\021opencv_tensorflow\032\020attr_"255"value.proto\032\013types.proto\"\351\005\n\005OpDef\022\014\n\004na"256"me\030\001 \001(\t\0222\n\tinput_arg\030\002 \003(\0132\037.opencv_ten"257"sorflow.OpDef.ArgDef\0223\n\noutput_arg\030\003 \003(\013"258"2\037.opencv_tensorflow.OpDef.ArgDef\022.\n\004att"259"r\030\004 \003(\0132 .opencv_tensorflow.OpDef.AttrDe"260"f\0225\n\013deprecation\030\010 \001(\0132 .opencv_tensorfl"261"ow.OpDeprecation\022\017\n\007summary\030\005 \001(\t\022\023\n\013des"262"cription\030\006 \001(\t\022\026\n\016is_commutative\030\022 \001(\010\022\024"263"\n\014is_aggregate\030\020 \001(\010\022\023\n\013is_stateful\030\021 \001("264"\010\022\"\n\032allows_uninitialized_input\030\023 \001(\010\032\246\001"265"\n\006ArgDef\022\014\n\004name\030\001 \001(\t\022\023\n\013description\030\002 "266"\001(\t\022)\n\004type\030\003 \001(\0162\033.opencv_tensorflow.Da"267"taType\022\021\n\ttype_attr\030\004 \001(\t\022\023\n\013number_attr"268"\030\005 \001(\t\022\026\n\016type_list_attr\030\006 \001(\t\022\016\n\006is_ref"269"\030\020 \001(\010\032\313\001\n\007AttrDef\022\014\n\004name\030\001 \001(\t\022\014\n\004type"270"\030\002 \001(\t\0223\n\rdefault_value\030\003 \001(\0132\034.opencv_t"271"ensorflow.AttrValue\022\023\n\013description\030\004 \001(\t"272"\022\023\n\013has_minimum\030\005 \001(\010\022\017\n\007minimum\030\006 \001(\003\0224"273"\n\016allowed_values\030\007 \001(\0132\034.opencv_tensorfl"274"ow.AttrValue\"5\n\rOpDeprecation\022\017\n\007version"275"\030\001 \001(\005\022\023\n\013explanation\030\002 \001(\t\".\n\006OpList\022$\n"276"\002op\030\001 \003(\0132\030.opencv_tensorflow.OpDefB,\n\030o"277"rg.tensorflow.frameworkB\013OpDefProtosP\001\370\001"278"\001b\006proto3"279};280::google::protobuf::DescriptorPool::InternalAddGeneratedFile(281descriptor, 969);282::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(283"op_def.proto", &protobuf_RegisterTypes);284::protobuf_attr_5fvalue_2eproto::AddDescriptors();285::protobuf_types_2eproto::AddDescriptors();286}287288void AddDescriptors() {289static GOOGLE_PROTOBUF_DECLARE_ONCE(once);290::google::protobuf::GoogleOnceInit(&once, &AddDescriptorsImpl);291}292// Force AddDescriptors() to be called at dynamic initialization time.293struct StaticDescriptorInitializer {294StaticDescriptorInitializer() {295AddDescriptors();296}297} static_descriptor_initializer;298} // namespace protobuf_op_5fdef_2eproto299namespace opencv_tensorflow {300301// ===================================================================302303void OpDef_ArgDef::InitAsDefaultInstance() {304}305#if !defined(_MSC_VER) || _MSC_VER >= 1900306const int OpDef_ArgDef::kNameFieldNumber;307const int OpDef_ArgDef::kDescriptionFieldNumber;308const int OpDef_ArgDef::kTypeFieldNumber;309const int OpDef_ArgDef::kTypeAttrFieldNumber;310const int OpDef_ArgDef::kNumberAttrFieldNumber;311const int OpDef_ArgDef::kTypeListAttrFieldNumber;312const int OpDef_ArgDef::kIsRefFieldNumber;313#endif // !defined(_MSC_VER) || _MSC_VER >= 1900314315OpDef_ArgDef::OpDef_ArgDef()316: ::google::protobuf::Message(), _internal_metadata_(NULL) {317if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {318::protobuf_op_5fdef_2eproto::InitDefaultsOpDef_ArgDef();319}320SharedCtor();321// @@protoc_insertion_point(constructor:opencv_tensorflow.OpDef.ArgDef)322}323OpDef_ArgDef::OpDef_ArgDef(::google::protobuf::Arena* arena)324: ::google::protobuf::Message(),325_internal_metadata_(arena) {326::protobuf_op_5fdef_2eproto::InitDefaultsOpDef_ArgDef();327SharedCtor();328RegisterArenaDtor(arena);329// @@protoc_insertion_point(arena_constructor:opencv_tensorflow.OpDef.ArgDef)330}331OpDef_ArgDef::OpDef_ArgDef(const OpDef_ArgDef& from)332: ::google::protobuf::Message(),333_internal_metadata_(NULL),334_cached_size_(0) {335_internal_metadata_.MergeFrom(from._internal_metadata_);336name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());337if (from.name().size() > 0) {338name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name(),339GetArenaNoVirtual());340}341description_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());342if (from.description().size() > 0) {343description_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.description(),344GetArenaNoVirtual());345}346type_attr_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());347if (from.type_attr().size() > 0) {348type_attr_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.type_attr(),349GetArenaNoVirtual());350}351number_attr_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());352if (from.number_attr().size() > 0) {353number_attr_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.number_attr(),354GetArenaNoVirtual());355}356type_list_attr_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());357if (from.type_list_attr().size() > 0) {358type_list_attr_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.type_list_attr(),359GetArenaNoVirtual());360}361::memcpy(&type_, &from.type_,362static_cast<size_t>(reinterpret_cast<char*>(&is_ref_) -363reinterpret_cast<char*>(&type_)) + sizeof(is_ref_));364// @@protoc_insertion_point(copy_constructor:opencv_tensorflow.OpDef.ArgDef)365}366367void OpDef_ArgDef::SharedCtor() {368name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());369description_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());370type_attr_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());371number_attr_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());372type_list_attr_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());373::memset(&type_, 0, static_cast<size_t>(374reinterpret_cast<char*>(&is_ref_) -375reinterpret_cast<char*>(&type_)) + sizeof(is_ref_));376_cached_size_ = 0;377}378379OpDef_ArgDef::~OpDef_ArgDef() {380// @@protoc_insertion_point(destructor:opencv_tensorflow.OpDef.ArgDef)381SharedDtor();382}383384void OpDef_ArgDef::SharedDtor() {385GOOGLE_DCHECK(GetArenaNoVirtual() == NULL);386name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());387description_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());388type_attr_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());389number_attr_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());390type_list_attr_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());391}392393void OpDef_ArgDef::ArenaDtor(void* object) {394OpDef_ArgDef* _this = reinterpret_cast< OpDef_ArgDef* >(object);395(void)_this;396}397void OpDef_ArgDef::RegisterArenaDtor(::google::protobuf::Arena* arena) {398}399void OpDef_ArgDef::SetCachedSize(int size) const {400GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();401_cached_size_ = size;402GOOGLE_SAFE_CONCURRENT_WRITES_END();403}404const ::google::protobuf::Descriptor* OpDef_ArgDef::descriptor() {405::protobuf_op_5fdef_2eproto::protobuf_AssignDescriptorsOnce();406return ::protobuf_op_5fdef_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;407}408409const OpDef_ArgDef& OpDef_ArgDef::default_instance() {410::protobuf_op_5fdef_2eproto::InitDefaultsOpDef_ArgDef();411return *internal_default_instance();412}413414OpDef_ArgDef* OpDef_ArgDef::New(::google::protobuf::Arena* arena) const {415return ::google::protobuf::Arena::CreateMessage<OpDef_ArgDef>(arena);416}417418void OpDef_ArgDef::Clear() {419// @@protoc_insertion_point(message_clear_start:opencv_tensorflow.OpDef.ArgDef)420::google::protobuf::uint32 cached_has_bits = 0;421// Prevent compiler warnings about cached_has_bits being unused422(void) cached_has_bits;423424name_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());425description_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());426type_attr_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());427number_attr_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());428type_list_attr_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());429::memset(&type_, 0, static_cast<size_t>(430reinterpret_cast<char*>(&is_ref_) -431reinterpret_cast<char*>(&type_)) + sizeof(is_ref_));432_internal_metadata_.Clear();433}434435bool OpDef_ArgDef::MergePartialFromCodedStream(436::google::protobuf::io::CodedInputStream* input) {437#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure438::google::protobuf::uint32 tag;439// @@protoc_insertion_point(parse_start:opencv_tensorflow.OpDef.ArgDef)440for (;;) {441::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(16383u);442tag = p.first;443if (!p.second) goto handle_unusual;444switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {445// string name = 1;446case 1: {447if (static_cast< ::google::protobuf::uint8>(tag) ==448static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {449DO_(::google::protobuf::internal::WireFormatLite::ReadString(450input, this->mutable_name()));451DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(452this->name().data(), static_cast<int>(this->name().length()),453::google::protobuf::internal::WireFormatLite::PARSE,454"opencv_tensorflow.OpDef.ArgDef.name"));455} else {456goto handle_unusual;457}458break;459}460461// string description = 2;462case 2: {463if (static_cast< ::google::protobuf::uint8>(tag) ==464static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {465DO_(::google::protobuf::internal::WireFormatLite::ReadString(466input, this->mutable_description()));467DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(468this->description().data(), static_cast<int>(this->description().length()),469::google::protobuf::internal::WireFormatLite::PARSE,470"opencv_tensorflow.OpDef.ArgDef.description"));471} else {472goto handle_unusual;473}474break;475}476477// .opencv_tensorflow.DataType type = 3;478case 3: {479if (static_cast< ::google::protobuf::uint8>(tag) ==480static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {481int value;482DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<483int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(484input, &value)));485set_type(static_cast< ::opencv_tensorflow::DataType >(value));486} else {487goto handle_unusual;488}489break;490}491492// string type_attr = 4;493case 4: {494if (static_cast< ::google::protobuf::uint8>(tag) ==495static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {496DO_(::google::protobuf::internal::WireFormatLite::ReadString(497input, this->mutable_type_attr()));498DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(499this->type_attr().data(), static_cast<int>(this->type_attr().length()),500::google::protobuf::internal::WireFormatLite::PARSE,501"opencv_tensorflow.OpDef.ArgDef.type_attr"));502} else {503goto handle_unusual;504}505break;506}507508// string number_attr = 5;509case 5: {510if (static_cast< ::google::protobuf::uint8>(tag) ==511static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {512DO_(::google::protobuf::internal::WireFormatLite::ReadString(513input, this->mutable_number_attr()));514DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(515this->number_attr().data(), static_cast<int>(this->number_attr().length()),516::google::protobuf::internal::WireFormatLite::PARSE,517"opencv_tensorflow.OpDef.ArgDef.number_attr"));518} else {519goto handle_unusual;520}521break;522}523524// string type_list_attr = 6;525case 6: {526if (static_cast< ::google::protobuf::uint8>(tag) ==527static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) {528DO_(::google::protobuf::internal::WireFormatLite::ReadString(529input, this->mutable_type_list_attr()));530DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(531this->type_list_attr().data(), static_cast<int>(this->type_list_attr().length()),532::google::protobuf::internal::WireFormatLite::PARSE,533"opencv_tensorflow.OpDef.ArgDef.type_list_attr"));534} else {535goto handle_unusual;536}537break;538}539540// bool is_ref = 16;541case 16: {542if (static_cast< ::google::protobuf::uint8>(tag) ==543static_cast< ::google::protobuf::uint8>(128u /* 128 & 0xFF */)) {544545DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<546bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(547input, &is_ref_)));548} else {549goto handle_unusual;550}551break;552}553554default: {555handle_unusual:556if (tag == 0) {557goto success;558}559DO_(::google::protobuf::internal::WireFormat::SkipField(560input, tag, _internal_metadata_.mutable_unknown_fields()));561break;562}563}564}565success:566// @@protoc_insertion_point(parse_success:opencv_tensorflow.OpDef.ArgDef)567return true;568failure:569// @@protoc_insertion_point(parse_failure:opencv_tensorflow.OpDef.ArgDef)570return false;571#undef DO_572}573574void OpDef_ArgDef::SerializeWithCachedSizes(575::google::protobuf::io::CodedOutputStream* output) const {576// @@protoc_insertion_point(serialize_start:opencv_tensorflow.OpDef.ArgDef)577::google::protobuf::uint32 cached_has_bits = 0;578(void) cached_has_bits;579580// string name = 1;581if (this->name().size() > 0) {582::google::protobuf::internal::WireFormatLite::VerifyUtf8String(583this->name().data(), static_cast<int>(this->name().length()),584::google::protobuf::internal::WireFormatLite::SERIALIZE,585"opencv_tensorflow.OpDef.ArgDef.name");586::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(5871, this->name(), output);588}589590// string description = 2;591if (this->description().size() > 0) {592::google::protobuf::internal::WireFormatLite::VerifyUtf8String(593this->description().data(), static_cast<int>(this->description().length()),594::google::protobuf::internal::WireFormatLite::SERIALIZE,595"opencv_tensorflow.OpDef.ArgDef.description");596::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(5972, this->description(), output);598}599600// .opencv_tensorflow.DataType type = 3;601if (this->type() != 0) {602::google::protobuf::internal::WireFormatLite::WriteEnum(6033, this->type(), output);604}605606// string type_attr = 4;607if (this->type_attr().size() > 0) {608::google::protobuf::internal::WireFormatLite::VerifyUtf8String(609this->type_attr().data(), static_cast<int>(this->type_attr().length()),610::google::protobuf::internal::WireFormatLite::SERIALIZE,611"opencv_tensorflow.OpDef.ArgDef.type_attr");612::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(6134, this->type_attr(), output);614}615616// string number_attr = 5;617if (this->number_attr().size() > 0) {618::google::protobuf::internal::WireFormatLite::VerifyUtf8String(619this->number_attr().data(), static_cast<int>(this->number_attr().length()),620::google::protobuf::internal::WireFormatLite::SERIALIZE,621"opencv_tensorflow.OpDef.ArgDef.number_attr");622::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(6235, this->number_attr(), output);624}625626// string type_list_attr = 6;627if (this->type_list_attr().size() > 0) {628::google::protobuf::internal::WireFormatLite::VerifyUtf8String(629this->type_list_attr().data(), static_cast<int>(this->type_list_attr().length()),630::google::protobuf::internal::WireFormatLite::SERIALIZE,631"opencv_tensorflow.OpDef.ArgDef.type_list_attr");632::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(6336, this->type_list_attr(), output);634}635636// bool is_ref = 16;637if (this->is_ref() != 0) {638::google::protobuf::internal::WireFormatLite::WriteBool(16, this->is_ref(), output);639}640641if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {642::google::protobuf::internal::WireFormat::SerializeUnknownFields(643(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);644}645// @@protoc_insertion_point(serialize_end:opencv_tensorflow.OpDef.ArgDef)646}647648::google::protobuf::uint8* OpDef_ArgDef::InternalSerializeWithCachedSizesToArray(649bool deterministic, ::google::protobuf::uint8* target) const {650(void)deterministic; // Unused651// @@protoc_insertion_point(serialize_to_array_start:opencv_tensorflow.OpDef.ArgDef)652::google::protobuf::uint32 cached_has_bits = 0;653(void) cached_has_bits;654655// string name = 1;656if (this->name().size() > 0) {657::google::protobuf::internal::WireFormatLite::VerifyUtf8String(658this->name().data(), static_cast<int>(this->name().length()),659::google::protobuf::internal::WireFormatLite::SERIALIZE,660"opencv_tensorflow.OpDef.ArgDef.name");661target =662::google::protobuf::internal::WireFormatLite::WriteStringToArray(6631, this->name(), target);664}665666// string description = 2;667if (this->description().size() > 0) {668::google::protobuf::internal::WireFormatLite::VerifyUtf8String(669this->description().data(), static_cast<int>(this->description().length()),670::google::protobuf::internal::WireFormatLite::SERIALIZE,671"opencv_tensorflow.OpDef.ArgDef.description");672target =673::google::protobuf::internal::WireFormatLite::WriteStringToArray(6742, this->description(), target);675}676677// .opencv_tensorflow.DataType type = 3;678if (this->type() != 0) {679target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(6803, this->type(), target);681}682683// string type_attr = 4;684if (this->type_attr().size() > 0) {685::google::protobuf::internal::WireFormatLite::VerifyUtf8String(686this->type_attr().data(), static_cast<int>(this->type_attr().length()),687::google::protobuf::internal::WireFormatLite::SERIALIZE,688"opencv_tensorflow.OpDef.ArgDef.type_attr");689target =690::google::protobuf::internal::WireFormatLite::WriteStringToArray(6914, this->type_attr(), target);692}693694// string number_attr = 5;695if (this->number_attr().size() > 0) {696::google::protobuf::internal::WireFormatLite::VerifyUtf8String(697this->number_attr().data(), static_cast<int>(this->number_attr().length()),698::google::protobuf::internal::WireFormatLite::SERIALIZE,699"opencv_tensorflow.OpDef.ArgDef.number_attr");700target =701::google::protobuf::internal::WireFormatLite::WriteStringToArray(7025, this->number_attr(), target);703}704705// string type_list_attr = 6;706if (this->type_list_attr().size() > 0) {707::google::protobuf::internal::WireFormatLite::VerifyUtf8String(708this->type_list_attr().data(), static_cast<int>(this->type_list_attr().length()),709::google::protobuf::internal::WireFormatLite::SERIALIZE,710"opencv_tensorflow.OpDef.ArgDef.type_list_attr");711target =712::google::protobuf::internal::WireFormatLite::WriteStringToArray(7136, this->type_list_attr(), target);714}715716// bool is_ref = 16;717if (this->is_ref() != 0) {718target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(16, this->is_ref(), target);719}720721if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {722target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(723(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);724}725// @@protoc_insertion_point(serialize_to_array_end:opencv_tensorflow.OpDef.ArgDef)726return target;727}728729size_t OpDef_ArgDef::ByteSizeLong() const {730// @@protoc_insertion_point(message_byte_size_start:opencv_tensorflow.OpDef.ArgDef)731size_t total_size = 0;732733if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {734total_size +=735::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(736(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));737}738// string name = 1;739if (this->name().size() > 0) {740total_size += 1 +741::google::protobuf::internal::WireFormatLite::StringSize(742this->name());743}744745// string description = 2;746if (this->description().size() > 0) {747total_size += 1 +748::google::protobuf::internal::WireFormatLite::StringSize(749this->description());750}751752// string type_attr = 4;753if (this->type_attr().size() > 0) {754total_size += 1 +755::google::protobuf::internal::WireFormatLite::StringSize(756this->type_attr());757}758759// string number_attr = 5;760if (this->number_attr().size() > 0) {761total_size += 1 +762::google::protobuf::internal::WireFormatLite::StringSize(763this->number_attr());764}765766// string type_list_attr = 6;767if (this->type_list_attr().size() > 0) {768total_size += 1 +769::google::protobuf::internal::WireFormatLite::StringSize(770this->type_list_attr());771}772773// .opencv_tensorflow.DataType type = 3;774if (this->type() != 0) {775total_size += 1 +776::google::protobuf::internal::WireFormatLite::EnumSize(this->type());777}778779// bool is_ref = 16;780if (this->is_ref() != 0) {781total_size += 2 + 1;782}783784int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);785GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();786_cached_size_ = cached_size;787GOOGLE_SAFE_CONCURRENT_WRITES_END();788return total_size;789}790791void OpDef_ArgDef::MergeFrom(const ::google::protobuf::Message& from) {792// @@protoc_insertion_point(generalized_merge_from_start:opencv_tensorflow.OpDef.ArgDef)793GOOGLE_DCHECK_NE(&from, this);794const OpDef_ArgDef* source =795::google::protobuf::internal::DynamicCastToGenerated<const OpDef_ArgDef>(796&from);797if (source == NULL) {798// @@protoc_insertion_point(generalized_merge_from_cast_fail:opencv_tensorflow.OpDef.ArgDef)799::google::protobuf::internal::ReflectionOps::Merge(from, this);800} else {801// @@protoc_insertion_point(generalized_merge_from_cast_success:opencv_tensorflow.OpDef.ArgDef)802MergeFrom(*source);803}804}805806void OpDef_ArgDef::MergeFrom(const OpDef_ArgDef& from) {807// @@protoc_insertion_point(class_specific_merge_from_start:opencv_tensorflow.OpDef.ArgDef)808GOOGLE_DCHECK_NE(&from, this);809_internal_metadata_.MergeFrom(from._internal_metadata_);810::google::protobuf::uint32 cached_has_bits = 0;811(void) cached_has_bits;812813if (from.name().size() > 0) {814set_name(from.name());815}816if (from.description().size() > 0) {817set_description(from.description());818}819if (from.type_attr().size() > 0) {820set_type_attr(from.type_attr());821}822if (from.number_attr().size() > 0) {823set_number_attr(from.number_attr());824}825if (from.type_list_attr().size() > 0) {826set_type_list_attr(from.type_list_attr());827}828if (from.type() != 0) {829set_type(from.type());830}831if (from.is_ref() != 0) {832set_is_ref(from.is_ref());833}834}835836void OpDef_ArgDef::CopyFrom(const ::google::protobuf::Message& from) {837// @@protoc_insertion_point(generalized_copy_from_start:opencv_tensorflow.OpDef.ArgDef)838if (&from == this) return;839Clear();840MergeFrom(from);841}842843void OpDef_ArgDef::CopyFrom(const OpDef_ArgDef& from) {844// @@protoc_insertion_point(class_specific_copy_from_start:opencv_tensorflow.OpDef.ArgDef)845if (&from == this) return;846Clear();847MergeFrom(from);848}849850bool OpDef_ArgDef::IsInitialized() const {851return true;852}853854void OpDef_ArgDef::Swap(OpDef_ArgDef* other) {855if (other == this) return;856if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {857InternalSwap(other);858} else {859OpDef_ArgDef* temp = New(GetArenaNoVirtual());860temp->MergeFrom(*other);861other->CopyFrom(*this);862InternalSwap(temp);863if (GetArenaNoVirtual() == NULL) {864delete temp;865}866}867}868void OpDef_ArgDef::UnsafeArenaSwap(OpDef_ArgDef* other) {869if (other == this) return;870GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());871InternalSwap(other);872}873void OpDef_ArgDef::InternalSwap(OpDef_ArgDef* other) {874using std::swap;875name_.Swap(&other->name_);876description_.Swap(&other->description_);877type_attr_.Swap(&other->type_attr_);878number_attr_.Swap(&other->number_attr_);879type_list_attr_.Swap(&other->type_list_attr_);880swap(type_, other->type_);881swap(is_ref_, other->is_ref_);882_internal_metadata_.Swap(&other->_internal_metadata_);883swap(_cached_size_, other->_cached_size_);884}885886::google::protobuf::Metadata OpDef_ArgDef::GetMetadata() const {887protobuf_op_5fdef_2eproto::protobuf_AssignDescriptorsOnce();888return ::protobuf_op_5fdef_2eproto::file_level_metadata[kIndexInFileMessages];889}890891892// ===================================================================893894void OpDef_AttrDef::InitAsDefaultInstance() {895::opencv_tensorflow::_OpDef_AttrDef_default_instance_._instance.get_mutable()->default_value_ = const_cast< ::opencv_tensorflow::AttrValue*>(896::opencv_tensorflow::AttrValue::internal_default_instance());897::opencv_tensorflow::_OpDef_AttrDef_default_instance_._instance.get_mutable()->allowed_values_ = const_cast< ::opencv_tensorflow::AttrValue*>(898::opencv_tensorflow::AttrValue::internal_default_instance());899}900void OpDef_AttrDef::_slow_mutable_default_value() {901default_value_ = ::google::protobuf::Arena::CreateMessage< ::opencv_tensorflow::AttrValue >(902GetArenaNoVirtual());903}904void OpDef_AttrDef::unsafe_arena_set_allocated_default_value(905::opencv_tensorflow::AttrValue* default_value) {906if (GetArenaNoVirtual() == NULL) {907delete default_value_;908}909default_value_ = default_value;910if (default_value) {911912} else {913914}915// @@protoc_insertion_point(field_unsafe_arena_set_allocated:opencv_tensorflow.OpDef.AttrDef.default_value)916}917void OpDef_AttrDef::clear_default_value() {918if (GetArenaNoVirtual() == NULL && default_value_ != NULL) {919delete default_value_;920}921default_value_ = NULL;922}923void OpDef_AttrDef::_slow_mutable_allowed_values() {924allowed_values_ = ::google::protobuf::Arena::CreateMessage< ::opencv_tensorflow::AttrValue >(925GetArenaNoVirtual());926}927void OpDef_AttrDef::unsafe_arena_set_allocated_allowed_values(928::opencv_tensorflow::AttrValue* allowed_values) {929if (GetArenaNoVirtual() == NULL) {930delete allowed_values_;931}932allowed_values_ = allowed_values;933if (allowed_values) {934935} else {936937}938// @@protoc_insertion_point(field_unsafe_arena_set_allocated:opencv_tensorflow.OpDef.AttrDef.allowed_values)939}940void OpDef_AttrDef::clear_allowed_values() {941if (GetArenaNoVirtual() == NULL && allowed_values_ != NULL) {942delete allowed_values_;943}944allowed_values_ = NULL;945}946#if !defined(_MSC_VER) || _MSC_VER >= 1900947const int OpDef_AttrDef::kNameFieldNumber;948const int OpDef_AttrDef::kTypeFieldNumber;949const int OpDef_AttrDef::kDefaultValueFieldNumber;950const int OpDef_AttrDef::kDescriptionFieldNumber;951const int OpDef_AttrDef::kHasMinimumFieldNumber;952const int OpDef_AttrDef::kMinimumFieldNumber;953const int OpDef_AttrDef::kAllowedValuesFieldNumber;954#endif // !defined(_MSC_VER) || _MSC_VER >= 1900955956OpDef_AttrDef::OpDef_AttrDef()957: ::google::protobuf::Message(), _internal_metadata_(NULL) {958if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {959::protobuf_op_5fdef_2eproto::InitDefaultsOpDef_AttrDef();960}961SharedCtor();962// @@protoc_insertion_point(constructor:opencv_tensorflow.OpDef.AttrDef)963}964OpDef_AttrDef::OpDef_AttrDef(::google::protobuf::Arena* arena)965: ::google::protobuf::Message(),966_internal_metadata_(arena) {967::protobuf_op_5fdef_2eproto::InitDefaultsOpDef_AttrDef();968SharedCtor();969RegisterArenaDtor(arena);970// @@protoc_insertion_point(arena_constructor:opencv_tensorflow.OpDef.AttrDef)971}972OpDef_AttrDef::OpDef_AttrDef(const OpDef_AttrDef& from)973: ::google::protobuf::Message(),974_internal_metadata_(NULL),975_cached_size_(0) {976_internal_metadata_.MergeFrom(from._internal_metadata_);977name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());978if (from.name().size() > 0) {979name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name(),980GetArenaNoVirtual());981}982type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());983if (from.type().size() > 0) {984type_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.type(),985GetArenaNoVirtual());986}987description_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());988if (from.description().size() > 0) {989description_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.description(),990GetArenaNoVirtual());991}992if (from.has_default_value()) {993default_value_ = new ::opencv_tensorflow::AttrValue(*from.default_value_);994} else {995default_value_ = NULL;996}997if (from.has_allowed_values()) {998allowed_values_ = new ::opencv_tensorflow::AttrValue(*from.allowed_values_);999} else {1000allowed_values_ = NULL;1001}1002::memcpy(&minimum_, &from.minimum_,1003static_cast<size_t>(reinterpret_cast<char*>(&has_minimum_) -1004reinterpret_cast<char*>(&minimum_)) + sizeof(has_minimum_));1005// @@protoc_insertion_point(copy_constructor:opencv_tensorflow.OpDef.AttrDef)1006}10071008void OpDef_AttrDef::SharedCtor() {1009name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());1010type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());1011description_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());1012::memset(&default_value_, 0, static_cast<size_t>(1013reinterpret_cast<char*>(&has_minimum_) -1014reinterpret_cast<char*>(&default_value_)) + sizeof(has_minimum_));1015_cached_size_ = 0;1016}10171018OpDef_AttrDef::~OpDef_AttrDef() {1019// @@protoc_insertion_point(destructor:opencv_tensorflow.OpDef.AttrDef)1020SharedDtor();1021}10221023void OpDef_AttrDef::SharedDtor() {1024GOOGLE_DCHECK(GetArenaNoVirtual() == NULL);1025name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());1026type_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());1027description_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());1028if (this != internal_default_instance()) delete default_value_;1029if (this != internal_default_instance()) delete allowed_values_;1030}10311032void OpDef_AttrDef::ArenaDtor(void* object) {1033OpDef_AttrDef* _this = reinterpret_cast< OpDef_AttrDef* >(object);1034(void)_this;1035}1036void OpDef_AttrDef::RegisterArenaDtor(::google::protobuf::Arena* arena) {1037}1038void OpDef_AttrDef::SetCachedSize(int size) const {1039GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();1040_cached_size_ = size;1041GOOGLE_SAFE_CONCURRENT_WRITES_END();1042}1043const ::google::protobuf::Descriptor* OpDef_AttrDef::descriptor() {1044::protobuf_op_5fdef_2eproto::protobuf_AssignDescriptorsOnce();1045return ::protobuf_op_5fdef_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;1046}10471048const OpDef_AttrDef& OpDef_AttrDef::default_instance() {1049::protobuf_op_5fdef_2eproto::InitDefaultsOpDef_AttrDef();1050return *internal_default_instance();1051}10521053OpDef_AttrDef* OpDef_AttrDef::New(::google::protobuf::Arena* arena) const {1054return ::google::protobuf::Arena::CreateMessage<OpDef_AttrDef>(arena);1055}10561057void OpDef_AttrDef::Clear() {1058// @@protoc_insertion_point(message_clear_start:opencv_tensorflow.OpDef.AttrDef)1059::google::protobuf::uint32 cached_has_bits = 0;1060// Prevent compiler warnings about cached_has_bits being unused1061(void) cached_has_bits;10621063name_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());1064type_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());1065description_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());1066if (GetArenaNoVirtual() == NULL && default_value_ != NULL) {1067delete default_value_;1068}1069default_value_ = NULL;1070if (GetArenaNoVirtual() == NULL && allowed_values_ != NULL) {1071delete allowed_values_;1072}1073allowed_values_ = NULL;1074::memset(&minimum_, 0, static_cast<size_t>(1075reinterpret_cast<char*>(&has_minimum_) -1076reinterpret_cast<char*>(&minimum_)) + sizeof(has_minimum_));1077_internal_metadata_.Clear();1078}10791080bool OpDef_AttrDef::MergePartialFromCodedStream(1081::google::protobuf::io::CodedInputStream* input) {1082#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure1083::google::protobuf::uint32 tag;1084// @@protoc_insertion_point(parse_start:opencv_tensorflow.OpDef.AttrDef)1085for (;;) {1086::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);1087tag = p.first;1088if (!p.second) goto handle_unusual;1089switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {1090// string name = 1;1091case 1: {1092if (static_cast< ::google::protobuf::uint8>(tag) ==1093static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {1094DO_(::google::protobuf::internal::WireFormatLite::ReadString(1095input, this->mutable_name()));1096DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(1097this->name().data(), static_cast<int>(this->name().length()),1098::google::protobuf::internal::WireFormatLite::PARSE,1099"opencv_tensorflow.OpDef.AttrDef.name"));1100} else {1101goto handle_unusual;1102}1103break;1104}11051106// string type = 2;1107case 2: {1108if (static_cast< ::google::protobuf::uint8>(tag) ==1109static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {1110DO_(::google::protobuf::internal::WireFormatLite::ReadString(1111input, this->mutable_type()));1112DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(1113this->type().data(), static_cast<int>(this->type().length()),1114::google::protobuf::internal::WireFormatLite::PARSE,1115"opencv_tensorflow.OpDef.AttrDef.type"));1116} else {1117goto handle_unusual;1118}1119break;1120}11211122// .opencv_tensorflow.AttrValue default_value = 3;1123case 3: {1124if (static_cast< ::google::protobuf::uint8>(tag) ==1125static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {1126DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(1127input, mutable_default_value()));1128} else {1129goto handle_unusual;1130}1131break;1132}11331134// string description = 4;1135case 4: {1136if (static_cast< ::google::protobuf::uint8>(tag) ==1137static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {1138DO_(::google::protobuf::internal::WireFormatLite::ReadString(1139input, this->mutable_description()));1140DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(1141this->description().data(), static_cast<int>(this->description().length()),1142::google::protobuf::internal::WireFormatLite::PARSE,1143"opencv_tensorflow.OpDef.AttrDef.description"));1144} else {1145goto handle_unusual;1146}1147break;1148}11491150// bool has_minimum = 5;1151case 5: {1152if (static_cast< ::google::protobuf::uint8>(tag) ==1153static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {11541155DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<1156bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(1157input, &has_minimum_)));1158} else {1159goto handle_unusual;1160}1161break;1162}11631164// int64 minimum = 6;1165case 6: {1166if (static_cast< ::google::protobuf::uint8>(tag) ==1167static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) {11681169DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<1170::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(1171input, &minimum_)));1172} else {1173goto handle_unusual;1174}1175break;1176}11771178// .opencv_tensorflow.AttrValue allowed_values = 7;1179case 7: {1180if (static_cast< ::google::protobuf::uint8>(tag) ==1181static_cast< ::google::protobuf::uint8>(58u /* 58 & 0xFF */)) {1182DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(1183input, mutable_allowed_values()));1184} else {1185goto handle_unusual;1186}1187break;1188}11891190default: {1191handle_unusual:1192if (tag == 0) {1193goto success;1194}1195DO_(::google::protobuf::internal::WireFormat::SkipField(1196input, tag, _internal_metadata_.mutable_unknown_fields()));1197break;1198}1199}1200}1201success:1202// @@protoc_insertion_point(parse_success:opencv_tensorflow.OpDef.AttrDef)1203return true;1204failure:1205// @@protoc_insertion_point(parse_failure:opencv_tensorflow.OpDef.AttrDef)1206return false;1207#undef DO_1208}12091210void OpDef_AttrDef::SerializeWithCachedSizes(1211::google::protobuf::io::CodedOutputStream* output) const {1212// @@protoc_insertion_point(serialize_start:opencv_tensorflow.OpDef.AttrDef)1213::google::protobuf::uint32 cached_has_bits = 0;1214(void) cached_has_bits;12151216// string name = 1;1217if (this->name().size() > 0) {1218::google::protobuf::internal::WireFormatLite::VerifyUtf8String(1219this->name().data(), static_cast<int>(this->name().length()),1220::google::protobuf::internal::WireFormatLite::SERIALIZE,1221"opencv_tensorflow.OpDef.AttrDef.name");1222::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(12231, this->name(), output);1224}12251226// string type = 2;1227if (this->type().size() > 0) {1228::google::protobuf::internal::WireFormatLite::VerifyUtf8String(1229this->type().data(), static_cast<int>(this->type().length()),1230::google::protobuf::internal::WireFormatLite::SERIALIZE,1231"opencv_tensorflow.OpDef.AttrDef.type");1232::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(12332, this->type(), output);1234}12351236// .opencv_tensorflow.AttrValue default_value = 3;1237if (this->has_default_value()) {1238::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(12393, *this->default_value_, output);1240}12411242// string description = 4;1243if (this->description().size() > 0) {1244::google::protobuf::internal::WireFormatLite::VerifyUtf8String(1245this->description().data(), static_cast<int>(this->description().length()),1246::google::protobuf::internal::WireFormatLite::SERIALIZE,1247"opencv_tensorflow.OpDef.AttrDef.description");1248::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(12494, this->description(), output);1250}12511252// bool has_minimum = 5;1253if (this->has_minimum() != 0) {1254::google::protobuf::internal::WireFormatLite::WriteBool(5, this->has_minimum(), output);1255}12561257// int64 minimum = 6;1258if (this->minimum() != 0) {1259::google::protobuf::internal::WireFormatLite::WriteInt64(6, this->minimum(), output);1260}12611262// .opencv_tensorflow.AttrValue allowed_values = 7;1263if (this->has_allowed_values()) {1264::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(12657, *this->allowed_values_, output);1266}12671268if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {1269::google::protobuf::internal::WireFormat::SerializeUnknownFields(1270(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);1271}1272// @@protoc_insertion_point(serialize_end:opencv_tensorflow.OpDef.AttrDef)1273}12741275::google::protobuf::uint8* OpDef_AttrDef::InternalSerializeWithCachedSizesToArray(1276bool deterministic, ::google::protobuf::uint8* target) const {1277(void)deterministic; // Unused1278// @@protoc_insertion_point(serialize_to_array_start:opencv_tensorflow.OpDef.AttrDef)1279::google::protobuf::uint32 cached_has_bits = 0;1280(void) cached_has_bits;12811282// string name = 1;1283if (this->name().size() > 0) {1284::google::protobuf::internal::WireFormatLite::VerifyUtf8String(1285this->name().data(), static_cast<int>(this->name().length()),1286::google::protobuf::internal::WireFormatLite::SERIALIZE,1287"opencv_tensorflow.OpDef.AttrDef.name");1288target =1289::google::protobuf::internal::WireFormatLite::WriteStringToArray(12901, this->name(), target);1291}12921293// string type = 2;1294if (this->type().size() > 0) {1295::google::protobuf::internal::WireFormatLite::VerifyUtf8String(1296this->type().data(), static_cast<int>(this->type().length()),1297::google::protobuf::internal::WireFormatLite::SERIALIZE,1298"opencv_tensorflow.OpDef.AttrDef.type");1299target =1300::google::protobuf::internal::WireFormatLite::WriteStringToArray(13012, this->type(), target);1302}13031304// .opencv_tensorflow.AttrValue default_value = 3;1305if (this->has_default_value()) {1306target = ::google::protobuf::internal::WireFormatLite::1307InternalWriteMessageToArray(13083, *this->default_value_, deterministic, target);1309}13101311// string description = 4;1312if (this->description().size() > 0) {1313::google::protobuf::internal::WireFormatLite::VerifyUtf8String(1314this->description().data(), static_cast<int>(this->description().length()),1315::google::protobuf::internal::WireFormatLite::SERIALIZE,1316"opencv_tensorflow.OpDef.AttrDef.description");1317target =1318::google::protobuf::internal::WireFormatLite::WriteStringToArray(13194, this->description(), target);1320}13211322// bool has_minimum = 5;1323if (this->has_minimum() != 0) {1324target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(5, this->has_minimum(), target);1325}13261327// int64 minimum = 6;1328if (this->minimum() != 0) {1329target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(6, this->minimum(), target);1330}13311332// .opencv_tensorflow.AttrValue allowed_values = 7;1333if (this->has_allowed_values()) {1334target = ::google::protobuf::internal::WireFormatLite::1335InternalWriteMessageToArray(13367, *this->allowed_values_, deterministic, target);1337}13381339if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {1340target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(1341(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);1342}1343// @@protoc_insertion_point(serialize_to_array_end:opencv_tensorflow.OpDef.AttrDef)1344return target;1345}13461347size_t OpDef_AttrDef::ByteSizeLong() const {1348// @@protoc_insertion_point(message_byte_size_start:opencv_tensorflow.OpDef.AttrDef)1349size_t total_size = 0;13501351if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {1352total_size +=1353::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(1354(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));1355}1356// string name = 1;1357if (this->name().size() > 0) {1358total_size += 1 +1359::google::protobuf::internal::WireFormatLite::StringSize(1360this->name());1361}13621363// string type = 2;1364if (this->type().size() > 0) {1365total_size += 1 +1366::google::protobuf::internal::WireFormatLite::StringSize(1367this->type());1368}13691370// string description = 4;1371if (this->description().size() > 0) {1372total_size += 1 +1373::google::protobuf::internal::WireFormatLite::StringSize(1374this->description());1375}13761377// .opencv_tensorflow.AttrValue default_value = 3;1378if (this->has_default_value()) {1379total_size += 1 +1380::google::protobuf::internal::WireFormatLite::MessageSize(1381*this->default_value_);1382}13831384// .opencv_tensorflow.AttrValue allowed_values = 7;1385if (this->has_allowed_values()) {1386total_size += 1 +1387::google::protobuf::internal::WireFormatLite::MessageSize(1388*this->allowed_values_);1389}13901391// int64 minimum = 6;1392if (this->minimum() != 0) {1393total_size += 1 +1394::google::protobuf::internal::WireFormatLite::Int64Size(1395this->minimum());1396}13971398// bool has_minimum = 5;1399if (this->has_minimum() != 0) {1400total_size += 1 + 1;1401}14021403int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);1404GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();1405_cached_size_ = cached_size;1406GOOGLE_SAFE_CONCURRENT_WRITES_END();1407return total_size;1408}14091410void OpDef_AttrDef::MergeFrom(const ::google::protobuf::Message& from) {1411// @@protoc_insertion_point(generalized_merge_from_start:opencv_tensorflow.OpDef.AttrDef)1412GOOGLE_DCHECK_NE(&from, this);1413const OpDef_AttrDef* source =1414::google::protobuf::internal::DynamicCastToGenerated<const OpDef_AttrDef>(1415&from);1416if (source == NULL) {1417// @@protoc_insertion_point(generalized_merge_from_cast_fail:opencv_tensorflow.OpDef.AttrDef)1418::google::protobuf::internal::ReflectionOps::Merge(from, this);1419} else {1420// @@protoc_insertion_point(generalized_merge_from_cast_success:opencv_tensorflow.OpDef.AttrDef)1421MergeFrom(*source);1422}1423}14241425void OpDef_AttrDef::MergeFrom(const OpDef_AttrDef& from) {1426// @@protoc_insertion_point(class_specific_merge_from_start:opencv_tensorflow.OpDef.AttrDef)1427GOOGLE_DCHECK_NE(&from, this);1428_internal_metadata_.MergeFrom(from._internal_metadata_);1429::google::protobuf::uint32 cached_has_bits = 0;1430(void) cached_has_bits;14311432if (from.name().size() > 0) {1433set_name(from.name());1434}1435if (from.type().size() > 0) {1436set_type(from.type());1437}1438if (from.description().size() > 0) {1439set_description(from.description());1440}1441if (from.has_default_value()) {1442mutable_default_value()->::opencv_tensorflow::AttrValue::MergeFrom(from.default_value());1443}1444if (from.has_allowed_values()) {1445mutable_allowed_values()->::opencv_tensorflow::AttrValue::MergeFrom(from.allowed_values());1446}1447if (from.minimum() != 0) {1448set_minimum(from.minimum());1449}1450if (from.has_minimum() != 0) {1451set_has_minimum(from.has_minimum());1452}1453}14541455void OpDef_AttrDef::CopyFrom(const ::google::protobuf::Message& from) {1456// @@protoc_insertion_point(generalized_copy_from_start:opencv_tensorflow.OpDef.AttrDef)1457if (&from == this) return;1458Clear();1459MergeFrom(from);1460}14611462void OpDef_AttrDef::CopyFrom(const OpDef_AttrDef& from) {1463// @@protoc_insertion_point(class_specific_copy_from_start:opencv_tensorflow.OpDef.AttrDef)1464if (&from == this) return;1465Clear();1466MergeFrom(from);1467}14681469bool OpDef_AttrDef::IsInitialized() const {1470return true;1471}14721473void OpDef_AttrDef::Swap(OpDef_AttrDef* other) {1474if (other == this) return;1475if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {1476InternalSwap(other);1477} else {1478OpDef_AttrDef* temp = New(GetArenaNoVirtual());1479temp->MergeFrom(*other);1480other->CopyFrom(*this);1481InternalSwap(temp);1482if (GetArenaNoVirtual() == NULL) {1483delete temp;1484}1485}1486}1487void OpDef_AttrDef::UnsafeArenaSwap(OpDef_AttrDef* other) {1488if (other == this) return;1489GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());1490InternalSwap(other);1491}1492void OpDef_AttrDef::InternalSwap(OpDef_AttrDef* other) {1493using std::swap;1494name_.Swap(&other->name_);1495type_.Swap(&other->type_);1496description_.Swap(&other->description_);1497swap(default_value_, other->default_value_);1498swap(allowed_values_, other->allowed_values_);1499swap(minimum_, other->minimum_);1500swap(has_minimum_, other->has_minimum_);1501_internal_metadata_.Swap(&other->_internal_metadata_);1502swap(_cached_size_, other->_cached_size_);1503}15041505::google::protobuf::Metadata OpDef_AttrDef::GetMetadata() const {1506protobuf_op_5fdef_2eproto::protobuf_AssignDescriptorsOnce();1507return ::protobuf_op_5fdef_2eproto::file_level_metadata[kIndexInFileMessages];1508}150915101511// ===================================================================15121513void OpDef::InitAsDefaultInstance() {1514::opencv_tensorflow::_OpDef_default_instance_._instance.get_mutable()->deprecation_ = const_cast< ::opencv_tensorflow::OpDeprecation*>(1515::opencv_tensorflow::OpDeprecation::internal_default_instance());1516}1517void OpDef::_slow_mutable_deprecation() {1518deprecation_ = ::google::protobuf::Arena::CreateMessage< ::opencv_tensorflow::OpDeprecation >(1519GetArenaNoVirtual());1520}1521void OpDef::unsafe_arena_set_allocated_deprecation(1522::opencv_tensorflow::OpDeprecation* deprecation) {1523if (GetArenaNoVirtual() == NULL) {1524delete deprecation_;1525}1526deprecation_ = deprecation;1527if (deprecation) {15281529} else {15301531}1532// @@protoc_insertion_point(field_unsafe_arena_set_allocated:opencv_tensorflow.OpDef.deprecation)1533}1534#if !defined(_MSC_VER) || _MSC_VER >= 19001535const int OpDef::kNameFieldNumber;1536const int OpDef::kInputArgFieldNumber;1537const int OpDef::kOutputArgFieldNumber;1538const int OpDef::kAttrFieldNumber;1539const int OpDef::kDeprecationFieldNumber;1540const int OpDef::kSummaryFieldNumber;1541const int OpDef::kDescriptionFieldNumber;1542const int OpDef::kIsCommutativeFieldNumber;1543const int OpDef::kIsAggregateFieldNumber;1544const int OpDef::kIsStatefulFieldNumber;1545const int OpDef::kAllowsUninitializedInputFieldNumber;1546#endif // !defined(_MSC_VER) || _MSC_VER >= 190015471548OpDef::OpDef()1549: ::google::protobuf::Message(), _internal_metadata_(NULL) {1550if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {1551::protobuf_op_5fdef_2eproto::InitDefaultsOpDef();1552}1553SharedCtor();1554// @@protoc_insertion_point(constructor:opencv_tensorflow.OpDef)1555}1556OpDef::OpDef(::google::protobuf::Arena* arena)1557: ::google::protobuf::Message(),1558_internal_metadata_(arena),1559input_arg_(arena),1560output_arg_(arena),1561attr_(arena) {1562::protobuf_op_5fdef_2eproto::InitDefaultsOpDef();1563SharedCtor();1564RegisterArenaDtor(arena);1565// @@protoc_insertion_point(arena_constructor:opencv_tensorflow.OpDef)1566}1567OpDef::OpDef(const OpDef& from)1568: ::google::protobuf::Message(),1569_internal_metadata_(NULL),1570input_arg_(from.input_arg_),1571output_arg_(from.output_arg_),1572attr_(from.attr_),1573_cached_size_(0) {1574_internal_metadata_.MergeFrom(from._internal_metadata_);1575name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());1576if (from.name().size() > 0) {1577name_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name(),1578GetArenaNoVirtual());1579}1580summary_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());1581if (from.summary().size() > 0) {1582summary_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.summary(),1583GetArenaNoVirtual());1584}1585description_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());1586if (from.description().size() > 0) {1587description_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.description(),1588GetArenaNoVirtual());1589}1590if (from.has_deprecation()) {1591deprecation_ = new ::opencv_tensorflow::OpDeprecation(*from.deprecation_);1592} else {1593deprecation_ = NULL;1594}1595::memcpy(&is_commutative_, &from.is_commutative_,1596static_cast<size_t>(reinterpret_cast<char*>(&allows_uninitialized_input_) -1597reinterpret_cast<char*>(&is_commutative_)) + sizeof(allows_uninitialized_input_));1598// @@protoc_insertion_point(copy_constructor:opencv_tensorflow.OpDef)1599}16001601void OpDef::SharedCtor() {1602name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());1603summary_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());1604description_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());1605::memset(&deprecation_, 0, static_cast<size_t>(1606reinterpret_cast<char*>(&allows_uninitialized_input_) -1607reinterpret_cast<char*>(&deprecation_)) + sizeof(allows_uninitialized_input_));1608_cached_size_ = 0;1609}16101611OpDef::~OpDef() {1612// @@protoc_insertion_point(destructor:opencv_tensorflow.OpDef)1613SharedDtor();1614}16151616void OpDef::SharedDtor() {1617GOOGLE_DCHECK(GetArenaNoVirtual() == NULL);1618name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());1619summary_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());1620description_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());1621if (this != internal_default_instance()) delete deprecation_;1622}16231624void OpDef::ArenaDtor(void* object) {1625OpDef* _this = reinterpret_cast< OpDef* >(object);1626(void)_this;1627}1628void OpDef::RegisterArenaDtor(::google::protobuf::Arena* arena) {1629}1630void OpDef::SetCachedSize(int size) const {1631GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();1632_cached_size_ = size;1633GOOGLE_SAFE_CONCURRENT_WRITES_END();1634}1635const ::google::protobuf::Descriptor* OpDef::descriptor() {1636::protobuf_op_5fdef_2eproto::protobuf_AssignDescriptorsOnce();1637return ::protobuf_op_5fdef_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;1638}16391640const OpDef& OpDef::default_instance() {1641::protobuf_op_5fdef_2eproto::InitDefaultsOpDef();1642return *internal_default_instance();1643}16441645OpDef* OpDef::New(::google::protobuf::Arena* arena) const {1646return ::google::protobuf::Arena::CreateMessage<OpDef>(arena);1647}16481649void OpDef::Clear() {1650// @@protoc_insertion_point(message_clear_start:opencv_tensorflow.OpDef)1651::google::protobuf::uint32 cached_has_bits = 0;1652// Prevent compiler warnings about cached_has_bits being unused1653(void) cached_has_bits;16541655input_arg_.Clear();1656output_arg_.Clear();1657attr_.Clear();1658name_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());1659summary_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());1660description_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());1661if (GetArenaNoVirtual() == NULL && deprecation_ != NULL) {1662delete deprecation_;1663}1664deprecation_ = NULL;1665::memset(&is_commutative_, 0, static_cast<size_t>(1666reinterpret_cast<char*>(&allows_uninitialized_input_) -1667reinterpret_cast<char*>(&is_commutative_)) + sizeof(allows_uninitialized_input_));1668_internal_metadata_.Clear();1669}16701671bool OpDef::MergePartialFromCodedStream(1672::google::protobuf::io::CodedInputStream* input) {1673#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure1674::google::protobuf::uint32 tag;1675// @@protoc_insertion_point(parse_start:opencv_tensorflow.OpDef)1676for (;;) {1677::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(16383u);1678tag = p.first;1679if (!p.second) goto handle_unusual;1680switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {1681// string name = 1;1682case 1: {1683if (static_cast< ::google::protobuf::uint8>(tag) ==1684static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {1685DO_(::google::protobuf::internal::WireFormatLite::ReadString(1686input, this->mutable_name()));1687DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(1688this->name().data(), static_cast<int>(this->name().length()),1689::google::protobuf::internal::WireFormatLite::PARSE,1690"opencv_tensorflow.OpDef.name"));1691} else {1692goto handle_unusual;1693}1694break;1695}16961697// repeated .opencv_tensorflow.OpDef.ArgDef input_arg = 2;1698case 2: {1699if (static_cast< ::google::protobuf::uint8>(tag) ==1700static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {1701DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_input_arg()));1702} else {1703goto handle_unusual;1704}1705break;1706}17071708// repeated .opencv_tensorflow.OpDef.ArgDef output_arg = 3;1709case 3: {1710if (static_cast< ::google::protobuf::uint8>(tag) ==1711static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {1712DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_output_arg()));1713} else {1714goto handle_unusual;1715}1716break;1717}17181719// repeated .opencv_tensorflow.OpDef.AttrDef attr = 4;1720case 4: {1721if (static_cast< ::google::protobuf::uint8>(tag) ==1722static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {1723DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_attr()));1724} else {1725goto handle_unusual;1726}1727break;1728}17291730// string summary = 5;1731case 5: {1732if (static_cast< ::google::protobuf::uint8>(tag) ==1733static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {1734DO_(::google::protobuf::internal::WireFormatLite::ReadString(1735input, this->mutable_summary()));1736DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(1737this->summary().data(), static_cast<int>(this->summary().length()),1738::google::protobuf::internal::WireFormatLite::PARSE,1739"opencv_tensorflow.OpDef.summary"));1740} else {1741goto handle_unusual;1742}1743break;1744}17451746// string description = 6;1747case 6: {1748if (static_cast< ::google::protobuf::uint8>(tag) ==1749static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) {1750DO_(::google::protobuf::internal::WireFormatLite::ReadString(1751input, this->mutable_description()));1752DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(1753this->description().data(), static_cast<int>(this->description().length()),1754::google::protobuf::internal::WireFormatLite::PARSE,1755"opencv_tensorflow.OpDef.description"));1756} else {1757goto handle_unusual;1758}1759break;1760}17611762// .opencv_tensorflow.OpDeprecation deprecation = 8;1763case 8: {1764if (static_cast< ::google::protobuf::uint8>(tag) ==1765static_cast< ::google::protobuf::uint8>(66u /* 66 & 0xFF */)) {1766DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(1767input, mutable_deprecation()));1768} else {1769goto handle_unusual;1770}1771break;1772}17731774// bool is_aggregate = 16;1775case 16: {1776if (static_cast< ::google::protobuf::uint8>(tag) ==1777static_cast< ::google::protobuf::uint8>(128u /* 128 & 0xFF */)) {17781779DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<1780bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(1781input, &is_aggregate_)));1782} else {1783goto handle_unusual;1784}1785break;1786}17871788// bool is_stateful = 17;1789case 17: {1790if (static_cast< ::google::protobuf::uint8>(tag) ==1791static_cast< ::google::protobuf::uint8>(136u /* 136 & 0xFF */)) {17921793DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<1794bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(1795input, &is_stateful_)));1796} else {1797goto handle_unusual;1798}1799break;1800}18011802// bool is_commutative = 18;1803case 18: {1804if (static_cast< ::google::protobuf::uint8>(tag) ==1805static_cast< ::google::protobuf::uint8>(144u /* 144 & 0xFF */)) {18061807DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<1808bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(1809input, &is_commutative_)));1810} else {1811goto handle_unusual;1812}1813break;1814}18151816// bool allows_uninitialized_input = 19;1817case 19: {1818if (static_cast< ::google::protobuf::uint8>(tag) ==1819static_cast< ::google::protobuf::uint8>(152u /* 152 & 0xFF */)) {18201821DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<1822bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(1823input, &allows_uninitialized_input_)));1824} else {1825goto handle_unusual;1826}1827break;1828}18291830default: {1831handle_unusual:1832if (tag == 0) {1833goto success;1834}1835DO_(::google::protobuf::internal::WireFormat::SkipField(1836input, tag, _internal_metadata_.mutable_unknown_fields()));1837break;1838}1839}1840}1841success:1842// @@protoc_insertion_point(parse_success:opencv_tensorflow.OpDef)1843return true;1844failure:1845// @@protoc_insertion_point(parse_failure:opencv_tensorflow.OpDef)1846return false;1847#undef DO_1848}18491850void OpDef::SerializeWithCachedSizes(1851::google::protobuf::io::CodedOutputStream* output) const {1852// @@protoc_insertion_point(serialize_start:opencv_tensorflow.OpDef)1853::google::protobuf::uint32 cached_has_bits = 0;1854(void) cached_has_bits;18551856// string name = 1;1857if (this->name().size() > 0) {1858::google::protobuf::internal::WireFormatLite::VerifyUtf8String(1859this->name().data(), static_cast<int>(this->name().length()),1860::google::protobuf::internal::WireFormatLite::SERIALIZE,1861"opencv_tensorflow.OpDef.name");1862::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(18631, this->name(), output);1864}18651866// repeated .opencv_tensorflow.OpDef.ArgDef input_arg = 2;1867for (unsigned int i = 0,1868n = static_cast<unsigned int>(this->input_arg_size()); i < n; i++) {1869::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(18702, this->input_arg(static_cast<int>(i)), output);1871}18721873// repeated .opencv_tensorflow.OpDef.ArgDef output_arg = 3;1874for (unsigned int i = 0,1875n = static_cast<unsigned int>(this->output_arg_size()); i < n; i++) {1876::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(18773, this->output_arg(static_cast<int>(i)), output);1878}18791880// repeated .opencv_tensorflow.OpDef.AttrDef attr = 4;1881for (unsigned int i = 0,1882n = static_cast<unsigned int>(this->attr_size()); i < n; i++) {1883::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(18844, this->attr(static_cast<int>(i)), output);1885}18861887// string summary = 5;1888if (this->summary().size() > 0) {1889::google::protobuf::internal::WireFormatLite::VerifyUtf8String(1890this->summary().data(), static_cast<int>(this->summary().length()),1891::google::protobuf::internal::WireFormatLite::SERIALIZE,1892"opencv_tensorflow.OpDef.summary");1893::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(18945, this->summary(), output);1895}18961897// string description = 6;1898if (this->description().size() > 0) {1899::google::protobuf::internal::WireFormatLite::VerifyUtf8String(1900this->description().data(), static_cast<int>(this->description().length()),1901::google::protobuf::internal::WireFormatLite::SERIALIZE,1902"opencv_tensorflow.OpDef.description");1903::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(19046, this->description(), output);1905}19061907// .opencv_tensorflow.OpDeprecation deprecation = 8;1908if (this->has_deprecation()) {1909::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(19108, *this->deprecation_, output);1911}19121913// bool is_aggregate = 16;1914if (this->is_aggregate() != 0) {1915::google::protobuf::internal::WireFormatLite::WriteBool(16, this->is_aggregate(), output);1916}19171918// bool is_stateful = 17;1919if (this->is_stateful() != 0) {1920::google::protobuf::internal::WireFormatLite::WriteBool(17, this->is_stateful(), output);1921}19221923// bool is_commutative = 18;1924if (this->is_commutative() != 0) {1925::google::protobuf::internal::WireFormatLite::WriteBool(18, this->is_commutative(), output);1926}19271928// bool allows_uninitialized_input = 19;1929if (this->allows_uninitialized_input() != 0) {1930::google::protobuf::internal::WireFormatLite::WriteBool(19, this->allows_uninitialized_input(), output);1931}19321933if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {1934::google::protobuf::internal::WireFormat::SerializeUnknownFields(1935(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);1936}1937// @@protoc_insertion_point(serialize_end:opencv_tensorflow.OpDef)1938}19391940::google::protobuf::uint8* OpDef::InternalSerializeWithCachedSizesToArray(1941bool deterministic, ::google::protobuf::uint8* target) const {1942(void)deterministic; // Unused1943// @@protoc_insertion_point(serialize_to_array_start:opencv_tensorflow.OpDef)1944::google::protobuf::uint32 cached_has_bits = 0;1945(void) cached_has_bits;19461947// string name = 1;1948if (this->name().size() > 0) {1949::google::protobuf::internal::WireFormatLite::VerifyUtf8String(1950this->name().data(), static_cast<int>(this->name().length()),1951::google::protobuf::internal::WireFormatLite::SERIALIZE,1952"opencv_tensorflow.OpDef.name");1953target =1954::google::protobuf::internal::WireFormatLite::WriteStringToArray(19551, this->name(), target);1956}19571958// repeated .opencv_tensorflow.OpDef.ArgDef input_arg = 2;1959for (unsigned int i = 0,1960n = static_cast<unsigned int>(this->input_arg_size()); i < n; i++) {1961target = ::google::protobuf::internal::WireFormatLite::1962InternalWriteMessageToArray(19632, this->input_arg(static_cast<int>(i)), deterministic, target);1964}19651966// repeated .opencv_tensorflow.OpDef.ArgDef output_arg = 3;1967for (unsigned int i = 0,1968n = static_cast<unsigned int>(this->output_arg_size()); i < n; i++) {1969target = ::google::protobuf::internal::WireFormatLite::1970InternalWriteMessageToArray(19713, this->output_arg(static_cast<int>(i)), deterministic, target);1972}19731974// repeated .opencv_tensorflow.OpDef.AttrDef attr = 4;1975for (unsigned int i = 0,1976n = static_cast<unsigned int>(this->attr_size()); i < n; i++) {1977target = ::google::protobuf::internal::WireFormatLite::1978InternalWriteMessageToArray(19794, this->attr(static_cast<int>(i)), deterministic, target);1980}19811982// string summary = 5;1983if (this->summary().size() > 0) {1984::google::protobuf::internal::WireFormatLite::VerifyUtf8String(1985this->summary().data(), static_cast<int>(this->summary().length()),1986::google::protobuf::internal::WireFormatLite::SERIALIZE,1987"opencv_tensorflow.OpDef.summary");1988target =1989::google::protobuf::internal::WireFormatLite::WriteStringToArray(19905, this->summary(), target);1991}19921993// string description = 6;1994if (this->description().size() > 0) {1995::google::protobuf::internal::WireFormatLite::VerifyUtf8String(1996this->description().data(), static_cast<int>(this->description().length()),1997::google::protobuf::internal::WireFormatLite::SERIALIZE,1998"opencv_tensorflow.OpDef.description");1999target =2000::google::protobuf::internal::WireFormatLite::WriteStringToArray(20016, this->description(), target);2002}20032004// .opencv_tensorflow.OpDeprecation deprecation = 8;2005if (this->has_deprecation()) {2006target = ::google::protobuf::internal::WireFormatLite::2007InternalWriteMessageToArray(20088, *this->deprecation_, deterministic, target);2009}20102011// bool is_aggregate = 16;2012if (this->is_aggregate() != 0) {2013target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(16, this->is_aggregate(), target);2014}20152016// bool is_stateful = 17;2017if (this->is_stateful() != 0) {2018target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(17, this->is_stateful(), target);2019}20202021// bool is_commutative = 18;2022if (this->is_commutative() != 0) {2023target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(18, this->is_commutative(), target);2024}20252026// bool allows_uninitialized_input = 19;2027if (this->allows_uninitialized_input() != 0) {2028target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(19, this->allows_uninitialized_input(), target);2029}20302031if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {2032target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(2033(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);2034}2035// @@protoc_insertion_point(serialize_to_array_end:opencv_tensorflow.OpDef)2036return target;2037}20382039size_t OpDef::ByteSizeLong() const {2040// @@protoc_insertion_point(message_byte_size_start:opencv_tensorflow.OpDef)2041size_t total_size = 0;20422043if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {2044total_size +=2045::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(2046(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));2047}2048// repeated .opencv_tensorflow.OpDef.ArgDef input_arg = 2;2049{2050unsigned int count = static_cast<unsigned int>(this->input_arg_size());2051total_size += 1UL * count;2052for (unsigned int i = 0; i < count; i++) {2053total_size +=2054::google::protobuf::internal::WireFormatLite::MessageSize(2055this->input_arg(static_cast<int>(i)));2056}2057}20582059// repeated .opencv_tensorflow.OpDef.ArgDef output_arg = 3;2060{2061unsigned int count = static_cast<unsigned int>(this->output_arg_size());2062total_size += 1UL * count;2063for (unsigned int i = 0; i < count; i++) {2064total_size +=2065::google::protobuf::internal::WireFormatLite::MessageSize(2066this->output_arg(static_cast<int>(i)));2067}2068}20692070// repeated .opencv_tensorflow.OpDef.AttrDef attr = 4;2071{2072unsigned int count = static_cast<unsigned int>(this->attr_size());2073total_size += 1UL * count;2074for (unsigned int i = 0; i < count; i++) {2075total_size +=2076::google::protobuf::internal::WireFormatLite::MessageSize(2077this->attr(static_cast<int>(i)));2078}2079}20802081// string name = 1;2082if (this->name().size() > 0) {2083total_size += 1 +2084::google::protobuf::internal::WireFormatLite::StringSize(2085this->name());2086}20872088// string summary = 5;2089if (this->summary().size() > 0) {2090total_size += 1 +2091::google::protobuf::internal::WireFormatLite::StringSize(2092this->summary());2093}20942095// string description = 6;2096if (this->description().size() > 0) {2097total_size += 1 +2098::google::protobuf::internal::WireFormatLite::StringSize(2099this->description());2100}21012102// .opencv_tensorflow.OpDeprecation deprecation = 8;2103if (this->has_deprecation()) {2104total_size += 1 +2105::google::protobuf::internal::WireFormatLite::MessageSize(2106*this->deprecation_);2107}21082109// bool is_commutative = 18;2110if (this->is_commutative() != 0) {2111total_size += 2 + 1;2112}21132114// bool is_aggregate = 16;2115if (this->is_aggregate() != 0) {2116total_size += 2 + 1;2117}21182119// bool is_stateful = 17;2120if (this->is_stateful() != 0) {2121total_size += 2 + 1;2122}21232124// bool allows_uninitialized_input = 19;2125if (this->allows_uninitialized_input() != 0) {2126total_size += 2 + 1;2127}21282129int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);2130GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();2131_cached_size_ = cached_size;2132GOOGLE_SAFE_CONCURRENT_WRITES_END();2133return total_size;2134}21352136void OpDef::MergeFrom(const ::google::protobuf::Message& from) {2137// @@protoc_insertion_point(generalized_merge_from_start:opencv_tensorflow.OpDef)2138GOOGLE_DCHECK_NE(&from, this);2139const OpDef* source =2140::google::protobuf::internal::DynamicCastToGenerated<const OpDef>(2141&from);2142if (source == NULL) {2143// @@protoc_insertion_point(generalized_merge_from_cast_fail:opencv_tensorflow.OpDef)2144::google::protobuf::internal::ReflectionOps::Merge(from, this);2145} else {2146// @@protoc_insertion_point(generalized_merge_from_cast_success:opencv_tensorflow.OpDef)2147MergeFrom(*source);2148}2149}21502151void OpDef::MergeFrom(const OpDef& from) {2152// @@protoc_insertion_point(class_specific_merge_from_start:opencv_tensorflow.OpDef)2153GOOGLE_DCHECK_NE(&from, this);2154_internal_metadata_.MergeFrom(from._internal_metadata_);2155::google::protobuf::uint32 cached_has_bits = 0;2156(void) cached_has_bits;21572158input_arg_.MergeFrom(from.input_arg_);2159output_arg_.MergeFrom(from.output_arg_);2160attr_.MergeFrom(from.attr_);2161if (from.name().size() > 0) {2162set_name(from.name());2163}2164if (from.summary().size() > 0) {2165set_summary(from.summary());2166}2167if (from.description().size() > 0) {2168set_description(from.description());2169}2170if (from.has_deprecation()) {2171mutable_deprecation()->::opencv_tensorflow::OpDeprecation::MergeFrom(from.deprecation());2172}2173if (from.is_commutative() != 0) {2174set_is_commutative(from.is_commutative());2175}2176if (from.is_aggregate() != 0) {2177set_is_aggregate(from.is_aggregate());2178}2179if (from.is_stateful() != 0) {2180set_is_stateful(from.is_stateful());2181}2182if (from.allows_uninitialized_input() != 0) {2183set_allows_uninitialized_input(from.allows_uninitialized_input());2184}2185}21862187void OpDef::CopyFrom(const ::google::protobuf::Message& from) {2188// @@protoc_insertion_point(generalized_copy_from_start:opencv_tensorflow.OpDef)2189if (&from == this) return;2190Clear();2191MergeFrom(from);2192}21932194void OpDef::CopyFrom(const OpDef& from) {2195// @@protoc_insertion_point(class_specific_copy_from_start:opencv_tensorflow.OpDef)2196if (&from == this) return;2197Clear();2198MergeFrom(from);2199}22002201bool OpDef::IsInitialized() const {2202return true;2203}22042205void OpDef::Swap(OpDef* other) {2206if (other == this) return;2207if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {2208InternalSwap(other);2209} else {2210OpDef* temp = New(GetArenaNoVirtual());2211temp->MergeFrom(*other);2212other->CopyFrom(*this);2213InternalSwap(temp);2214if (GetArenaNoVirtual() == NULL) {2215delete temp;2216}2217}2218}2219void OpDef::UnsafeArenaSwap(OpDef* other) {2220if (other == this) return;2221GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());2222InternalSwap(other);2223}2224void OpDef::InternalSwap(OpDef* other) {2225using std::swap;2226input_arg_.InternalSwap(&other->input_arg_);2227output_arg_.InternalSwap(&other->output_arg_);2228attr_.InternalSwap(&other->attr_);2229name_.Swap(&other->name_);2230summary_.Swap(&other->summary_);2231description_.Swap(&other->description_);2232swap(deprecation_, other->deprecation_);2233swap(is_commutative_, other->is_commutative_);2234swap(is_aggregate_, other->is_aggregate_);2235swap(is_stateful_, other->is_stateful_);2236swap(allows_uninitialized_input_, other->allows_uninitialized_input_);2237_internal_metadata_.Swap(&other->_internal_metadata_);2238swap(_cached_size_, other->_cached_size_);2239}22402241::google::protobuf::Metadata OpDef::GetMetadata() const {2242protobuf_op_5fdef_2eproto::protobuf_AssignDescriptorsOnce();2243return ::protobuf_op_5fdef_2eproto::file_level_metadata[kIndexInFileMessages];2244}224522462247// ===================================================================22482249void OpDeprecation::InitAsDefaultInstance() {2250}2251#if !defined(_MSC_VER) || _MSC_VER >= 19002252const int OpDeprecation::kVersionFieldNumber;2253const int OpDeprecation::kExplanationFieldNumber;2254#endif // !defined(_MSC_VER) || _MSC_VER >= 190022552256OpDeprecation::OpDeprecation()2257: ::google::protobuf::Message(), _internal_metadata_(NULL) {2258if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {2259::protobuf_op_5fdef_2eproto::InitDefaultsOpDeprecation();2260}2261SharedCtor();2262// @@protoc_insertion_point(constructor:opencv_tensorflow.OpDeprecation)2263}2264OpDeprecation::OpDeprecation(::google::protobuf::Arena* arena)2265: ::google::protobuf::Message(),2266_internal_metadata_(arena) {2267::protobuf_op_5fdef_2eproto::InitDefaultsOpDeprecation();2268SharedCtor();2269RegisterArenaDtor(arena);2270// @@protoc_insertion_point(arena_constructor:opencv_tensorflow.OpDeprecation)2271}2272OpDeprecation::OpDeprecation(const OpDeprecation& from)2273: ::google::protobuf::Message(),2274_internal_metadata_(NULL),2275_cached_size_(0) {2276_internal_metadata_.MergeFrom(from._internal_metadata_);2277explanation_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());2278if (from.explanation().size() > 0) {2279explanation_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.explanation(),2280GetArenaNoVirtual());2281}2282version_ = from.version_;2283// @@protoc_insertion_point(copy_constructor:opencv_tensorflow.OpDeprecation)2284}22852286void OpDeprecation::SharedCtor() {2287explanation_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());2288version_ = 0;2289_cached_size_ = 0;2290}22912292OpDeprecation::~OpDeprecation() {2293// @@protoc_insertion_point(destructor:opencv_tensorflow.OpDeprecation)2294SharedDtor();2295}22962297void OpDeprecation::SharedDtor() {2298GOOGLE_DCHECK(GetArenaNoVirtual() == NULL);2299explanation_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());2300}23012302void OpDeprecation::ArenaDtor(void* object) {2303OpDeprecation* _this = reinterpret_cast< OpDeprecation* >(object);2304(void)_this;2305}2306void OpDeprecation::RegisterArenaDtor(::google::protobuf::Arena* arena) {2307}2308void OpDeprecation::SetCachedSize(int size) const {2309GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();2310_cached_size_ = size;2311GOOGLE_SAFE_CONCURRENT_WRITES_END();2312}2313const ::google::protobuf::Descriptor* OpDeprecation::descriptor() {2314::protobuf_op_5fdef_2eproto::protobuf_AssignDescriptorsOnce();2315return ::protobuf_op_5fdef_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;2316}23172318const OpDeprecation& OpDeprecation::default_instance() {2319::protobuf_op_5fdef_2eproto::InitDefaultsOpDeprecation();2320return *internal_default_instance();2321}23222323OpDeprecation* OpDeprecation::New(::google::protobuf::Arena* arena) const {2324return ::google::protobuf::Arena::CreateMessage<OpDeprecation>(arena);2325}23262327void OpDeprecation::Clear() {2328// @@protoc_insertion_point(message_clear_start:opencv_tensorflow.OpDeprecation)2329::google::protobuf::uint32 cached_has_bits = 0;2330// Prevent compiler warnings about cached_has_bits being unused2331(void) cached_has_bits;23322333explanation_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());2334version_ = 0;2335_internal_metadata_.Clear();2336}23372338bool OpDeprecation::MergePartialFromCodedStream(2339::google::protobuf::io::CodedInputStream* input) {2340#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure2341::google::protobuf::uint32 tag;2342// @@protoc_insertion_point(parse_start:opencv_tensorflow.OpDeprecation)2343for (;;) {2344::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);2345tag = p.first;2346if (!p.second) goto handle_unusual;2347switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {2348// int32 version = 1;2349case 1: {2350if (static_cast< ::google::protobuf::uint8>(tag) ==2351static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {23522353DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<2354::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(2355input, &version_)));2356} else {2357goto handle_unusual;2358}2359break;2360}23612362// string explanation = 2;2363case 2: {2364if (static_cast< ::google::protobuf::uint8>(tag) ==2365static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {2366DO_(::google::protobuf::internal::WireFormatLite::ReadString(2367input, this->mutable_explanation()));2368DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(2369this->explanation().data(), static_cast<int>(this->explanation().length()),2370::google::protobuf::internal::WireFormatLite::PARSE,2371"opencv_tensorflow.OpDeprecation.explanation"));2372} else {2373goto handle_unusual;2374}2375break;2376}23772378default: {2379handle_unusual:2380if (tag == 0) {2381goto success;2382}2383DO_(::google::protobuf::internal::WireFormat::SkipField(2384input, tag, _internal_metadata_.mutable_unknown_fields()));2385break;2386}2387}2388}2389success:2390// @@protoc_insertion_point(parse_success:opencv_tensorflow.OpDeprecation)2391return true;2392failure:2393// @@protoc_insertion_point(parse_failure:opencv_tensorflow.OpDeprecation)2394return false;2395#undef DO_2396}23972398void OpDeprecation::SerializeWithCachedSizes(2399::google::protobuf::io::CodedOutputStream* output) const {2400// @@protoc_insertion_point(serialize_start:opencv_tensorflow.OpDeprecation)2401::google::protobuf::uint32 cached_has_bits = 0;2402(void) cached_has_bits;24032404// int32 version = 1;2405if (this->version() != 0) {2406::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->version(), output);2407}24082409// string explanation = 2;2410if (this->explanation().size() > 0) {2411::google::protobuf::internal::WireFormatLite::VerifyUtf8String(2412this->explanation().data(), static_cast<int>(this->explanation().length()),2413::google::protobuf::internal::WireFormatLite::SERIALIZE,2414"opencv_tensorflow.OpDeprecation.explanation");2415::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(24162, this->explanation(), output);2417}24182419if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {2420::google::protobuf::internal::WireFormat::SerializeUnknownFields(2421(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);2422}2423// @@protoc_insertion_point(serialize_end:opencv_tensorflow.OpDeprecation)2424}24252426::google::protobuf::uint8* OpDeprecation::InternalSerializeWithCachedSizesToArray(2427bool deterministic, ::google::protobuf::uint8* target) const {2428(void)deterministic; // Unused2429// @@protoc_insertion_point(serialize_to_array_start:opencv_tensorflow.OpDeprecation)2430::google::protobuf::uint32 cached_has_bits = 0;2431(void) cached_has_bits;24322433// int32 version = 1;2434if (this->version() != 0) {2435target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->version(), target);2436}24372438// string explanation = 2;2439if (this->explanation().size() > 0) {2440::google::protobuf::internal::WireFormatLite::VerifyUtf8String(2441this->explanation().data(), static_cast<int>(this->explanation().length()),2442::google::protobuf::internal::WireFormatLite::SERIALIZE,2443"opencv_tensorflow.OpDeprecation.explanation");2444target =2445::google::protobuf::internal::WireFormatLite::WriteStringToArray(24462, this->explanation(), target);2447}24482449if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {2450target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(2451(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);2452}2453// @@protoc_insertion_point(serialize_to_array_end:opencv_tensorflow.OpDeprecation)2454return target;2455}24562457size_t OpDeprecation::ByteSizeLong() const {2458// @@protoc_insertion_point(message_byte_size_start:opencv_tensorflow.OpDeprecation)2459size_t total_size = 0;24602461if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {2462total_size +=2463::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(2464(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));2465}2466// string explanation = 2;2467if (this->explanation().size() > 0) {2468total_size += 1 +2469::google::protobuf::internal::WireFormatLite::StringSize(2470this->explanation());2471}24722473// int32 version = 1;2474if (this->version() != 0) {2475total_size += 1 +2476::google::protobuf::internal::WireFormatLite::Int32Size(2477this->version());2478}24792480int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);2481GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();2482_cached_size_ = cached_size;2483GOOGLE_SAFE_CONCURRENT_WRITES_END();2484return total_size;2485}24862487void OpDeprecation::MergeFrom(const ::google::protobuf::Message& from) {2488// @@protoc_insertion_point(generalized_merge_from_start:opencv_tensorflow.OpDeprecation)2489GOOGLE_DCHECK_NE(&from, this);2490const OpDeprecation* source =2491::google::protobuf::internal::DynamicCastToGenerated<const OpDeprecation>(2492&from);2493if (source == NULL) {2494// @@protoc_insertion_point(generalized_merge_from_cast_fail:opencv_tensorflow.OpDeprecation)2495::google::protobuf::internal::ReflectionOps::Merge(from, this);2496} else {2497// @@protoc_insertion_point(generalized_merge_from_cast_success:opencv_tensorflow.OpDeprecation)2498MergeFrom(*source);2499}2500}25012502void OpDeprecation::MergeFrom(const OpDeprecation& from) {2503// @@protoc_insertion_point(class_specific_merge_from_start:opencv_tensorflow.OpDeprecation)2504GOOGLE_DCHECK_NE(&from, this);2505_internal_metadata_.MergeFrom(from._internal_metadata_);2506::google::protobuf::uint32 cached_has_bits = 0;2507(void) cached_has_bits;25082509if (from.explanation().size() > 0) {2510set_explanation(from.explanation());2511}2512if (from.version() != 0) {2513set_version(from.version());2514}2515}25162517void OpDeprecation::CopyFrom(const ::google::protobuf::Message& from) {2518// @@protoc_insertion_point(generalized_copy_from_start:opencv_tensorflow.OpDeprecation)2519if (&from == this) return;2520Clear();2521MergeFrom(from);2522}25232524void OpDeprecation::CopyFrom(const OpDeprecation& from) {2525// @@protoc_insertion_point(class_specific_copy_from_start:opencv_tensorflow.OpDeprecation)2526if (&from == this) return;2527Clear();2528MergeFrom(from);2529}25302531bool OpDeprecation::IsInitialized() const {2532return true;2533}25342535void OpDeprecation::Swap(OpDeprecation* other) {2536if (other == this) return;2537if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {2538InternalSwap(other);2539} else {2540OpDeprecation* temp = New(GetArenaNoVirtual());2541temp->MergeFrom(*other);2542other->CopyFrom(*this);2543InternalSwap(temp);2544if (GetArenaNoVirtual() == NULL) {2545delete temp;2546}2547}2548}2549void OpDeprecation::UnsafeArenaSwap(OpDeprecation* other) {2550if (other == this) return;2551GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());2552InternalSwap(other);2553}2554void OpDeprecation::InternalSwap(OpDeprecation* other) {2555using std::swap;2556explanation_.Swap(&other->explanation_);2557swap(version_, other->version_);2558_internal_metadata_.Swap(&other->_internal_metadata_);2559swap(_cached_size_, other->_cached_size_);2560}25612562::google::protobuf::Metadata OpDeprecation::GetMetadata() const {2563protobuf_op_5fdef_2eproto::protobuf_AssignDescriptorsOnce();2564return ::protobuf_op_5fdef_2eproto::file_level_metadata[kIndexInFileMessages];2565}256625672568// ===================================================================25692570void OpList::InitAsDefaultInstance() {2571}2572#if !defined(_MSC_VER) || _MSC_VER >= 19002573const int OpList::kOpFieldNumber;2574#endif // !defined(_MSC_VER) || _MSC_VER >= 190025752576OpList::OpList()2577: ::google::protobuf::Message(), _internal_metadata_(NULL) {2578if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {2579::protobuf_op_5fdef_2eproto::InitDefaultsOpList();2580}2581SharedCtor();2582// @@protoc_insertion_point(constructor:opencv_tensorflow.OpList)2583}2584OpList::OpList(::google::protobuf::Arena* arena)2585: ::google::protobuf::Message(),2586_internal_metadata_(arena),2587op_(arena) {2588::protobuf_op_5fdef_2eproto::InitDefaultsOpList();2589SharedCtor();2590RegisterArenaDtor(arena);2591// @@protoc_insertion_point(arena_constructor:opencv_tensorflow.OpList)2592}2593OpList::OpList(const OpList& from)2594: ::google::protobuf::Message(),2595_internal_metadata_(NULL),2596op_(from.op_),2597_cached_size_(0) {2598_internal_metadata_.MergeFrom(from._internal_metadata_);2599// @@protoc_insertion_point(copy_constructor:opencv_tensorflow.OpList)2600}26012602void OpList::SharedCtor() {2603_cached_size_ = 0;2604}26052606OpList::~OpList() {2607// @@protoc_insertion_point(destructor:opencv_tensorflow.OpList)2608SharedDtor();2609}26102611void OpList::SharedDtor() {2612GOOGLE_DCHECK(GetArenaNoVirtual() == NULL);2613}26142615void OpList::ArenaDtor(void* object) {2616OpList* _this = reinterpret_cast< OpList* >(object);2617(void)_this;2618}2619void OpList::RegisterArenaDtor(::google::protobuf::Arena* arena) {2620}2621void OpList::SetCachedSize(int size) const {2622GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();2623_cached_size_ = size;2624GOOGLE_SAFE_CONCURRENT_WRITES_END();2625}2626const ::google::protobuf::Descriptor* OpList::descriptor() {2627::protobuf_op_5fdef_2eproto::protobuf_AssignDescriptorsOnce();2628return ::protobuf_op_5fdef_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;2629}26302631const OpList& OpList::default_instance() {2632::protobuf_op_5fdef_2eproto::InitDefaultsOpList();2633return *internal_default_instance();2634}26352636OpList* OpList::New(::google::protobuf::Arena* arena) const {2637return ::google::protobuf::Arena::CreateMessage<OpList>(arena);2638}26392640void OpList::Clear() {2641// @@protoc_insertion_point(message_clear_start:opencv_tensorflow.OpList)2642::google::protobuf::uint32 cached_has_bits = 0;2643// Prevent compiler warnings about cached_has_bits being unused2644(void) cached_has_bits;26452646op_.Clear();2647_internal_metadata_.Clear();2648}26492650bool OpList::MergePartialFromCodedStream(2651::google::protobuf::io::CodedInputStream* input) {2652#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure2653::google::protobuf::uint32 tag;2654// @@protoc_insertion_point(parse_start:opencv_tensorflow.OpList)2655for (;;) {2656::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);2657tag = p.first;2658if (!p.second) goto handle_unusual;2659switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {2660// repeated .opencv_tensorflow.OpDef op = 1;2661case 1: {2662if (static_cast< ::google::protobuf::uint8>(tag) ==2663static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {2664DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_op()));2665} else {2666goto handle_unusual;2667}2668break;2669}26702671default: {2672handle_unusual:2673if (tag == 0) {2674goto success;2675}2676DO_(::google::protobuf::internal::WireFormat::SkipField(2677input, tag, _internal_metadata_.mutable_unknown_fields()));2678break;2679}2680}2681}2682success:2683// @@protoc_insertion_point(parse_success:opencv_tensorflow.OpList)2684return true;2685failure:2686// @@protoc_insertion_point(parse_failure:opencv_tensorflow.OpList)2687return false;2688#undef DO_2689}26902691void OpList::SerializeWithCachedSizes(2692::google::protobuf::io::CodedOutputStream* output) const {2693// @@protoc_insertion_point(serialize_start:opencv_tensorflow.OpList)2694::google::protobuf::uint32 cached_has_bits = 0;2695(void) cached_has_bits;26962697// repeated .opencv_tensorflow.OpDef op = 1;2698for (unsigned int i = 0,2699n = static_cast<unsigned int>(this->op_size()); i < n; i++) {2700::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(27011, this->op(static_cast<int>(i)), output);2702}27032704if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {2705::google::protobuf::internal::WireFormat::SerializeUnknownFields(2706(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);2707}2708// @@protoc_insertion_point(serialize_end:opencv_tensorflow.OpList)2709}27102711::google::protobuf::uint8* OpList::InternalSerializeWithCachedSizesToArray(2712bool deterministic, ::google::protobuf::uint8* target) const {2713(void)deterministic; // Unused2714// @@protoc_insertion_point(serialize_to_array_start:opencv_tensorflow.OpList)2715::google::protobuf::uint32 cached_has_bits = 0;2716(void) cached_has_bits;27172718// repeated .opencv_tensorflow.OpDef op = 1;2719for (unsigned int i = 0,2720n = static_cast<unsigned int>(this->op_size()); i < n; i++) {2721target = ::google::protobuf::internal::WireFormatLite::2722InternalWriteMessageToArray(27231, this->op(static_cast<int>(i)), deterministic, target);2724}27252726if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {2727target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(2728(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);2729}2730// @@protoc_insertion_point(serialize_to_array_end:opencv_tensorflow.OpList)2731return target;2732}27332734size_t OpList::ByteSizeLong() const {2735// @@protoc_insertion_point(message_byte_size_start:opencv_tensorflow.OpList)2736size_t total_size = 0;27372738if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {2739total_size +=2740::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(2741(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));2742}2743// repeated .opencv_tensorflow.OpDef op = 1;2744{2745unsigned int count = static_cast<unsigned int>(this->op_size());2746total_size += 1UL * count;2747for (unsigned int i = 0; i < count; i++) {2748total_size +=2749::google::protobuf::internal::WireFormatLite::MessageSize(2750this->op(static_cast<int>(i)));2751}2752}27532754int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);2755GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();2756_cached_size_ = cached_size;2757GOOGLE_SAFE_CONCURRENT_WRITES_END();2758return total_size;2759}27602761void OpList::MergeFrom(const ::google::protobuf::Message& from) {2762// @@protoc_insertion_point(generalized_merge_from_start:opencv_tensorflow.OpList)2763GOOGLE_DCHECK_NE(&from, this);2764const OpList* source =2765::google::protobuf::internal::DynamicCastToGenerated<const OpList>(2766&from);2767if (source == NULL) {2768// @@protoc_insertion_point(generalized_merge_from_cast_fail:opencv_tensorflow.OpList)2769::google::protobuf::internal::ReflectionOps::Merge(from, this);2770} else {2771// @@protoc_insertion_point(generalized_merge_from_cast_success:opencv_tensorflow.OpList)2772MergeFrom(*source);2773}2774}27752776void OpList::MergeFrom(const OpList& from) {2777// @@protoc_insertion_point(class_specific_merge_from_start:opencv_tensorflow.OpList)2778GOOGLE_DCHECK_NE(&from, this);2779_internal_metadata_.MergeFrom(from._internal_metadata_);2780::google::protobuf::uint32 cached_has_bits = 0;2781(void) cached_has_bits;27822783op_.MergeFrom(from.op_);2784}27852786void OpList::CopyFrom(const ::google::protobuf::Message& from) {2787// @@protoc_insertion_point(generalized_copy_from_start:opencv_tensorflow.OpList)2788if (&from == this) return;2789Clear();2790MergeFrom(from);2791}27922793void OpList::CopyFrom(const OpList& from) {2794// @@protoc_insertion_point(class_specific_copy_from_start:opencv_tensorflow.OpList)2795if (&from == this) return;2796Clear();2797MergeFrom(from);2798}27992800bool OpList::IsInitialized() const {2801return true;2802}28032804void OpList::Swap(OpList* other) {2805if (other == this) return;2806if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {2807InternalSwap(other);2808} else {2809OpList* temp = New(GetArenaNoVirtual());2810temp->MergeFrom(*other);2811other->CopyFrom(*this);2812InternalSwap(temp);2813if (GetArenaNoVirtual() == NULL) {2814delete temp;2815}2816}2817}2818void OpList::UnsafeArenaSwap(OpList* other) {2819if (other == this) return;2820GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());2821InternalSwap(other);2822}2823void OpList::InternalSwap(OpList* other) {2824using std::swap;2825op_.InternalSwap(&other->op_);2826_internal_metadata_.Swap(&other->_internal_metadata_);2827swap(_cached_size_, other->_cached_size_);2828}28292830::google::protobuf::Metadata OpList::GetMetadata() const {2831protobuf_op_5fdef_2eproto::protobuf_AssignDescriptorsOnce();2832return ::protobuf_op_5fdef_2eproto::file_level_metadata[kIndexInFileMessages];2833}283428352836// @@protoc_insertion_point(namespace_scope)2837} // namespace opencv_tensorflow28382839// @@protoc_insertion_point(global_scope)284028412842