Path: blob/master/modules/dnn/misc/tensorflow/versions.pb.h
16358 views
// Generated by the protocol buffer compiler. DO NOT EDIT!1// source: versions.proto23#ifndef PROTOBUF_versions_2eproto__INCLUDED4#define PROTOBUF_versions_2eproto__INCLUDED56#include <string>78#include <google/protobuf/stubs/common.h>910#if GOOGLE_PROTOBUF_VERSION < 300500011#error This file was generated by a newer version of protoc which is12#error incompatible with your Protocol Buffer headers. Please update13#error your headers.14#endif15#if 3005001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION16#error This file was generated by an older version of protoc which is17#error incompatible with your Protocol Buffer headers. Please18#error regenerate this file with a newer version of protoc.19#endif2021#include <google/protobuf/io/coded_stream.h>22#include <google/protobuf/arena.h>23#include <google/protobuf/arenastring.h>24#include <google/protobuf/generated_message_table_driven.h>25#include <google/protobuf/generated_message_util.h>26#include <google/protobuf/metadata.h>27#include <google/protobuf/message.h>28#include <google/protobuf/repeated_field.h> // IWYU pragma: export29#include <google/protobuf/extension_set.h> // IWYU pragma: export30#include <google/protobuf/unknown_field_set.h>31// @@protoc_insertion_point(includes)3233namespace protobuf_versions_2eproto {34// Internal implementation detail -- do not use these members.35struct TableStruct {36static const ::google::protobuf::internal::ParseTableField entries[];37static const ::google::protobuf::internal::AuxillaryParseTableField aux[];38static const ::google::protobuf::internal::ParseTable schema[1];39static const ::google::protobuf::internal::FieldMetadata field_metadata[];40static const ::google::protobuf::internal::SerializationTable serialization_table[];41static const ::google::protobuf::uint32 offsets[];42};43void AddDescriptors();44void InitDefaultsVersionDefImpl();45void InitDefaultsVersionDef();46inline void InitDefaults() {47InitDefaultsVersionDef();48}49} // namespace protobuf_versions_2eproto50namespace opencv_tensorflow {51class VersionDef;52class VersionDefDefaultTypeInternal;53extern VersionDefDefaultTypeInternal _VersionDef_default_instance_;54} // namespace opencv_tensorflow55namespace opencv_tensorflow {5657// ===================================================================5859class VersionDef : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_tensorflow.VersionDef) */ {60public:61VersionDef();62virtual ~VersionDef();6364VersionDef(const VersionDef& from);6566inline VersionDef& operator=(const VersionDef& from) {67CopyFrom(from);68return *this;69}70#if LANG_CXX1171VersionDef(VersionDef&& from) noexcept72: VersionDef() {73*this = ::std::move(from);74}7576inline VersionDef& operator=(VersionDef&& from) noexcept {77if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {78if (this != &from) InternalSwap(&from);79} else {80CopyFrom(from);81}82return *this;83}84#endif85inline ::google::protobuf::Arena* GetArena() const PROTOBUF_FINAL {86return GetArenaNoVirtual();87}88inline void* GetMaybeArenaPointer() const PROTOBUF_FINAL {89return MaybeArenaPtr();90}91static const ::google::protobuf::Descriptor* descriptor();92static const VersionDef& default_instance();9394static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY95static inline const VersionDef* internal_default_instance() {96return reinterpret_cast<const VersionDef*>(97&_VersionDef_default_instance_);98}99static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =1000;101102void UnsafeArenaSwap(VersionDef* other);103void Swap(VersionDef* other);104friend void swap(VersionDef& a, VersionDef& b) {105a.Swap(&b);106}107108// implements Message ----------------------------------------------109110inline VersionDef* New() const PROTOBUF_FINAL { return New(NULL); }111112VersionDef* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;113void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;114void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;115void CopyFrom(const VersionDef& from);116void MergeFrom(const VersionDef& from);117void Clear() PROTOBUF_FINAL;118bool IsInitialized() const PROTOBUF_FINAL;119120size_t ByteSizeLong() const PROTOBUF_FINAL;121bool MergePartialFromCodedStream(122::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;123void SerializeWithCachedSizes(124::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;125::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(126bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;127int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }128private:129void SharedCtor();130void SharedDtor();131void SetCachedSize(int size) const PROTOBUF_FINAL;132void InternalSwap(VersionDef* other);133protected:134explicit VersionDef(::google::protobuf::Arena* arena);135private:136static void ArenaDtor(void* object);137inline void RegisterArenaDtor(::google::protobuf::Arena* arena);138private:139inline ::google::protobuf::Arena* GetArenaNoVirtual() const {140return _internal_metadata_.arena();141}142inline void* MaybeArenaPtr() const {143return _internal_metadata_.raw_arena_ptr();144}145public:146147::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;148149// nested types ----------------------------------------------------150151// accessors -------------------------------------------------------152153// repeated int32 bad_consumers = 3;154int bad_consumers_size() const;155void clear_bad_consumers();156static const int kBadConsumersFieldNumber = 3;157::google::protobuf::int32 bad_consumers(int index) const;158void set_bad_consumers(int index, ::google::protobuf::int32 value);159void add_bad_consumers(::google::protobuf::int32 value);160const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&161bad_consumers() const;162::google::protobuf::RepeatedField< ::google::protobuf::int32 >*163mutable_bad_consumers();164165// int32 producer = 1;166void clear_producer();167static const int kProducerFieldNumber = 1;168::google::protobuf::int32 producer() const;169void set_producer(::google::protobuf::int32 value);170171// int32 min_consumer = 2;172void clear_min_consumer();173static const int kMinConsumerFieldNumber = 2;174::google::protobuf::int32 min_consumer() const;175void set_min_consumer(::google::protobuf::int32 value);176177// @@protoc_insertion_point(class_scope:opencv_tensorflow.VersionDef)178private:179180::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;181template <typename T> friend class ::google::protobuf::Arena::InternalHelper;182typedef void InternalArenaConstructable_;183typedef void DestructorSkippable_;184::google::protobuf::RepeatedField< ::google::protobuf::int32 > bad_consumers_;185mutable int _bad_consumers_cached_byte_size_;186::google::protobuf::int32 producer_;187::google::protobuf::int32 min_consumer_;188mutable int _cached_size_;189friend struct ::protobuf_versions_2eproto::TableStruct;190friend void ::protobuf_versions_2eproto::InitDefaultsVersionDefImpl();191};192// ===================================================================193194195// ===================================================================196197#ifdef __GNUC__198#pragma GCC diagnostic push199#pragma GCC diagnostic ignored "-Wstrict-aliasing"200#endif // __GNUC__201// VersionDef202203// int32 producer = 1;204inline void VersionDef::clear_producer() {205producer_ = 0;206}207inline ::google::protobuf::int32 VersionDef::producer() const {208// @@protoc_insertion_point(field_get:opencv_tensorflow.VersionDef.producer)209return producer_;210}211inline void VersionDef::set_producer(::google::protobuf::int32 value) {212213producer_ = value;214// @@protoc_insertion_point(field_set:opencv_tensorflow.VersionDef.producer)215}216217// int32 min_consumer = 2;218inline void VersionDef::clear_min_consumer() {219min_consumer_ = 0;220}221inline ::google::protobuf::int32 VersionDef::min_consumer() const {222// @@protoc_insertion_point(field_get:opencv_tensorflow.VersionDef.min_consumer)223return min_consumer_;224}225inline void VersionDef::set_min_consumer(::google::protobuf::int32 value) {226227min_consumer_ = value;228// @@protoc_insertion_point(field_set:opencv_tensorflow.VersionDef.min_consumer)229}230231// repeated int32 bad_consumers = 3;232inline int VersionDef::bad_consumers_size() const {233return bad_consumers_.size();234}235inline void VersionDef::clear_bad_consumers() {236bad_consumers_.Clear();237}238inline ::google::protobuf::int32 VersionDef::bad_consumers(int index) const {239// @@protoc_insertion_point(field_get:opencv_tensorflow.VersionDef.bad_consumers)240return bad_consumers_.Get(index);241}242inline void VersionDef::set_bad_consumers(int index, ::google::protobuf::int32 value) {243bad_consumers_.Set(index, value);244// @@protoc_insertion_point(field_set:opencv_tensorflow.VersionDef.bad_consumers)245}246inline void VersionDef::add_bad_consumers(::google::protobuf::int32 value) {247bad_consumers_.Add(value);248// @@protoc_insertion_point(field_add:opencv_tensorflow.VersionDef.bad_consumers)249}250inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&251VersionDef::bad_consumers() const {252// @@protoc_insertion_point(field_list:opencv_tensorflow.VersionDef.bad_consumers)253return bad_consumers_;254}255inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*256VersionDef::mutable_bad_consumers() {257// @@protoc_insertion_point(field_mutable_list:opencv_tensorflow.VersionDef.bad_consumers)258return &bad_consumers_;259}260261#ifdef __GNUC__262#pragma GCC diagnostic pop263#endif // __GNUC__264265// @@protoc_insertion_point(namespace_scope)266267} // namespace opencv_tensorflow268269// @@protoc_insertion_point(global_scope)270271#endif // PROTOBUF_versions_2eproto__INCLUDED272273274