2017-06-26 18:35:51 +08:00
|
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
|
|
// source: versions.proto
|
|
|
|
|
|
|
|
#ifndef PROTOBUF_versions_2eproto__INCLUDED
|
|
|
|
#define PROTOBUF_versions_2eproto__INCLUDED
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
#include <google/protobuf/stubs/common.h>
|
|
|
|
|
2018-01-15 23:51:38 +08:00
|
|
|
#if GOOGLE_PROTOBUF_VERSION < 3005000
|
2017-06-26 18:35:51 +08:00
|
|
|
#error This file was generated by a newer version of protoc which is
|
|
|
|
#error incompatible with your Protocol Buffer headers. Please update
|
|
|
|
#error your headers.
|
|
|
|
#endif
|
2018-01-15 23:51:38 +08:00
|
|
|
#if 3005001 < GOOGLE_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
|
|
|
|
#error incompatible with your Protocol Buffer headers. Please
|
|
|
|
#error regenerate this file with a newer version of protoc.
|
|
|
|
#endif
|
|
|
|
|
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>
|
|
|
|
#include <google/protobuf/metadata.h>
|
|
|
|
#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>
|
|
|
|
// @@protoc_insertion_point(includes)
|
|
|
|
|
2018-01-15 23:51:38 +08:00
|
|
|
namespace protobuf_versions_2eproto {
|
|
|
|
// Internal implementation detail -- do not use these members.
|
|
|
|
struct TableStruct {
|
|
|
|
static const ::google::protobuf::internal::ParseTableField entries[];
|
|
|
|
static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
|
|
|
|
static const ::google::protobuf::internal::ParseTable schema[1];
|
|
|
|
static const ::google::protobuf::internal::FieldMetadata field_metadata[];
|
|
|
|
static const ::google::protobuf::internal::SerializationTable serialization_table[];
|
|
|
|
static const ::google::protobuf::uint32 offsets[];
|
|
|
|
};
|
|
|
|
void AddDescriptors();
|
|
|
|
void InitDefaultsVersionDefImpl();
|
|
|
|
void InitDefaultsVersionDef();
|
|
|
|
inline void InitDefaults() {
|
|
|
|
InitDefaultsVersionDef();
|
|
|
|
}
|
|
|
|
} // namespace protobuf_versions_2eproto
|
2018-09-13 02:33:45 +08:00
|
|
|
namespace opencv_tensorflow {
|
2017-06-26 18:35:51 +08:00
|
|
|
class VersionDef;
|
2018-01-15 23:51:38 +08:00
|
|
|
class VersionDefDefaultTypeInternal;
|
|
|
|
extern VersionDefDefaultTypeInternal _VersionDef_default_instance_;
|
2018-09-13 02:33:45 +08:00
|
|
|
} // namespace opencv_tensorflow
|
|
|
|
namespace opencv_tensorflow {
|
2017-06-26 18:35:51 +08:00
|
|
|
|
|
|
|
// ===================================================================
|
|
|
|
|
2018-09-13 02:33:45 +08:00
|
|
|
class VersionDef : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_tensorflow.VersionDef) */ {
|
2017-06-26 18:35:51 +08:00
|
|
|
public:
|
|
|
|
VersionDef();
|
|
|
|
virtual ~VersionDef();
|
|
|
|
|
|
|
|
VersionDef(const VersionDef& from);
|
|
|
|
|
|
|
|
inline VersionDef& operator=(const VersionDef& from) {
|
|
|
|
CopyFrom(from);
|
|
|
|
return *this;
|
|
|
|
}
|
2018-01-15 23:51:38 +08:00
|
|
|
#if LANG_CXX11
|
|
|
|
VersionDef(VersionDef&& from) noexcept
|
|
|
|
: VersionDef() {
|
|
|
|
*this = ::std::move(from);
|
|
|
|
}
|
2017-06-26 18:35:51 +08:00
|
|
|
|
2018-01-15 23:51:38 +08:00
|
|
|
inline VersionDef& operator=(VersionDef&& from) noexcept {
|
|
|
|
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
|
|
|
if (this != &from) InternalSwap(&from);
|
|
|
|
} else {
|
|
|
|
CopyFrom(from);
|
|
|
|
}
|
|
|
|
return *this;
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
inline ::google::protobuf::Arena* GetArena() const PROTOBUF_FINAL {
|
|
|
|
return GetArenaNoVirtual();
|
|
|
|
}
|
|
|
|
inline void* GetMaybeArenaPointer() const PROTOBUF_FINAL {
|
2017-06-26 18:35:51 +08:00
|
|
|
return MaybeArenaPtr();
|
|
|
|
}
|
|
|
|
static const ::google::protobuf::Descriptor* descriptor();
|
|
|
|
static const VersionDef& default_instance();
|
|
|
|
|
2018-01-15 23:51:38 +08:00
|
|
|
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
|
|
|
|
static inline const VersionDef* internal_default_instance() {
|
|
|
|
return reinterpret_cast<const VersionDef*>(
|
|
|
|
&_VersionDef_default_instance_);
|
|
|
|
}
|
|
|
|
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
|
|
|
|
0;
|
2017-06-26 18:35:51 +08:00
|
|
|
|
|
|
|
void UnsafeArenaSwap(VersionDef* other);
|
|
|
|
void Swap(VersionDef* other);
|
2018-01-15 23:51:38 +08:00
|
|
|
friend void swap(VersionDef& a, VersionDef& b) {
|
|
|
|
a.Swap(&b);
|
|
|
|
}
|
2017-06-26 18:35:51 +08:00
|
|
|
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
|
2018-01-15 23:51:38 +08:00
|
|
|
inline VersionDef* New() const PROTOBUF_FINAL { return New(NULL); }
|
2017-06-26 18:35:51 +08:00
|
|
|
|
2018-01-15 23:51:38 +08:00
|
|
|
VersionDef* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
|
|
|
|
void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
|
|
|
|
void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
|
2017-06-26 18:35:51 +08:00
|
|
|
void CopyFrom(const VersionDef& from);
|
|
|
|
void MergeFrom(const VersionDef& from);
|
2018-01-15 23:51:38 +08:00
|
|
|
void Clear() PROTOBUF_FINAL;
|
|
|
|
bool IsInitialized() const PROTOBUF_FINAL;
|
2017-06-26 18:35:51 +08:00
|
|
|
|
2018-01-15 23:51:38 +08:00
|
|
|
size_t ByteSizeLong() const PROTOBUF_FINAL;
|
2017-06-26 18:35:51 +08:00
|
|
|
bool MergePartialFromCodedStream(
|
2018-01-15 23:51:38 +08:00
|
|
|
::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
|
2017-06-26 18:35:51 +08:00
|
|
|
void SerializeWithCachedSizes(
|
2018-01-15 23:51:38 +08:00
|
|
|
::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
|
2017-06-26 18:35:51 +08:00
|
|
|
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
|
2018-01-15 23:51:38 +08:00
|
|
|
bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
|
|
|
|
int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
|
2017-06-26 18:35:51 +08:00
|
|
|
private:
|
|
|
|
void SharedCtor();
|
|
|
|
void SharedDtor();
|
2018-01-15 23:51:38 +08:00
|
|
|
void SetCachedSize(int size) const PROTOBUF_FINAL;
|
2017-06-26 18:35:51 +08:00
|
|
|
void InternalSwap(VersionDef* other);
|
|
|
|
protected:
|
|
|
|
explicit VersionDef(::google::protobuf::Arena* arena);
|
|
|
|
private:
|
|
|
|
static void ArenaDtor(void* object);
|
|
|
|
inline void RegisterArenaDtor(::google::protobuf::Arena* arena);
|
|
|
|
private:
|
|
|
|
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
|
|
|
return _internal_metadata_.arena();
|
|
|
|
}
|
|
|
|
inline void* MaybeArenaPtr() const {
|
|
|
|
return _internal_metadata_.raw_arena_ptr();
|
|
|
|
}
|
|
|
|
public:
|
|
|
|
|
2018-01-15 23:51:38 +08:00
|
|
|
::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
|
2017-06-26 18:35:51 +08:00
|
|
|
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
|
|
|
|
// repeated int32 bad_consumers = 3;
|
|
|
|
int bad_consumers_size() const;
|
|
|
|
void clear_bad_consumers();
|
|
|
|
static const int kBadConsumersFieldNumber = 3;
|
|
|
|
::google::protobuf::int32 bad_consumers(int index) const;
|
|
|
|
void set_bad_consumers(int index, ::google::protobuf::int32 value);
|
|
|
|
void add_bad_consumers(::google::protobuf::int32 value);
|
|
|
|
const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
|
|
|
|
bad_consumers() const;
|
|
|
|
::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
|
|
|
|
mutable_bad_consumers();
|
|
|
|
|
2018-01-15 23:51:38 +08:00
|
|
|
// int32 producer = 1;
|
|
|
|
void clear_producer();
|
|
|
|
static const int kProducerFieldNumber = 1;
|
|
|
|
::google::protobuf::int32 producer() const;
|
|
|
|
void set_producer(::google::protobuf::int32 value);
|
|
|
|
|
|
|
|
// int32 min_consumer = 2;
|
|
|
|
void clear_min_consumer();
|
|
|
|
static const int kMinConsumerFieldNumber = 2;
|
|
|
|
::google::protobuf::int32 min_consumer() const;
|
|
|
|
void set_min_consumer(::google::protobuf::int32 value);
|
|
|
|
|
2018-09-13 02:33:45 +08:00
|
|
|
// @@protoc_insertion_point(class_scope:opencv_tensorflow.VersionDef)
|
2017-06-26 18:35:51 +08:00
|
|
|
private:
|
|
|
|
|
|
|
|
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
2018-01-15 23:51:38 +08:00
|
|
|
template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
|
2017-06-26 18:35:51 +08:00
|
|
|
typedef void InternalArenaConstructable_;
|
|
|
|
typedef void DestructorSkippable_;
|
|
|
|
::google::protobuf::RepeatedField< ::google::protobuf::int32 > bad_consumers_;
|
|
|
|
mutable int _bad_consumers_cached_byte_size_;
|
|
|
|
::google::protobuf::int32 producer_;
|
|
|
|
::google::protobuf::int32 min_consumer_;
|
|
|
|
mutable int _cached_size_;
|
2018-01-15 23:51:38 +08:00
|
|
|
friend struct ::protobuf_versions_2eproto::TableStruct;
|
|
|
|
friend void ::protobuf_versions_2eproto::InitDefaultsVersionDefImpl();
|
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
|
|
|
// VersionDef
|
|
|
|
|
2018-01-15 23:51:38 +08:00
|
|
|
// int32 producer = 1;
|
2017-06-26 18:35:51 +08:00
|
|
|
inline void VersionDef::clear_producer() {
|
|
|
|
producer_ = 0;
|
|
|
|
}
|
|
|
|
inline ::google::protobuf::int32 VersionDef::producer() const {
|
2018-09-13 02:33:45 +08:00
|
|
|
// @@protoc_insertion_point(field_get:opencv_tensorflow.VersionDef.producer)
|
2017-06-26 18:35:51 +08:00
|
|
|
return producer_;
|
|
|
|
}
|
|
|
|
inline void VersionDef::set_producer(::google::protobuf::int32 value) {
|
|
|
|
|
|
|
|
producer_ = value;
|
2018-09-13 02:33:45 +08:00
|
|
|
// @@protoc_insertion_point(field_set:opencv_tensorflow.VersionDef.producer)
|
2017-06-26 18:35:51 +08:00
|
|
|
}
|
|
|
|
|
2018-01-15 23:51:38 +08:00
|
|
|
// int32 min_consumer = 2;
|
2017-06-26 18:35:51 +08:00
|
|
|
inline void VersionDef::clear_min_consumer() {
|
|
|
|
min_consumer_ = 0;
|
|
|
|
}
|
|
|
|
inline ::google::protobuf::int32 VersionDef::min_consumer() const {
|
2018-09-13 02:33:45 +08:00
|
|
|
// @@protoc_insertion_point(field_get:opencv_tensorflow.VersionDef.min_consumer)
|
2017-06-26 18:35:51 +08:00
|
|
|
return min_consumer_;
|
|
|
|
}
|
|
|
|
inline void VersionDef::set_min_consumer(::google::protobuf::int32 value) {
|
|
|
|
|
|
|
|
min_consumer_ = value;
|
2018-09-13 02:33:45 +08:00
|
|
|
// @@protoc_insertion_point(field_set:opencv_tensorflow.VersionDef.min_consumer)
|
2017-06-26 18:35:51 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
// repeated int32 bad_consumers = 3;
|
|
|
|
inline int VersionDef::bad_consumers_size() const {
|
|
|
|
return bad_consumers_.size();
|
|
|
|
}
|
|
|
|
inline void VersionDef::clear_bad_consumers() {
|
|
|
|
bad_consumers_.Clear();
|
|
|
|
}
|
|
|
|
inline ::google::protobuf::int32 VersionDef::bad_consumers(int index) const {
|
2018-09-13 02:33:45 +08:00
|
|
|
// @@protoc_insertion_point(field_get:opencv_tensorflow.VersionDef.bad_consumers)
|
2017-06-26 18:35:51 +08:00
|
|
|
return bad_consumers_.Get(index);
|
|
|
|
}
|
|
|
|
inline void VersionDef::set_bad_consumers(int index, ::google::protobuf::int32 value) {
|
|
|
|
bad_consumers_.Set(index, value);
|
2018-09-13 02:33:45 +08:00
|
|
|
// @@protoc_insertion_point(field_set:opencv_tensorflow.VersionDef.bad_consumers)
|
2017-06-26 18:35:51 +08:00
|
|
|
}
|
|
|
|
inline void VersionDef::add_bad_consumers(::google::protobuf::int32 value) {
|
|
|
|
bad_consumers_.Add(value);
|
2018-09-13 02:33:45 +08:00
|
|
|
// @@protoc_insertion_point(field_add:opencv_tensorflow.VersionDef.bad_consumers)
|
2017-06-26 18:35:51 +08:00
|
|
|
}
|
|
|
|
inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
|
|
|
|
VersionDef::bad_consumers() const {
|
2018-09-13 02:33:45 +08:00
|
|
|
// @@protoc_insertion_point(field_list:opencv_tensorflow.VersionDef.bad_consumers)
|
2017-06-26 18:35:51 +08:00
|
|
|
return bad_consumers_;
|
|
|
|
}
|
|
|
|
inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
|
|
|
|
VersionDef::mutable_bad_consumers() {
|
2018-09-13 02:33:45 +08:00
|
|
|
// @@protoc_insertion_point(field_mutable_list:opencv_tensorflow.VersionDef.bad_consumers)
|
2017-06-26 18:35:51 +08:00
|
|
|
return &bad_consumers_;
|
|
|
|
}
|
|
|
|
|
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)
|
|
|
|
|
|
|
|
#endif // PROTOBUF_versions_2eproto__INCLUDED
|