1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: tensorflow/core/protobuf/status.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fprotobuf_2fstatus_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fprotobuf_2fstatus_2eproto
6
7#include <limits>
8#include <string>
9
10#include <google/protobuf/port_def.inc>
11#if PROTOBUF_VERSION < 3009000
12#error This file was generated by a newer version of protoc which is
13#error incompatible with your Protocol Buffer headers. Please update
14#error your headers.
15#endif
16#if 3009002 < PROTOBUF_MIN_PROTOC_VERSION
17#error This file was generated by an older version of protoc which is
18#error incompatible with your Protocol Buffer headers. Please
19#error regenerate this file with a newer version of protoc.
20#endif
21
22#include <google/protobuf/port_undef.inc>
23#include <google/protobuf/io/coded_stream.h>
24#include <google/protobuf/arena.h>
25#include <google/protobuf/arenastring.h>
26#include <google/protobuf/generated_message_table_driven.h>
27#include <google/protobuf/generated_message_util.h>
28#include <google/protobuf/inlined_string_field.h>
29#include <google/protobuf/metadata.h>
30#include <google/protobuf/generated_message_reflection.h>
31#include <google/protobuf/message.h>
32#include <google/protobuf/repeated_field.h> // IWYU pragma: export
33#include <google/protobuf/extension_set.h> // IWYU pragma: export
34#include <google/protobuf/unknown_field_set.h>
35// @@protoc_insertion_point(includes)
36#include <google/protobuf/port_def.inc>
37#define PROTOBUF_INTERNAL_EXPORT_tensorflow_2fcore_2fprotobuf_2fstatus_2eproto
38PROTOBUF_NAMESPACE_OPEN
39namespace internal {
40class AnyMetadata;
41} // namespace internal
42PROTOBUF_NAMESPACE_CLOSE
43
44// Internal implementation detail -- do not use these members.
45struct TableStruct_tensorflow_2fcore_2fprotobuf_2fstatus_2eproto {
46 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
47 PROTOBUF_SECTION_VARIABLE(protodesc_cold);
48 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
49 PROTOBUF_SECTION_VARIABLE(protodesc_cold);
50 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[3]
51 PROTOBUF_SECTION_VARIABLE(protodesc_cold);
52 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
53 static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
54 static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
55};
56extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_tensorflow_2fcore_2fprotobuf_2fstatus_2eproto;
57namespace tensorflow {
58class DerivedStatus;
59class DerivedStatusDefaultTypeInternal;
60extern DerivedStatusDefaultTypeInternal _DerivedStatus_default_instance_;
61class StackTracePayload;
62class StackTracePayloadDefaultTypeInternal;
63extern StackTracePayloadDefaultTypeInternal _StackTracePayload_default_instance_;
64class StackTracePayload_StackFrame;
65class StackTracePayload_StackFrameDefaultTypeInternal;
66extern StackTracePayload_StackFrameDefaultTypeInternal _StackTracePayload_StackFrame_default_instance_;
67} // namespace tensorflow
68PROTOBUF_NAMESPACE_OPEN
69template<> ::tensorflow::DerivedStatus* Arena::CreateMaybeMessage<::tensorflow::DerivedStatus>(Arena*);
70template<> ::tensorflow::StackTracePayload* Arena::CreateMaybeMessage<::tensorflow::StackTracePayload>(Arena*);
71template<> ::tensorflow::StackTracePayload_StackFrame* Arena::CreateMaybeMessage<::tensorflow::StackTracePayload_StackFrame>(Arena*);
72PROTOBUF_NAMESPACE_CLOSE
73namespace tensorflow {
74
75// ===================================================================
76
77class DerivedStatus :
78 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.DerivedStatus) */ {
79 public:
80 DerivedStatus();
81 virtual ~DerivedStatus();
82
83 DerivedStatus(const DerivedStatus& from);
84 DerivedStatus(DerivedStatus&& from) noexcept
85 : DerivedStatus() {
86 *this = ::std::move(from);
87 }
88
89 inline DerivedStatus& operator=(const DerivedStatus& from) {
90 CopyFrom(from);
91 return *this;
92 }
93 inline DerivedStatus& operator=(DerivedStatus&& from) noexcept {
94 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
95 if (this != &from) InternalSwap(&from);
96 } else {
97 CopyFrom(from);
98 }
99 return *this;
100 }
101
102 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
103 return GetDescriptor();
104 }
105 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
106 return GetMetadataStatic().descriptor;
107 }
108 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
109 return GetMetadataStatic().reflection;
110 }
111 static const DerivedStatus& default_instance();
112
113 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
114 static inline const DerivedStatus* internal_default_instance() {
115 return reinterpret_cast<const DerivedStatus*>(
116 &_DerivedStatus_default_instance_);
117 }
118 static constexpr int kIndexInFileMessages =
119 0;
120
121 friend void swap(DerivedStatus& a, DerivedStatus& b) {
122 a.Swap(&b);
123 }
124 inline void Swap(DerivedStatus* other) {
125 if (other == this) return;
126 InternalSwap(other);
127 }
128
129 // implements Message ----------------------------------------------
130
131 inline DerivedStatus* New() const final {
132 return CreateMaybeMessage<DerivedStatus>(nullptr);
133 }
134
135 DerivedStatus* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
136 return CreateMaybeMessage<DerivedStatus>(arena);
137 }
138 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
139 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
140 void CopyFrom(const DerivedStatus& from);
141 void MergeFrom(const DerivedStatus& from);
142 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
143 bool IsInitialized() const final;
144
145 size_t ByteSizeLong() const final;
146 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
147 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
148 #else
149 bool MergePartialFromCodedStream(
150 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
151 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
152 void SerializeWithCachedSizes(
153 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
154 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
155 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
156 int GetCachedSize() const final { return _cached_size_.Get(); }
157
158 private:
159 inline void SharedCtor();
160 inline void SharedDtor();
161 void SetCachedSize(int size) const final;
162 void InternalSwap(DerivedStatus* other);
163 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
164 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
165 return "tensorflow.DerivedStatus";
166 }
167 private:
168 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
169 return nullptr;
170 }
171 inline void* MaybeArenaPtr() const {
172 return nullptr;
173 }
174 public:
175
176 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
177 private:
178 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
179 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fstatus_2eproto);
180 return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fstatus_2eproto.file_level_metadata[kIndexInFileMessages];
181 }
182
183 public:
184
185 // nested types ----------------------------------------------------
186
187 // accessors -------------------------------------------------------
188
189 // @@protoc_insertion_point(class_scope:tensorflow.DerivedStatus)
190 private:
191 class _Internal;
192
193 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
194 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
195 friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fstatus_2eproto;
196};
197// -------------------------------------------------------------------
198
199class StackTracePayload_StackFrame :
200 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.StackTracePayload.StackFrame) */ {
201 public:
202 StackTracePayload_StackFrame();
203 virtual ~StackTracePayload_StackFrame();
204
205 StackTracePayload_StackFrame(const StackTracePayload_StackFrame& from);
206 StackTracePayload_StackFrame(StackTracePayload_StackFrame&& from) noexcept
207 : StackTracePayload_StackFrame() {
208 *this = ::std::move(from);
209 }
210
211 inline StackTracePayload_StackFrame& operator=(const StackTracePayload_StackFrame& from) {
212 CopyFrom(from);
213 return *this;
214 }
215 inline StackTracePayload_StackFrame& operator=(StackTracePayload_StackFrame&& from) noexcept {
216 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
217 if (this != &from) InternalSwap(&from);
218 } else {
219 CopyFrom(from);
220 }
221 return *this;
222 }
223
224 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
225 return GetDescriptor();
226 }
227 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
228 return GetMetadataStatic().descriptor;
229 }
230 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
231 return GetMetadataStatic().reflection;
232 }
233 static const StackTracePayload_StackFrame& default_instance();
234
235 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
236 static inline const StackTracePayload_StackFrame* internal_default_instance() {
237 return reinterpret_cast<const StackTracePayload_StackFrame*>(
238 &_StackTracePayload_StackFrame_default_instance_);
239 }
240 static constexpr int kIndexInFileMessages =
241 1;
242
243 friend void swap(StackTracePayload_StackFrame& a, StackTracePayload_StackFrame& b) {
244 a.Swap(&b);
245 }
246 inline void Swap(StackTracePayload_StackFrame* other) {
247 if (other == this) return;
248 InternalSwap(other);
249 }
250
251 // implements Message ----------------------------------------------
252
253 inline StackTracePayload_StackFrame* New() const final {
254 return CreateMaybeMessage<StackTracePayload_StackFrame>(nullptr);
255 }
256
257 StackTracePayload_StackFrame* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
258 return CreateMaybeMessage<StackTracePayload_StackFrame>(arena);
259 }
260 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
261 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
262 void CopyFrom(const StackTracePayload_StackFrame& from);
263 void MergeFrom(const StackTracePayload_StackFrame& from);
264 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
265 bool IsInitialized() const final;
266
267 size_t ByteSizeLong() const final;
268 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
269 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
270 #else
271 bool MergePartialFromCodedStream(
272 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
273 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
274 void SerializeWithCachedSizes(
275 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
276 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
277 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
278 int GetCachedSize() const final { return _cached_size_.Get(); }
279
280 private:
281 inline void SharedCtor();
282 inline void SharedDtor();
283 void SetCachedSize(int size) const final;
284 void InternalSwap(StackTracePayload_StackFrame* other);
285 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
286 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
287 return "tensorflow.StackTracePayload.StackFrame";
288 }
289 private:
290 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
291 return nullptr;
292 }
293 inline void* MaybeArenaPtr() const {
294 return nullptr;
295 }
296 public:
297
298 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
299 private:
300 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
301 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fstatus_2eproto);
302 return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fstatus_2eproto.file_level_metadata[kIndexInFileMessages];
303 }
304
305 public:
306
307 // nested types ----------------------------------------------------
308
309 // accessors -------------------------------------------------------
310
311 enum : int {
312 kFileNameFieldNumber = 1,
313 kFunctionNameFieldNumber = 3,
314 kLineNumberFieldNumber = 2,
315 };
316 // string file_name = 1;
317 void clear_file_name();
318 const std::string& file_name() const;
319 void set_file_name(const std::string& value);
320 void set_file_name(std::string&& value);
321 void set_file_name(const char* value);
322 void set_file_name(const char* value, size_t size);
323 std::string* mutable_file_name();
324 std::string* release_file_name();
325 void set_allocated_file_name(std::string* file_name);
326
327 // string function_name = 3;
328 void clear_function_name();
329 const std::string& function_name() const;
330 void set_function_name(const std::string& value);
331 void set_function_name(std::string&& value);
332 void set_function_name(const char* value);
333 void set_function_name(const char* value, size_t size);
334 std::string* mutable_function_name();
335 std::string* release_function_name();
336 void set_allocated_function_name(std::string* function_name);
337
338 // int32 line_number = 2;
339 void clear_line_number();
340 ::PROTOBUF_NAMESPACE_ID::int32 line_number() const;
341 void set_line_number(::PROTOBUF_NAMESPACE_ID::int32 value);
342
343 // @@protoc_insertion_point(class_scope:tensorflow.StackTracePayload.StackFrame)
344 private:
345 class _Internal;
346
347 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
348 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr file_name_;
349 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr function_name_;
350 ::PROTOBUF_NAMESPACE_ID::int32 line_number_;
351 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
352 friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fstatus_2eproto;
353};
354// -------------------------------------------------------------------
355
356class StackTracePayload :
357 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.StackTracePayload) */ {
358 public:
359 StackTracePayload();
360 virtual ~StackTracePayload();
361
362 StackTracePayload(const StackTracePayload& from);
363 StackTracePayload(StackTracePayload&& from) noexcept
364 : StackTracePayload() {
365 *this = ::std::move(from);
366 }
367
368 inline StackTracePayload& operator=(const StackTracePayload& from) {
369 CopyFrom(from);
370 return *this;
371 }
372 inline StackTracePayload& operator=(StackTracePayload&& from) noexcept {
373 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
374 if (this != &from) InternalSwap(&from);
375 } else {
376 CopyFrom(from);
377 }
378 return *this;
379 }
380
381 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
382 return GetDescriptor();
383 }
384 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
385 return GetMetadataStatic().descriptor;
386 }
387 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
388 return GetMetadataStatic().reflection;
389 }
390 static const StackTracePayload& default_instance();
391
392 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
393 static inline const StackTracePayload* internal_default_instance() {
394 return reinterpret_cast<const StackTracePayload*>(
395 &_StackTracePayload_default_instance_);
396 }
397 static constexpr int kIndexInFileMessages =
398 2;
399
400 friend void swap(StackTracePayload& a, StackTracePayload& b) {
401 a.Swap(&b);
402 }
403 inline void Swap(StackTracePayload* other) {
404 if (other == this) return;
405 InternalSwap(other);
406 }
407
408 // implements Message ----------------------------------------------
409
410 inline StackTracePayload* New() const final {
411 return CreateMaybeMessage<StackTracePayload>(nullptr);
412 }
413
414 StackTracePayload* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
415 return CreateMaybeMessage<StackTracePayload>(arena);
416 }
417 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
418 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
419 void CopyFrom(const StackTracePayload& from);
420 void MergeFrom(const StackTracePayload& from);
421 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
422 bool IsInitialized() const final;
423
424 size_t ByteSizeLong() const final;
425 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
426 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
427 #else
428 bool MergePartialFromCodedStream(
429 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
430 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
431 void SerializeWithCachedSizes(
432 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
433 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
434 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
435 int GetCachedSize() const final { return _cached_size_.Get(); }
436
437 private:
438 inline void SharedCtor();
439 inline void SharedDtor();
440 void SetCachedSize(int size) const final;
441 void InternalSwap(StackTracePayload* other);
442 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
443 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
444 return "tensorflow.StackTracePayload";
445 }
446 private:
447 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
448 return nullptr;
449 }
450 inline void* MaybeArenaPtr() const {
451 return nullptr;
452 }
453 public:
454
455 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
456 private:
457 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
458 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fstatus_2eproto);
459 return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fstatus_2eproto.file_level_metadata[kIndexInFileMessages];
460 }
461
462 public:
463
464 // nested types ----------------------------------------------------
465
466 typedef StackTracePayload_StackFrame StackFrame;
467
468 // accessors -------------------------------------------------------
469
470 enum : int {
471 kStackFramesFieldNumber = 1,
472 };
473 // repeated .tensorflow.StackTracePayload.StackFrame stack_frames = 1;
474 int stack_frames_size() const;
475 void clear_stack_frames();
476 ::tensorflow::StackTracePayload_StackFrame* mutable_stack_frames(int index);
477 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::StackTracePayload_StackFrame >*
478 mutable_stack_frames();
479 const ::tensorflow::StackTracePayload_StackFrame& stack_frames(int index) const;
480 ::tensorflow::StackTracePayload_StackFrame* add_stack_frames();
481 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::StackTracePayload_StackFrame >&
482 stack_frames() const;
483
484 // @@protoc_insertion_point(class_scope:tensorflow.StackTracePayload)
485 private:
486 class _Internal;
487
488 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
489 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::StackTracePayload_StackFrame > stack_frames_;
490 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
491 friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fstatus_2eproto;
492};
493// ===================================================================
494
495
496// ===================================================================
497
498#ifdef __GNUC__
499 #pragma GCC diagnostic push
500 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
501#endif // __GNUC__
502// DerivedStatus
503
504// -------------------------------------------------------------------
505
506// StackTracePayload_StackFrame
507
508// string file_name = 1;
509inline void StackTracePayload_StackFrame::clear_file_name() {
510 file_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
511}
512inline const std::string& StackTracePayload_StackFrame::file_name() const {
513 // @@protoc_insertion_point(field_get:tensorflow.StackTracePayload.StackFrame.file_name)
514 return file_name_.GetNoArena();
515}
516inline void StackTracePayload_StackFrame::set_file_name(const std::string& value) {
517
518 file_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
519 // @@protoc_insertion_point(field_set:tensorflow.StackTracePayload.StackFrame.file_name)
520}
521inline void StackTracePayload_StackFrame::set_file_name(std::string&& value) {
522
523 file_name_.SetNoArena(
524 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
525 // @@protoc_insertion_point(field_set_rvalue:tensorflow.StackTracePayload.StackFrame.file_name)
526}
527inline void StackTracePayload_StackFrame::set_file_name(const char* value) {
528 GOOGLE_DCHECK(value != nullptr);
529
530 file_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
531 // @@protoc_insertion_point(field_set_char:tensorflow.StackTracePayload.StackFrame.file_name)
532}
533inline void StackTracePayload_StackFrame::set_file_name(const char* value, size_t size) {
534
535 file_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
536 ::std::string(reinterpret_cast<const char*>(value), size));
537 // @@protoc_insertion_point(field_set_pointer:tensorflow.StackTracePayload.StackFrame.file_name)
538}
539inline std::string* StackTracePayload_StackFrame::mutable_file_name() {
540
541 // @@protoc_insertion_point(field_mutable:tensorflow.StackTracePayload.StackFrame.file_name)
542 return file_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
543}
544inline std::string* StackTracePayload_StackFrame::release_file_name() {
545 // @@protoc_insertion_point(field_release:tensorflow.StackTracePayload.StackFrame.file_name)
546
547 return file_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
548}
549inline void StackTracePayload_StackFrame::set_allocated_file_name(std::string* file_name) {
550 if (file_name != nullptr) {
551
552 } else {
553
554 }
555 file_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), file_name);
556 // @@protoc_insertion_point(field_set_allocated:tensorflow.StackTracePayload.StackFrame.file_name)
557}
558
559// int32 line_number = 2;
560inline void StackTracePayload_StackFrame::clear_line_number() {
561 line_number_ = 0;
562}
563inline ::PROTOBUF_NAMESPACE_ID::int32 StackTracePayload_StackFrame::line_number() const {
564 // @@protoc_insertion_point(field_get:tensorflow.StackTracePayload.StackFrame.line_number)
565 return line_number_;
566}
567inline void StackTracePayload_StackFrame::set_line_number(::PROTOBUF_NAMESPACE_ID::int32 value) {
568
569 line_number_ = value;
570 // @@protoc_insertion_point(field_set:tensorflow.StackTracePayload.StackFrame.line_number)
571}
572
573// string function_name = 3;
574inline void StackTracePayload_StackFrame::clear_function_name() {
575 function_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
576}
577inline const std::string& StackTracePayload_StackFrame::function_name() const {
578 // @@protoc_insertion_point(field_get:tensorflow.StackTracePayload.StackFrame.function_name)
579 return function_name_.GetNoArena();
580}
581inline void StackTracePayload_StackFrame::set_function_name(const std::string& value) {
582
583 function_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
584 // @@protoc_insertion_point(field_set:tensorflow.StackTracePayload.StackFrame.function_name)
585}
586inline void StackTracePayload_StackFrame::set_function_name(std::string&& value) {
587
588 function_name_.SetNoArena(
589 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
590 // @@protoc_insertion_point(field_set_rvalue:tensorflow.StackTracePayload.StackFrame.function_name)
591}
592inline void StackTracePayload_StackFrame::set_function_name(const char* value) {
593 GOOGLE_DCHECK(value != nullptr);
594
595 function_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
596 // @@protoc_insertion_point(field_set_char:tensorflow.StackTracePayload.StackFrame.function_name)
597}
598inline void StackTracePayload_StackFrame::set_function_name(const char* value, size_t size) {
599
600 function_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
601 ::std::string(reinterpret_cast<const char*>(value), size));
602 // @@protoc_insertion_point(field_set_pointer:tensorflow.StackTracePayload.StackFrame.function_name)
603}
604inline std::string* StackTracePayload_StackFrame::mutable_function_name() {
605
606 // @@protoc_insertion_point(field_mutable:tensorflow.StackTracePayload.StackFrame.function_name)
607 return function_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
608}
609inline std::string* StackTracePayload_StackFrame::release_function_name() {
610 // @@protoc_insertion_point(field_release:tensorflow.StackTracePayload.StackFrame.function_name)
611
612 return function_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
613}
614inline void StackTracePayload_StackFrame::set_allocated_function_name(std::string* function_name) {
615 if (function_name != nullptr) {
616
617 } else {
618
619 }
620 function_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), function_name);
621 // @@protoc_insertion_point(field_set_allocated:tensorflow.StackTracePayload.StackFrame.function_name)
622}
623
624// -------------------------------------------------------------------
625
626// StackTracePayload
627
628// repeated .tensorflow.StackTracePayload.StackFrame stack_frames = 1;
629inline int StackTracePayload::stack_frames_size() const {
630 return stack_frames_.size();
631}
632inline void StackTracePayload::clear_stack_frames() {
633 stack_frames_.Clear();
634}
635inline ::tensorflow::StackTracePayload_StackFrame* StackTracePayload::mutable_stack_frames(int index) {
636 // @@protoc_insertion_point(field_mutable:tensorflow.StackTracePayload.stack_frames)
637 return stack_frames_.Mutable(index);
638}
639inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::StackTracePayload_StackFrame >*
640StackTracePayload::mutable_stack_frames() {
641 // @@protoc_insertion_point(field_mutable_list:tensorflow.StackTracePayload.stack_frames)
642 return &stack_frames_;
643}
644inline const ::tensorflow::StackTracePayload_StackFrame& StackTracePayload::stack_frames(int index) const {
645 // @@protoc_insertion_point(field_get:tensorflow.StackTracePayload.stack_frames)
646 return stack_frames_.Get(index);
647}
648inline ::tensorflow::StackTracePayload_StackFrame* StackTracePayload::add_stack_frames() {
649 // @@protoc_insertion_point(field_add:tensorflow.StackTracePayload.stack_frames)
650 return stack_frames_.Add();
651}
652inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::StackTracePayload_StackFrame >&
653StackTracePayload::stack_frames() const {
654 // @@protoc_insertion_point(field_list:tensorflow.StackTracePayload.stack_frames)
655 return stack_frames_;
656}
657
658#ifdef __GNUC__
659 #pragma GCC diagnostic pop
660#endif // __GNUC__
661// -------------------------------------------------------------------
662
663// -------------------------------------------------------------------
664
665
666// @@protoc_insertion_point(namespace_scope)
667
668} // namespace tensorflow
669
670// @@protoc_insertion_point(global_scope)
671
672#include <google/protobuf/port_undef.inc>
673#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fprotobuf_2fstatus_2eproto
674