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