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 | 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 | : VersionDef() { |
78 | *this = ::std::move(from); |
79 | } |
80 | |
81 | inline VersionDef& operator=(const VersionDef& from) { |
82 | CopyFrom(from); |
83 | return *this; |
84 | } |
85 | inline VersionDef& operator=(VersionDef&& from) noexcept { |
86 | if (this == &from) return *this; |
87 | if (GetOwningArena() == from.GetOwningArena() |
88 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
89 | && GetOwningArena() != nullptr |
90 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
91 | ) { |
92 | InternalSwap(other: &from); |
93 | } else { |
94 | CopyFrom(from); |
95 | } |
96 | return *this; |
97 | } |
98 | |
99 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
100 | return GetDescriptor(); |
101 | } |
102 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
103 | return default_instance().GetMetadata().descriptor; |
104 | } |
105 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
106 | return default_instance().GetMetadata().reflection; |
107 | } |
108 | static const VersionDef& default_instance() { |
109 | return *internal_default_instance(); |
110 | } |
111 | static inline const VersionDef* internal_default_instance() { |
112 | return reinterpret_cast<const VersionDef*>( |
113 | &_VersionDef_default_instance_); |
114 | } |
115 | static constexpr int kIndexInFileMessages = |
116 | 0; |
117 | |
118 | friend void swap(VersionDef& a, VersionDef& b) { |
119 | a.Swap(other: &b); |
120 | } |
121 | inline void Swap(VersionDef* other) { |
122 | if (other == this) return; |
123 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
124 | if (GetOwningArena() != nullptr && |
125 | GetOwningArena() == other->GetOwningArena()) { |
126 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
127 | if (GetOwningArena() == other->GetOwningArena()) { |
128 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
129 | InternalSwap(other); |
130 | } else { |
131 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(m1: this, m2: other); |
132 | } |
133 | } |
134 | void UnsafeArenaSwap(VersionDef* other) { |
135 | if (other == this) return; |
136 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
137 | InternalSwap(other); |
138 | } |
139 | |
140 | // implements Message ---------------------------------------------- |
141 | |
142 | VersionDef* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
143 | return CreateMaybeMessage<VersionDef>(arena); |
144 | } |
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 | 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 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
170 | return "opencv_tensorflow.VersionDef"; |
171 | } |
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 | inline void VersionDef::clear_producer() { |
261 | producer_ = 0; |
262 | } |
263 | inline int32_t VersionDef::_internal_producer() const { |
264 | return producer_; |
265 | } |
266 | inline int32_t VersionDef::producer() const { |
267 | // @@protoc_insertion_point(field_get:opencv_tensorflow.VersionDef.producer) |
268 | return _internal_producer(); |
269 | } |
270 | inline void VersionDef::_internal_set_producer(int32_t value) { |
271 | |
272 | producer_ = value; |
273 | } |
274 | inline void VersionDef::set_producer(int32_t value) { |
275 | _internal_set_producer(value); |
276 | // @@protoc_insertion_point(field_set:opencv_tensorflow.VersionDef.producer) |
277 | } |
278 | |
279 | // int32 min_consumer = 2; |
280 | inline void VersionDef::clear_min_consumer() { |
281 | min_consumer_ = 0; |
282 | } |
283 | inline int32_t VersionDef::_internal_min_consumer() const { |
284 | return min_consumer_; |
285 | } |
286 | inline int32_t VersionDef::min_consumer() const { |
287 | // @@protoc_insertion_point(field_get:opencv_tensorflow.VersionDef.min_consumer) |
288 | return _internal_min_consumer(); |
289 | } |
290 | inline void VersionDef::_internal_set_min_consumer(int32_t value) { |
291 | |
292 | min_consumer_ = value; |
293 | } |
294 | inline void VersionDef::set_min_consumer(int32_t value) { |
295 | _internal_set_min_consumer(value); |
296 | // @@protoc_insertion_point(field_set:opencv_tensorflow.VersionDef.min_consumer) |
297 | } |
298 | |
299 | // repeated int32 bad_consumers = 3; |
300 | inline int VersionDef::_internal_bad_consumers_size() const { |
301 | return bad_consumers_.size(); |
302 | } |
303 | inline int VersionDef::bad_consumers_size() const { |
304 | return _internal_bad_consumers_size(); |
305 | } |
306 | inline void VersionDef::clear_bad_consumers() { |
307 | bad_consumers_.Clear(); |
308 | } |
309 | inline int32_t VersionDef::_internal_bad_consumers(int index) const { |
310 | return bad_consumers_.Get(index); |
311 | } |
312 | inline int32_t VersionDef::bad_consumers(int index) const { |
313 | // @@protoc_insertion_point(field_get:opencv_tensorflow.VersionDef.bad_consumers) |
314 | return _internal_bad_consumers(index); |
315 | } |
316 | inline void VersionDef::set_bad_consumers(int index, int32_t value) { |
317 | bad_consumers_.Set(index, value); |
318 | // @@protoc_insertion_point(field_set:opencv_tensorflow.VersionDef.bad_consumers) |
319 | } |
320 | inline void VersionDef::_internal_add_bad_consumers(int32_t value) { |
321 | bad_consumers_.Add(value); |
322 | } |
323 | inline void VersionDef::add_bad_consumers(int32_t value) { |
324 | _internal_add_bad_consumers(value); |
325 | // @@protoc_insertion_point(field_add:opencv_tensorflow.VersionDef.bad_consumers) |
326 | } |
327 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& |
328 | VersionDef::_internal_bad_consumers() const { |
329 | return bad_consumers_; |
330 | } |
331 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& |
332 | VersionDef::bad_consumers() const { |
333 | // @@protoc_insertion_point(field_list:opencv_tensorflow.VersionDef.bad_consumers) |
334 | return _internal_bad_consumers(); |
335 | } |
336 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* |
337 | VersionDef::_internal_mutable_bad_consumers() { |
338 | return &bad_consumers_; |
339 | } |
340 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* |
341 | VersionDef::mutable_bad_consumers() { |
342 | // @@protoc_insertion_point(field_mutable_list:opencv_tensorflow.VersionDef.bad_consumers) |
343 | return _internal_mutable_bad_consumers(); |
344 | } |
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 |
358 |
Definitions
- TableStruct_versions_2eproto
- VersionDef
- VersionDef
- VersionDef
- operator=
- operator=
- descriptor
- GetDescriptor
- GetReflection
- default_instance
- internal_default_instance
- swap
- Swap
- UnsafeArenaSwap
- New
- GetCachedSize
- FullMessageName
- clear_producer
- _internal_producer
- producer
- _internal_set_producer
- set_producer
- clear_min_consumer
- _internal_min_consumer
- min_consumer
- _internal_set_min_consumer
- set_min_consumer
- _internal_bad_consumers_size
- bad_consumers_size
- clear_bad_consumers
- _internal_bad_consumers
- bad_consumers
- set_bad_consumers
- _internal_add_bad_consumers
- add_bad_consumers
- _internal_bad_consumers
- bad_consumers
- _internal_mutable_bad_consumers
Update your C++ knowledge – Modern C++11/14/17 Training
Find out more