1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: tensorflow/core/debug/debug_service.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fdebug_2fdebug_5fservice_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fdebug_2fdebug_5fservice_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/generated_enum_reflection.h>
38#include <google/protobuf/unknown_field_set.h>
39#include "tensorflow/core/framework/tensor.pb.h"
40#include "tensorflow/core/profiler/tfprof_log.pb.h"
41#include "tensorflow/core/protobuf/debug.pb.h"
42#include "tensorflow/core/util/event.pb.h"
43// @@protoc_insertion_point(includes)
44#include <google/protobuf/port_def.inc>
45#define PROTOBUF_INTERNAL_EXPORT_tensorflow_2fcore_2fdebug_2fdebug_5fservice_2eproto
46PROTOBUF_NAMESPACE_OPEN
47namespace internal {
48class AnyMetadata;
49} // namespace internal
50PROTOBUF_NAMESPACE_CLOSE
51
52// Internal implementation detail -- do not use these members.
53struct TableStruct_tensorflow_2fcore_2fdebug_2fdebug_5fservice_2eproto {
54 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
55 PROTOBUF_SECTION_VARIABLE(protodesc_cold);
56 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
57 PROTOBUF_SECTION_VARIABLE(protodesc_cold);
58 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[4]
59 PROTOBUF_SECTION_VARIABLE(protodesc_cold);
60 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
61 static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
62 static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
63};
64extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_tensorflow_2fcore_2fdebug_2fdebug_5fservice_2eproto;
65namespace tensorflow {
66class CallTraceback;
67class CallTracebackDefaultTypeInternal;
68extern CallTracebackDefaultTypeInternal _CallTraceback_default_instance_;
69class CallTraceback_OriginIdToStringEntry_DoNotUse;
70class CallTraceback_OriginIdToStringEntry_DoNotUseDefaultTypeInternal;
71extern CallTraceback_OriginIdToStringEntry_DoNotUseDefaultTypeInternal _CallTraceback_OriginIdToStringEntry_DoNotUse_default_instance_;
72class EventReply;
73class EventReplyDefaultTypeInternal;
74extern EventReplyDefaultTypeInternal _EventReply_default_instance_;
75class EventReply_DebugOpStateChange;
76class EventReply_DebugOpStateChangeDefaultTypeInternal;
77extern EventReply_DebugOpStateChangeDefaultTypeInternal _EventReply_DebugOpStateChange_default_instance_;
78} // namespace tensorflow
79PROTOBUF_NAMESPACE_OPEN
80template<> ::tensorflow::CallTraceback* Arena::CreateMaybeMessage<::tensorflow::CallTraceback>(Arena*);
81template<> ::tensorflow::CallTraceback_OriginIdToStringEntry_DoNotUse* Arena::CreateMaybeMessage<::tensorflow::CallTraceback_OriginIdToStringEntry_DoNotUse>(Arena*);
82template<> ::tensorflow::EventReply* Arena::CreateMaybeMessage<::tensorflow::EventReply>(Arena*);
83template<> ::tensorflow::EventReply_DebugOpStateChange* Arena::CreateMaybeMessage<::tensorflow::EventReply_DebugOpStateChange>(Arena*);
84PROTOBUF_NAMESPACE_CLOSE
85namespace tensorflow {
86
87enum EventReply_DebugOpStateChange_State : int {
88 EventReply_DebugOpStateChange_State_STATE_UNSPECIFIED = 0,
89 EventReply_DebugOpStateChange_State_DISABLED = 1,
90 EventReply_DebugOpStateChange_State_READ_ONLY = 2,
91 EventReply_DebugOpStateChange_State_READ_WRITE = 3,
92 EventReply_DebugOpStateChange_State_EventReply_DebugOpStateChange_State_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::min(),
93 EventReply_DebugOpStateChange_State_EventReply_DebugOpStateChange_State_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::max()
94};
95bool EventReply_DebugOpStateChange_State_IsValid(int value);
96constexpr EventReply_DebugOpStateChange_State EventReply_DebugOpStateChange_State_State_MIN = EventReply_DebugOpStateChange_State_STATE_UNSPECIFIED;
97constexpr EventReply_DebugOpStateChange_State EventReply_DebugOpStateChange_State_State_MAX = EventReply_DebugOpStateChange_State_READ_WRITE;
98constexpr int EventReply_DebugOpStateChange_State_State_ARRAYSIZE = EventReply_DebugOpStateChange_State_State_MAX + 1;
99
100const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EventReply_DebugOpStateChange_State_descriptor();
101template<typename T>
102inline const std::string& EventReply_DebugOpStateChange_State_Name(T enum_t_value) {
103 static_assert(::std::is_same<T, EventReply_DebugOpStateChange_State>::value ||
104 ::std::is_integral<T>::value,
105 "Incorrect type passed to function EventReply_DebugOpStateChange_State_Name.");
106 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
107 EventReply_DebugOpStateChange_State_descriptor(), enum_t_value);
108}
109inline bool EventReply_DebugOpStateChange_State_Parse(
110 const std::string& name, EventReply_DebugOpStateChange_State* value) {
111 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<EventReply_DebugOpStateChange_State>(
112 EventReply_DebugOpStateChange_State_descriptor(), name, value);
113}
114enum CallTraceback_CallType : int {
115 CallTraceback_CallType_UNSPECIFIED = 0,
116 CallTraceback_CallType_GRAPH_EXECUTION = 1,
117 CallTraceback_CallType_EAGER_EXECUTION = 2,
118 CallTraceback_CallType_CallTraceback_CallType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::min(),
119 CallTraceback_CallType_CallTraceback_CallType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::max()
120};
121bool CallTraceback_CallType_IsValid(int value);
122constexpr CallTraceback_CallType CallTraceback_CallType_CallType_MIN = CallTraceback_CallType_UNSPECIFIED;
123constexpr CallTraceback_CallType CallTraceback_CallType_CallType_MAX = CallTraceback_CallType_EAGER_EXECUTION;
124constexpr int CallTraceback_CallType_CallType_ARRAYSIZE = CallTraceback_CallType_CallType_MAX + 1;
125
126const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CallTraceback_CallType_descriptor();
127template<typename T>
128inline const std::string& CallTraceback_CallType_Name(T enum_t_value) {
129 static_assert(::std::is_same<T, CallTraceback_CallType>::value ||
130 ::std::is_integral<T>::value,
131 "Incorrect type passed to function CallTraceback_CallType_Name.");
132 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
133 CallTraceback_CallType_descriptor(), enum_t_value);
134}
135inline bool CallTraceback_CallType_Parse(
136 const std::string& name, CallTraceback_CallType* value) {
137 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<CallTraceback_CallType>(
138 CallTraceback_CallType_descriptor(), name, value);
139}
140// ===================================================================
141
142class EventReply_DebugOpStateChange :
143 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.EventReply.DebugOpStateChange) */ {
144 public:
145 EventReply_DebugOpStateChange();
146 virtual ~EventReply_DebugOpStateChange();
147
148 EventReply_DebugOpStateChange(const EventReply_DebugOpStateChange& from);
149 EventReply_DebugOpStateChange(EventReply_DebugOpStateChange&& from) noexcept
150 : EventReply_DebugOpStateChange() {
151 *this = ::std::move(from);
152 }
153
154 inline EventReply_DebugOpStateChange& operator=(const EventReply_DebugOpStateChange& from) {
155 CopyFrom(from);
156 return *this;
157 }
158 inline EventReply_DebugOpStateChange& operator=(EventReply_DebugOpStateChange&& from) noexcept {
159 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
160 if (this != &from) InternalSwap(&from);
161 } else {
162 CopyFrom(from);
163 }
164 return *this;
165 }
166
167 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
168 return GetDescriptor();
169 }
170 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
171 return GetMetadataStatic().descriptor;
172 }
173 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
174 return GetMetadataStatic().reflection;
175 }
176 static const EventReply_DebugOpStateChange& default_instance();
177
178 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
179 static inline const EventReply_DebugOpStateChange* internal_default_instance() {
180 return reinterpret_cast<const EventReply_DebugOpStateChange*>(
181 &_EventReply_DebugOpStateChange_default_instance_);
182 }
183 static constexpr int kIndexInFileMessages =
184 0;
185
186 friend void swap(EventReply_DebugOpStateChange& a, EventReply_DebugOpStateChange& b) {
187 a.Swap(&b);
188 }
189 inline void Swap(EventReply_DebugOpStateChange* other) {
190 if (other == this) return;
191 InternalSwap(other);
192 }
193
194 // implements Message ----------------------------------------------
195
196 inline EventReply_DebugOpStateChange* New() const final {
197 return CreateMaybeMessage<EventReply_DebugOpStateChange>(nullptr);
198 }
199
200 EventReply_DebugOpStateChange* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
201 return CreateMaybeMessage<EventReply_DebugOpStateChange>(arena);
202 }
203 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
204 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
205 void CopyFrom(const EventReply_DebugOpStateChange& from);
206 void MergeFrom(const EventReply_DebugOpStateChange& from);
207 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
208 bool IsInitialized() const final;
209
210 size_t ByteSizeLong() const final;
211 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
212 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
213 #else
214 bool MergePartialFromCodedStream(
215 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
216 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
217 void SerializeWithCachedSizes(
218 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
219 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
220 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
221 int GetCachedSize() const final { return _cached_size_.Get(); }
222
223 private:
224 inline void SharedCtor();
225 inline void SharedDtor();
226 void SetCachedSize(int size) const final;
227 void InternalSwap(EventReply_DebugOpStateChange* other);
228 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
229 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
230 return "tensorflow.EventReply.DebugOpStateChange";
231 }
232 private:
233 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
234 return nullptr;
235 }
236 inline void* MaybeArenaPtr() const {
237 return nullptr;
238 }
239 public:
240
241 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
242 private:
243 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
244 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fdebug_2fdebug_5fservice_2eproto);
245 return ::descriptor_table_tensorflow_2fcore_2fdebug_2fdebug_5fservice_2eproto.file_level_metadata[kIndexInFileMessages];
246 }
247
248 public:
249
250 // nested types ----------------------------------------------------
251
252 typedef EventReply_DebugOpStateChange_State State;
253 static constexpr State STATE_UNSPECIFIED =
254 EventReply_DebugOpStateChange_State_STATE_UNSPECIFIED;
255 static constexpr State DISABLED =
256 EventReply_DebugOpStateChange_State_DISABLED;
257 static constexpr State READ_ONLY =
258 EventReply_DebugOpStateChange_State_READ_ONLY;
259 static constexpr State READ_WRITE =
260 EventReply_DebugOpStateChange_State_READ_WRITE;
261 static inline bool State_IsValid(int value) {
262 return EventReply_DebugOpStateChange_State_IsValid(value);
263 }
264 static constexpr State State_MIN =
265 EventReply_DebugOpStateChange_State_State_MIN;
266 static constexpr State State_MAX =
267 EventReply_DebugOpStateChange_State_State_MAX;
268 static constexpr int State_ARRAYSIZE =
269 EventReply_DebugOpStateChange_State_State_ARRAYSIZE;
270 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
271 State_descriptor() {
272 return EventReply_DebugOpStateChange_State_descriptor();
273 }
274 template<typename T>
275 static inline const std::string& State_Name(T enum_t_value) {
276 static_assert(::std::is_same<T, State>::value ||
277 ::std::is_integral<T>::value,
278 "Incorrect type passed to function State_Name.");
279 return EventReply_DebugOpStateChange_State_Name(enum_t_value);
280 }
281 static inline bool State_Parse(const std::string& name,
282 State* value) {
283 return EventReply_DebugOpStateChange_State_Parse(name, value);
284 }
285
286 // accessors -------------------------------------------------------
287
288 enum : int {
289 kNodeNameFieldNumber = 2,
290 kDebugOpFieldNumber = 4,
291 kStateFieldNumber = 1,
292 kOutputSlotFieldNumber = 3,
293 };
294 // string node_name = 2;
295 void clear_node_name();
296 const std::string& node_name() const;
297 void set_node_name(const std::string& value);
298 void set_node_name(std::string&& value);
299 void set_node_name(const char* value);
300 void set_node_name(const char* value, size_t size);
301 std::string* mutable_node_name();
302 std::string* release_node_name();
303 void set_allocated_node_name(std::string* node_name);
304
305 // string debug_op = 4;
306 void clear_debug_op();
307 const std::string& debug_op() const;
308 void set_debug_op(const std::string& value);
309 void set_debug_op(std::string&& value);
310 void set_debug_op(const char* value);
311 void set_debug_op(const char* value, size_t size);
312 std::string* mutable_debug_op();
313 std::string* release_debug_op();
314 void set_allocated_debug_op(std::string* debug_op);
315
316 // .tensorflow.EventReply.DebugOpStateChange.State state = 1;
317 void clear_state();
318 ::tensorflow::EventReply_DebugOpStateChange_State state() const;
319 void set_state(::tensorflow::EventReply_DebugOpStateChange_State value);
320
321 // int32 output_slot = 3;
322 void clear_output_slot();
323 ::PROTOBUF_NAMESPACE_ID::int32 output_slot() const;
324 void set_output_slot(::PROTOBUF_NAMESPACE_ID::int32 value);
325
326 // @@protoc_insertion_point(class_scope:tensorflow.EventReply.DebugOpStateChange)
327 private:
328 class _Internal;
329
330 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
331 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr node_name_;
332 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr debug_op_;
333 int state_;
334 ::PROTOBUF_NAMESPACE_ID::int32 output_slot_;
335 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
336 friend struct ::TableStruct_tensorflow_2fcore_2fdebug_2fdebug_5fservice_2eproto;
337};
338// -------------------------------------------------------------------
339
340class EventReply :
341 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.EventReply) */ {
342 public:
343 EventReply();
344 virtual ~EventReply();
345
346 EventReply(const EventReply& from);
347 EventReply(EventReply&& from) noexcept
348 : EventReply() {
349 *this = ::std::move(from);
350 }
351
352 inline EventReply& operator=(const EventReply& from) {
353 CopyFrom(from);
354 return *this;
355 }
356 inline EventReply& operator=(EventReply&& from) noexcept {
357 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
358 if (this != &from) InternalSwap(&from);
359 } else {
360 CopyFrom(from);
361 }
362 return *this;
363 }
364
365 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
366 return GetDescriptor();
367 }
368 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
369 return GetMetadataStatic().descriptor;
370 }
371 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
372 return GetMetadataStatic().reflection;
373 }
374 static const EventReply& default_instance();
375
376 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
377 static inline const EventReply* internal_default_instance() {
378 return reinterpret_cast<const EventReply*>(
379 &_EventReply_default_instance_);
380 }
381 static constexpr int kIndexInFileMessages =
382 1;
383
384 friend void swap(EventReply& a, EventReply& b) {
385 a.Swap(&b);
386 }
387 inline void Swap(EventReply* other) {
388 if (other == this) return;
389 InternalSwap(other);
390 }
391
392 // implements Message ----------------------------------------------
393
394 inline EventReply* New() const final {
395 return CreateMaybeMessage<EventReply>(nullptr);
396 }
397
398 EventReply* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
399 return CreateMaybeMessage<EventReply>(arena);
400 }
401 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
402 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
403 void CopyFrom(const EventReply& from);
404 void MergeFrom(const EventReply& from);
405 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
406 bool IsInitialized() const final;
407
408 size_t ByteSizeLong() const final;
409 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
410 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
411 #else
412 bool MergePartialFromCodedStream(
413 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
414 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
415 void SerializeWithCachedSizes(
416 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
417 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
418 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
419 int GetCachedSize() const final { return _cached_size_.Get(); }
420
421 private:
422 inline void SharedCtor();
423 inline void SharedDtor();
424 void SetCachedSize(int size) const final;
425 void InternalSwap(EventReply* other);
426 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
427 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
428 return "tensorflow.EventReply";
429 }
430 private:
431 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
432 return nullptr;
433 }
434 inline void* MaybeArenaPtr() const {
435 return nullptr;
436 }
437 public:
438
439 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
440 private:
441 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
442 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fdebug_2fdebug_5fservice_2eproto);
443 return ::descriptor_table_tensorflow_2fcore_2fdebug_2fdebug_5fservice_2eproto.file_level_metadata[kIndexInFileMessages];
444 }
445
446 public:
447
448 // nested types ----------------------------------------------------
449
450 typedef EventReply_DebugOpStateChange DebugOpStateChange;
451
452 // accessors -------------------------------------------------------
453
454 enum : int {
455 kDebugOpStateChangesFieldNumber = 1,
456 kTensorFieldNumber = 2,
457 };
458 // repeated .tensorflow.EventReply.DebugOpStateChange debug_op_state_changes = 1;
459 int debug_op_state_changes_size() const;
460 void clear_debug_op_state_changes();
461 ::tensorflow::EventReply_DebugOpStateChange* mutable_debug_op_state_changes(int index);
462 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::EventReply_DebugOpStateChange >*
463 mutable_debug_op_state_changes();
464 const ::tensorflow::EventReply_DebugOpStateChange& debug_op_state_changes(int index) const;
465 ::tensorflow::EventReply_DebugOpStateChange* add_debug_op_state_changes();
466 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::EventReply_DebugOpStateChange >&
467 debug_op_state_changes() const;
468
469 // .tensorflow.TensorProto tensor = 2;
470 bool has_tensor() const;
471 void clear_tensor();
472 const ::tensorflow::TensorProto& tensor() const;
473 ::tensorflow::TensorProto* release_tensor();
474 ::tensorflow::TensorProto* mutable_tensor();
475 void set_allocated_tensor(::tensorflow::TensorProto* tensor);
476
477 // @@protoc_insertion_point(class_scope:tensorflow.EventReply)
478 private:
479 class _Internal;
480
481 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
482 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::EventReply_DebugOpStateChange > debug_op_state_changes_;
483 ::tensorflow::TensorProto* tensor_;
484 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
485 friend struct ::TableStruct_tensorflow_2fcore_2fdebug_2fdebug_5fservice_2eproto;
486};
487// -------------------------------------------------------------------
488
489class CallTraceback_OriginIdToStringEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<CallTraceback_OriginIdToStringEntry_DoNotUse,
490 ::PROTOBUF_NAMESPACE_ID::int64, std::string,
491 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64,
492 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
493 0 > {
494public:
495 typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<CallTraceback_OriginIdToStringEntry_DoNotUse,
496 ::PROTOBUF_NAMESPACE_ID::int64, std::string,
497 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64,
498 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
499 0 > SuperType;
500 CallTraceback_OriginIdToStringEntry_DoNotUse();
501 CallTraceback_OriginIdToStringEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
502 void MergeFrom(const CallTraceback_OriginIdToStringEntry_DoNotUse& other);
503 static const CallTraceback_OriginIdToStringEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const CallTraceback_OriginIdToStringEntry_DoNotUse*>(&_CallTraceback_OriginIdToStringEntry_DoNotUse_default_instance_); }
504 static bool ValidateKey(void*) { return true; }
505 static bool ValidateValue(std::string* s) {
506 return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), s->size(), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "tensorflow.CallTraceback.OriginIdToStringEntry.value");
507 }
508 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& other) final;
509 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
510 private:
511 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
512 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fdebug_2fdebug_5fservice_2eproto);
513 return ::descriptor_table_tensorflow_2fcore_2fdebug_2fdebug_5fservice_2eproto.file_level_metadata[2];
514 }
515
516 public:
517};
518
519// -------------------------------------------------------------------
520
521class CallTraceback :
522 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.CallTraceback) */ {
523 public:
524 CallTraceback();
525 virtual ~CallTraceback();
526
527 CallTraceback(const CallTraceback& from);
528 CallTraceback(CallTraceback&& from) noexcept
529 : CallTraceback() {
530 *this = ::std::move(from);
531 }
532
533 inline CallTraceback& operator=(const CallTraceback& from) {
534 CopyFrom(from);
535 return *this;
536 }
537 inline CallTraceback& operator=(CallTraceback&& from) noexcept {
538 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
539 if (this != &from) InternalSwap(&from);
540 } else {
541 CopyFrom(from);
542 }
543 return *this;
544 }
545
546 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
547 return GetDescriptor();
548 }
549 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
550 return GetMetadataStatic().descriptor;
551 }
552 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
553 return GetMetadataStatic().reflection;
554 }
555 static const CallTraceback& default_instance();
556
557 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
558 static inline const CallTraceback* internal_default_instance() {
559 return reinterpret_cast<const CallTraceback*>(
560 &_CallTraceback_default_instance_);
561 }
562 static constexpr int kIndexInFileMessages =
563 3;
564
565 friend void swap(CallTraceback& a, CallTraceback& b) {
566 a.Swap(&b);
567 }
568 inline void Swap(CallTraceback* other) {
569 if (other == this) return;
570 InternalSwap(other);
571 }
572
573 // implements Message ----------------------------------------------
574
575 inline CallTraceback* New() const final {
576 return CreateMaybeMessage<CallTraceback>(nullptr);
577 }
578
579 CallTraceback* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
580 return CreateMaybeMessage<CallTraceback>(arena);
581 }
582 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
583 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
584 void CopyFrom(const CallTraceback& from);
585 void MergeFrom(const CallTraceback& from);
586 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
587 bool IsInitialized() const final;
588
589 size_t ByteSizeLong() const final;
590 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
591 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
592 #else
593 bool MergePartialFromCodedStream(
594 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
595 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
596 void SerializeWithCachedSizes(
597 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
598 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
599 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
600 int GetCachedSize() const final { return _cached_size_.Get(); }
601
602 private:
603 inline void SharedCtor();
604 inline void SharedDtor();
605 void SetCachedSize(int size) const final;
606 void InternalSwap(CallTraceback* other);
607 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
608 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
609 return "tensorflow.CallTraceback";
610 }
611 private:
612 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
613 return nullptr;
614 }
615 inline void* MaybeArenaPtr() const {
616 return nullptr;
617 }
618 public:
619
620 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
621 private:
622 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
623 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fdebug_2fdebug_5fservice_2eproto);
624 return ::descriptor_table_tensorflow_2fcore_2fdebug_2fdebug_5fservice_2eproto.file_level_metadata[kIndexInFileMessages];
625 }
626
627 public:
628
629 // nested types ----------------------------------------------------
630
631
632 typedef CallTraceback_CallType CallType;
633 static constexpr CallType UNSPECIFIED =
634 CallTraceback_CallType_UNSPECIFIED;
635 static constexpr CallType GRAPH_EXECUTION =
636 CallTraceback_CallType_GRAPH_EXECUTION;
637 static constexpr CallType EAGER_EXECUTION =
638 CallTraceback_CallType_EAGER_EXECUTION;
639 static inline bool CallType_IsValid(int value) {
640 return CallTraceback_CallType_IsValid(value);
641 }
642 static constexpr CallType CallType_MIN =
643 CallTraceback_CallType_CallType_MIN;
644 static constexpr CallType CallType_MAX =
645 CallTraceback_CallType_CallType_MAX;
646 static constexpr int CallType_ARRAYSIZE =
647 CallTraceback_CallType_CallType_ARRAYSIZE;
648 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
649 CallType_descriptor() {
650 return CallTraceback_CallType_descriptor();
651 }
652 template<typename T>
653 static inline const std::string& CallType_Name(T enum_t_value) {
654 static_assert(::std::is_same<T, CallType>::value ||
655 ::std::is_integral<T>::value,
656 "Incorrect type passed to function CallType_Name.");
657 return CallTraceback_CallType_Name(enum_t_value);
658 }
659 static inline bool CallType_Parse(const std::string& name,
660 CallType* value) {
661 return CallTraceback_CallType_Parse(name, value);
662 }
663
664 // accessors -------------------------------------------------------
665
666 enum : int {
667 kOriginIdToStringFieldNumber = 4,
668 kCallKeyFieldNumber = 2,
669 kOriginStackFieldNumber = 3,
670 kGraphTracebackFieldNumber = 5,
671 kGraphVersionFieldNumber = 6,
672 kCallTypeFieldNumber = 1,
673 };
674 // map<int64, string> origin_id_to_string = 4;
675 int origin_id_to_string_size() const;
676 void clear_origin_id_to_string();
677 const ::PROTOBUF_NAMESPACE_ID::Map< ::PROTOBUF_NAMESPACE_ID::int64, std::string >&
678 origin_id_to_string() const;
679 ::PROTOBUF_NAMESPACE_ID::Map< ::PROTOBUF_NAMESPACE_ID::int64, std::string >*
680 mutable_origin_id_to_string();
681
682 // string call_key = 2;
683 void clear_call_key();
684 const std::string& call_key() const;
685 void set_call_key(const std::string& value);
686 void set_call_key(std::string&& value);
687 void set_call_key(const char* value);
688 void set_call_key(const char* value, size_t size);
689 std::string* mutable_call_key();
690 std::string* release_call_key();
691 void set_allocated_call_key(std::string* call_key);
692
693 // .tensorflow.tfprof.CodeDef origin_stack = 3;
694 bool has_origin_stack() const;
695 void clear_origin_stack();
696 const ::tensorflow::tfprof::CodeDef& origin_stack() const;
697 ::tensorflow::tfprof::CodeDef* release_origin_stack();
698 ::tensorflow::tfprof::CodeDef* mutable_origin_stack();
699 void set_allocated_origin_stack(::tensorflow::tfprof::CodeDef* origin_stack);
700
701 // .tensorflow.tfprof.OpLogProto graph_traceback = 5;
702 bool has_graph_traceback() const;
703 void clear_graph_traceback();
704 const ::tensorflow::tfprof::OpLogProto& graph_traceback() const;
705 ::tensorflow::tfprof::OpLogProto* release_graph_traceback();
706 ::tensorflow::tfprof::OpLogProto* mutable_graph_traceback();
707 void set_allocated_graph_traceback(::tensorflow::tfprof::OpLogProto* graph_traceback);
708
709 // int64 graph_version = 6;
710 void clear_graph_version();
711 ::PROTOBUF_NAMESPACE_ID::int64 graph_version() const;
712 void set_graph_version(::PROTOBUF_NAMESPACE_ID::int64 value);
713
714 // .tensorflow.CallTraceback.CallType call_type = 1;
715 void clear_call_type();
716 ::tensorflow::CallTraceback_CallType call_type() const;
717 void set_call_type(::tensorflow::CallTraceback_CallType value);
718
719 // @@protoc_insertion_point(class_scope:tensorflow.CallTraceback)
720 private:
721 class _Internal;
722
723 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
724 ::PROTOBUF_NAMESPACE_ID::internal::MapField<
725 CallTraceback_OriginIdToStringEntry_DoNotUse,
726 ::PROTOBUF_NAMESPACE_ID::int64, std::string,
727 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64,
728 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
729 0 > origin_id_to_string_;
730 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr call_key_;
731 ::tensorflow::tfprof::CodeDef* origin_stack_;
732 ::tensorflow::tfprof::OpLogProto* graph_traceback_;
733 ::PROTOBUF_NAMESPACE_ID::int64 graph_version_;
734 int call_type_;
735 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
736 friend struct ::TableStruct_tensorflow_2fcore_2fdebug_2fdebug_5fservice_2eproto;
737};
738// ===================================================================
739
740
741// ===================================================================
742
743#ifdef __GNUC__
744 #pragma GCC diagnostic push
745 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
746#endif // __GNUC__
747// EventReply_DebugOpStateChange
748
749// .tensorflow.EventReply.DebugOpStateChange.State state = 1;
750inline void EventReply_DebugOpStateChange::clear_state() {
751 state_ = 0;
752}
753inline ::tensorflow::EventReply_DebugOpStateChange_State EventReply_DebugOpStateChange::state() const {
754 // @@protoc_insertion_point(field_get:tensorflow.EventReply.DebugOpStateChange.state)
755 return static_cast< ::tensorflow::EventReply_DebugOpStateChange_State >(state_);
756}
757inline void EventReply_DebugOpStateChange::set_state(::tensorflow::EventReply_DebugOpStateChange_State value) {
758
759 state_ = value;
760 // @@protoc_insertion_point(field_set:tensorflow.EventReply.DebugOpStateChange.state)
761}
762
763// string node_name = 2;
764inline void EventReply_DebugOpStateChange::clear_node_name() {
765 node_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
766}
767inline const std::string& EventReply_DebugOpStateChange::node_name() const {
768 // @@protoc_insertion_point(field_get:tensorflow.EventReply.DebugOpStateChange.node_name)
769 return node_name_.GetNoArena();
770}
771inline void EventReply_DebugOpStateChange::set_node_name(const std::string& value) {
772
773 node_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
774 // @@protoc_insertion_point(field_set:tensorflow.EventReply.DebugOpStateChange.node_name)
775}
776inline void EventReply_DebugOpStateChange::set_node_name(std::string&& value) {
777
778 node_name_.SetNoArena(
779 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
780 // @@protoc_insertion_point(field_set_rvalue:tensorflow.EventReply.DebugOpStateChange.node_name)
781}
782inline void EventReply_DebugOpStateChange::set_node_name(const char* value) {
783 GOOGLE_DCHECK(value != nullptr);
784
785 node_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
786 // @@protoc_insertion_point(field_set_char:tensorflow.EventReply.DebugOpStateChange.node_name)
787}
788inline void EventReply_DebugOpStateChange::set_node_name(const char* value, size_t size) {
789
790 node_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
791 ::std::string(reinterpret_cast<const char*>(value), size));
792 // @@protoc_insertion_point(field_set_pointer:tensorflow.EventReply.DebugOpStateChange.node_name)
793}
794inline std::string* EventReply_DebugOpStateChange::mutable_node_name() {
795
796 // @@protoc_insertion_point(field_mutable:tensorflow.EventReply.DebugOpStateChange.node_name)
797 return node_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
798}
799inline std::string* EventReply_DebugOpStateChange::release_node_name() {
800 // @@protoc_insertion_point(field_release:tensorflow.EventReply.DebugOpStateChange.node_name)
801
802 return node_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
803}
804inline void EventReply_DebugOpStateChange::set_allocated_node_name(std::string* node_name) {
805 if (node_name != nullptr) {
806
807 } else {
808
809 }
810 node_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), node_name);
811 // @@protoc_insertion_point(field_set_allocated:tensorflow.EventReply.DebugOpStateChange.node_name)
812}
813
814// int32 output_slot = 3;
815inline void EventReply_DebugOpStateChange::clear_output_slot() {
816 output_slot_ = 0;
817}
818inline ::PROTOBUF_NAMESPACE_ID::int32 EventReply_DebugOpStateChange::output_slot() const {
819 // @@protoc_insertion_point(field_get:tensorflow.EventReply.DebugOpStateChange.output_slot)
820 return output_slot_;
821}
822inline void EventReply_DebugOpStateChange::set_output_slot(::PROTOBUF_NAMESPACE_ID::int32 value) {
823
824 output_slot_ = value;
825 // @@protoc_insertion_point(field_set:tensorflow.EventReply.DebugOpStateChange.output_slot)
826}
827
828// string debug_op = 4;
829inline void EventReply_DebugOpStateChange::clear_debug_op() {
830 debug_op_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
831}
832inline const std::string& EventReply_DebugOpStateChange::debug_op() const {
833 // @@protoc_insertion_point(field_get:tensorflow.EventReply.DebugOpStateChange.debug_op)
834 return debug_op_.GetNoArena();
835}
836inline void EventReply_DebugOpStateChange::set_debug_op(const std::string& value) {
837
838 debug_op_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
839 // @@protoc_insertion_point(field_set:tensorflow.EventReply.DebugOpStateChange.debug_op)
840}
841inline void EventReply_DebugOpStateChange::set_debug_op(std::string&& value) {
842
843 debug_op_.SetNoArena(
844 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
845 // @@protoc_insertion_point(field_set_rvalue:tensorflow.EventReply.DebugOpStateChange.debug_op)
846}
847inline void EventReply_DebugOpStateChange::set_debug_op(const char* value) {
848 GOOGLE_DCHECK(value != nullptr);
849
850 debug_op_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
851 // @@protoc_insertion_point(field_set_char:tensorflow.EventReply.DebugOpStateChange.debug_op)
852}
853inline void EventReply_DebugOpStateChange::set_debug_op(const char* value, size_t size) {
854
855 debug_op_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
856 ::std::string(reinterpret_cast<const char*>(value), size));
857 // @@protoc_insertion_point(field_set_pointer:tensorflow.EventReply.DebugOpStateChange.debug_op)
858}
859inline std::string* EventReply_DebugOpStateChange::mutable_debug_op() {
860
861 // @@protoc_insertion_point(field_mutable:tensorflow.EventReply.DebugOpStateChange.debug_op)
862 return debug_op_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
863}
864inline std::string* EventReply_DebugOpStateChange::release_debug_op() {
865 // @@protoc_insertion_point(field_release:tensorflow.EventReply.DebugOpStateChange.debug_op)
866
867 return debug_op_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
868}
869inline void EventReply_DebugOpStateChange::set_allocated_debug_op(std::string* debug_op) {
870 if (debug_op != nullptr) {
871
872 } else {
873
874 }
875 debug_op_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), debug_op);
876 // @@protoc_insertion_point(field_set_allocated:tensorflow.EventReply.DebugOpStateChange.debug_op)
877}
878
879// -------------------------------------------------------------------
880
881// EventReply
882
883// repeated .tensorflow.EventReply.DebugOpStateChange debug_op_state_changes = 1;
884inline int EventReply::debug_op_state_changes_size() const {
885 return debug_op_state_changes_.size();
886}
887inline void EventReply::clear_debug_op_state_changes() {
888 debug_op_state_changes_.Clear();
889}
890inline ::tensorflow::EventReply_DebugOpStateChange* EventReply::mutable_debug_op_state_changes(int index) {
891 // @@protoc_insertion_point(field_mutable:tensorflow.EventReply.debug_op_state_changes)
892 return debug_op_state_changes_.Mutable(index);
893}
894inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::EventReply_DebugOpStateChange >*
895EventReply::mutable_debug_op_state_changes() {
896 // @@protoc_insertion_point(field_mutable_list:tensorflow.EventReply.debug_op_state_changes)
897 return &debug_op_state_changes_;
898}
899inline const ::tensorflow::EventReply_DebugOpStateChange& EventReply::debug_op_state_changes(int index) const {
900 // @@protoc_insertion_point(field_get:tensorflow.EventReply.debug_op_state_changes)
901 return debug_op_state_changes_.Get(index);
902}
903inline ::tensorflow::EventReply_DebugOpStateChange* EventReply::add_debug_op_state_changes() {
904 // @@protoc_insertion_point(field_add:tensorflow.EventReply.debug_op_state_changes)
905 return debug_op_state_changes_.Add();
906}
907inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::EventReply_DebugOpStateChange >&
908EventReply::debug_op_state_changes() const {
909 // @@protoc_insertion_point(field_list:tensorflow.EventReply.debug_op_state_changes)
910 return debug_op_state_changes_;
911}
912
913// .tensorflow.TensorProto tensor = 2;
914inline bool EventReply::has_tensor() const {
915 return this != internal_default_instance() && tensor_ != nullptr;
916}
917inline const ::tensorflow::TensorProto& EventReply::tensor() const {
918 const ::tensorflow::TensorProto* p = tensor_;
919 // @@protoc_insertion_point(field_get:tensorflow.EventReply.tensor)
920 return p != nullptr ? *p : *reinterpret_cast<const ::tensorflow::TensorProto*>(
921 &::tensorflow::_TensorProto_default_instance_);
922}
923inline ::tensorflow::TensorProto* EventReply::release_tensor() {
924 // @@protoc_insertion_point(field_release:tensorflow.EventReply.tensor)
925
926 ::tensorflow::TensorProto* temp = tensor_;
927 tensor_ = nullptr;
928 return temp;
929}
930inline ::tensorflow::TensorProto* EventReply::mutable_tensor() {
931
932 if (tensor_ == nullptr) {
933 auto* p = CreateMaybeMessage<::tensorflow::TensorProto>(GetArenaNoVirtual());
934 tensor_ = p;
935 }
936 // @@protoc_insertion_point(field_mutable:tensorflow.EventReply.tensor)
937 return tensor_;
938}
939inline void EventReply::set_allocated_tensor(::tensorflow::TensorProto* tensor) {
940 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
941 if (message_arena == nullptr) {
942 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(tensor_);
943 }
944 if (tensor) {
945 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
946 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(tensor)->GetArena();
947 if (message_arena != submessage_arena) {
948 tensor = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
949 message_arena, tensor, submessage_arena);
950 }
951
952 } else {
953
954 }
955 tensor_ = tensor;
956 // @@protoc_insertion_point(field_set_allocated:tensorflow.EventReply.tensor)
957}
958
959// -------------------------------------------------------------------
960
961// -------------------------------------------------------------------
962
963// CallTraceback
964
965// .tensorflow.CallTraceback.CallType call_type = 1;
966inline void CallTraceback::clear_call_type() {
967 call_type_ = 0;
968}
969inline ::tensorflow::CallTraceback_CallType CallTraceback::call_type() const {
970 // @@protoc_insertion_point(field_get:tensorflow.CallTraceback.call_type)
971 return static_cast< ::tensorflow::CallTraceback_CallType >(call_type_);
972}
973inline void CallTraceback::set_call_type(::tensorflow::CallTraceback_CallType value) {
974
975 call_type_ = value;
976 // @@protoc_insertion_point(field_set:tensorflow.CallTraceback.call_type)
977}
978
979// string call_key = 2;
980inline void CallTraceback::clear_call_key() {
981 call_key_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
982}
983inline const std::string& CallTraceback::call_key() const {
984 // @@protoc_insertion_point(field_get:tensorflow.CallTraceback.call_key)
985 return call_key_.GetNoArena();
986}
987inline void CallTraceback::set_call_key(const std::string& value) {
988
989 call_key_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
990 // @@protoc_insertion_point(field_set:tensorflow.CallTraceback.call_key)
991}
992inline void CallTraceback::set_call_key(std::string&& value) {
993
994 call_key_.SetNoArena(
995 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
996 // @@protoc_insertion_point(field_set_rvalue:tensorflow.CallTraceback.call_key)
997}
998inline void CallTraceback::set_call_key(const char* value) {
999 GOOGLE_DCHECK(value != nullptr);
1000
1001 call_key_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1002 // @@protoc_insertion_point(field_set_char:tensorflow.CallTraceback.call_key)
1003}
1004inline void CallTraceback::set_call_key(const char* value, size_t size) {
1005
1006 call_key_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1007 ::std::string(reinterpret_cast<const char*>(value), size));
1008 // @@protoc_insertion_point(field_set_pointer:tensorflow.CallTraceback.call_key)
1009}
1010inline std::string* CallTraceback::mutable_call_key() {
1011
1012 // @@protoc_insertion_point(field_mutable:tensorflow.CallTraceback.call_key)
1013 return call_key_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1014}
1015inline std::string* CallTraceback::release_call_key() {
1016 // @@protoc_insertion_point(field_release:tensorflow.CallTraceback.call_key)
1017
1018 return call_key_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1019}
1020inline void CallTraceback::set_allocated_call_key(std::string* call_key) {
1021 if (call_key != nullptr) {
1022
1023 } else {
1024
1025 }
1026 call_key_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), call_key);
1027 // @@protoc_insertion_point(field_set_allocated:tensorflow.CallTraceback.call_key)
1028}
1029
1030// .tensorflow.tfprof.CodeDef origin_stack = 3;
1031inline bool CallTraceback::has_origin_stack() const {
1032 return this != internal_default_instance() && origin_stack_ != nullptr;
1033}
1034inline const ::tensorflow::tfprof::CodeDef& CallTraceback::origin_stack() const {
1035 const ::tensorflow::tfprof::CodeDef* p = origin_stack_;
1036 // @@protoc_insertion_point(field_get:tensorflow.CallTraceback.origin_stack)
1037 return p != nullptr ? *p : *reinterpret_cast<const ::tensorflow::tfprof::CodeDef*>(
1038 &::tensorflow::tfprof::_CodeDef_default_instance_);
1039}
1040inline ::tensorflow::tfprof::CodeDef* CallTraceback::release_origin_stack() {
1041 // @@protoc_insertion_point(field_release:tensorflow.CallTraceback.origin_stack)
1042
1043 ::tensorflow::tfprof::CodeDef* temp = origin_stack_;
1044 origin_stack_ = nullptr;
1045 return temp;
1046}
1047inline ::tensorflow::tfprof::CodeDef* CallTraceback::mutable_origin_stack() {
1048
1049 if (origin_stack_ == nullptr) {
1050 auto* p = CreateMaybeMessage<::tensorflow::tfprof::CodeDef>(GetArenaNoVirtual());
1051 origin_stack_ = p;
1052 }
1053 // @@protoc_insertion_point(field_mutable:tensorflow.CallTraceback.origin_stack)
1054 return origin_stack_;
1055}
1056inline void CallTraceback::set_allocated_origin_stack(::tensorflow::tfprof::CodeDef* origin_stack) {
1057 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
1058 if (message_arena == nullptr) {
1059 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(origin_stack_);
1060 }
1061 if (origin_stack) {
1062 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
1063 if (message_arena != submessage_arena) {
1064 origin_stack = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1065 message_arena, origin_stack, submessage_arena);
1066 }
1067
1068 } else {
1069
1070 }
1071 origin_stack_ = origin_stack;
1072 // @@protoc_insertion_point(field_set_allocated:tensorflow.CallTraceback.origin_stack)
1073}
1074
1075// map<int64, string> origin_id_to_string = 4;
1076inline int CallTraceback::origin_id_to_string_size() const {
1077 return origin_id_to_string_.size();
1078}
1079inline void CallTraceback::clear_origin_id_to_string() {
1080 origin_id_to_string_.Clear();
1081}
1082inline const ::PROTOBUF_NAMESPACE_ID::Map< ::PROTOBUF_NAMESPACE_ID::int64, std::string >&
1083CallTraceback::origin_id_to_string() const {
1084 // @@protoc_insertion_point(field_map:tensorflow.CallTraceback.origin_id_to_string)
1085 return origin_id_to_string_.GetMap();
1086}
1087inline ::PROTOBUF_NAMESPACE_ID::Map< ::PROTOBUF_NAMESPACE_ID::int64, std::string >*
1088CallTraceback::mutable_origin_id_to_string() {
1089 // @@protoc_insertion_point(field_mutable_map:tensorflow.CallTraceback.origin_id_to_string)
1090 return origin_id_to_string_.MutableMap();
1091}
1092
1093// .tensorflow.tfprof.OpLogProto graph_traceback = 5;
1094inline bool CallTraceback::has_graph_traceback() const {
1095 return this != internal_default_instance() && graph_traceback_ != nullptr;
1096}
1097inline const ::tensorflow::tfprof::OpLogProto& CallTraceback::graph_traceback() const {
1098 const ::tensorflow::tfprof::OpLogProto* p = graph_traceback_;
1099 // @@protoc_insertion_point(field_get:tensorflow.CallTraceback.graph_traceback)
1100 return p != nullptr ? *p : *reinterpret_cast<const ::tensorflow::tfprof::OpLogProto*>(
1101 &::tensorflow::tfprof::_OpLogProto_default_instance_);
1102}
1103inline ::tensorflow::tfprof::OpLogProto* CallTraceback::release_graph_traceback() {
1104 // @@protoc_insertion_point(field_release:tensorflow.CallTraceback.graph_traceback)
1105
1106 ::tensorflow::tfprof::OpLogProto* temp = graph_traceback_;
1107 graph_traceback_ = nullptr;
1108 return temp;
1109}
1110inline ::tensorflow::tfprof::OpLogProto* CallTraceback::mutable_graph_traceback() {
1111
1112 if (graph_traceback_ == nullptr) {
1113 auto* p = CreateMaybeMessage<::tensorflow::tfprof::OpLogProto>(GetArenaNoVirtual());
1114 graph_traceback_ = p;
1115 }
1116 // @@protoc_insertion_point(field_mutable:tensorflow.CallTraceback.graph_traceback)
1117 return graph_traceback_;
1118}
1119inline void CallTraceback::set_allocated_graph_traceback(::tensorflow::tfprof::OpLogProto* graph_traceback) {
1120 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
1121 if (message_arena == nullptr) {
1122 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(graph_traceback_);
1123 }
1124 if (graph_traceback) {
1125 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
1126 if (message_arena != submessage_arena) {
1127 graph_traceback = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1128 message_arena, graph_traceback, submessage_arena);
1129 }
1130
1131 } else {
1132
1133 }
1134 graph_traceback_ = graph_traceback;
1135 // @@protoc_insertion_point(field_set_allocated:tensorflow.CallTraceback.graph_traceback)
1136}
1137
1138// int64 graph_version = 6;
1139inline void CallTraceback::clear_graph_version() {
1140 graph_version_ = PROTOBUF_LONGLONG(0);
1141}
1142inline ::PROTOBUF_NAMESPACE_ID::int64 CallTraceback::graph_version() const {
1143 // @@protoc_insertion_point(field_get:tensorflow.CallTraceback.graph_version)
1144 return graph_version_;
1145}
1146inline void CallTraceback::set_graph_version(::PROTOBUF_NAMESPACE_ID::int64 value) {
1147
1148 graph_version_ = value;
1149 // @@protoc_insertion_point(field_set:tensorflow.CallTraceback.graph_version)
1150}
1151
1152#ifdef __GNUC__
1153 #pragma GCC diagnostic pop
1154#endif // __GNUC__
1155// -------------------------------------------------------------------
1156
1157// -------------------------------------------------------------------
1158
1159// -------------------------------------------------------------------
1160
1161
1162// @@protoc_insertion_point(namespace_scope)
1163
1164} // namespace tensorflow
1165
1166PROTOBUF_NAMESPACE_OPEN
1167
1168template <> struct is_proto_enum< ::tensorflow::EventReply_DebugOpStateChange_State> : ::std::true_type {};
1169template <>
1170inline const EnumDescriptor* GetEnumDescriptor< ::tensorflow::EventReply_DebugOpStateChange_State>() {
1171 return ::tensorflow::EventReply_DebugOpStateChange_State_descriptor();
1172}
1173template <> struct is_proto_enum< ::tensorflow::CallTraceback_CallType> : ::std::true_type {};
1174template <>
1175inline const EnumDescriptor* GetEnumDescriptor< ::tensorflow::CallTraceback_CallType>() {
1176 return ::tensorflow::CallTraceback_CallType_descriptor();
1177}
1178
1179PROTOBUF_NAMESPACE_CLOSE
1180
1181// @@protoc_insertion_point(global_scope)
1182
1183#include <google/protobuf/port_undef.inc>
1184#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fdebug_2fdebug_5fservice_2eproto
1185