/src/opencv/modules/dnn/misc/tensorflow/versions.pb.h
Line | Count | Source |
1 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
2 | | // source: versions.proto |
3 | | |
4 | | #ifndef GOOGLE_PROTOBUF_INCLUDED_versions_2eproto |
5 | | #define GOOGLE_PROTOBUF_INCLUDED_versions_2eproto |
6 | | |
7 | | #include <limits> |
8 | | #include <string> |
9 | | |
10 | | #include <google/protobuf/port_def.inc> |
11 | | #if PROTOBUF_VERSION < 3019000 |
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 3019001 < 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/port_undef.inc> |
23 | | #include <google/protobuf/io/coded_stream.h> |
24 | | #include <google/protobuf/arena.h> |
25 | | #include <google/protobuf/arenastring.h> |
26 | | #include <google/protobuf/generated_message_table_driven.h> |
27 | | #include <google/protobuf/generated_message_util.h> |
28 | | #include <google/protobuf/metadata_lite.h> |
29 | | #include <google/protobuf/generated_message_reflection.h> |
30 | | #include <google/protobuf/message.h> |
31 | | #include <google/protobuf/repeated_field.h> // IWYU pragma: export |
32 | | #include <google/protobuf/extension_set.h> // IWYU pragma: export |
33 | | #include <google/protobuf/unknown_field_set.h> |
34 | | // @@protoc_insertion_point(includes) |
35 | | #include <google/protobuf/port_def.inc> |
36 | | #define PROTOBUF_INTERNAL_EXPORT_versions_2eproto |
37 | | PROTOBUF_NAMESPACE_OPEN |
38 | | namespace internal { |
39 | | class AnyMetadata; |
40 | | } // namespace internal |
41 | | PROTOBUF_NAMESPACE_CLOSE |
42 | | |
43 | | // Internal implementation detail -- do not use these members. |
44 | | struct TableStruct_versions_2eproto { |
45 | | static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] |
46 | | PROTOBUF_SECTION_VARIABLE(protodesc_cold); |
47 | | static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] |
48 | | PROTOBUF_SECTION_VARIABLE(protodesc_cold); |
49 | | static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] |
50 | | PROTOBUF_SECTION_VARIABLE(protodesc_cold); |
51 | | static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; |
52 | | static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; |
53 | | static const uint32_t offsets[]; |
54 | | }; |
55 | | extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_versions_2eproto; |
56 | | namespace opencv_tensorflow { |
57 | | class VersionDef; |
58 | | struct VersionDefDefaultTypeInternal; |
59 | | extern VersionDefDefaultTypeInternal _VersionDef_default_instance_; |
60 | | } // namespace opencv_tensorflow |
61 | | PROTOBUF_NAMESPACE_OPEN |
62 | | template<> ::opencv_tensorflow::VersionDef* Arena::CreateMaybeMessage<::opencv_tensorflow::VersionDef>(Arena*); |
63 | | PROTOBUF_NAMESPACE_CLOSE |
64 | | namespace opencv_tensorflow { |
65 | | |
66 | | // =================================================================== |
67 | | |
68 | | class VersionDef final : |
69 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opencv_tensorflow.VersionDef) */ { |
70 | | public: |
71 | 0 | inline VersionDef() : VersionDef(nullptr) {} |
72 | | ~VersionDef() override; |
73 | | explicit constexpr VersionDef(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
74 | | |
75 | | VersionDef(const VersionDef& from); |
76 | | VersionDef(VersionDef&& from) noexcept |
77 | 0 | : VersionDef() { |
78 | 0 | *this = ::std::move(from); |
79 | 0 | } |
80 | | |
81 | 0 | inline VersionDef& operator=(const VersionDef& from) { |
82 | 0 | CopyFrom(from); |
83 | 0 | return *this; |
84 | 0 | } |
85 | 0 | inline VersionDef& operator=(VersionDef&& from) noexcept { |
86 | 0 | if (this == &from) return *this; |
87 | 0 | if (GetOwningArena() == from.GetOwningArena() |
88 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
89 | 0 | && GetOwningArena() != nullptr |
90 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
91 | 0 | ) { |
92 | 0 | InternalSwap(&from); |
93 | 0 | } else { |
94 | 0 | CopyFrom(from); |
95 | 0 | } |
96 | 0 | return *this; |
97 | 0 | } |
98 | | |
99 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
100 | 0 | return GetDescriptor(); |
101 | 0 | } |
102 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
103 | 0 | return default_instance().GetMetadata().descriptor; |
104 | 0 | } |
105 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
106 | 0 | return default_instance().GetMetadata().reflection; |
107 | 0 | } |
108 | 0 | static const VersionDef& default_instance() { |
109 | 0 | return *internal_default_instance(); |
110 | 0 | } |
111 | 0 | static inline const VersionDef* internal_default_instance() { |
112 | 0 | return reinterpret_cast<const VersionDef*>( |
113 | 0 | &_VersionDef_default_instance_); |
114 | 0 | } |
115 | | static constexpr int kIndexInFileMessages = |
116 | | 0; |
117 | | |
118 | 0 | friend void swap(VersionDef& a, VersionDef& b) { |
119 | 0 | a.Swap(&b); |
120 | 0 | } |
121 | 0 | inline void Swap(VersionDef* other) { |
122 | 0 | if (other == this) return; |
123 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
124 | 0 | if (GetOwningArena() != nullptr && |
125 | 0 | GetOwningArena() == other->GetOwningArena()) { |
126 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
127 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
128 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
129 | 0 | InternalSwap(other); |
130 | 0 | } else { |
131 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
132 | 0 | } |
133 | 0 | } |
134 | 0 | void UnsafeArenaSwap(VersionDef* other) { |
135 | 0 | if (other == this) return; |
136 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
137 | 0 | InternalSwap(other); |
138 | 0 | } |
139 | | |
140 | | // implements Message ---------------------------------------------- |
141 | | |
142 | 0 | VersionDef* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
143 | 0 | return CreateMaybeMessage<VersionDef>(arena); |
144 | 0 | } |
145 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
146 | | void CopyFrom(const VersionDef& from); |
147 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
148 | | void MergeFrom(const VersionDef& from); |
149 | | private: |
150 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from); |
151 | | public: |
152 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
153 | | bool IsInitialized() const final; |
154 | | |
155 | | size_t ByteSizeLong() const final; |
156 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
157 | | uint8_t* _InternalSerialize( |
158 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
159 | 0 | int GetCachedSize() const final { return _cached_size_.Get(); } |
160 | | |
161 | | private: |
162 | | void SharedCtor(); |
163 | | void SharedDtor(); |
164 | | void SetCachedSize(int size) const final; |
165 | | void InternalSwap(VersionDef* other); |
166 | | |
167 | | private: |
168 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
169 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
170 | 0 | return "opencv_tensorflow.VersionDef"; |
171 | 0 | } |
172 | | protected: |
173 | | explicit VersionDef(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
174 | | bool is_message_owned = false); |
175 | | private: |
176 | | static void ArenaDtor(void* object); |
177 | | inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
178 | | public: |
179 | | |
180 | | static const ClassData _class_data_; |
181 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
182 | | |
183 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
184 | | |
185 | | // nested types ---------------------------------------------------- |
186 | | |
187 | | // accessors ------------------------------------------------------- |
188 | | |
189 | | enum : int { |
190 | | kBadConsumersFieldNumber = 3, |
191 | | kProducerFieldNumber = 1, |
192 | | kMinConsumerFieldNumber = 2, |
193 | | }; |
194 | | // repeated int32 bad_consumers = 3; |
195 | | int bad_consumers_size() const; |
196 | | private: |
197 | | int _internal_bad_consumers_size() const; |
198 | | public: |
199 | | void clear_bad_consumers(); |
200 | | private: |
201 | | int32_t _internal_bad_consumers(int index) const; |
202 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& |
203 | | _internal_bad_consumers() const; |
204 | | void _internal_add_bad_consumers(int32_t value); |
205 | | ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* |
206 | | _internal_mutable_bad_consumers(); |
207 | | public: |
208 | | int32_t bad_consumers(int index) const; |
209 | | void set_bad_consumers(int index, int32_t value); |
210 | | void add_bad_consumers(int32_t value); |
211 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& |
212 | | bad_consumers() const; |
213 | | ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* |
214 | | mutable_bad_consumers(); |
215 | | |
216 | | // int32 producer = 1; |
217 | | void clear_producer(); |
218 | | int32_t producer() const; |
219 | | void set_producer(int32_t value); |
220 | | private: |
221 | | int32_t _internal_producer() const; |
222 | | void _internal_set_producer(int32_t value); |
223 | | public: |
224 | | |
225 | | // int32 min_consumer = 2; |
226 | | void clear_min_consumer(); |
227 | | int32_t min_consumer() const; |
228 | | void set_min_consumer(int32_t value); |
229 | | private: |
230 | | int32_t _internal_min_consumer() const; |
231 | | void _internal_set_min_consumer(int32_t value); |
232 | | public: |
233 | | |
234 | | // @@protoc_insertion_point(class_scope:opencv_tensorflow.VersionDef) |
235 | | private: |
236 | | class _Internal; |
237 | | |
238 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
239 | | typedef void InternalArenaConstructable_; |
240 | | typedef void DestructorSkippable_; |
241 | | ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > bad_consumers_; |
242 | | mutable std::atomic<int> _bad_consumers_cached_byte_size_; |
243 | | int32_t producer_; |
244 | | int32_t min_consumer_; |
245 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
246 | | friend struct ::TableStruct_versions_2eproto; |
247 | | }; |
248 | | // =================================================================== |
249 | | |
250 | | |
251 | | // =================================================================== |
252 | | |
253 | | #ifdef __GNUC__ |
254 | | #pragma GCC diagnostic push |
255 | | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
256 | | #endif // __GNUC__ |
257 | | // VersionDef |
258 | | |
259 | | // int32 producer = 1; |
260 | 0 | inline void VersionDef::clear_producer() { |
261 | 0 | producer_ = 0; |
262 | 0 | } |
263 | 709 | inline int32_t VersionDef::_internal_producer() const { |
264 | 709 | return producer_; |
265 | 709 | } |
266 | 35 | inline int32_t VersionDef::producer() const { |
267 | | // @@protoc_insertion_point(field_get:opencv_tensorflow.VersionDef.producer) |
268 | 35 | return _internal_producer(); |
269 | 35 | } |
270 | 0 | inline void VersionDef::_internal_set_producer(int32_t value) { |
271 | |
|
272 | 0 | producer_ = value; |
273 | 0 | } |
274 | 0 | inline void VersionDef::set_producer(int32_t value) { |
275 | 0 | _internal_set_producer(value); |
276 | 0 | // @@protoc_insertion_point(field_set:opencv_tensorflow.VersionDef.producer) |
277 | 0 | } |
278 | | |
279 | | // int32 min_consumer = 2; |
280 | 0 | inline void VersionDef::clear_min_consumer() { |
281 | 0 | min_consumer_ = 0; |
282 | 0 | } |
283 | 686 | inline int32_t VersionDef::_internal_min_consumer() const { |
284 | 686 | return min_consumer_; |
285 | 686 | } |
286 | 0 | inline int32_t VersionDef::min_consumer() const { |
287 | | // @@protoc_insertion_point(field_get:opencv_tensorflow.VersionDef.min_consumer) |
288 | 0 | return _internal_min_consumer(); |
289 | 0 | } |
290 | 0 | inline void VersionDef::_internal_set_min_consumer(int32_t value) { |
291 | |
|
292 | 0 | min_consumer_ = value; |
293 | 0 | } |
294 | 0 | inline void VersionDef::set_min_consumer(int32_t value) { |
295 | 0 | _internal_set_min_consumer(value); |
296 | 0 | // @@protoc_insertion_point(field_set:opencv_tensorflow.VersionDef.min_consumer) |
297 | 0 | } |
298 | | |
299 | | // repeated int32 bad_consumers = 3; |
300 | 0 | inline int VersionDef::_internal_bad_consumers_size() const { |
301 | 0 | return bad_consumers_.size(); |
302 | 0 | } |
303 | 0 | inline int VersionDef::bad_consumers_size() const { |
304 | 0 | return _internal_bad_consumers_size(); |
305 | 0 | } |
306 | 0 | inline void VersionDef::clear_bad_consumers() { |
307 | 0 | bad_consumers_.Clear(); |
308 | 0 | } |
309 | 0 | inline int32_t VersionDef::_internal_bad_consumers(int index) const { |
310 | 0 | return bad_consumers_.Get(index); |
311 | 0 | } |
312 | 0 | inline int32_t VersionDef::bad_consumers(int index) const { |
313 | 0 | // @@protoc_insertion_point(field_get:opencv_tensorflow.VersionDef.bad_consumers) |
314 | 0 | return _internal_bad_consumers(index); |
315 | 0 | } |
316 | 0 | inline void VersionDef::set_bad_consumers(int index, int32_t value) { |
317 | 0 | bad_consumers_.Set(index, value); |
318 | 0 | // @@protoc_insertion_point(field_set:opencv_tensorflow.VersionDef.bad_consumers) |
319 | 0 | } |
320 | 505k | inline void VersionDef::_internal_add_bad_consumers(int32_t value) { |
321 | 505k | bad_consumers_.Add(value); |
322 | 505k | } |
323 | 0 | inline void VersionDef::add_bad_consumers(int32_t value) { |
324 | 0 | _internal_add_bad_consumers(value); |
325 | 0 | // @@protoc_insertion_point(field_add:opencv_tensorflow.VersionDef.bad_consumers) |
326 | 0 | } |
327 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& |
328 | 0 | VersionDef::_internal_bad_consumers() const { |
329 | 0 | return bad_consumers_; |
330 | 0 | } |
331 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& |
332 | 0 | VersionDef::bad_consumers() const { |
333 | 0 | // @@protoc_insertion_point(field_list:opencv_tensorflow.VersionDef.bad_consumers) |
334 | 0 | return _internal_bad_consumers(); |
335 | 0 | } |
336 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* |
337 | 2.29k | VersionDef::_internal_mutable_bad_consumers() { |
338 | 2.29k | return &bad_consumers_; |
339 | 2.29k | } |
340 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* |
341 | 0 | VersionDef::mutable_bad_consumers() { |
342 | 0 | // @@protoc_insertion_point(field_mutable_list:opencv_tensorflow.VersionDef.bad_consumers) |
343 | 0 | return _internal_mutable_bad_consumers(); |
344 | 0 | } |
345 | | |
346 | | #ifdef __GNUC__ |
347 | | #pragma GCC diagnostic pop |
348 | | #endif // __GNUC__ |
349 | | |
350 | | // @@protoc_insertion_point(namespace_scope) |
351 | | |
352 | | } // namespace opencv_tensorflow |
353 | | |
354 | | // @@protoc_insertion_point(global_scope) |
355 | | |
356 | | #include <google/protobuf/port_undef.inc> |
357 | | #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_versions_2eproto |