Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Tetragramm
GitHub Repository: Tetragramm/opencv
Path: blob/master/modules/dnn/misc/tensorflow/versions.pb.h
16358 views
1
// Generated by the protocol buffer compiler. DO NOT EDIT!
2
// source: versions.proto
3
4
#ifndef PROTOBUF_versions_2eproto__INCLUDED
5
#define PROTOBUF_versions_2eproto__INCLUDED
6
7
#include <string>
8
9
#include <google/protobuf/stubs/common.h>
10
11
#if GOOGLE_PROTOBUF_VERSION < 3005000
12
#error This file was generated by a newer version of protoc which is
13
#error incompatible with your Protocol Buffer headers. Please update
14
#error your headers.
15
#endif
16
#if 3005001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17
#error This file was generated by an older version of protoc which is
18
#error incompatible with your Protocol Buffer headers. Please
19
#error regenerate this file with a newer version of protoc.
20
#endif
21
22
#include <google/protobuf/io/coded_stream.h>
23
#include <google/protobuf/arena.h>
24
#include <google/protobuf/arenastring.h>
25
#include <google/protobuf/generated_message_table_driven.h>
26
#include <google/protobuf/generated_message_util.h>
27
#include <google/protobuf/metadata.h>
28
#include <google/protobuf/message.h>
29
#include <google/protobuf/repeated_field.h> // IWYU pragma: export
30
#include <google/protobuf/extension_set.h> // IWYU pragma: export
31
#include <google/protobuf/unknown_field_set.h>
32
// @@protoc_insertion_point(includes)
33
34
namespace protobuf_versions_2eproto {
35
// Internal implementation detail -- do not use these members.
36
struct TableStruct {
37
static const ::google::protobuf::internal::ParseTableField entries[];
38
static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
39
static const ::google::protobuf::internal::ParseTable schema[1];
40
static const ::google::protobuf::internal::FieldMetadata field_metadata[];
41
static const ::google::protobuf::internal::SerializationTable serialization_table[];
42
static const ::google::protobuf::uint32 offsets[];
43
};
44
void AddDescriptors();
45
void InitDefaultsVersionDefImpl();
46
void InitDefaultsVersionDef();
47
inline void InitDefaults() {
48
InitDefaultsVersionDef();
49
}
50
} // namespace protobuf_versions_2eproto
51
namespace opencv_tensorflow {
52
class VersionDef;
53
class VersionDefDefaultTypeInternal;
54
extern VersionDefDefaultTypeInternal _VersionDef_default_instance_;
55
} // namespace opencv_tensorflow
56
namespace opencv_tensorflow {
57
58
// ===================================================================
59
60
class VersionDef : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_tensorflow.VersionDef) */ {
61
public:
62
VersionDef();
63
virtual ~VersionDef();
64
65
VersionDef(const VersionDef& from);
66
67
inline VersionDef& operator=(const VersionDef& from) {
68
CopyFrom(from);
69
return *this;
70
}
71
#if LANG_CXX11
72
VersionDef(VersionDef&& from) noexcept
73
: VersionDef() {
74
*this = ::std::move(from);
75
}
76
77
inline VersionDef& operator=(VersionDef&& from) noexcept {
78
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
79
if (this != &from) InternalSwap(&from);
80
} else {
81
CopyFrom(from);
82
}
83
return *this;
84
}
85
#endif
86
inline ::google::protobuf::Arena* GetArena() const PROTOBUF_FINAL {
87
return GetArenaNoVirtual();
88
}
89
inline void* GetMaybeArenaPointer() const PROTOBUF_FINAL {
90
return MaybeArenaPtr();
91
}
92
static const ::google::protobuf::Descriptor* descriptor();
93
static const VersionDef& default_instance();
94
95
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
96
static inline const VersionDef* internal_default_instance() {
97
return reinterpret_cast<const VersionDef*>(
98
&_VersionDef_default_instance_);
99
}
100
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
101
0;
102
103
void UnsafeArenaSwap(VersionDef* other);
104
void Swap(VersionDef* other);
105
friend void swap(VersionDef& a, VersionDef& b) {
106
a.Swap(&b);
107
}
108
109
// implements Message ----------------------------------------------
110
111
inline VersionDef* New() const PROTOBUF_FINAL { return New(NULL); }
112
113
VersionDef* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
114
void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
115
void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
116
void CopyFrom(const VersionDef& from);
117
void MergeFrom(const VersionDef& from);
118
void Clear() PROTOBUF_FINAL;
119
bool IsInitialized() const PROTOBUF_FINAL;
120
121
size_t ByteSizeLong() const PROTOBUF_FINAL;
122
bool MergePartialFromCodedStream(
123
::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
124
void SerializeWithCachedSizes(
125
::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
126
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
127
bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
128
int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
129
private:
130
void SharedCtor();
131
void SharedDtor();
132
void SetCachedSize(int size) const PROTOBUF_FINAL;
133
void InternalSwap(VersionDef* other);
134
protected:
135
explicit VersionDef(::google::protobuf::Arena* arena);
136
private:
137
static void ArenaDtor(void* object);
138
inline void RegisterArenaDtor(::google::protobuf::Arena* arena);
139
private:
140
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
141
return _internal_metadata_.arena();
142
}
143
inline void* MaybeArenaPtr() const {
144
return _internal_metadata_.raw_arena_ptr();
145
}
146
public:
147
148
::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
149
150
// nested types ----------------------------------------------------
151
152
// accessors -------------------------------------------------------
153
154
// repeated int32 bad_consumers = 3;
155
int bad_consumers_size() const;
156
void clear_bad_consumers();
157
static const int kBadConsumersFieldNumber = 3;
158
::google::protobuf::int32 bad_consumers(int index) const;
159
void set_bad_consumers(int index, ::google::protobuf::int32 value);
160
void add_bad_consumers(::google::protobuf::int32 value);
161
const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
162
bad_consumers() const;
163
::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
164
mutable_bad_consumers();
165
166
// int32 producer = 1;
167
void clear_producer();
168
static const int kProducerFieldNumber = 1;
169
::google::protobuf::int32 producer() const;
170
void set_producer(::google::protobuf::int32 value);
171
172
// int32 min_consumer = 2;
173
void clear_min_consumer();
174
static const int kMinConsumerFieldNumber = 2;
175
::google::protobuf::int32 min_consumer() const;
176
void set_min_consumer(::google::protobuf::int32 value);
177
178
// @@protoc_insertion_point(class_scope:opencv_tensorflow.VersionDef)
179
private:
180
181
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
182
template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
183
typedef void InternalArenaConstructable_;
184
typedef void DestructorSkippable_;
185
::google::protobuf::RepeatedField< ::google::protobuf::int32 > bad_consumers_;
186
mutable int _bad_consumers_cached_byte_size_;
187
::google::protobuf::int32 producer_;
188
::google::protobuf::int32 min_consumer_;
189
mutable int _cached_size_;
190
friend struct ::protobuf_versions_2eproto::TableStruct;
191
friend void ::protobuf_versions_2eproto::InitDefaultsVersionDefImpl();
192
};
193
// ===================================================================
194
195
196
// ===================================================================
197
198
#ifdef __GNUC__
199
#pragma GCC diagnostic push
200
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
201
#endif // __GNUC__
202
// VersionDef
203
204
// int32 producer = 1;
205
inline void VersionDef::clear_producer() {
206
producer_ = 0;
207
}
208
inline ::google::protobuf::int32 VersionDef::producer() const {
209
// @@protoc_insertion_point(field_get:opencv_tensorflow.VersionDef.producer)
210
return producer_;
211
}
212
inline void VersionDef::set_producer(::google::protobuf::int32 value) {
213
214
producer_ = value;
215
// @@protoc_insertion_point(field_set:opencv_tensorflow.VersionDef.producer)
216
}
217
218
// int32 min_consumer = 2;
219
inline void VersionDef::clear_min_consumer() {
220
min_consumer_ = 0;
221
}
222
inline ::google::protobuf::int32 VersionDef::min_consumer() const {
223
// @@protoc_insertion_point(field_get:opencv_tensorflow.VersionDef.min_consumer)
224
return min_consumer_;
225
}
226
inline void VersionDef::set_min_consumer(::google::protobuf::int32 value) {
227
228
min_consumer_ = value;
229
// @@protoc_insertion_point(field_set:opencv_tensorflow.VersionDef.min_consumer)
230
}
231
232
// repeated int32 bad_consumers = 3;
233
inline int VersionDef::bad_consumers_size() const {
234
return bad_consumers_.size();
235
}
236
inline void VersionDef::clear_bad_consumers() {
237
bad_consumers_.Clear();
238
}
239
inline ::google::protobuf::int32 VersionDef::bad_consumers(int index) const {
240
// @@protoc_insertion_point(field_get:opencv_tensorflow.VersionDef.bad_consumers)
241
return bad_consumers_.Get(index);
242
}
243
inline void VersionDef::set_bad_consumers(int index, ::google::protobuf::int32 value) {
244
bad_consumers_.Set(index, value);
245
// @@protoc_insertion_point(field_set:opencv_tensorflow.VersionDef.bad_consumers)
246
}
247
inline void VersionDef::add_bad_consumers(::google::protobuf::int32 value) {
248
bad_consumers_.Add(value);
249
// @@protoc_insertion_point(field_add:opencv_tensorflow.VersionDef.bad_consumers)
250
}
251
inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
252
VersionDef::bad_consumers() const {
253
// @@protoc_insertion_point(field_list:opencv_tensorflow.VersionDef.bad_consumers)
254
return bad_consumers_;
255
}
256
inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
257
VersionDef::mutable_bad_consumers() {
258
// @@protoc_insertion_point(field_mutable_list:opencv_tensorflow.VersionDef.bad_consumers)
259
return &bad_consumers_;
260
}
261
262
#ifdef __GNUC__
263
#pragma GCC diagnostic pop
264
#endif // __GNUC__
265
266
// @@protoc_insertion_point(namespace_scope)
267
268
} // namespace opencv_tensorflow
269
270
// @@protoc_insertion_point(global_scope)
271
272
#endif // PROTOBUF_versions_2eproto__INCLUDED
273
274