1 | // Generated by the protocol buffer compiler. DO NOT EDIT! |
2 | // source: tensorflow/core/protobuf/queue_runner.proto |
3 | |
4 | #ifndef GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fprotobuf_2fqueue_5frunner_2eproto |
5 | #define GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fprotobuf_2fqueue_5frunner_2eproto |
6 | |
7 | #include <limits> |
8 | #include <string> |
9 | |
10 | #include <google/protobuf/port_def.inc> |
11 | #if PROTOBUF_VERSION < 3009000 |
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 3009002 < 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/inlined_string_field.h> |
29 | #include <google/protobuf/metadata.h> |
30 | #include <google/protobuf/generated_message_reflection.h> |
31 | #include <google/protobuf/message.h> |
32 | #include <google/protobuf/repeated_field.h> // IWYU pragma: export |
33 | #include <google/protobuf/extension_set.h> // IWYU pragma: export |
34 | #include <google/protobuf/unknown_field_set.h> |
35 | #include "tensorflow/core/protobuf/error_codes.pb.h" |
36 | // @@protoc_insertion_point(includes) |
37 | #include <google/protobuf/port_def.inc> |
38 | #define PROTOBUF_INTERNAL_EXPORT_tensorflow_2fcore_2fprotobuf_2fqueue_5frunner_2eproto |
39 | PROTOBUF_NAMESPACE_OPEN |
40 | namespace internal { |
41 | class AnyMetadata; |
42 | } // namespace internal |
43 | PROTOBUF_NAMESPACE_CLOSE |
44 | |
45 | // Internal implementation detail -- do not use these members. |
46 | struct TableStruct_tensorflow_2fcore_2fprotobuf_2fqueue_5frunner_2eproto { |
47 | static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] |
48 | PROTOBUF_SECTION_VARIABLE(protodesc_cold); |
49 | static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] |
50 | PROTOBUF_SECTION_VARIABLE(protodesc_cold); |
51 | static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] |
52 | PROTOBUF_SECTION_VARIABLE(protodesc_cold); |
53 | static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; |
54 | static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; |
55 | static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]; |
56 | }; |
57 | extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_tensorflow_2fcore_2fprotobuf_2fqueue_5frunner_2eproto; |
58 | namespace tensorflow { |
59 | class QueueRunnerDef; |
60 | class QueueRunnerDefDefaultTypeInternal; |
61 | extern QueueRunnerDefDefaultTypeInternal _QueueRunnerDef_default_instance_; |
62 | } // namespace tensorflow |
63 | PROTOBUF_NAMESPACE_OPEN |
64 | template<> ::tensorflow::QueueRunnerDef* Arena::CreateMaybeMessage<::tensorflow::QueueRunnerDef>(Arena*); |
65 | PROTOBUF_NAMESPACE_CLOSE |
66 | namespace tensorflow { |
67 | |
68 | // =================================================================== |
69 | |
70 | class QueueRunnerDef : |
71 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.QueueRunnerDef) */ { |
72 | public: |
73 | QueueRunnerDef(); |
74 | virtual ~QueueRunnerDef(); |
75 | |
76 | QueueRunnerDef(const QueueRunnerDef& from); |
77 | QueueRunnerDef(QueueRunnerDef&& from) noexcept |
78 | : QueueRunnerDef() { |
79 | *this = ::std::move(from); |
80 | } |
81 | |
82 | inline QueueRunnerDef& operator=(const QueueRunnerDef& from) { |
83 | CopyFrom(from); |
84 | return *this; |
85 | } |
86 | inline QueueRunnerDef& operator=(QueueRunnerDef&& from) noexcept { |
87 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
88 | if (this != &from) InternalSwap(&from); |
89 | } else { |
90 | CopyFrom(from); |
91 | } |
92 | return *this; |
93 | } |
94 | |
95 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { |
96 | return GetArenaNoVirtual(); |
97 | } |
98 | inline void* GetMaybeArenaPointer() const final { |
99 | return MaybeArenaPtr(); |
100 | } |
101 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
102 | return GetDescriptor(); |
103 | } |
104 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
105 | return GetMetadataStatic().descriptor; |
106 | } |
107 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
108 | return GetMetadataStatic().reflection; |
109 | } |
110 | static const QueueRunnerDef& default_instance(); |
111 | |
112 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
113 | static inline const QueueRunnerDef* internal_default_instance() { |
114 | return reinterpret_cast<const QueueRunnerDef*>( |
115 | &_QueueRunnerDef_default_instance_); |
116 | } |
117 | static constexpr int kIndexInFileMessages = |
118 | 0; |
119 | |
120 | friend void swap(QueueRunnerDef& a, QueueRunnerDef& b) { |
121 | a.Swap(&b); |
122 | } |
123 | inline void Swap(QueueRunnerDef* other) { |
124 | if (other == this) return; |
125 | if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) { |
126 | InternalSwap(other); |
127 | } else { |
128 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
129 | } |
130 | } |
131 | void UnsafeArenaSwap(QueueRunnerDef* other) { |
132 | if (other == this) return; |
133 | GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual()); |
134 | InternalSwap(other); |
135 | } |
136 | |
137 | // implements Message ---------------------------------------------- |
138 | |
139 | inline QueueRunnerDef* New() const final { |
140 | return CreateMaybeMessage<QueueRunnerDef>(nullptr); |
141 | } |
142 | |
143 | QueueRunnerDef* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
144 | return CreateMaybeMessage<QueueRunnerDef>(arena); |
145 | } |
146 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
147 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
148 | void CopyFrom(const QueueRunnerDef& from); |
149 | void MergeFrom(const QueueRunnerDef& from); |
150 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
151 | bool IsInitialized() const final; |
152 | |
153 | size_t ByteSizeLong() const final; |
154 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
155 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
156 | #else |
157 | bool MergePartialFromCodedStream( |
158 | ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final; |
159 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
160 | void SerializeWithCachedSizes( |
161 | ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final; |
162 | ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray( |
163 | ::PROTOBUF_NAMESPACE_ID::uint8* target) const final; |
164 | int GetCachedSize() const final { return _cached_size_.Get(); } |
165 | |
166 | private: |
167 | inline void SharedCtor(); |
168 | inline void SharedDtor(); |
169 | void SetCachedSize(int size) const final; |
170 | void InternalSwap(QueueRunnerDef* other); |
171 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
172 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
173 | return "tensorflow.QueueRunnerDef" ; |
174 | } |
175 | protected: |
176 | explicit QueueRunnerDef(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
177 | private: |
178 | static void ArenaDtor(void* object); |
179 | inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
180 | private: |
181 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
182 | return _internal_metadata_.arena(); |
183 | } |
184 | inline void* MaybeArenaPtr() const { |
185 | return _internal_metadata_.raw_arena_ptr(); |
186 | } |
187 | public: |
188 | |
189 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
190 | private: |
191 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
192 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fqueue_5frunner_2eproto); |
193 | return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fqueue_5frunner_2eproto.file_level_metadata[kIndexInFileMessages]; |
194 | } |
195 | |
196 | public: |
197 | |
198 | // nested types ---------------------------------------------------- |
199 | |
200 | // accessors ------------------------------------------------------- |
201 | |
202 | enum : int { |
203 | kEnqueueOpNameFieldNumber = 2, |
204 | kQueueClosedExceptionTypesFieldNumber = 5, |
205 | kQueueNameFieldNumber = 1, |
206 | kCloseOpNameFieldNumber = 3, |
207 | kCancelOpNameFieldNumber = 4, |
208 | }; |
209 | // repeated string enqueue_op_name = 2; |
210 | int enqueue_op_name_size() const; |
211 | void clear_enqueue_op_name(); |
212 | const std::string& enqueue_op_name(int index) const; |
213 | std::string* mutable_enqueue_op_name(int index); |
214 | void set_enqueue_op_name(int index, const std::string& value); |
215 | void set_enqueue_op_name(int index, std::string&& value); |
216 | void set_enqueue_op_name(int index, const char* value); |
217 | void set_enqueue_op_name(int index, const char* value, size_t size); |
218 | std::string* add_enqueue_op_name(); |
219 | void add_enqueue_op_name(const std::string& value); |
220 | void add_enqueue_op_name(std::string&& value); |
221 | void add_enqueue_op_name(const char* value); |
222 | void add_enqueue_op_name(const char* value, size_t size); |
223 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& enqueue_op_name() const; |
224 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_enqueue_op_name(); |
225 | |
226 | // repeated .tensorflow.error.Code queue_closed_exception_types = 5; |
227 | int queue_closed_exception_types_size() const; |
228 | void clear_queue_closed_exception_types(); |
229 | ::tensorflow::error::Code queue_closed_exception_types(int index) const; |
230 | void set_queue_closed_exception_types(int index, ::tensorflow::error::Code value); |
231 | void add_queue_closed_exception_types(::tensorflow::error::Code value); |
232 | const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>& queue_closed_exception_types() const; |
233 | ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* mutable_queue_closed_exception_types(); |
234 | |
235 | // string queue_name = 1; |
236 | void clear_queue_name(); |
237 | const std::string& queue_name() const; |
238 | void set_queue_name(const std::string& value); |
239 | void set_queue_name(std::string&& value); |
240 | void set_queue_name(const char* value); |
241 | void set_queue_name(const char* value, size_t size); |
242 | std::string* mutable_queue_name(); |
243 | std::string* release_queue_name(); |
244 | void set_allocated_queue_name(std::string* queue_name); |
245 | GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
246 | " string fields are deprecated and will be removed in a" |
247 | " future release." ) |
248 | std::string* unsafe_arena_release_queue_name(); |
249 | GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
250 | " string fields are deprecated and will be removed in a" |
251 | " future release." ) |
252 | void unsafe_arena_set_allocated_queue_name( |
253 | std::string* queue_name); |
254 | |
255 | // string close_op_name = 3; |
256 | void clear_close_op_name(); |
257 | const std::string& close_op_name() const; |
258 | void set_close_op_name(const std::string& value); |
259 | void set_close_op_name(std::string&& value); |
260 | void set_close_op_name(const char* value); |
261 | void set_close_op_name(const char* value, size_t size); |
262 | std::string* mutable_close_op_name(); |
263 | std::string* release_close_op_name(); |
264 | void set_allocated_close_op_name(std::string* close_op_name); |
265 | GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
266 | " string fields are deprecated and will be removed in a" |
267 | " future release." ) |
268 | std::string* unsafe_arena_release_close_op_name(); |
269 | GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
270 | " string fields are deprecated and will be removed in a" |
271 | " future release." ) |
272 | void unsafe_arena_set_allocated_close_op_name( |
273 | std::string* close_op_name); |
274 | |
275 | // string cancel_op_name = 4; |
276 | void clear_cancel_op_name(); |
277 | const std::string& cancel_op_name() const; |
278 | void set_cancel_op_name(const std::string& value); |
279 | void set_cancel_op_name(std::string&& value); |
280 | void set_cancel_op_name(const char* value); |
281 | void set_cancel_op_name(const char* value, size_t size); |
282 | std::string* mutable_cancel_op_name(); |
283 | std::string* release_cancel_op_name(); |
284 | void set_allocated_cancel_op_name(std::string* cancel_op_name); |
285 | GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
286 | " string fields are deprecated and will be removed in a" |
287 | " future release." ) |
288 | std::string* unsafe_arena_release_cancel_op_name(); |
289 | GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
290 | " string fields are deprecated and will be removed in a" |
291 | " future release." ) |
292 | void unsafe_arena_set_allocated_cancel_op_name( |
293 | std::string* cancel_op_name); |
294 | |
295 | // @@protoc_insertion_point(class_scope:tensorflow.QueueRunnerDef) |
296 | private: |
297 | class _Internal; |
298 | |
299 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
300 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
301 | typedef void InternalArenaConstructable_; |
302 | typedef void DestructorSkippable_; |
303 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> enqueue_op_name_; |
304 | ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> queue_closed_exception_types_; |
305 | mutable std::atomic<int> _queue_closed_exception_types_cached_byte_size_; |
306 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr queue_name_; |
307 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr close_op_name_; |
308 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr cancel_op_name_; |
309 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
310 | friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fqueue_5frunner_2eproto; |
311 | }; |
312 | // =================================================================== |
313 | |
314 | |
315 | // =================================================================== |
316 | |
317 | #ifdef __GNUC__ |
318 | #pragma GCC diagnostic push |
319 | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
320 | #endif // __GNUC__ |
321 | // QueueRunnerDef |
322 | |
323 | // string queue_name = 1; |
324 | inline void QueueRunnerDef::clear_queue_name() { |
325 | queue_name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
326 | } |
327 | inline const std::string& QueueRunnerDef::queue_name() const { |
328 | // @@protoc_insertion_point(field_get:tensorflow.QueueRunnerDef.queue_name) |
329 | return queue_name_.Get(); |
330 | } |
331 | inline void QueueRunnerDef::set_queue_name(const std::string& value) { |
332 | |
333 | queue_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
334 | // @@protoc_insertion_point(field_set:tensorflow.QueueRunnerDef.queue_name) |
335 | } |
336 | inline void QueueRunnerDef::set_queue_name(std::string&& value) { |
337 | |
338 | queue_name_.Set( |
339 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
340 | // @@protoc_insertion_point(field_set_rvalue:tensorflow.QueueRunnerDef.queue_name) |
341 | } |
342 | inline void QueueRunnerDef::set_queue_name(const char* value) { |
343 | GOOGLE_DCHECK(value != nullptr); |
344 | |
345 | queue_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
346 | GetArenaNoVirtual()); |
347 | // @@protoc_insertion_point(field_set_char:tensorflow.QueueRunnerDef.queue_name) |
348 | } |
349 | inline void QueueRunnerDef::set_queue_name(const char* value, |
350 | size_t size) { |
351 | |
352 | queue_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( |
353 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
354 | // @@protoc_insertion_point(field_set_pointer:tensorflow.QueueRunnerDef.queue_name) |
355 | } |
356 | inline std::string* QueueRunnerDef::mutable_queue_name() { |
357 | |
358 | // @@protoc_insertion_point(field_mutable:tensorflow.QueueRunnerDef.queue_name) |
359 | return queue_name_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
360 | } |
361 | inline std::string* QueueRunnerDef::release_queue_name() { |
362 | // @@protoc_insertion_point(field_release:tensorflow.QueueRunnerDef.queue_name) |
363 | |
364 | return queue_name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
365 | } |
366 | inline void QueueRunnerDef::set_allocated_queue_name(std::string* queue_name) { |
367 | if (queue_name != nullptr) { |
368 | |
369 | } else { |
370 | |
371 | } |
372 | queue_name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), queue_name, |
373 | GetArenaNoVirtual()); |
374 | // @@protoc_insertion_point(field_set_allocated:tensorflow.QueueRunnerDef.queue_name) |
375 | } |
376 | inline std::string* QueueRunnerDef::unsafe_arena_release_queue_name() { |
377 | // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.QueueRunnerDef.queue_name) |
378 | GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); |
379 | |
380 | return queue_name_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
381 | GetArenaNoVirtual()); |
382 | } |
383 | inline void QueueRunnerDef::unsafe_arena_set_allocated_queue_name( |
384 | std::string* queue_name) { |
385 | GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); |
386 | if (queue_name != nullptr) { |
387 | |
388 | } else { |
389 | |
390 | } |
391 | queue_name_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
392 | queue_name, GetArenaNoVirtual()); |
393 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.QueueRunnerDef.queue_name) |
394 | } |
395 | |
396 | // repeated string enqueue_op_name = 2; |
397 | inline int QueueRunnerDef::enqueue_op_name_size() const { |
398 | return enqueue_op_name_.size(); |
399 | } |
400 | inline void QueueRunnerDef::clear_enqueue_op_name() { |
401 | enqueue_op_name_.Clear(); |
402 | } |
403 | inline const std::string& QueueRunnerDef::enqueue_op_name(int index) const { |
404 | // @@protoc_insertion_point(field_get:tensorflow.QueueRunnerDef.enqueue_op_name) |
405 | return enqueue_op_name_.Get(index); |
406 | } |
407 | inline std::string* QueueRunnerDef::mutable_enqueue_op_name(int index) { |
408 | // @@protoc_insertion_point(field_mutable:tensorflow.QueueRunnerDef.enqueue_op_name) |
409 | return enqueue_op_name_.Mutable(index); |
410 | } |
411 | inline void QueueRunnerDef::set_enqueue_op_name(int index, const std::string& value) { |
412 | // @@protoc_insertion_point(field_set:tensorflow.QueueRunnerDef.enqueue_op_name) |
413 | enqueue_op_name_.Mutable(index)->assign(value); |
414 | } |
415 | inline void QueueRunnerDef::set_enqueue_op_name(int index, std::string&& value) { |
416 | // @@protoc_insertion_point(field_set:tensorflow.QueueRunnerDef.enqueue_op_name) |
417 | enqueue_op_name_.Mutable(index)->assign(std::move(value)); |
418 | } |
419 | inline void QueueRunnerDef::set_enqueue_op_name(int index, const char* value) { |
420 | GOOGLE_DCHECK(value != nullptr); |
421 | enqueue_op_name_.Mutable(index)->assign(value); |
422 | // @@protoc_insertion_point(field_set_char:tensorflow.QueueRunnerDef.enqueue_op_name) |
423 | } |
424 | inline void QueueRunnerDef::set_enqueue_op_name(int index, const char* value, size_t size) { |
425 | enqueue_op_name_.Mutable(index)->assign( |
426 | reinterpret_cast<const char*>(value), size); |
427 | // @@protoc_insertion_point(field_set_pointer:tensorflow.QueueRunnerDef.enqueue_op_name) |
428 | } |
429 | inline std::string* QueueRunnerDef::add_enqueue_op_name() { |
430 | // @@protoc_insertion_point(field_add_mutable:tensorflow.QueueRunnerDef.enqueue_op_name) |
431 | return enqueue_op_name_.Add(); |
432 | } |
433 | inline void QueueRunnerDef::add_enqueue_op_name(const std::string& value) { |
434 | enqueue_op_name_.Add()->assign(value); |
435 | // @@protoc_insertion_point(field_add:tensorflow.QueueRunnerDef.enqueue_op_name) |
436 | } |
437 | inline void QueueRunnerDef::add_enqueue_op_name(std::string&& value) { |
438 | enqueue_op_name_.Add(std::move(value)); |
439 | // @@protoc_insertion_point(field_add:tensorflow.QueueRunnerDef.enqueue_op_name) |
440 | } |
441 | inline void QueueRunnerDef::add_enqueue_op_name(const char* value) { |
442 | GOOGLE_DCHECK(value != nullptr); |
443 | enqueue_op_name_.Add()->assign(value); |
444 | // @@protoc_insertion_point(field_add_char:tensorflow.QueueRunnerDef.enqueue_op_name) |
445 | } |
446 | inline void QueueRunnerDef::add_enqueue_op_name(const char* value, size_t size) { |
447 | enqueue_op_name_.Add()->assign(reinterpret_cast<const char*>(value), size); |
448 | // @@protoc_insertion_point(field_add_pointer:tensorflow.QueueRunnerDef.enqueue_op_name) |
449 | } |
450 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& |
451 | QueueRunnerDef::enqueue_op_name() const { |
452 | // @@protoc_insertion_point(field_list:tensorflow.QueueRunnerDef.enqueue_op_name) |
453 | return enqueue_op_name_; |
454 | } |
455 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* |
456 | QueueRunnerDef::mutable_enqueue_op_name() { |
457 | // @@protoc_insertion_point(field_mutable_list:tensorflow.QueueRunnerDef.enqueue_op_name) |
458 | return &enqueue_op_name_; |
459 | } |
460 | |
461 | // string close_op_name = 3; |
462 | inline void QueueRunnerDef::clear_close_op_name() { |
463 | close_op_name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
464 | } |
465 | inline const std::string& QueueRunnerDef::close_op_name() const { |
466 | // @@protoc_insertion_point(field_get:tensorflow.QueueRunnerDef.close_op_name) |
467 | return close_op_name_.Get(); |
468 | } |
469 | inline void QueueRunnerDef::set_close_op_name(const std::string& value) { |
470 | |
471 | close_op_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
472 | // @@protoc_insertion_point(field_set:tensorflow.QueueRunnerDef.close_op_name) |
473 | } |
474 | inline void QueueRunnerDef::set_close_op_name(std::string&& value) { |
475 | |
476 | close_op_name_.Set( |
477 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
478 | // @@protoc_insertion_point(field_set_rvalue:tensorflow.QueueRunnerDef.close_op_name) |
479 | } |
480 | inline void QueueRunnerDef::set_close_op_name(const char* value) { |
481 | GOOGLE_DCHECK(value != nullptr); |
482 | |
483 | close_op_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
484 | GetArenaNoVirtual()); |
485 | // @@protoc_insertion_point(field_set_char:tensorflow.QueueRunnerDef.close_op_name) |
486 | } |
487 | inline void QueueRunnerDef::set_close_op_name(const char* value, |
488 | size_t size) { |
489 | |
490 | close_op_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( |
491 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
492 | // @@protoc_insertion_point(field_set_pointer:tensorflow.QueueRunnerDef.close_op_name) |
493 | } |
494 | inline std::string* QueueRunnerDef::mutable_close_op_name() { |
495 | |
496 | // @@protoc_insertion_point(field_mutable:tensorflow.QueueRunnerDef.close_op_name) |
497 | return close_op_name_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
498 | } |
499 | inline std::string* QueueRunnerDef::release_close_op_name() { |
500 | // @@protoc_insertion_point(field_release:tensorflow.QueueRunnerDef.close_op_name) |
501 | |
502 | return close_op_name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
503 | } |
504 | inline void QueueRunnerDef::set_allocated_close_op_name(std::string* close_op_name) { |
505 | if (close_op_name != nullptr) { |
506 | |
507 | } else { |
508 | |
509 | } |
510 | close_op_name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), close_op_name, |
511 | GetArenaNoVirtual()); |
512 | // @@protoc_insertion_point(field_set_allocated:tensorflow.QueueRunnerDef.close_op_name) |
513 | } |
514 | inline std::string* QueueRunnerDef::unsafe_arena_release_close_op_name() { |
515 | // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.QueueRunnerDef.close_op_name) |
516 | GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); |
517 | |
518 | return close_op_name_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
519 | GetArenaNoVirtual()); |
520 | } |
521 | inline void QueueRunnerDef::unsafe_arena_set_allocated_close_op_name( |
522 | std::string* close_op_name) { |
523 | GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); |
524 | if (close_op_name != nullptr) { |
525 | |
526 | } else { |
527 | |
528 | } |
529 | close_op_name_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
530 | close_op_name, GetArenaNoVirtual()); |
531 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.QueueRunnerDef.close_op_name) |
532 | } |
533 | |
534 | // string cancel_op_name = 4; |
535 | inline void QueueRunnerDef::clear_cancel_op_name() { |
536 | cancel_op_name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
537 | } |
538 | inline const std::string& QueueRunnerDef::cancel_op_name() const { |
539 | // @@protoc_insertion_point(field_get:tensorflow.QueueRunnerDef.cancel_op_name) |
540 | return cancel_op_name_.Get(); |
541 | } |
542 | inline void QueueRunnerDef::set_cancel_op_name(const std::string& value) { |
543 | |
544 | cancel_op_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
545 | // @@protoc_insertion_point(field_set:tensorflow.QueueRunnerDef.cancel_op_name) |
546 | } |
547 | inline void QueueRunnerDef::set_cancel_op_name(std::string&& value) { |
548 | |
549 | cancel_op_name_.Set( |
550 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
551 | // @@protoc_insertion_point(field_set_rvalue:tensorflow.QueueRunnerDef.cancel_op_name) |
552 | } |
553 | inline void QueueRunnerDef::set_cancel_op_name(const char* value) { |
554 | GOOGLE_DCHECK(value != nullptr); |
555 | |
556 | cancel_op_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
557 | GetArenaNoVirtual()); |
558 | // @@protoc_insertion_point(field_set_char:tensorflow.QueueRunnerDef.cancel_op_name) |
559 | } |
560 | inline void QueueRunnerDef::set_cancel_op_name(const char* value, |
561 | size_t size) { |
562 | |
563 | cancel_op_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( |
564 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
565 | // @@protoc_insertion_point(field_set_pointer:tensorflow.QueueRunnerDef.cancel_op_name) |
566 | } |
567 | inline std::string* QueueRunnerDef::mutable_cancel_op_name() { |
568 | |
569 | // @@protoc_insertion_point(field_mutable:tensorflow.QueueRunnerDef.cancel_op_name) |
570 | return cancel_op_name_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
571 | } |
572 | inline std::string* QueueRunnerDef::release_cancel_op_name() { |
573 | // @@protoc_insertion_point(field_release:tensorflow.QueueRunnerDef.cancel_op_name) |
574 | |
575 | return cancel_op_name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
576 | } |
577 | inline void QueueRunnerDef::set_allocated_cancel_op_name(std::string* cancel_op_name) { |
578 | if (cancel_op_name != nullptr) { |
579 | |
580 | } else { |
581 | |
582 | } |
583 | cancel_op_name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), cancel_op_name, |
584 | GetArenaNoVirtual()); |
585 | // @@protoc_insertion_point(field_set_allocated:tensorflow.QueueRunnerDef.cancel_op_name) |
586 | } |
587 | inline std::string* QueueRunnerDef::unsafe_arena_release_cancel_op_name() { |
588 | // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.QueueRunnerDef.cancel_op_name) |
589 | GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); |
590 | |
591 | return cancel_op_name_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
592 | GetArenaNoVirtual()); |
593 | } |
594 | inline void QueueRunnerDef::unsafe_arena_set_allocated_cancel_op_name( |
595 | std::string* cancel_op_name) { |
596 | GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); |
597 | if (cancel_op_name != nullptr) { |
598 | |
599 | } else { |
600 | |
601 | } |
602 | cancel_op_name_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
603 | cancel_op_name, GetArenaNoVirtual()); |
604 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.QueueRunnerDef.cancel_op_name) |
605 | } |
606 | |
607 | // repeated .tensorflow.error.Code queue_closed_exception_types = 5; |
608 | inline int QueueRunnerDef::queue_closed_exception_types_size() const { |
609 | return queue_closed_exception_types_.size(); |
610 | } |
611 | inline void QueueRunnerDef::clear_queue_closed_exception_types() { |
612 | queue_closed_exception_types_.Clear(); |
613 | } |
614 | inline ::tensorflow::error::Code QueueRunnerDef::queue_closed_exception_types(int index) const { |
615 | // @@protoc_insertion_point(field_get:tensorflow.QueueRunnerDef.queue_closed_exception_types) |
616 | return static_cast< ::tensorflow::error::Code >(queue_closed_exception_types_.Get(index)); |
617 | } |
618 | inline void QueueRunnerDef::set_queue_closed_exception_types(int index, ::tensorflow::error::Code value) { |
619 | queue_closed_exception_types_.Set(index, value); |
620 | // @@protoc_insertion_point(field_set:tensorflow.QueueRunnerDef.queue_closed_exception_types) |
621 | } |
622 | inline void QueueRunnerDef::add_queue_closed_exception_types(::tensorflow::error::Code value) { |
623 | queue_closed_exception_types_.Add(value); |
624 | // @@protoc_insertion_point(field_add:tensorflow.QueueRunnerDef.queue_closed_exception_types) |
625 | } |
626 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>& |
627 | QueueRunnerDef::queue_closed_exception_types() const { |
628 | // @@protoc_insertion_point(field_list:tensorflow.QueueRunnerDef.queue_closed_exception_types) |
629 | return queue_closed_exception_types_; |
630 | } |
631 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* |
632 | QueueRunnerDef::mutable_queue_closed_exception_types() { |
633 | // @@protoc_insertion_point(field_mutable_list:tensorflow.QueueRunnerDef.queue_closed_exception_types) |
634 | return &queue_closed_exception_types_; |
635 | } |
636 | |
637 | #ifdef __GNUC__ |
638 | #pragma GCC diagnostic pop |
639 | #endif // __GNUC__ |
640 | |
641 | // @@protoc_insertion_point(namespace_scope) |
642 | |
643 | } // namespace tensorflow |
644 | |
645 | // @@protoc_insertion_point(global_scope) |
646 | |
647 | #include <google/protobuf/port_undef.inc> |
648 | #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fprotobuf_2fqueue_5frunner_2eproto |
649 | |