1 | // Generated by the protocol buffer compiler. DO NOT EDIT! |
2 | // source: tensorflow/core/protobuf/graph_debug_info.proto |
3 | |
4 | #ifndef GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fprotobuf_2fgraph_5fdebug_5finfo_2eproto |
5 | #define GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fprotobuf_2fgraph_5fdebug_5finfo_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/map.h> // IWYU pragma: export |
35 | #include <google/protobuf/map_entry.h> |
36 | #include <google/protobuf/map_field_inl.h> |
37 | #include <google/protobuf/unknown_field_set.h> |
38 | // @@protoc_insertion_point(includes) |
39 | #include <google/protobuf/port_def.inc> |
40 | #define PROTOBUF_INTERNAL_EXPORT_tensorflow_2fcore_2fprotobuf_2fgraph_5fdebug_5finfo_2eproto |
41 | PROTOBUF_NAMESPACE_OPEN |
42 | namespace internal { |
43 | class AnyMetadata; |
44 | } // namespace internal |
45 | PROTOBUF_NAMESPACE_CLOSE |
46 | |
47 | // Internal implementation detail -- do not use these members. |
48 | struct TableStruct_tensorflow_2fcore_2fprotobuf_2fgraph_5fdebug_5finfo_2eproto { |
49 | static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] |
50 | PROTOBUF_SECTION_VARIABLE(protodesc_cold); |
51 | static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] |
52 | PROTOBUF_SECTION_VARIABLE(protodesc_cold); |
53 | static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[4] |
54 | PROTOBUF_SECTION_VARIABLE(protodesc_cold); |
55 | static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; |
56 | static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; |
57 | static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]; |
58 | }; |
59 | extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_tensorflow_2fcore_2fprotobuf_2fgraph_5fdebug_5finfo_2eproto; |
60 | namespace tensorflow { |
61 | class GraphDebugInfo; |
62 | class GraphDebugInfoDefaultTypeInternal; |
63 | extern GraphDebugInfoDefaultTypeInternal _GraphDebugInfo_default_instance_; |
64 | class GraphDebugInfo_FileLineCol; |
65 | class GraphDebugInfo_FileLineColDefaultTypeInternal; |
66 | extern GraphDebugInfo_FileLineColDefaultTypeInternal _GraphDebugInfo_FileLineCol_default_instance_; |
67 | class GraphDebugInfo_StackTrace; |
68 | class GraphDebugInfo_StackTraceDefaultTypeInternal; |
69 | extern GraphDebugInfo_StackTraceDefaultTypeInternal _GraphDebugInfo_StackTrace_default_instance_; |
70 | class GraphDebugInfo_TracesEntry_DoNotUse; |
71 | class GraphDebugInfo_TracesEntry_DoNotUseDefaultTypeInternal; |
72 | extern GraphDebugInfo_TracesEntry_DoNotUseDefaultTypeInternal _GraphDebugInfo_TracesEntry_DoNotUse_default_instance_; |
73 | } // namespace tensorflow |
74 | PROTOBUF_NAMESPACE_OPEN |
75 | template<> ::tensorflow::GraphDebugInfo* Arena::CreateMaybeMessage<::tensorflow::GraphDebugInfo>(Arena*); |
76 | template<> ::tensorflow::GraphDebugInfo_FileLineCol* Arena::CreateMaybeMessage<::tensorflow::GraphDebugInfo_FileLineCol>(Arena*); |
77 | template<> ::tensorflow::GraphDebugInfo_StackTrace* Arena::CreateMaybeMessage<::tensorflow::GraphDebugInfo_StackTrace>(Arena*); |
78 | template<> ::tensorflow::GraphDebugInfo_TracesEntry_DoNotUse* Arena::CreateMaybeMessage<::tensorflow::GraphDebugInfo_TracesEntry_DoNotUse>(Arena*); |
79 | PROTOBUF_NAMESPACE_CLOSE |
80 | namespace tensorflow { |
81 | |
82 | // =================================================================== |
83 | |
84 | class GraphDebugInfo_FileLineCol : |
85 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.GraphDebugInfo.FileLineCol) */ { |
86 | public: |
87 | GraphDebugInfo_FileLineCol(); |
88 | virtual ~GraphDebugInfo_FileLineCol(); |
89 | |
90 | GraphDebugInfo_FileLineCol(const GraphDebugInfo_FileLineCol& from); |
91 | GraphDebugInfo_FileLineCol(GraphDebugInfo_FileLineCol&& from) noexcept |
92 | : GraphDebugInfo_FileLineCol() { |
93 | *this = ::std::move(from); |
94 | } |
95 | |
96 | inline GraphDebugInfo_FileLineCol& operator=(const GraphDebugInfo_FileLineCol& from) { |
97 | CopyFrom(from); |
98 | return *this; |
99 | } |
100 | inline GraphDebugInfo_FileLineCol& operator=(GraphDebugInfo_FileLineCol&& from) noexcept { |
101 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
102 | if (this != &from) InternalSwap(&from); |
103 | } else { |
104 | CopyFrom(from); |
105 | } |
106 | return *this; |
107 | } |
108 | |
109 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { |
110 | return GetArenaNoVirtual(); |
111 | } |
112 | inline void* GetMaybeArenaPointer() const final { |
113 | return MaybeArenaPtr(); |
114 | } |
115 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
116 | return GetDescriptor(); |
117 | } |
118 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
119 | return GetMetadataStatic().descriptor; |
120 | } |
121 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
122 | return GetMetadataStatic().reflection; |
123 | } |
124 | static const GraphDebugInfo_FileLineCol& default_instance(); |
125 | |
126 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
127 | static inline const GraphDebugInfo_FileLineCol* internal_default_instance() { |
128 | return reinterpret_cast<const GraphDebugInfo_FileLineCol*>( |
129 | &_GraphDebugInfo_FileLineCol_default_instance_); |
130 | } |
131 | static constexpr int kIndexInFileMessages = |
132 | 0; |
133 | |
134 | friend void swap(GraphDebugInfo_FileLineCol& a, GraphDebugInfo_FileLineCol& b) { |
135 | a.Swap(&b); |
136 | } |
137 | inline void Swap(GraphDebugInfo_FileLineCol* other) { |
138 | if (other == this) return; |
139 | if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) { |
140 | InternalSwap(other); |
141 | } else { |
142 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
143 | } |
144 | } |
145 | void UnsafeArenaSwap(GraphDebugInfo_FileLineCol* other) { |
146 | if (other == this) return; |
147 | GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual()); |
148 | InternalSwap(other); |
149 | } |
150 | |
151 | // implements Message ---------------------------------------------- |
152 | |
153 | inline GraphDebugInfo_FileLineCol* New() const final { |
154 | return CreateMaybeMessage<GraphDebugInfo_FileLineCol>(nullptr); |
155 | } |
156 | |
157 | GraphDebugInfo_FileLineCol* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
158 | return CreateMaybeMessage<GraphDebugInfo_FileLineCol>(arena); |
159 | } |
160 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
161 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
162 | void CopyFrom(const GraphDebugInfo_FileLineCol& from); |
163 | void MergeFrom(const GraphDebugInfo_FileLineCol& from); |
164 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
165 | bool IsInitialized() const final; |
166 | |
167 | size_t ByteSizeLong() const final; |
168 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
169 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
170 | #else |
171 | bool MergePartialFromCodedStream( |
172 | ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final; |
173 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
174 | void SerializeWithCachedSizes( |
175 | ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final; |
176 | ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray( |
177 | ::PROTOBUF_NAMESPACE_ID::uint8* target) const final; |
178 | int GetCachedSize() const final { return _cached_size_.Get(); } |
179 | |
180 | private: |
181 | inline void SharedCtor(); |
182 | inline void SharedDtor(); |
183 | void SetCachedSize(int size) const final; |
184 | void InternalSwap(GraphDebugInfo_FileLineCol* other); |
185 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
186 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
187 | return "tensorflow.GraphDebugInfo.FileLineCol" ; |
188 | } |
189 | protected: |
190 | explicit GraphDebugInfo_FileLineCol(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
191 | private: |
192 | static void ArenaDtor(void* object); |
193 | inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
194 | private: |
195 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
196 | return _internal_metadata_.arena(); |
197 | } |
198 | inline void* MaybeArenaPtr() const { |
199 | return _internal_metadata_.raw_arena_ptr(); |
200 | } |
201 | public: |
202 | |
203 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
204 | private: |
205 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
206 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fgraph_5fdebug_5finfo_2eproto); |
207 | return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fgraph_5fdebug_5finfo_2eproto.file_level_metadata[kIndexInFileMessages]; |
208 | } |
209 | |
210 | public: |
211 | |
212 | // nested types ---------------------------------------------------- |
213 | |
214 | // accessors ------------------------------------------------------- |
215 | |
216 | enum : int { |
217 | kFuncFieldNumber = 4, |
218 | kCodeFieldNumber = 5, |
219 | kFileIndexFieldNumber = 1, |
220 | kLineFieldNumber = 2, |
221 | kColFieldNumber = 3, |
222 | }; |
223 | // string func = 4; |
224 | void clear_func(); |
225 | const std::string& func() const; |
226 | void set_func(const std::string& value); |
227 | void set_func(std::string&& value); |
228 | void set_func(const char* value); |
229 | void set_func(const char* value, size_t size); |
230 | std::string* mutable_func(); |
231 | std::string* release_func(); |
232 | void set_allocated_func(std::string* func); |
233 | GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
234 | " string fields are deprecated and will be removed in a" |
235 | " future release." ) |
236 | std::string* unsafe_arena_release_func(); |
237 | GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
238 | " string fields are deprecated and will be removed in a" |
239 | " future release." ) |
240 | void unsafe_arena_set_allocated_func( |
241 | std::string* func); |
242 | |
243 | // string code = 5; |
244 | void clear_code(); |
245 | const std::string& code() const; |
246 | void set_code(const std::string& value); |
247 | void set_code(std::string&& value); |
248 | void set_code(const char* value); |
249 | void set_code(const char* value, size_t size); |
250 | std::string* mutable_code(); |
251 | std::string* release_code(); |
252 | void set_allocated_code(std::string* code); |
253 | GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
254 | " string fields are deprecated and will be removed in a" |
255 | " future release." ) |
256 | std::string* unsafe_arena_release_code(); |
257 | GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
258 | " string fields are deprecated and will be removed in a" |
259 | " future release." ) |
260 | void unsafe_arena_set_allocated_code( |
261 | std::string* code); |
262 | |
263 | // int32 file_index = 1; |
264 | void clear_file_index(); |
265 | ::PROTOBUF_NAMESPACE_ID::int32 file_index() const; |
266 | void set_file_index(::PROTOBUF_NAMESPACE_ID::int32 value); |
267 | |
268 | // int32 line = 2; |
269 | void clear_line(); |
270 | ::PROTOBUF_NAMESPACE_ID::int32 line() const; |
271 | void set_line(::PROTOBUF_NAMESPACE_ID::int32 value); |
272 | |
273 | // int32 col = 3; |
274 | void clear_col(); |
275 | ::PROTOBUF_NAMESPACE_ID::int32 col() const; |
276 | void set_col(::PROTOBUF_NAMESPACE_ID::int32 value); |
277 | |
278 | // @@protoc_insertion_point(class_scope:tensorflow.GraphDebugInfo.FileLineCol) |
279 | private: |
280 | class _Internal; |
281 | |
282 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
283 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
284 | typedef void InternalArenaConstructable_; |
285 | typedef void DestructorSkippable_; |
286 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr func_; |
287 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr code_; |
288 | ::PROTOBUF_NAMESPACE_ID::int32 file_index_; |
289 | ::PROTOBUF_NAMESPACE_ID::int32 line_; |
290 | ::PROTOBUF_NAMESPACE_ID::int32 col_; |
291 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
292 | friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fgraph_5fdebug_5finfo_2eproto; |
293 | }; |
294 | // ------------------------------------------------------------------- |
295 | |
296 | class GraphDebugInfo_StackTrace : |
297 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.GraphDebugInfo.StackTrace) */ { |
298 | public: |
299 | GraphDebugInfo_StackTrace(); |
300 | virtual ~GraphDebugInfo_StackTrace(); |
301 | |
302 | GraphDebugInfo_StackTrace(const GraphDebugInfo_StackTrace& from); |
303 | GraphDebugInfo_StackTrace(GraphDebugInfo_StackTrace&& from) noexcept |
304 | : GraphDebugInfo_StackTrace() { |
305 | *this = ::std::move(from); |
306 | } |
307 | |
308 | inline GraphDebugInfo_StackTrace& operator=(const GraphDebugInfo_StackTrace& from) { |
309 | CopyFrom(from); |
310 | return *this; |
311 | } |
312 | inline GraphDebugInfo_StackTrace& operator=(GraphDebugInfo_StackTrace&& from) noexcept { |
313 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
314 | if (this != &from) InternalSwap(&from); |
315 | } else { |
316 | CopyFrom(from); |
317 | } |
318 | return *this; |
319 | } |
320 | |
321 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { |
322 | return GetArenaNoVirtual(); |
323 | } |
324 | inline void* GetMaybeArenaPointer() const final { |
325 | return MaybeArenaPtr(); |
326 | } |
327 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
328 | return GetDescriptor(); |
329 | } |
330 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
331 | return GetMetadataStatic().descriptor; |
332 | } |
333 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
334 | return GetMetadataStatic().reflection; |
335 | } |
336 | static const GraphDebugInfo_StackTrace& default_instance(); |
337 | |
338 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
339 | static inline const GraphDebugInfo_StackTrace* internal_default_instance() { |
340 | return reinterpret_cast<const GraphDebugInfo_StackTrace*>( |
341 | &_GraphDebugInfo_StackTrace_default_instance_); |
342 | } |
343 | static constexpr int kIndexInFileMessages = |
344 | 1; |
345 | |
346 | friend void swap(GraphDebugInfo_StackTrace& a, GraphDebugInfo_StackTrace& b) { |
347 | a.Swap(&b); |
348 | } |
349 | inline void Swap(GraphDebugInfo_StackTrace* other) { |
350 | if (other == this) return; |
351 | if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) { |
352 | InternalSwap(other); |
353 | } else { |
354 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
355 | } |
356 | } |
357 | void UnsafeArenaSwap(GraphDebugInfo_StackTrace* other) { |
358 | if (other == this) return; |
359 | GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual()); |
360 | InternalSwap(other); |
361 | } |
362 | |
363 | // implements Message ---------------------------------------------- |
364 | |
365 | inline GraphDebugInfo_StackTrace* New() const final { |
366 | return CreateMaybeMessage<GraphDebugInfo_StackTrace>(nullptr); |
367 | } |
368 | |
369 | GraphDebugInfo_StackTrace* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
370 | return CreateMaybeMessage<GraphDebugInfo_StackTrace>(arena); |
371 | } |
372 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
373 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
374 | void CopyFrom(const GraphDebugInfo_StackTrace& from); |
375 | void MergeFrom(const GraphDebugInfo_StackTrace& from); |
376 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
377 | bool IsInitialized() const final; |
378 | |
379 | size_t ByteSizeLong() const final; |
380 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
381 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
382 | #else |
383 | bool MergePartialFromCodedStream( |
384 | ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final; |
385 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
386 | void SerializeWithCachedSizes( |
387 | ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final; |
388 | ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray( |
389 | ::PROTOBUF_NAMESPACE_ID::uint8* target) const final; |
390 | int GetCachedSize() const final { return _cached_size_.Get(); } |
391 | |
392 | private: |
393 | inline void SharedCtor(); |
394 | inline void SharedDtor(); |
395 | void SetCachedSize(int size) const final; |
396 | void InternalSwap(GraphDebugInfo_StackTrace* other); |
397 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
398 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
399 | return "tensorflow.GraphDebugInfo.StackTrace" ; |
400 | } |
401 | protected: |
402 | explicit GraphDebugInfo_StackTrace(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
403 | private: |
404 | static void ArenaDtor(void* object); |
405 | inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
406 | private: |
407 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
408 | return _internal_metadata_.arena(); |
409 | } |
410 | inline void* MaybeArenaPtr() const { |
411 | return _internal_metadata_.raw_arena_ptr(); |
412 | } |
413 | public: |
414 | |
415 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
416 | private: |
417 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
418 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fgraph_5fdebug_5finfo_2eproto); |
419 | return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fgraph_5fdebug_5finfo_2eproto.file_level_metadata[kIndexInFileMessages]; |
420 | } |
421 | |
422 | public: |
423 | |
424 | // nested types ---------------------------------------------------- |
425 | |
426 | // accessors ------------------------------------------------------- |
427 | |
428 | enum : int { |
429 | kFileLineColsFieldNumber = 1, |
430 | }; |
431 | // repeated .tensorflow.GraphDebugInfo.FileLineCol file_line_cols = 1; |
432 | int file_line_cols_size() const; |
433 | void clear_file_line_cols(); |
434 | ::tensorflow::GraphDebugInfo_FileLineCol* mutable_file_line_cols(int index); |
435 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::GraphDebugInfo_FileLineCol >* |
436 | mutable_file_line_cols(); |
437 | const ::tensorflow::GraphDebugInfo_FileLineCol& file_line_cols(int index) const; |
438 | ::tensorflow::GraphDebugInfo_FileLineCol* add_file_line_cols(); |
439 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::GraphDebugInfo_FileLineCol >& |
440 | file_line_cols() const; |
441 | |
442 | // @@protoc_insertion_point(class_scope:tensorflow.GraphDebugInfo.StackTrace) |
443 | private: |
444 | class _Internal; |
445 | |
446 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
447 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
448 | typedef void InternalArenaConstructable_; |
449 | typedef void DestructorSkippable_; |
450 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::GraphDebugInfo_FileLineCol > file_line_cols_; |
451 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
452 | friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fgraph_5fdebug_5finfo_2eproto; |
453 | }; |
454 | // ------------------------------------------------------------------- |
455 | |
456 | class GraphDebugInfo_TracesEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<GraphDebugInfo_TracesEntry_DoNotUse, |
457 | std::string, ::tensorflow::GraphDebugInfo_StackTrace, |
458 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, |
459 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE, |
460 | 0 > { |
461 | public: |
462 | typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<GraphDebugInfo_TracesEntry_DoNotUse, |
463 | std::string, ::tensorflow::GraphDebugInfo_StackTrace, |
464 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, |
465 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE, |
466 | 0 > SuperType; |
467 | GraphDebugInfo_TracesEntry_DoNotUse(); |
468 | GraphDebugInfo_TracesEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
469 | void MergeFrom(const GraphDebugInfo_TracesEntry_DoNotUse& other); |
470 | static const GraphDebugInfo_TracesEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const GraphDebugInfo_TracesEntry_DoNotUse*>(&_GraphDebugInfo_TracesEntry_DoNotUse_default_instance_); } |
471 | static bool ValidateKey(std::string* s) { |
472 | return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), s->size(), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "tensorflow.GraphDebugInfo.TracesEntry.key" ); |
473 | } |
474 | static bool ValidateValue(void*) { return true; } |
475 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& other) final; |
476 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
477 | private: |
478 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
479 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fgraph_5fdebug_5finfo_2eproto); |
480 | return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fgraph_5fdebug_5finfo_2eproto.file_level_metadata[2]; |
481 | } |
482 | |
483 | public: |
484 | }; |
485 | |
486 | // ------------------------------------------------------------------- |
487 | |
488 | class GraphDebugInfo : |
489 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.GraphDebugInfo) */ { |
490 | public: |
491 | GraphDebugInfo(); |
492 | virtual ~GraphDebugInfo(); |
493 | |
494 | GraphDebugInfo(const GraphDebugInfo& from); |
495 | GraphDebugInfo(GraphDebugInfo&& from) noexcept |
496 | : GraphDebugInfo() { |
497 | *this = ::std::move(from); |
498 | } |
499 | |
500 | inline GraphDebugInfo& operator=(const GraphDebugInfo& from) { |
501 | CopyFrom(from); |
502 | return *this; |
503 | } |
504 | inline GraphDebugInfo& operator=(GraphDebugInfo&& from) noexcept { |
505 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
506 | if (this != &from) InternalSwap(&from); |
507 | } else { |
508 | CopyFrom(from); |
509 | } |
510 | return *this; |
511 | } |
512 | |
513 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { |
514 | return GetArenaNoVirtual(); |
515 | } |
516 | inline void* GetMaybeArenaPointer() const final { |
517 | return MaybeArenaPtr(); |
518 | } |
519 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
520 | return GetDescriptor(); |
521 | } |
522 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
523 | return GetMetadataStatic().descriptor; |
524 | } |
525 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
526 | return GetMetadataStatic().reflection; |
527 | } |
528 | static const GraphDebugInfo& default_instance(); |
529 | |
530 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
531 | static inline const GraphDebugInfo* internal_default_instance() { |
532 | return reinterpret_cast<const GraphDebugInfo*>( |
533 | &_GraphDebugInfo_default_instance_); |
534 | } |
535 | static constexpr int kIndexInFileMessages = |
536 | 3; |
537 | |
538 | friend void swap(GraphDebugInfo& a, GraphDebugInfo& b) { |
539 | a.Swap(&b); |
540 | } |
541 | inline void Swap(GraphDebugInfo* other) { |
542 | if (other == this) return; |
543 | if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) { |
544 | InternalSwap(other); |
545 | } else { |
546 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
547 | } |
548 | } |
549 | void UnsafeArenaSwap(GraphDebugInfo* other) { |
550 | if (other == this) return; |
551 | GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual()); |
552 | InternalSwap(other); |
553 | } |
554 | |
555 | // implements Message ---------------------------------------------- |
556 | |
557 | inline GraphDebugInfo* New() const final { |
558 | return CreateMaybeMessage<GraphDebugInfo>(nullptr); |
559 | } |
560 | |
561 | GraphDebugInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
562 | return CreateMaybeMessage<GraphDebugInfo>(arena); |
563 | } |
564 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
565 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
566 | void CopyFrom(const GraphDebugInfo& from); |
567 | void MergeFrom(const GraphDebugInfo& from); |
568 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
569 | bool IsInitialized() const final; |
570 | |
571 | size_t ByteSizeLong() const final; |
572 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
573 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
574 | #else |
575 | bool MergePartialFromCodedStream( |
576 | ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final; |
577 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
578 | void SerializeWithCachedSizes( |
579 | ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final; |
580 | ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray( |
581 | ::PROTOBUF_NAMESPACE_ID::uint8* target) const final; |
582 | int GetCachedSize() const final { return _cached_size_.Get(); } |
583 | |
584 | private: |
585 | inline void SharedCtor(); |
586 | inline void SharedDtor(); |
587 | void SetCachedSize(int size) const final; |
588 | void InternalSwap(GraphDebugInfo* other); |
589 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
590 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
591 | return "tensorflow.GraphDebugInfo" ; |
592 | } |
593 | protected: |
594 | explicit GraphDebugInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
595 | private: |
596 | static void ArenaDtor(void* object); |
597 | inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
598 | private: |
599 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
600 | return _internal_metadata_.arena(); |
601 | } |
602 | inline void* MaybeArenaPtr() const { |
603 | return _internal_metadata_.raw_arena_ptr(); |
604 | } |
605 | public: |
606 | |
607 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
608 | private: |
609 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
610 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fgraph_5fdebug_5finfo_2eproto); |
611 | return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fgraph_5fdebug_5finfo_2eproto.file_level_metadata[kIndexInFileMessages]; |
612 | } |
613 | |
614 | public: |
615 | |
616 | // nested types ---------------------------------------------------- |
617 | |
618 | typedef GraphDebugInfo_FileLineCol FileLineCol; |
619 | typedef GraphDebugInfo_StackTrace StackTrace; |
620 | |
621 | // accessors ------------------------------------------------------- |
622 | |
623 | enum : int { |
624 | kFilesFieldNumber = 1, |
625 | kTracesFieldNumber = 2, |
626 | }; |
627 | // repeated string files = 1; |
628 | int files_size() const; |
629 | void clear_files(); |
630 | const std::string& files(int index) const; |
631 | std::string* mutable_files(int index); |
632 | void set_files(int index, const std::string& value); |
633 | void set_files(int index, std::string&& value); |
634 | void set_files(int index, const char* value); |
635 | void set_files(int index, const char* value, size_t size); |
636 | std::string* add_files(); |
637 | void add_files(const std::string& value); |
638 | void add_files(std::string&& value); |
639 | void add_files(const char* value); |
640 | void add_files(const char* value, size_t size); |
641 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& files() const; |
642 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_files(); |
643 | |
644 | // map<string, .tensorflow.GraphDebugInfo.StackTrace> traces = 2; |
645 | int traces_size() const; |
646 | void clear_traces(); |
647 | const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::GraphDebugInfo_StackTrace >& |
648 | traces() const; |
649 | ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::GraphDebugInfo_StackTrace >* |
650 | mutable_traces(); |
651 | |
652 | // @@protoc_insertion_point(class_scope:tensorflow.GraphDebugInfo) |
653 | private: |
654 | class _Internal; |
655 | |
656 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
657 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
658 | typedef void InternalArenaConstructable_; |
659 | typedef void DestructorSkippable_; |
660 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> files_; |
661 | ::PROTOBUF_NAMESPACE_ID::internal::MapField< |
662 | GraphDebugInfo_TracesEntry_DoNotUse, |
663 | std::string, ::tensorflow::GraphDebugInfo_StackTrace, |
664 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, |
665 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE, |
666 | 0 > traces_; |
667 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
668 | friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fgraph_5fdebug_5finfo_2eproto; |
669 | }; |
670 | // =================================================================== |
671 | |
672 | |
673 | // =================================================================== |
674 | |
675 | #ifdef __GNUC__ |
676 | #pragma GCC diagnostic push |
677 | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
678 | #endif // __GNUC__ |
679 | // GraphDebugInfo_FileLineCol |
680 | |
681 | // int32 file_index = 1; |
682 | inline void GraphDebugInfo_FileLineCol::clear_file_index() { |
683 | file_index_ = 0; |
684 | } |
685 | inline ::PROTOBUF_NAMESPACE_ID::int32 GraphDebugInfo_FileLineCol::file_index() const { |
686 | // @@protoc_insertion_point(field_get:tensorflow.GraphDebugInfo.FileLineCol.file_index) |
687 | return file_index_; |
688 | } |
689 | inline void GraphDebugInfo_FileLineCol::set_file_index(::PROTOBUF_NAMESPACE_ID::int32 value) { |
690 | |
691 | file_index_ = value; |
692 | // @@protoc_insertion_point(field_set:tensorflow.GraphDebugInfo.FileLineCol.file_index) |
693 | } |
694 | |
695 | // int32 line = 2; |
696 | inline void GraphDebugInfo_FileLineCol::clear_line() { |
697 | line_ = 0; |
698 | } |
699 | inline ::PROTOBUF_NAMESPACE_ID::int32 GraphDebugInfo_FileLineCol::line() const { |
700 | // @@protoc_insertion_point(field_get:tensorflow.GraphDebugInfo.FileLineCol.line) |
701 | return line_; |
702 | } |
703 | inline void GraphDebugInfo_FileLineCol::set_line(::PROTOBUF_NAMESPACE_ID::int32 value) { |
704 | |
705 | line_ = value; |
706 | // @@protoc_insertion_point(field_set:tensorflow.GraphDebugInfo.FileLineCol.line) |
707 | } |
708 | |
709 | // int32 col = 3; |
710 | inline void GraphDebugInfo_FileLineCol::clear_col() { |
711 | col_ = 0; |
712 | } |
713 | inline ::PROTOBUF_NAMESPACE_ID::int32 GraphDebugInfo_FileLineCol::col() const { |
714 | // @@protoc_insertion_point(field_get:tensorflow.GraphDebugInfo.FileLineCol.col) |
715 | return col_; |
716 | } |
717 | inline void GraphDebugInfo_FileLineCol::set_col(::PROTOBUF_NAMESPACE_ID::int32 value) { |
718 | |
719 | col_ = value; |
720 | // @@protoc_insertion_point(field_set:tensorflow.GraphDebugInfo.FileLineCol.col) |
721 | } |
722 | |
723 | // string func = 4; |
724 | inline void GraphDebugInfo_FileLineCol::clear_func() { |
725 | func_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
726 | } |
727 | inline const std::string& GraphDebugInfo_FileLineCol::func() const { |
728 | // @@protoc_insertion_point(field_get:tensorflow.GraphDebugInfo.FileLineCol.func) |
729 | return func_.Get(); |
730 | } |
731 | inline void GraphDebugInfo_FileLineCol::set_func(const std::string& value) { |
732 | |
733 | func_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
734 | // @@protoc_insertion_point(field_set:tensorflow.GraphDebugInfo.FileLineCol.func) |
735 | } |
736 | inline void GraphDebugInfo_FileLineCol::set_func(std::string&& value) { |
737 | |
738 | func_.Set( |
739 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
740 | // @@protoc_insertion_point(field_set_rvalue:tensorflow.GraphDebugInfo.FileLineCol.func) |
741 | } |
742 | inline void GraphDebugInfo_FileLineCol::set_func(const char* value) { |
743 | GOOGLE_DCHECK(value != nullptr); |
744 | |
745 | func_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
746 | GetArenaNoVirtual()); |
747 | // @@protoc_insertion_point(field_set_char:tensorflow.GraphDebugInfo.FileLineCol.func) |
748 | } |
749 | inline void GraphDebugInfo_FileLineCol::set_func(const char* value, |
750 | size_t size) { |
751 | |
752 | func_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( |
753 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
754 | // @@protoc_insertion_point(field_set_pointer:tensorflow.GraphDebugInfo.FileLineCol.func) |
755 | } |
756 | inline std::string* GraphDebugInfo_FileLineCol::mutable_func() { |
757 | |
758 | // @@protoc_insertion_point(field_mutable:tensorflow.GraphDebugInfo.FileLineCol.func) |
759 | return func_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
760 | } |
761 | inline std::string* GraphDebugInfo_FileLineCol::release_func() { |
762 | // @@protoc_insertion_point(field_release:tensorflow.GraphDebugInfo.FileLineCol.func) |
763 | |
764 | return func_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
765 | } |
766 | inline void GraphDebugInfo_FileLineCol::set_allocated_func(std::string* func) { |
767 | if (func != nullptr) { |
768 | |
769 | } else { |
770 | |
771 | } |
772 | func_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), func, |
773 | GetArenaNoVirtual()); |
774 | // @@protoc_insertion_point(field_set_allocated:tensorflow.GraphDebugInfo.FileLineCol.func) |
775 | } |
776 | inline std::string* GraphDebugInfo_FileLineCol::unsafe_arena_release_func() { |
777 | // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.GraphDebugInfo.FileLineCol.func) |
778 | GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); |
779 | |
780 | return func_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
781 | GetArenaNoVirtual()); |
782 | } |
783 | inline void GraphDebugInfo_FileLineCol::unsafe_arena_set_allocated_func( |
784 | std::string* func) { |
785 | GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); |
786 | if (func != nullptr) { |
787 | |
788 | } else { |
789 | |
790 | } |
791 | func_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
792 | func, GetArenaNoVirtual()); |
793 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.GraphDebugInfo.FileLineCol.func) |
794 | } |
795 | |
796 | // string code = 5; |
797 | inline void GraphDebugInfo_FileLineCol::clear_code() { |
798 | code_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
799 | } |
800 | inline const std::string& GraphDebugInfo_FileLineCol::code() const { |
801 | // @@protoc_insertion_point(field_get:tensorflow.GraphDebugInfo.FileLineCol.code) |
802 | return code_.Get(); |
803 | } |
804 | inline void GraphDebugInfo_FileLineCol::set_code(const std::string& value) { |
805 | |
806 | code_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
807 | // @@protoc_insertion_point(field_set:tensorflow.GraphDebugInfo.FileLineCol.code) |
808 | } |
809 | inline void GraphDebugInfo_FileLineCol::set_code(std::string&& value) { |
810 | |
811 | code_.Set( |
812 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
813 | // @@protoc_insertion_point(field_set_rvalue:tensorflow.GraphDebugInfo.FileLineCol.code) |
814 | } |
815 | inline void GraphDebugInfo_FileLineCol::set_code(const char* value) { |
816 | GOOGLE_DCHECK(value != nullptr); |
817 | |
818 | code_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
819 | GetArenaNoVirtual()); |
820 | // @@protoc_insertion_point(field_set_char:tensorflow.GraphDebugInfo.FileLineCol.code) |
821 | } |
822 | inline void GraphDebugInfo_FileLineCol::set_code(const char* value, |
823 | size_t size) { |
824 | |
825 | code_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( |
826 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
827 | // @@protoc_insertion_point(field_set_pointer:tensorflow.GraphDebugInfo.FileLineCol.code) |
828 | } |
829 | inline std::string* GraphDebugInfo_FileLineCol::mutable_code() { |
830 | |
831 | // @@protoc_insertion_point(field_mutable:tensorflow.GraphDebugInfo.FileLineCol.code) |
832 | return code_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
833 | } |
834 | inline std::string* GraphDebugInfo_FileLineCol::release_code() { |
835 | // @@protoc_insertion_point(field_release:tensorflow.GraphDebugInfo.FileLineCol.code) |
836 | |
837 | return code_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
838 | } |
839 | inline void GraphDebugInfo_FileLineCol::set_allocated_code(std::string* code) { |
840 | if (code != nullptr) { |
841 | |
842 | } else { |
843 | |
844 | } |
845 | code_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), code, |
846 | GetArenaNoVirtual()); |
847 | // @@protoc_insertion_point(field_set_allocated:tensorflow.GraphDebugInfo.FileLineCol.code) |
848 | } |
849 | inline std::string* GraphDebugInfo_FileLineCol::unsafe_arena_release_code() { |
850 | // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.GraphDebugInfo.FileLineCol.code) |
851 | GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); |
852 | |
853 | return code_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
854 | GetArenaNoVirtual()); |
855 | } |
856 | inline void GraphDebugInfo_FileLineCol::unsafe_arena_set_allocated_code( |
857 | std::string* code) { |
858 | GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); |
859 | if (code != nullptr) { |
860 | |
861 | } else { |
862 | |
863 | } |
864 | code_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
865 | code, GetArenaNoVirtual()); |
866 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.GraphDebugInfo.FileLineCol.code) |
867 | } |
868 | |
869 | // ------------------------------------------------------------------- |
870 | |
871 | // GraphDebugInfo_StackTrace |
872 | |
873 | // repeated .tensorflow.GraphDebugInfo.FileLineCol file_line_cols = 1; |
874 | inline int GraphDebugInfo_StackTrace::file_line_cols_size() const { |
875 | return file_line_cols_.size(); |
876 | } |
877 | inline void GraphDebugInfo_StackTrace::clear_file_line_cols() { |
878 | file_line_cols_.Clear(); |
879 | } |
880 | inline ::tensorflow::GraphDebugInfo_FileLineCol* GraphDebugInfo_StackTrace::mutable_file_line_cols(int index) { |
881 | // @@protoc_insertion_point(field_mutable:tensorflow.GraphDebugInfo.StackTrace.file_line_cols) |
882 | return file_line_cols_.Mutable(index); |
883 | } |
884 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::GraphDebugInfo_FileLineCol >* |
885 | GraphDebugInfo_StackTrace::mutable_file_line_cols() { |
886 | // @@protoc_insertion_point(field_mutable_list:tensorflow.GraphDebugInfo.StackTrace.file_line_cols) |
887 | return &file_line_cols_; |
888 | } |
889 | inline const ::tensorflow::GraphDebugInfo_FileLineCol& GraphDebugInfo_StackTrace::file_line_cols(int index) const { |
890 | // @@protoc_insertion_point(field_get:tensorflow.GraphDebugInfo.StackTrace.file_line_cols) |
891 | return file_line_cols_.Get(index); |
892 | } |
893 | inline ::tensorflow::GraphDebugInfo_FileLineCol* GraphDebugInfo_StackTrace::add_file_line_cols() { |
894 | // @@protoc_insertion_point(field_add:tensorflow.GraphDebugInfo.StackTrace.file_line_cols) |
895 | return file_line_cols_.Add(); |
896 | } |
897 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::GraphDebugInfo_FileLineCol >& |
898 | GraphDebugInfo_StackTrace::file_line_cols() const { |
899 | // @@protoc_insertion_point(field_list:tensorflow.GraphDebugInfo.StackTrace.file_line_cols) |
900 | return file_line_cols_; |
901 | } |
902 | |
903 | // ------------------------------------------------------------------- |
904 | |
905 | // ------------------------------------------------------------------- |
906 | |
907 | // GraphDebugInfo |
908 | |
909 | // repeated string files = 1; |
910 | inline int GraphDebugInfo::files_size() const { |
911 | return files_.size(); |
912 | } |
913 | inline void GraphDebugInfo::clear_files() { |
914 | files_.Clear(); |
915 | } |
916 | inline const std::string& GraphDebugInfo::files(int index) const { |
917 | // @@protoc_insertion_point(field_get:tensorflow.GraphDebugInfo.files) |
918 | return files_.Get(index); |
919 | } |
920 | inline std::string* GraphDebugInfo::mutable_files(int index) { |
921 | // @@protoc_insertion_point(field_mutable:tensorflow.GraphDebugInfo.files) |
922 | return files_.Mutable(index); |
923 | } |
924 | inline void GraphDebugInfo::set_files(int index, const std::string& value) { |
925 | // @@protoc_insertion_point(field_set:tensorflow.GraphDebugInfo.files) |
926 | files_.Mutable(index)->assign(value); |
927 | } |
928 | inline void GraphDebugInfo::set_files(int index, std::string&& value) { |
929 | // @@protoc_insertion_point(field_set:tensorflow.GraphDebugInfo.files) |
930 | files_.Mutable(index)->assign(std::move(value)); |
931 | } |
932 | inline void GraphDebugInfo::set_files(int index, const char* value) { |
933 | GOOGLE_DCHECK(value != nullptr); |
934 | files_.Mutable(index)->assign(value); |
935 | // @@protoc_insertion_point(field_set_char:tensorflow.GraphDebugInfo.files) |
936 | } |
937 | inline void GraphDebugInfo::set_files(int index, const char* value, size_t size) { |
938 | files_.Mutable(index)->assign( |
939 | reinterpret_cast<const char*>(value), size); |
940 | // @@protoc_insertion_point(field_set_pointer:tensorflow.GraphDebugInfo.files) |
941 | } |
942 | inline std::string* GraphDebugInfo::add_files() { |
943 | // @@protoc_insertion_point(field_add_mutable:tensorflow.GraphDebugInfo.files) |
944 | return files_.Add(); |
945 | } |
946 | inline void GraphDebugInfo::add_files(const std::string& value) { |
947 | files_.Add()->assign(value); |
948 | // @@protoc_insertion_point(field_add:tensorflow.GraphDebugInfo.files) |
949 | } |
950 | inline void GraphDebugInfo::add_files(std::string&& value) { |
951 | files_.Add(std::move(value)); |
952 | // @@protoc_insertion_point(field_add:tensorflow.GraphDebugInfo.files) |
953 | } |
954 | inline void GraphDebugInfo::add_files(const char* value) { |
955 | GOOGLE_DCHECK(value != nullptr); |
956 | files_.Add()->assign(value); |
957 | // @@protoc_insertion_point(field_add_char:tensorflow.GraphDebugInfo.files) |
958 | } |
959 | inline void GraphDebugInfo::add_files(const char* value, size_t size) { |
960 | files_.Add()->assign(reinterpret_cast<const char*>(value), size); |
961 | // @@protoc_insertion_point(field_add_pointer:tensorflow.GraphDebugInfo.files) |
962 | } |
963 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& |
964 | GraphDebugInfo::files() const { |
965 | // @@protoc_insertion_point(field_list:tensorflow.GraphDebugInfo.files) |
966 | return files_; |
967 | } |
968 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* |
969 | GraphDebugInfo::mutable_files() { |
970 | // @@protoc_insertion_point(field_mutable_list:tensorflow.GraphDebugInfo.files) |
971 | return &files_; |
972 | } |
973 | |
974 | // map<string, .tensorflow.GraphDebugInfo.StackTrace> traces = 2; |
975 | inline int GraphDebugInfo::traces_size() const { |
976 | return traces_.size(); |
977 | } |
978 | inline void GraphDebugInfo::clear_traces() { |
979 | traces_.Clear(); |
980 | } |
981 | inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::GraphDebugInfo_StackTrace >& |
982 | GraphDebugInfo::traces() const { |
983 | // @@protoc_insertion_point(field_map:tensorflow.GraphDebugInfo.traces) |
984 | return traces_.GetMap(); |
985 | } |
986 | inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::GraphDebugInfo_StackTrace >* |
987 | GraphDebugInfo::mutable_traces() { |
988 | // @@protoc_insertion_point(field_mutable_map:tensorflow.GraphDebugInfo.traces) |
989 | return traces_.MutableMap(); |
990 | } |
991 | |
992 | #ifdef __GNUC__ |
993 | #pragma GCC diagnostic pop |
994 | #endif // __GNUC__ |
995 | // ------------------------------------------------------------------- |
996 | |
997 | // ------------------------------------------------------------------- |
998 | |
999 | // ------------------------------------------------------------------- |
1000 | |
1001 | |
1002 | // @@protoc_insertion_point(namespace_scope) |
1003 | |
1004 | } // namespace tensorflow |
1005 | |
1006 | // @@protoc_insertion_point(global_scope) |
1007 | |
1008 | #include <google/protobuf/port_undef.inc> |
1009 | #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fprotobuf_2fgraph_5fdebug_5finfo_2eproto |
1010 | |