1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: tensorflow/core/profiler/profiler_analysis.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fprofiler_2fprofiler_5fanalysis_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fprofiler_2fprofiler_5fanalysis_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#include "tensorflow/core/profiler/profiler_service.pb.h"
39// @@protoc_insertion_point(includes)
40#include <google/protobuf/port_def.inc>
41#define PROTOBUF_INTERNAL_EXPORT_tensorflow_2fcore_2fprofiler_2fprofiler_5fanalysis_2eproto
42PROTOBUF_NAMESPACE_OPEN
43namespace internal {
44class AnyMetadata;
45} // namespace internal
46PROTOBUF_NAMESPACE_CLOSE
47
48// Internal implementation detail -- do not use these members.
49struct TableStruct_tensorflow_2fcore_2fprofiler_2fprofiler_5fanalysis_2eproto {
50 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
51 PROTOBUF_SECTION_VARIABLE(protodesc_cold);
52 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
53 PROTOBUF_SECTION_VARIABLE(protodesc_cold);
54 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[8]
55 PROTOBUF_SECTION_VARIABLE(protodesc_cold);
56 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
57 static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
58 static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
59};
60extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_tensorflow_2fcore_2fprofiler_2fprofiler_5fanalysis_2eproto;
61namespace tensorflow {
62class EnumProfileSessionsAndToolsRequest;
63class EnumProfileSessionsAndToolsRequestDefaultTypeInternal;
64extern EnumProfileSessionsAndToolsRequestDefaultTypeInternal _EnumProfileSessionsAndToolsRequest_default_instance_;
65class EnumProfileSessionsAndToolsResponse;
66class EnumProfileSessionsAndToolsResponseDefaultTypeInternal;
67extern EnumProfileSessionsAndToolsResponseDefaultTypeInternal _EnumProfileSessionsAndToolsResponse_default_instance_;
68class NewProfileSessionRequest;
69class NewProfileSessionRequestDefaultTypeInternal;
70extern NewProfileSessionRequestDefaultTypeInternal _NewProfileSessionRequest_default_instance_;
71class NewProfileSessionResponse;
72class NewProfileSessionResponseDefaultTypeInternal;
73extern NewProfileSessionResponseDefaultTypeInternal _NewProfileSessionResponse_default_instance_;
74class ProfileSessionDataRequest;
75class ProfileSessionDataRequestDefaultTypeInternal;
76extern ProfileSessionDataRequestDefaultTypeInternal _ProfileSessionDataRequest_default_instance_;
77class ProfileSessionDataRequest_ParametersEntry_DoNotUse;
78class ProfileSessionDataRequest_ParametersEntry_DoNotUseDefaultTypeInternal;
79extern ProfileSessionDataRequest_ParametersEntry_DoNotUseDefaultTypeInternal _ProfileSessionDataRequest_ParametersEntry_DoNotUse_default_instance_;
80class ProfileSessionDataResponse;
81class ProfileSessionDataResponseDefaultTypeInternal;
82extern ProfileSessionDataResponseDefaultTypeInternal _ProfileSessionDataResponse_default_instance_;
83class ProfileSessionInfo;
84class ProfileSessionInfoDefaultTypeInternal;
85extern ProfileSessionInfoDefaultTypeInternal _ProfileSessionInfo_default_instance_;
86} // namespace tensorflow
87PROTOBUF_NAMESPACE_OPEN
88template<> ::tensorflow::EnumProfileSessionsAndToolsRequest* Arena::CreateMaybeMessage<::tensorflow::EnumProfileSessionsAndToolsRequest>(Arena*);
89template<> ::tensorflow::EnumProfileSessionsAndToolsResponse* Arena::CreateMaybeMessage<::tensorflow::EnumProfileSessionsAndToolsResponse>(Arena*);
90template<> ::tensorflow::NewProfileSessionRequest* Arena::CreateMaybeMessage<::tensorflow::NewProfileSessionRequest>(Arena*);
91template<> ::tensorflow::NewProfileSessionResponse* Arena::CreateMaybeMessage<::tensorflow::NewProfileSessionResponse>(Arena*);
92template<> ::tensorflow::ProfileSessionDataRequest* Arena::CreateMaybeMessage<::tensorflow::ProfileSessionDataRequest>(Arena*);
93template<> ::tensorflow::ProfileSessionDataRequest_ParametersEntry_DoNotUse* Arena::CreateMaybeMessage<::tensorflow::ProfileSessionDataRequest_ParametersEntry_DoNotUse>(Arena*);
94template<> ::tensorflow::ProfileSessionDataResponse* Arena::CreateMaybeMessage<::tensorflow::ProfileSessionDataResponse>(Arena*);
95template<> ::tensorflow::ProfileSessionInfo* Arena::CreateMaybeMessage<::tensorflow::ProfileSessionInfo>(Arena*);
96PROTOBUF_NAMESPACE_CLOSE
97namespace tensorflow {
98
99// ===================================================================
100
101class NewProfileSessionRequest :
102 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.NewProfileSessionRequest) */ {
103 public:
104 NewProfileSessionRequest();
105 virtual ~NewProfileSessionRequest();
106
107 NewProfileSessionRequest(const NewProfileSessionRequest& from);
108 NewProfileSessionRequest(NewProfileSessionRequest&& from) noexcept
109 : NewProfileSessionRequest() {
110 *this = ::std::move(from);
111 }
112
113 inline NewProfileSessionRequest& operator=(const NewProfileSessionRequest& from) {
114 CopyFrom(from);
115 return *this;
116 }
117 inline NewProfileSessionRequest& operator=(NewProfileSessionRequest&& from) noexcept {
118 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
119 if (this != &from) InternalSwap(&from);
120 } else {
121 CopyFrom(from);
122 }
123 return *this;
124 }
125
126 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
127 return GetDescriptor();
128 }
129 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
130 return GetMetadataStatic().descriptor;
131 }
132 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
133 return GetMetadataStatic().reflection;
134 }
135 static const NewProfileSessionRequest& default_instance();
136
137 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
138 static inline const NewProfileSessionRequest* internal_default_instance() {
139 return reinterpret_cast<const NewProfileSessionRequest*>(
140 &_NewProfileSessionRequest_default_instance_);
141 }
142 static constexpr int kIndexInFileMessages =
143 0;
144
145 friend void swap(NewProfileSessionRequest& a, NewProfileSessionRequest& b) {
146 a.Swap(&b);
147 }
148 inline void Swap(NewProfileSessionRequest* other) {
149 if (other == this) return;
150 InternalSwap(other);
151 }
152
153 // implements Message ----------------------------------------------
154
155 inline NewProfileSessionRequest* New() const final {
156 return CreateMaybeMessage<NewProfileSessionRequest>(nullptr);
157 }
158
159 NewProfileSessionRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
160 return CreateMaybeMessage<NewProfileSessionRequest>(arena);
161 }
162 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
163 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
164 void CopyFrom(const NewProfileSessionRequest& from);
165 void MergeFrom(const NewProfileSessionRequest& from);
166 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
167 bool IsInitialized() const final;
168
169 size_t ByteSizeLong() const final;
170 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
171 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
172 #else
173 bool MergePartialFromCodedStream(
174 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
175 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
176 void SerializeWithCachedSizes(
177 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
178 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
179 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
180 int GetCachedSize() const final { return _cached_size_.Get(); }
181
182 private:
183 inline void SharedCtor();
184 inline void SharedDtor();
185 void SetCachedSize(int size) const final;
186 void InternalSwap(NewProfileSessionRequest* other);
187 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
188 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
189 return "tensorflow.NewProfileSessionRequest";
190 }
191 private:
192 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
193 return nullptr;
194 }
195 inline void* MaybeArenaPtr() const {
196 return nullptr;
197 }
198 public:
199
200 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
201 private:
202 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
203 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprofiler_2fprofiler_5fanalysis_2eproto);
204 return ::descriptor_table_tensorflow_2fcore_2fprofiler_2fprofiler_5fanalysis_2eproto.file_level_metadata[kIndexInFileMessages];
205 }
206
207 public:
208
209 // nested types ----------------------------------------------------
210
211 // accessors -------------------------------------------------------
212
213 enum : int {
214 kHostsFieldNumber = 3,
215 kRepositoryRootFieldNumber = 2,
216 kSessionIdFieldNumber = 4,
217 kRequestFieldNumber = 1,
218 };
219 // repeated string hosts = 3;
220 int hosts_size() const;
221 void clear_hosts();
222 const std::string& hosts(int index) const;
223 std::string* mutable_hosts(int index);
224 void set_hosts(int index, const std::string& value);
225 void set_hosts(int index, std::string&& value);
226 void set_hosts(int index, const char* value);
227 void set_hosts(int index, const char* value, size_t size);
228 std::string* add_hosts();
229 void add_hosts(const std::string& value);
230 void add_hosts(std::string&& value);
231 void add_hosts(const char* value);
232 void add_hosts(const char* value, size_t size);
233 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& hosts() const;
234 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_hosts();
235
236 // string repository_root = 2;
237 void clear_repository_root();
238 const std::string& repository_root() const;
239 void set_repository_root(const std::string& value);
240 void set_repository_root(std::string&& value);
241 void set_repository_root(const char* value);
242 void set_repository_root(const char* value, size_t size);
243 std::string* mutable_repository_root();
244 std::string* release_repository_root();
245 void set_allocated_repository_root(std::string* repository_root);
246
247 // string session_id = 4;
248 void clear_session_id();
249 const std::string& session_id() const;
250 void set_session_id(const std::string& value);
251 void set_session_id(std::string&& value);
252 void set_session_id(const char* value);
253 void set_session_id(const char* value, size_t size);
254 std::string* mutable_session_id();
255 std::string* release_session_id();
256 void set_allocated_session_id(std::string* session_id);
257
258 // .tensorflow.ProfileRequest request = 1;
259 bool has_request() const;
260 void clear_request();
261 const ::tensorflow::ProfileRequest& request() const;
262 ::tensorflow::ProfileRequest* release_request();
263 ::tensorflow::ProfileRequest* mutable_request();
264 void set_allocated_request(::tensorflow::ProfileRequest* request);
265
266 // @@protoc_insertion_point(class_scope:tensorflow.NewProfileSessionRequest)
267 private:
268 class _Internal;
269
270 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
271 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> hosts_;
272 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr repository_root_;
273 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr session_id_;
274 ::tensorflow::ProfileRequest* request_;
275 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
276 friend struct ::TableStruct_tensorflow_2fcore_2fprofiler_2fprofiler_5fanalysis_2eproto;
277};
278// -------------------------------------------------------------------
279
280class NewProfileSessionResponse :
281 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.NewProfileSessionResponse) */ {
282 public:
283 NewProfileSessionResponse();
284 virtual ~NewProfileSessionResponse();
285
286 NewProfileSessionResponse(const NewProfileSessionResponse& from);
287 NewProfileSessionResponse(NewProfileSessionResponse&& from) noexcept
288 : NewProfileSessionResponse() {
289 *this = ::std::move(from);
290 }
291
292 inline NewProfileSessionResponse& operator=(const NewProfileSessionResponse& from) {
293 CopyFrom(from);
294 return *this;
295 }
296 inline NewProfileSessionResponse& operator=(NewProfileSessionResponse&& from) noexcept {
297 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
298 if (this != &from) InternalSwap(&from);
299 } else {
300 CopyFrom(from);
301 }
302 return *this;
303 }
304
305 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
306 return GetDescriptor();
307 }
308 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
309 return GetMetadataStatic().descriptor;
310 }
311 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
312 return GetMetadataStatic().reflection;
313 }
314 static const NewProfileSessionResponse& default_instance();
315
316 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
317 static inline const NewProfileSessionResponse* internal_default_instance() {
318 return reinterpret_cast<const NewProfileSessionResponse*>(
319 &_NewProfileSessionResponse_default_instance_);
320 }
321 static constexpr int kIndexInFileMessages =
322 1;
323
324 friend void swap(NewProfileSessionResponse& a, NewProfileSessionResponse& b) {
325 a.Swap(&b);
326 }
327 inline void Swap(NewProfileSessionResponse* other) {
328 if (other == this) return;
329 InternalSwap(other);
330 }
331
332 // implements Message ----------------------------------------------
333
334 inline NewProfileSessionResponse* New() const final {
335 return CreateMaybeMessage<NewProfileSessionResponse>(nullptr);
336 }
337
338 NewProfileSessionResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
339 return CreateMaybeMessage<NewProfileSessionResponse>(arena);
340 }
341 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
342 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
343 void CopyFrom(const NewProfileSessionResponse& from);
344 void MergeFrom(const NewProfileSessionResponse& from);
345 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
346 bool IsInitialized() const final;
347
348 size_t ByteSizeLong() const final;
349 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
350 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
351 #else
352 bool MergePartialFromCodedStream(
353 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
354 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
355 void SerializeWithCachedSizes(
356 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
357 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
358 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
359 int GetCachedSize() const final { return _cached_size_.Get(); }
360
361 private:
362 inline void SharedCtor();
363 inline void SharedDtor();
364 void SetCachedSize(int size) const final;
365 void InternalSwap(NewProfileSessionResponse* other);
366 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
367 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
368 return "tensorflow.NewProfileSessionResponse";
369 }
370 private:
371 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
372 return nullptr;
373 }
374 inline void* MaybeArenaPtr() const {
375 return nullptr;
376 }
377 public:
378
379 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
380 private:
381 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
382 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprofiler_2fprofiler_5fanalysis_2eproto);
383 return ::descriptor_table_tensorflow_2fcore_2fprofiler_2fprofiler_5fanalysis_2eproto.file_level_metadata[kIndexInFileMessages];
384 }
385
386 public:
387
388 // nested types ----------------------------------------------------
389
390 // accessors -------------------------------------------------------
391
392 enum : int {
393 kErrorMessageFieldNumber = 1,
394 kEmptyTraceFieldNumber = 2,
395 };
396 // string error_message = 1;
397 void clear_error_message();
398 const std::string& error_message() const;
399 void set_error_message(const std::string& value);
400 void set_error_message(std::string&& value);
401 void set_error_message(const char* value);
402 void set_error_message(const char* value, size_t size);
403 std::string* mutable_error_message();
404 std::string* release_error_message();
405 void set_allocated_error_message(std::string* error_message);
406
407 // bool empty_trace = 2;
408 void clear_empty_trace();
409 bool empty_trace() const;
410 void set_empty_trace(bool value);
411
412 // @@protoc_insertion_point(class_scope:tensorflow.NewProfileSessionResponse)
413 private:
414 class _Internal;
415
416 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
417 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr error_message_;
418 bool empty_trace_;
419 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
420 friend struct ::TableStruct_tensorflow_2fcore_2fprofiler_2fprofiler_5fanalysis_2eproto;
421};
422// -------------------------------------------------------------------
423
424class EnumProfileSessionsAndToolsRequest :
425 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.EnumProfileSessionsAndToolsRequest) */ {
426 public:
427 EnumProfileSessionsAndToolsRequest();
428 virtual ~EnumProfileSessionsAndToolsRequest();
429
430 EnumProfileSessionsAndToolsRequest(const EnumProfileSessionsAndToolsRequest& from);
431 EnumProfileSessionsAndToolsRequest(EnumProfileSessionsAndToolsRequest&& from) noexcept
432 : EnumProfileSessionsAndToolsRequest() {
433 *this = ::std::move(from);
434 }
435
436 inline EnumProfileSessionsAndToolsRequest& operator=(const EnumProfileSessionsAndToolsRequest& from) {
437 CopyFrom(from);
438 return *this;
439 }
440 inline EnumProfileSessionsAndToolsRequest& operator=(EnumProfileSessionsAndToolsRequest&& from) noexcept {
441 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
442 if (this != &from) InternalSwap(&from);
443 } else {
444 CopyFrom(from);
445 }
446 return *this;
447 }
448
449 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
450 return GetDescriptor();
451 }
452 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
453 return GetMetadataStatic().descriptor;
454 }
455 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
456 return GetMetadataStatic().reflection;
457 }
458 static const EnumProfileSessionsAndToolsRequest& default_instance();
459
460 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
461 static inline const EnumProfileSessionsAndToolsRequest* internal_default_instance() {
462 return reinterpret_cast<const EnumProfileSessionsAndToolsRequest*>(
463 &_EnumProfileSessionsAndToolsRequest_default_instance_);
464 }
465 static constexpr int kIndexInFileMessages =
466 2;
467
468 friend void swap(EnumProfileSessionsAndToolsRequest& a, EnumProfileSessionsAndToolsRequest& b) {
469 a.Swap(&b);
470 }
471 inline void Swap(EnumProfileSessionsAndToolsRequest* other) {
472 if (other == this) return;
473 InternalSwap(other);
474 }
475
476 // implements Message ----------------------------------------------
477
478 inline EnumProfileSessionsAndToolsRequest* New() const final {
479 return CreateMaybeMessage<EnumProfileSessionsAndToolsRequest>(nullptr);
480 }
481
482 EnumProfileSessionsAndToolsRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
483 return CreateMaybeMessage<EnumProfileSessionsAndToolsRequest>(arena);
484 }
485 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
486 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
487 void CopyFrom(const EnumProfileSessionsAndToolsRequest& from);
488 void MergeFrom(const EnumProfileSessionsAndToolsRequest& from);
489 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
490 bool IsInitialized() const final;
491
492 size_t ByteSizeLong() const final;
493 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
494 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
495 #else
496 bool MergePartialFromCodedStream(
497 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
498 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
499 void SerializeWithCachedSizes(
500 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
501 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
502 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
503 int GetCachedSize() const final { return _cached_size_.Get(); }
504
505 private:
506 inline void SharedCtor();
507 inline void SharedDtor();
508 void SetCachedSize(int size) const final;
509 void InternalSwap(EnumProfileSessionsAndToolsRequest* other);
510 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
511 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
512 return "tensorflow.EnumProfileSessionsAndToolsRequest";
513 }
514 private:
515 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
516 return nullptr;
517 }
518 inline void* MaybeArenaPtr() const {
519 return nullptr;
520 }
521 public:
522
523 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
524 private:
525 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
526 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprofiler_2fprofiler_5fanalysis_2eproto);
527 return ::descriptor_table_tensorflow_2fcore_2fprofiler_2fprofiler_5fanalysis_2eproto.file_level_metadata[kIndexInFileMessages];
528 }
529
530 public:
531
532 // nested types ----------------------------------------------------
533
534 // accessors -------------------------------------------------------
535
536 enum : int {
537 kRepositoryRootFieldNumber = 1,
538 };
539 // string repository_root = 1;
540 void clear_repository_root();
541 const std::string& repository_root() const;
542 void set_repository_root(const std::string& value);
543 void set_repository_root(std::string&& value);
544 void set_repository_root(const char* value);
545 void set_repository_root(const char* value, size_t size);
546 std::string* mutable_repository_root();
547 std::string* release_repository_root();
548 void set_allocated_repository_root(std::string* repository_root);
549
550 // @@protoc_insertion_point(class_scope:tensorflow.EnumProfileSessionsAndToolsRequest)
551 private:
552 class _Internal;
553
554 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
555 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr repository_root_;
556 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
557 friend struct ::TableStruct_tensorflow_2fcore_2fprofiler_2fprofiler_5fanalysis_2eproto;
558};
559// -------------------------------------------------------------------
560
561class ProfileSessionInfo :
562 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.ProfileSessionInfo) */ {
563 public:
564 ProfileSessionInfo();
565 virtual ~ProfileSessionInfo();
566
567 ProfileSessionInfo(const ProfileSessionInfo& from);
568 ProfileSessionInfo(ProfileSessionInfo&& from) noexcept
569 : ProfileSessionInfo() {
570 *this = ::std::move(from);
571 }
572
573 inline ProfileSessionInfo& operator=(const ProfileSessionInfo& from) {
574 CopyFrom(from);
575 return *this;
576 }
577 inline ProfileSessionInfo& operator=(ProfileSessionInfo&& from) noexcept {
578 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
579 if (this != &from) InternalSwap(&from);
580 } else {
581 CopyFrom(from);
582 }
583 return *this;
584 }
585
586 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
587 return GetDescriptor();
588 }
589 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
590 return GetMetadataStatic().descriptor;
591 }
592 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
593 return GetMetadataStatic().reflection;
594 }
595 static const ProfileSessionInfo& default_instance();
596
597 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
598 static inline const ProfileSessionInfo* internal_default_instance() {
599 return reinterpret_cast<const ProfileSessionInfo*>(
600 &_ProfileSessionInfo_default_instance_);
601 }
602 static constexpr int kIndexInFileMessages =
603 3;
604
605 friend void swap(ProfileSessionInfo& a, ProfileSessionInfo& b) {
606 a.Swap(&b);
607 }
608 inline void Swap(ProfileSessionInfo* other) {
609 if (other == this) return;
610 InternalSwap(other);
611 }
612
613 // implements Message ----------------------------------------------
614
615 inline ProfileSessionInfo* New() const final {
616 return CreateMaybeMessage<ProfileSessionInfo>(nullptr);
617 }
618
619 ProfileSessionInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
620 return CreateMaybeMessage<ProfileSessionInfo>(arena);
621 }
622 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
623 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
624 void CopyFrom(const ProfileSessionInfo& from);
625 void MergeFrom(const ProfileSessionInfo& from);
626 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
627 bool IsInitialized() const final;
628
629 size_t ByteSizeLong() const final;
630 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
631 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
632 #else
633 bool MergePartialFromCodedStream(
634 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
635 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
636 void SerializeWithCachedSizes(
637 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
638 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
639 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
640 int GetCachedSize() const final { return _cached_size_.Get(); }
641
642 private:
643 inline void SharedCtor();
644 inline void SharedDtor();
645 void SetCachedSize(int size) const final;
646 void InternalSwap(ProfileSessionInfo* other);
647 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
648 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
649 return "tensorflow.ProfileSessionInfo";
650 }
651 private:
652 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
653 return nullptr;
654 }
655 inline void* MaybeArenaPtr() const {
656 return nullptr;
657 }
658 public:
659
660 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
661 private:
662 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
663 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprofiler_2fprofiler_5fanalysis_2eproto);
664 return ::descriptor_table_tensorflow_2fcore_2fprofiler_2fprofiler_5fanalysis_2eproto.file_level_metadata[kIndexInFileMessages];
665 }
666
667 public:
668
669 // nested types ----------------------------------------------------
670
671 // accessors -------------------------------------------------------
672
673 enum : int {
674 kAvailableToolsFieldNumber = 2,
675 kSessionIdFieldNumber = 1,
676 };
677 // repeated string available_tools = 2;
678 int available_tools_size() const;
679 void clear_available_tools();
680 const std::string& available_tools(int index) const;
681 std::string* mutable_available_tools(int index);
682 void set_available_tools(int index, const std::string& value);
683 void set_available_tools(int index, std::string&& value);
684 void set_available_tools(int index, const char* value);
685 void set_available_tools(int index, const char* value, size_t size);
686 std::string* add_available_tools();
687 void add_available_tools(const std::string& value);
688 void add_available_tools(std::string&& value);
689 void add_available_tools(const char* value);
690 void add_available_tools(const char* value, size_t size);
691 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& available_tools() const;
692 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_available_tools();
693
694 // string session_id = 1;
695 void clear_session_id();
696 const std::string& session_id() const;
697 void set_session_id(const std::string& value);
698 void set_session_id(std::string&& value);
699 void set_session_id(const char* value);
700 void set_session_id(const char* value, size_t size);
701 std::string* mutable_session_id();
702 std::string* release_session_id();
703 void set_allocated_session_id(std::string* session_id);
704
705 // @@protoc_insertion_point(class_scope:tensorflow.ProfileSessionInfo)
706 private:
707 class _Internal;
708
709 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
710 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> available_tools_;
711 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr session_id_;
712 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
713 friend struct ::TableStruct_tensorflow_2fcore_2fprofiler_2fprofiler_5fanalysis_2eproto;
714};
715// -------------------------------------------------------------------
716
717class EnumProfileSessionsAndToolsResponse :
718 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.EnumProfileSessionsAndToolsResponse) */ {
719 public:
720 EnumProfileSessionsAndToolsResponse();
721 virtual ~EnumProfileSessionsAndToolsResponse();
722
723 EnumProfileSessionsAndToolsResponse(const EnumProfileSessionsAndToolsResponse& from);
724 EnumProfileSessionsAndToolsResponse(EnumProfileSessionsAndToolsResponse&& from) noexcept
725 : EnumProfileSessionsAndToolsResponse() {
726 *this = ::std::move(from);
727 }
728
729 inline EnumProfileSessionsAndToolsResponse& operator=(const EnumProfileSessionsAndToolsResponse& from) {
730 CopyFrom(from);
731 return *this;
732 }
733 inline EnumProfileSessionsAndToolsResponse& operator=(EnumProfileSessionsAndToolsResponse&& from) noexcept {
734 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
735 if (this != &from) InternalSwap(&from);
736 } else {
737 CopyFrom(from);
738 }
739 return *this;
740 }
741
742 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
743 return GetDescriptor();
744 }
745 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
746 return GetMetadataStatic().descriptor;
747 }
748 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
749 return GetMetadataStatic().reflection;
750 }
751 static const EnumProfileSessionsAndToolsResponse& default_instance();
752
753 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
754 static inline const EnumProfileSessionsAndToolsResponse* internal_default_instance() {
755 return reinterpret_cast<const EnumProfileSessionsAndToolsResponse*>(
756 &_EnumProfileSessionsAndToolsResponse_default_instance_);
757 }
758 static constexpr int kIndexInFileMessages =
759 4;
760
761 friend void swap(EnumProfileSessionsAndToolsResponse& a, EnumProfileSessionsAndToolsResponse& b) {
762 a.Swap(&b);
763 }
764 inline void Swap(EnumProfileSessionsAndToolsResponse* other) {
765 if (other == this) return;
766 InternalSwap(other);
767 }
768
769 // implements Message ----------------------------------------------
770
771 inline EnumProfileSessionsAndToolsResponse* New() const final {
772 return CreateMaybeMessage<EnumProfileSessionsAndToolsResponse>(nullptr);
773 }
774
775 EnumProfileSessionsAndToolsResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
776 return CreateMaybeMessage<EnumProfileSessionsAndToolsResponse>(arena);
777 }
778 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
779 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
780 void CopyFrom(const EnumProfileSessionsAndToolsResponse& from);
781 void MergeFrom(const EnumProfileSessionsAndToolsResponse& from);
782 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
783 bool IsInitialized() const final;
784
785 size_t ByteSizeLong() const final;
786 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
787 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
788 #else
789 bool MergePartialFromCodedStream(
790 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
791 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
792 void SerializeWithCachedSizes(
793 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
794 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
795 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
796 int GetCachedSize() const final { return _cached_size_.Get(); }
797
798 private:
799 inline void SharedCtor();
800 inline void SharedDtor();
801 void SetCachedSize(int size) const final;
802 void InternalSwap(EnumProfileSessionsAndToolsResponse* other);
803 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
804 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
805 return "tensorflow.EnumProfileSessionsAndToolsResponse";
806 }
807 private:
808 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
809 return nullptr;
810 }
811 inline void* MaybeArenaPtr() const {
812 return nullptr;
813 }
814 public:
815
816 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
817 private:
818 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
819 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprofiler_2fprofiler_5fanalysis_2eproto);
820 return ::descriptor_table_tensorflow_2fcore_2fprofiler_2fprofiler_5fanalysis_2eproto.file_level_metadata[kIndexInFileMessages];
821 }
822
823 public:
824
825 // nested types ----------------------------------------------------
826
827 // accessors -------------------------------------------------------
828
829 enum : int {
830 kSessionsFieldNumber = 2,
831 kErrorMessageFieldNumber = 1,
832 };
833 // repeated .tensorflow.ProfileSessionInfo sessions = 2;
834 int sessions_size() const;
835 void clear_sessions();
836 ::tensorflow::ProfileSessionInfo* mutable_sessions(int index);
837 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::ProfileSessionInfo >*
838 mutable_sessions();
839 const ::tensorflow::ProfileSessionInfo& sessions(int index) const;
840 ::tensorflow::ProfileSessionInfo* add_sessions();
841 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::ProfileSessionInfo >&
842 sessions() const;
843
844 // string error_message = 1;
845 void clear_error_message();
846 const std::string& error_message() const;
847 void set_error_message(const std::string& value);
848 void set_error_message(std::string&& value);
849 void set_error_message(const char* value);
850 void set_error_message(const char* value, size_t size);
851 std::string* mutable_error_message();
852 std::string* release_error_message();
853 void set_allocated_error_message(std::string* error_message);
854
855 // @@protoc_insertion_point(class_scope:tensorflow.EnumProfileSessionsAndToolsResponse)
856 private:
857 class _Internal;
858
859 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
860 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::ProfileSessionInfo > sessions_;
861 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr error_message_;
862 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
863 friend struct ::TableStruct_tensorflow_2fcore_2fprofiler_2fprofiler_5fanalysis_2eproto;
864};
865// -------------------------------------------------------------------
866
867class ProfileSessionDataRequest_ParametersEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<ProfileSessionDataRequest_ParametersEntry_DoNotUse,
868 std::string, std::string,
869 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
870 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
871 0 > {
872public:
873 typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<ProfileSessionDataRequest_ParametersEntry_DoNotUse,
874 std::string, std::string,
875 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
876 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
877 0 > SuperType;
878 ProfileSessionDataRequest_ParametersEntry_DoNotUse();
879 ProfileSessionDataRequest_ParametersEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
880 void MergeFrom(const ProfileSessionDataRequest_ParametersEntry_DoNotUse& other);
881 static const ProfileSessionDataRequest_ParametersEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const ProfileSessionDataRequest_ParametersEntry_DoNotUse*>(&_ProfileSessionDataRequest_ParametersEntry_DoNotUse_default_instance_); }
882 static bool ValidateKey(std::string* s) {
883 return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), s->size(), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "tensorflow.ProfileSessionDataRequest.ParametersEntry.key");
884 }
885 static bool ValidateValue(std::string* s) {
886 return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), s->size(), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "tensorflow.ProfileSessionDataRequest.ParametersEntry.value");
887 }
888 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& other) final;
889 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
890 private:
891 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
892 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprofiler_2fprofiler_5fanalysis_2eproto);
893 return ::descriptor_table_tensorflow_2fcore_2fprofiler_2fprofiler_5fanalysis_2eproto.file_level_metadata[5];
894 }
895
896 public:
897};
898
899// -------------------------------------------------------------------
900
901class ProfileSessionDataRequest :
902 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.ProfileSessionDataRequest) */ {
903 public:
904 ProfileSessionDataRequest();
905 virtual ~ProfileSessionDataRequest();
906
907 ProfileSessionDataRequest(const ProfileSessionDataRequest& from);
908 ProfileSessionDataRequest(ProfileSessionDataRequest&& from) noexcept
909 : ProfileSessionDataRequest() {
910 *this = ::std::move(from);
911 }
912
913 inline ProfileSessionDataRequest& operator=(const ProfileSessionDataRequest& from) {
914 CopyFrom(from);
915 return *this;
916 }
917 inline ProfileSessionDataRequest& operator=(ProfileSessionDataRequest&& from) noexcept {
918 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
919 if (this != &from) InternalSwap(&from);
920 } else {
921 CopyFrom(from);
922 }
923 return *this;
924 }
925
926 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
927 return GetDescriptor();
928 }
929 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
930 return GetMetadataStatic().descriptor;
931 }
932 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
933 return GetMetadataStatic().reflection;
934 }
935 static const ProfileSessionDataRequest& default_instance();
936
937 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
938 static inline const ProfileSessionDataRequest* internal_default_instance() {
939 return reinterpret_cast<const ProfileSessionDataRequest*>(
940 &_ProfileSessionDataRequest_default_instance_);
941 }
942 static constexpr int kIndexInFileMessages =
943 6;
944
945 friend void swap(ProfileSessionDataRequest& a, ProfileSessionDataRequest& b) {
946 a.Swap(&b);
947 }
948 inline void Swap(ProfileSessionDataRequest* other) {
949 if (other == this) return;
950 InternalSwap(other);
951 }
952
953 // implements Message ----------------------------------------------
954
955 inline ProfileSessionDataRequest* New() const final {
956 return CreateMaybeMessage<ProfileSessionDataRequest>(nullptr);
957 }
958
959 ProfileSessionDataRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
960 return CreateMaybeMessage<ProfileSessionDataRequest>(arena);
961 }
962 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
963 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
964 void CopyFrom(const ProfileSessionDataRequest& from);
965 void MergeFrom(const ProfileSessionDataRequest& from);
966 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
967 bool IsInitialized() const final;
968
969 size_t ByteSizeLong() const final;
970 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
971 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
972 #else
973 bool MergePartialFromCodedStream(
974 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
975 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
976 void SerializeWithCachedSizes(
977 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
978 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
979 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
980 int GetCachedSize() const final { return _cached_size_.Get(); }
981
982 private:
983 inline void SharedCtor();
984 inline void SharedDtor();
985 void SetCachedSize(int size) const final;
986 void InternalSwap(ProfileSessionDataRequest* other);
987 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
988 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
989 return "tensorflow.ProfileSessionDataRequest";
990 }
991 private:
992 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
993 return nullptr;
994 }
995 inline void* MaybeArenaPtr() const {
996 return nullptr;
997 }
998 public:
999
1000 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1001 private:
1002 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
1003 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprofiler_2fprofiler_5fanalysis_2eproto);
1004 return ::descriptor_table_tensorflow_2fcore_2fprofiler_2fprofiler_5fanalysis_2eproto.file_level_metadata[kIndexInFileMessages];
1005 }
1006
1007 public:
1008
1009 // nested types ----------------------------------------------------
1010
1011
1012 // accessors -------------------------------------------------------
1013
1014 enum : int {
1015 kParametersFieldNumber = 4,
1016 kRepositoryRootFieldNumber = 1,
1017 kSessionIdFieldNumber = 2,
1018 kToolNameFieldNumber = 3,
1019 kHostNameFieldNumber = 5,
1020 };
1021 // map<string, string> parameters = 4;
1022 int parameters_size() const;
1023 void clear_parameters();
1024 const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >&
1025 parameters() const;
1026 ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >*
1027 mutable_parameters();
1028
1029 // string repository_root = 1;
1030 void clear_repository_root();
1031 const std::string& repository_root() const;
1032 void set_repository_root(const std::string& value);
1033 void set_repository_root(std::string&& value);
1034 void set_repository_root(const char* value);
1035 void set_repository_root(const char* value, size_t size);
1036 std::string* mutable_repository_root();
1037 std::string* release_repository_root();
1038 void set_allocated_repository_root(std::string* repository_root);
1039
1040 // string session_id = 2;
1041 void clear_session_id();
1042 const std::string& session_id() const;
1043 void set_session_id(const std::string& value);
1044 void set_session_id(std::string&& value);
1045 void set_session_id(const char* value);
1046 void set_session_id(const char* value, size_t size);
1047 std::string* mutable_session_id();
1048 std::string* release_session_id();
1049 void set_allocated_session_id(std::string* session_id);
1050
1051 // string tool_name = 3;
1052 void clear_tool_name();
1053 const std::string& tool_name() const;
1054 void set_tool_name(const std::string& value);
1055 void set_tool_name(std::string&& value);
1056 void set_tool_name(const char* value);
1057 void set_tool_name(const char* value, size_t size);
1058 std::string* mutable_tool_name();
1059 std::string* release_tool_name();
1060 void set_allocated_tool_name(std::string* tool_name);
1061
1062 // string host_name = 5;
1063 void clear_host_name();
1064 const std::string& host_name() const;
1065 void set_host_name(const std::string& value);
1066 void set_host_name(std::string&& value);
1067 void set_host_name(const char* value);
1068 void set_host_name(const char* value, size_t size);
1069 std::string* mutable_host_name();
1070 std::string* release_host_name();
1071 void set_allocated_host_name(std::string* host_name);
1072
1073 // @@protoc_insertion_point(class_scope:tensorflow.ProfileSessionDataRequest)
1074 private:
1075 class _Internal;
1076
1077 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
1078 ::PROTOBUF_NAMESPACE_ID::internal::MapField<
1079 ProfileSessionDataRequest_ParametersEntry_DoNotUse,
1080 std::string, std::string,
1081 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
1082 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
1083 0 > parameters_;
1084 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr repository_root_;
1085 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr session_id_;
1086 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr tool_name_;
1087 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr host_name_;
1088 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1089 friend struct ::TableStruct_tensorflow_2fcore_2fprofiler_2fprofiler_5fanalysis_2eproto;
1090};
1091// -------------------------------------------------------------------
1092
1093class ProfileSessionDataResponse :
1094 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.ProfileSessionDataResponse) */ {
1095 public:
1096 ProfileSessionDataResponse();
1097 virtual ~ProfileSessionDataResponse();
1098
1099 ProfileSessionDataResponse(const ProfileSessionDataResponse& from);
1100 ProfileSessionDataResponse(ProfileSessionDataResponse&& from) noexcept
1101 : ProfileSessionDataResponse() {
1102 *this = ::std::move(from);
1103 }
1104
1105 inline ProfileSessionDataResponse& operator=(const ProfileSessionDataResponse& from) {
1106 CopyFrom(from);
1107 return *this;
1108 }
1109 inline ProfileSessionDataResponse& operator=(ProfileSessionDataResponse&& from) noexcept {
1110 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1111 if (this != &from) InternalSwap(&from);
1112 } else {
1113 CopyFrom(from);
1114 }
1115 return *this;
1116 }
1117
1118 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1119 return GetDescriptor();
1120 }
1121 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1122 return GetMetadataStatic().descriptor;
1123 }
1124 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1125 return GetMetadataStatic().reflection;
1126 }
1127 static const ProfileSessionDataResponse& default_instance();
1128
1129 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
1130 static inline const ProfileSessionDataResponse* internal_default_instance() {
1131 return reinterpret_cast<const ProfileSessionDataResponse*>(
1132 &_ProfileSessionDataResponse_default_instance_);
1133 }
1134 static constexpr int kIndexInFileMessages =
1135 7;
1136
1137 friend void swap(ProfileSessionDataResponse& a, ProfileSessionDataResponse& b) {
1138 a.Swap(&b);
1139 }
1140 inline void Swap(ProfileSessionDataResponse* other) {
1141 if (other == this) return;
1142 InternalSwap(other);
1143 }
1144
1145 // implements Message ----------------------------------------------
1146
1147 inline ProfileSessionDataResponse* New() const final {
1148 return CreateMaybeMessage<ProfileSessionDataResponse>(nullptr);
1149 }
1150
1151 ProfileSessionDataResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1152 return CreateMaybeMessage<ProfileSessionDataResponse>(arena);
1153 }
1154 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
1155 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
1156 void CopyFrom(const ProfileSessionDataResponse& from);
1157 void MergeFrom(const ProfileSessionDataResponse& from);
1158 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1159 bool IsInitialized() const final;
1160
1161 size_t ByteSizeLong() const final;
1162 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1163 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1164 #else
1165 bool MergePartialFromCodedStream(
1166 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
1167 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1168 void SerializeWithCachedSizes(
1169 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
1170 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
1171 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
1172 int GetCachedSize() const final { return _cached_size_.Get(); }
1173
1174 private:
1175 inline void SharedCtor();
1176 inline void SharedDtor();
1177 void SetCachedSize(int size) const final;
1178 void InternalSwap(ProfileSessionDataResponse* other);
1179 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1180 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1181 return "tensorflow.ProfileSessionDataResponse";
1182 }
1183 private:
1184 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
1185 return nullptr;
1186 }
1187 inline void* MaybeArenaPtr() const {
1188 return nullptr;
1189 }
1190 public:
1191
1192 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1193 private:
1194 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
1195 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprofiler_2fprofiler_5fanalysis_2eproto);
1196 return ::descriptor_table_tensorflow_2fcore_2fprofiler_2fprofiler_5fanalysis_2eproto.file_level_metadata[kIndexInFileMessages];
1197 }
1198
1199 public:
1200
1201 // nested types ----------------------------------------------------
1202
1203 // accessors -------------------------------------------------------
1204
1205 enum : int {
1206 kErrorMessageFieldNumber = 1,
1207 kOutputFormatFieldNumber = 2,
1208 kOutputFieldNumber = 3,
1209 };
1210 // string error_message = 1;
1211 void clear_error_message();
1212 const std::string& error_message() const;
1213 void set_error_message(const std::string& value);
1214 void set_error_message(std::string&& value);
1215 void set_error_message(const char* value);
1216 void set_error_message(const char* value, size_t size);
1217 std::string* mutable_error_message();
1218 std::string* release_error_message();
1219 void set_allocated_error_message(std::string* error_message);
1220
1221 // string output_format = 2;
1222 void clear_output_format();
1223 const std::string& output_format() const;
1224 void set_output_format(const std::string& value);
1225 void set_output_format(std::string&& value);
1226 void set_output_format(const char* value);
1227 void set_output_format(const char* value, size_t size);
1228 std::string* mutable_output_format();
1229 std::string* release_output_format();
1230 void set_allocated_output_format(std::string* output_format);
1231
1232 // bytes output = 3;
1233 void clear_output();
1234 const std::string& output() const;
1235 void set_output(const std::string& value);
1236 void set_output(std::string&& value);
1237 void set_output(const char* value);
1238 void set_output(const void* value, size_t size);
1239 std::string* mutable_output();
1240 std::string* release_output();
1241 void set_allocated_output(std::string* output);
1242
1243 // @@protoc_insertion_point(class_scope:tensorflow.ProfileSessionDataResponse)
1244 private:
1245 class _Internal;
1246
1247 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
1248 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr error_message_;
1249 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr output_format_;
1250 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr output_;
1251 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1252 friend struct ::TableStruct_tensorflow_2fcore_2fprofiler_2fprofiler_5fanalysis_2eproto;
1253};
1254// ===================================================================
1255
1256
1257// ===================================================================
1258
1259#ifdef __GNUC__
1260 #pragma GCC diagnostic push
1261 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1262#endif // __GNUC__
1263// NewProfileSessionRequest
1264
1265// .tensorflow.ProfileRequest request = 1;
1266inline bool NewProfileSessionRequest::has_request() const {
1267 return this != internal_default_instance() && request_ != nullptr;
1268}
1269inline const ::tensorflow::ProfileRequest& NewProfileSessionRequest::request() const {
1270 const ::tensorflow::ProfileRequest* p = request_;
1271 // @@protoc_insertion_point(field_get:tensorflow.NewProfileSessionRequest.request)
1272 return p != nullptr ? *p : *reinterpret_cast<const ::tensorflow::ProfileRequest*>(
1273 &::tensorflow::_ProfileRequest_default_instance_);
1274}
1275inline ::tensorflow::ProfileRequest* NewProfileSessionRequest::release_request() {
1276 // @@protoc_insertion_point(field_release:tensorflow.NewProfileSessionRequest.request)
1277
1278 ::tensorflow::ProfileRequest* temp = request_;
1279 request_ = nullptr;
1280 return temp;
1281}
1282inline ::tensorflow::ProfileRequest* NewProfileSessionRequest::mutable_request() {
1283
1284 if (request_ == nullptr) {
1285 auto* p = CreateMaybeMessage<::tensorflow::ProfileRequest>(GetArenaNoVirtual());
1286 request_ = p;
1287 }
1288 // @@protoc_insertion_point(field_mutable:tensorflow.NewProfileSessionRequest.request)
1289 return request_;
1290}
1291inline void NewProfileSessionRequest::set_allocated_request(::tensorflow::ProfileRequest* request) {
1292 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
1293 if (message_arena == nullptr) {
1294 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(request_);
1295 }
1296 if (request) {
1297 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
1298 if (message_arena != submessage_arena) {
1299 request = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1300 message_arena, request, submessage_arena);
1301 }
1302
1303 } else {
1304
1305 }
1306 request_ = request;
1307 // @@protoc_insertion_point(field_set_allocated:tensorflow.NewProfileSessionRequest.request)
1308}
1309
1310// string repository_root = 2;
1311inline void NewProfileSessionRequest::clear_repository_root() {
1312 repository_root_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1313}
1314inline const std::string& NewProfileSessionRequest::repository_root() const {
1315 // @@protoc_insertion_point(field_get:tensorflow.NewProfileSessionRequest.repository_root)
1316 return repository_root_.GetNoArena();
1317}
1318inline void NewProfileSessionRequest::set_repository_root(const std::string& value) {
1319
1320 repository_root_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
1321 // @@protoc_insertion_point(field_set:tensorflow.NewProfileSessionRequest.repository_root)
1322}
1323inline void NewProfileSessionRequest::set_repository_root(std::string&& value) {
1324
1325 repository_root_.SetNoArena(
1326 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1327 // @@protoc_insertion_point(field_set_rvalue:tensorflow.NewProfileSessionRequest.repository_root)
1328}
1329inline void NewProfileSessionRequest::set_repository_root(const char* value) {
1330 GOOGLE_DCHECK(value != nullptr);
1331
1332 repository_root_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1333 // @@protoc_insertion_point(field_set_char:tensorflow.NewProfileSessionRequest.repository_root)
1334}
1335inline void NewProfileSessionRequest::set_repository_root(const char* value, size_t size) {
1336
1337 repository_root_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1338 ::std::string(reinterpret_cast<const char*>(value), size));
1339 // @@protoc_insertion_point(field_set_pointer:tensorflow.NewProfileSessionRequest.repository_root)
1340}
1341inline std::string* NewProfileSessionRequest::mutable_repository_root() {
1342
1343 // @@protoc_insertion_point(field_mutable:tensorflow.NewProfileSessionRequest.repository_root)
1344 return repository_root_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1345}
1346inline std::string* NewProfileSessionRequest::release_repository_root() {
1347 // @@protoc_insertion_point(field_release:tensorflow.NewProfileSessionRequest.repository_root)
1348
1349 return repository_root_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1350}
1351inline void NewProfileSessionRequest::set_allocated_repository_root(std::string* repository_root) {
1352 if (repository_root != nullptr) {
1353
1354 } else {
1355
1356 }
1357 repository_root_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), repository_root);
1358 // @@protoc_insertion_point(field_set_allocated:tensorflow.NewProfileSessionRequest.repository_root)
1359}
1360
1361// repeated string hosts = 3;
1362inline int NewProfileSessionRequest::hosts_size() const {
1363 return hosts_.size();
1364}
1365inline void NewProfileSessionRequest::clear_hosts() {
1366 hosts_.Clear();
1367}
1368inline const std::string& NewProfileSessionRequest::hosts(int index) const {
1369 // @@protoc_insertion_point(field_get:tensorflow.NewProfileSessionRequest.hosts)
1370 return hosts_.Get(index);
1371}
1372inline std::string* NewProfileSessionRequest::mutable_hosts(int index) {
1373 // @@protoc_insertion_point(field_mutable:tensorflow.NewProfileSessionRequest.hosts)
1374 return hosts_.Mutable(index);
1375}
1376inline void NewProfileSessionRequest::set_hosts(int index, const std::string& value) {
1377 // @@protoc_insertion_point(field_set:tensorflow.NewProfileSessionRequest.hosts)
1378 hosts_.Mutable(index)->assign(value);
1379}
1380inline void NewProfileSessionRequest::set_hosts(int index, std::string&& value) {
1381 // @@protoc_insertion_point(field_set:tensorflow.NewProfileSessionRequest.hosts)
1382 hosts_.Mutable(index)->assign(std::move(value));
1383}
1384inline void NewProfileSessionRequest::set_hosts(int index, const char* value) {
1385 GOOGLE_DCHECK(value != nullptr);
1386 hosts_.Mutable(index)->assign(value);
1387 // @@protoc_insertion_point(field_set_char:tensorflow.NewProfileSessionRequest.hosts)
1388}
1389inline void NewProfileSessionRequest::set_hosts(int index, const char* value, size_t size) {
1390 hosts_.Mutable(index)->assign(
1391 reinterpret_cast<const char*>(value), size);
1392 // @@protoc_insertion_point(field_set_pointer:tensorflow.NewProfileSessionRequest.hosts)
1393}
1394inline std::string* NewProfileSessionRequest::add_hosts() {
1395 // @@protoc_insertion_point(field_add_mutable:tensorflow.NewProfileSessionRequest.hosts)
1396 return hosts_.Add();
1397}
1398inline void NewProfileSessionRequest::add_hosts(const std::string& value) {
1399 hosts_.Add()->assign(value);
1400 // @@protoc_insertion_point(field_add:tensorflow.NewProfileSessionRequest.hosts)
1401}
1402inline void NewProfileSessionRequest::add_hosts(std::string&& value) {
1403 hosts_.Add(std::move(value));
1404 // @@protoc_insertion_point(field_add:tensorflow.NewProfileSessionRequest.hosts)
1405}
1406inline void NewProfileSessionRequest::add_hosts(const char* value) {
1407 GOOGLE_DCHECK(value != nullptr);
1408 hosts_.Add()->assign(value);
1409 // @@protoc_insertion_point(field_add_char:tensorflow.NewProfileSessionRequest.hosts)
1410}
1411inline void NewProfileSessionRequest::add_hosts(const char* value, size_t size) {
1412 hosts_.Add()->assign(reinterpret_cast<const char*>(value), size);
1413 // @@protoc_insertion_point(field_add_pointer:tensorflow.NewProfileSessionRequest.hosts)
1414}
1415inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
1416NewProfileSessionRequest::hosts() const {
1417 // @@protoc_insertion_point(field_list:tensorflow.NewProfileSessionRequest.hosts)
1418 return hosts_;
1419}
1420inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
1421NewProfileSessionRequest::mutable_hosts() {
1422 // @@protoc_insertion_point(field_mutable_list:tensorflow.NewProfileSessionRequest.hosts)
1423 return &hosts_;
1424}
1425
1426// string session_id = 4;
1427inline void NewProfileSessionRequest::clear_session_id() {
1428 session_id_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1429}
1430inline const std::string& NewProfileSessionRequest::session_id() const {
1431 // @@protoc_insertion_point(field_get:tensorflow.NewProfileSessionRequest.session_id)
1432 return session_id_.GetNoArena();
1433}
1434inline void NewProfileSessionRequest::set_session_id(const std::string& value) {
1435
1436 session_id_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
1437 // @@protoc_insertion_point(field_set:tensorflow.NewProfileSessionRequest.session_id)
1438}
1439inline void NewProfileSessionRequest::set_session_id(std::string&& value) {
1440
1441 session_id_.SetNoArena(
1442 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1443 // @@protoc_insertion_point(field_set_rvalue:tensorflow.NewProfileSessionRequest.session_id)
1444}
1445inline void NewProfileSessionRequest::set_session_id(const char* value) {
1446 GOOGLE_DCHECK(value != nullptr);
1447
1448 session_id_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1449 // @@protoc_insertion_point(field_set_char:tensorflow.NewProfileSessionRequest.session_id)
1450}
1451inline void NewProfileSessionRequest::set_session_id(const char* value, size_t size) {
1452
1453 session_id_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1454 ::std::string(reinterpret_cast<const char*>(value), size));
1455 // @@protoc_insertion_point(field_set_pointer:tensorflow.NewProfileSessionRequest.session_id)
1456}
1457inline std::string* NewProfileSessionRequest::mutable_session_id() {
1458
1459 // @@protoc_insertion_point(field_mutable:tensorflow.NewProfileSessionRequest.session_id)
1460 return session_id_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1461}
1462inline std::string* NewProfileSessionRequest::release_session_id() {
1463 // @@protoc_insertion_point(field_release:tensorflow.NewProfileSessionRequest.session_id)
1464
1465 return session_id_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1466}
1467inline void NewProfileSessionRequest::set_allocated_session_id(std::string* session_id) {
1468 if (session_id != nullptr) {
1469
1470 } else {
1471
1472 }
1473 session_id_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), session_id);
1474 // @@protoc_insertion_point(field_set_allocated:tensorflow.NewProfileSessionRequest.session_id)
1475}
1476
1477// -------------------------------------------------------------------
1478
1479// NewProfileSessionResponse
1480
1481// string error_message = 1;
1482inline void NewProfileSessionResponse::clear_error_message() {
1483 error_message_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1484}
1485inline const std::string& NewProfileSessionResponse::error_message() const {
1486 // @@protoc_insertion_point(field_get:tensorflow.NewProfileSessionResponse.error_message)
1487 return error_message_.GetNoArena();
1488}
1489inline void NewProfileSessionResponse::set_error_message(const std::string& value) {
1490
1491 error_message_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
1492 // @@protoc_insertion_point(field_set:tensorflow.NewProfileSessionResponse.error_message)
1493}
1494inline void NewProfileSessionResponse::set_error_message(std::string&& value) {
1495
1496 error_message_.SetNoArena(
1497 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1498 // @@protoc_insertion_point(field_set_rvalue:tensorflow.NewProfileSessionResponse.error_message)
1499}
1500inline void NewProfileSessionResponse::set_error_message(const char* value) {
1501 GOOGLE_DCHECK(value != nullptr);
1502
1503 error_message_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1504 // @@protoc_insertion_point(field_set_char:tensorflow.NewProfileSessionResponse.error_message)
1505}
1506inline void NewProfileSessionResponse::set_error_message(const char* value, size_t size) {
1507
1508 error_message_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1509 ::std::string(reinterpret_cast<const char*>(value), size));
1510 // @@protoc_insertion_point(field_set_pointer:tensorflow.NewProfileSessionResponse.error_message)
1511}
1512inline std::string* NewProfileSessionResponse::mutable_error_message() {
1513
1514 // @@protoc_insertion_point(field_mutable:tensorflow.NewProfileSessionResponse.error_message)
1515 return error_message_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1516}
1517inline std::string* NewProfileSessionResponse::release_error_message() {
1518 // @@protoc_insertion_point(field_release:tensorflow.NewProfileSessionResponse.error_message)
1519
1520 return error_message_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1521}
1522inline void NewProfileSessionResponse::set_allocated_error_message(std::string* error_message) {
1523 if (error_message != nullptr) {
1524
1525 } else {
1526
1527 }
1528 error_message_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), error_message);
1529 // @@protoc_insertion_point(field_set_allocated:tensorflow.NewProfileSessionResponse.error_message)
1530}
1531
1532// bool empty_trace = 2;
1533inline void NewProfileSessionResponse::clear_empty_trace() {
1534 empty_trace_ = false;
1535}
1536inline bool NewProfileSessionResponse::empty_trace() const {
1537 // @@protoc_insertion_point(field_get:tensorflow.NewProfileSessionResponse.empty_trace)
1538 return empty_trace_;
1539}
1540inline void NewProfileSessionResponse::set_empty_trace(bool value) {
1541
1542 empty_trace_ = value;
1543 // @@protoc_insertion_point(field_set:tensorflow.NewProfileSessionResponse.empty_trace)
1544}
1545
1546// -------------------------------------------------------------------
1547
1548// EnumProfileSessionsAndToolsRequest
1549
1550// string repository_root = 1;
1551inline void EnumProfileSessionsAndToolsRequest::clear_repository_root() {
1552 repository_root_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1553}
1554inline const std::string& EnumProfileSessionsAndToolsRequest::repository_root() const {
1555 // @@protoc_insertion_point(field_get:tensorflow.EnumProfileSessionsAndToolsRequest.repository_root)
1556 return repository_root_.GetNoArena();
1557}
1558inline void EnumProfileSessionsAndToolsRequest::set_repository_root(const std::string& value) {
1559
1560 repository_root_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
1561 // @@protoc_insertion_point(field_set:tensorflow.EnumProfileSessionsAndToolsRequest.repository_root)
1562}
1563inline void EnumProfileSessionsAndToolsRequest::set_repository_root(std::string&& value) {
1564
1565 repository_root_.SetNoArena(
1566 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1567 // @@protoc_insertion_point(field_set_rvalue:tensorflow.EnumProfileSessionsAndToolsRequest.repository_root)
1568}
1569inline void EnumProfileSessionsAndToolsRequest::set_repository_root(const char* value) {
1570 GOOGLE_DCHECK(value != nullptr);
1571
1572 repository_root_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1573 // @@protoc_insertion_point(field_set_char:tensorflow.EnumProfileSessionsAndToolsRequest.repository_root)
1574}
1575inline void EnumProfileSessionsAndToolsRequest::set_repository_root(const char* value, size_t size) {
1576
1577 repository_root_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1578 ::std::string(reinterpret_cast<const char*>(value), size));
1579 // @@protoc_insertion_point(field_set_pointer:tensorflow.EnumProfileSessionsAndToolsRequest.repository_root)
1580}
1581inline std::string* EnumProfileSessionsAndToolsRequest::mutable_repository_root() {
1582
1583 // @@protoc_insertion_point(field_mutable:tensorflow.EnumProfileSessionsAndToolsRequest.repository_root)
1584 return repository_root_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1585}
1586inline std::string* EnumProfileSessionsAndToolsRequest::release_repository_root() {
1587 // @@protoc_insertion_point(field_release:tensorflow.EnumProfileSessionsAndToolsRequest.repository_root)
1588
1589 return repository_root_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1590}
1591inline void EnumProfileSessionsAndToolsRequest::set_allocated_repository_root(std::string* repository_root) {
1592 if (repository_root != nullptr) {
1593
1594 } else {
1595
1596 }
1597 repository_root_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), repository_root);
1598 // @@protoc_insertion_point(field_set_allocated:tensorflow.EnumProfileSessionsAndToolsRequest.repository_root)
1599}
1600
1601// -------------------------------------------------------------------
1602
1603// ProfileSessionInfo
1604
1605// string session_id = 1;
1606inline void ProfileSessionInfo::clear_session_id() {
1607 session_id_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1608}
1609inline const std::string& ProfileSessionInfo::session_id() const {
1610 // @@protoc_insertion_point(field_get:tensorflow.ProfileSessionInfo.session_id)
1611 return session_id_.GetNoArena();
1612}
1613inline void ProfileSessionInfo::set_session_id(const std::string& value) {
1614
1615 session_id_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
1616 // @@protoc_insertion_point(field_set:tensorflow.ProfileSessionInfo.session_id)
1617}
1618inline void ProfileSessionInfo::set_session_id(std::string&& value) {
1619
1620 session_id_.SetNoArena(
1621 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1622 // @@protoc_insertion_point(field_set_rvalue:tensorflow.ProfileSessionInfo.session_id)
1623}
1624inline void ProfileSessionInfo::set_session_id(const char* value) {
1625 GOOGLE_DCHECK(value != nullptr);
1626
1627 session_id_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1628 // @@protoc_insertion_point(field_set_char:tensorflow.ProfileSessionInfo.session_id)
1629}
1630inline void ProfileSessionInfo::set_session_id(const char* value, size_t size) {
1631
1632 session_id_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1633 ::std::string(reinterpret_cast<const char*>(value), size));
1634 // @@protoc_insertion_point(field_set_pointer:tensorflow.ProfileSessionInfo.session_id)
1635}
1636inline std::string* ProfileSessionInfo::mutable_session_id() {
1637
1638 // @@protoc_insertion_point(field_mutable:tensorflow.ProfileSessionInfo.session_id)
1639 return session_id_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1640}
1641inline std::string* ProfileSessionInfo::release_session_id() {
1642 // @@protoc_insertion_point(field_release:tensorflow.ProfileSessionInfo.session_id)
1643
1644 return session_id_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1645}
1646inline void ProfileSessionInfo::set_allocated_session_id(std::string* session_id) {
1647 if (session_id != nullptr) {
1648
1649 } else {
1650
1651 }
1652 session_id_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), session_id);
1653 // @@protoc_insertion_point(field_set_allocated:tensorflow.ProfileSessionInfo.session_id)
1654}
1655
1656// repeated string available_tools = 2;
1657inline int ProfileSessionInfo::available_tools_size() const {
1658 return available_tools_.size();
1659}
1660inline void ProfileSessionInfo::clear_available_tools() {
1661 available_tools_.Clear();
1662}
1663inline const std::string& ProfileSessionInfo::available_tools(int index) const {
1664 // @@protoc_insertion_point(field_get:tensorflow.ProfileSessionInfo.available_tools)
1665 return available_tools_.Get(index);
1666}
1667inline std::string* ProfileSessionInfo::mutable_available_tools(int index) {
1668 // @@protoc_insertion_point(field_mutable:tensorflow.ProfileSessionInfo.available_tools)
1669 return available_tools_.Mutable(index);
1670}
1671inline void ProfileSessionInfo::set_available_tools(int index, const std::string& value) {
1672 // @@protoc_insertion_point(field_set:tensorflow.ProfileSessionInfo.available_tools)
1673 available_tools_.Mutable(index)->assign(value);
1674}
1675inline void ProfileSessionInfo::set_available_tools(int index, std::string&& value) {
1676 // @@protoc_insertion_point(field_set:tensorflow.ProfileSessionInfo.available_tools)
1677 available_tools_.Mutable(index)->assign(std::move(value));
1678}
1679inline void ProfileSessionInfo::set_available_tools(int index, const char* value) {
1680 GOOGLE_DCHECK(value != nullptr);
1681 available_tools_.Mutable(index)->assign(value);
1682 // @@protoc_insertion_point(field_set_char:tensorflow.ProfileSessionInfo.available_tools)
1683}
1684inline void ProfileSessionInfo::set_available_tools(int index, const char* value, size_t size) {
1685 available_tools_.Mutable(index)->assign(
1686 reinterpret_cast<const char*>(value), size);
1687 // @@protoc_insertion_point(field_set_pointer:tensorflow.ProfileSessionInfo.available_tools)
1688}
1689inline std::string* ProfileSessionInfo::add_available_tools() {
1690 // @@protoc_insertion_point(field_add_mutable:tensorflow.ProfileSessionInfo.available_tools)
1691 return available_tools_.Add();
1692}
1693inline void ProfileSessionInfo::add_available_tools(const std::string& value) {
1694 available_tools_.Add()->assign(value);
1695 // @@protoc_insertion_point(field_add:tensorflow.ProfileSessionInfo.available_tools)
1696}
1697inline void ProfileSessionInfo::add_available_tools(std::string&& value) {
1698 available_tools_.Add(std::move(value));
1699 // @@protoc_insertion_point(field_add:tensorflow.ProfileSessionInfo.available_tools)
1700}
1701inline void ProfileSessionInfo::add_available_tools(const char* value) {
1702 GOOGLE_DCHECK(value != nullptr);
1703 available_tools_.Add()->assign(value);
1704 // @@protoc_insertion_point(field_add_char:tensorflow.ProfileSessionInfo.available_tools)
1705}
1706inline void ProfileSessionInfo::add_available_tools(const char* value, size_t size) {
1707 available_tools_.Add()->assign(reinterpret_cast<const char*>(value), size);
1708 // @@protoc_insertion_point(field_add_pointer:tensorflow.ProfileSessionInfo.available_tools)
1709}
1710inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
1711ProfileSessionInfo::available_tools() const {
1712 // @@protoc_insertion_point(field_list:tensorflow.ProfileSessionInfo.available_tools)
1713 return available_tools_;
1714}
1715inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
1716ProfileSessionInfo::mutable_available_tools() {
1717 // @@protoc_insertion_point(field_mutable_list:tensorflow.ProfileSessionInfo.available_tools)
1718 return &available_tools_;
1719}
1720
1721// -------------------------------------------------------------------
1722
1723// EnumProfileSessionsAndToolsResponse
1724
1725// string error_message = 1;
1726inline void EnumProfileSessionsAndToolsResponse::clear_error_message() {
1727 error_message_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1728}
1729inline const std::string& EnumProfileSessionsAndToolsResponse::error_message() const {
1730 // @@protoc_insertion_point(field_get:tensorflow.EnumProfileSessionsAndToolsResponse.error_message)
1731 return error_message_.GetNoArena();
1732}
1733inline void EnumProfileSessionsAndToolsResponse::set_error_message(const std::string& value) {
1734
1735 error_message_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
1736 // @@protoc_insertion_point(field_set:tensorflow.EnumProfileSessionsAndToolsResponse.error_message)
1737}
1738inline void EnumProfileSessionsAndToolsResponse::set_error_message(std::string&& value) {
1739
1740 error_message_.SetNoArena(
1741 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1742 // @@protoc_insertion_point(field_set_rvalue:tensorflow.EnumProfileSessionsAndToolsResponse.error_message)
1743}
1744inline void EnumProfileSessionsAndToolsResponse::set_error_message(const char* value) {
1745 GOOGLE_DCHECK(value != nullptr);
1746
1747 error_message_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1748 // @@protoc_insertion_point(field_set_char:tensorflow.EnumProfileSessionsAndToolsResponse.error_message)
1749}
1750inline void EnumProfileSessionsAndToolsResponse::set_error_message(const char* value, size_t size) {
1751
1752 error_message_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1753 ::std::string(reinterpret_cast<const char*>(value), size));
1754 // @@protoc_insertion_point(field_set_pointer:tensorflow.EnumProfileSessionsAndToolsResponse.error_message)
1755}
1756inline std::string* EnumProfileSessionsAndToolsResponse::mutable_error_message() {
1757
1758 // @@protoc_insertion_point(field_mutable:tensorflow.EnumProfileSessionsAndToolsResponse.error_message)
1759 return error_message_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1760}
1761inline std::string* EnumProfileSessionsAndToolsResponse::release_error_message() {
1762 // @@protoc_insertion_point(field_release:tensorflow.EnumProfileSessionsAndToolsResponse.error_message)
1763
1764 return error_message_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1765}
1766inline void EnumProfileSessionsAndToolsResponse::set_allocated_error_message(std::string* error_message) {
1767 if (error_message != nullptr) {
1768
1769 } else {
1770
1771 }
1772 error_message_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), error_message);
1773 // @@protoc_insertion_point(field_set_allocated:tensorflow.EnumProfileSessionsAndToolsResponse.error_message)
1774}
1775
1776// repeated .tensorflow.ProfileSessionInfo sessions = 2;
1777inline int EnumProfileSessionsAndToolsResponse::sessions_size() const {
1778 return sessions_.size();
1779}
1780inline void EnumProfileSessionsAndToolsResponse::clear_sessions() {
1781 sessions_.Clear();
1782}
1783inline ::tensorflow::ProfileSessionInfo* EnumProfileSessionsAndToolsResponse::mutable_sessions(int index) {
1784 // @@protoc_insertion_point(field_mutable:tensorflow.EnumProfileSessionsAndToolsResponse.sessions)
1785 return sessions_.Mutable(index);
1786}
1787inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::ProfileSessionInfo >*
1788EnumProfileSessionsAndToolsResponse::mutable_sessions() {
1789 // @@protoc_insertion_point(field_mutable_list:tensorflow.EnumProfileSessionsAndToolsResponse.sessions)
1790 return &sessions_;
1791}
1792inline const ::tensorflow::ProfileSessionInfo& EnumProfileSessionsAndToolsResponse::sessions(int index) const {
1793 // @@protoc_insertion_point(field_get:tensorflow.EnumProfileSessionsAndToolsResponse.sessions)
1794 return sessions_.Get(index);
1795}
1796inline ::tensorflow::ProfileSessionInfo* EnumProfileSessionsAndToolsResponse::add_sessions() {
1797 // @@protoc_insertion_point(field_add:tensorflow.EnumProfileSessionsAndToolsResponse.sessions)
1798 return sessions_.Add();
1799}
1800inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::ProfileSessionInfo >&
1801EnumProfileSessionsAndToolsResponse::sessions() const {
1802 // @@protoc_insertion_point(field_list:tensorflow.EnumProfileSessionsAndToolsResponse.sessions)
1803 return sessions_;
1804}
1805
1806// -------------------------------------------------------------------
1807
1808// -------------------------------------------------------------------
1809
1810// ProfileSessionDataRequest
1811
1812// string repository_root = 1;
1813inline void ProfileSessionDataRequest::clear_repository_root() {
1814 repository_root_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1815}
1816inline const std::string& ProfileSessionDataRequest::repository_root() const {
1817 // @@protoc_insertion_point(field_get:tensorflow.ProfileSessionDataRequest.repository_root)
1818 return repository_root_.GetNoArena();
1819}
1820inline void ProfileSessionDataRequest::set_repository_root(const std::string& value) {
1821
1822 repository_root_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
1823 // @@protoc_insertion_point(field_set:tensorflow.ProfileSessionDataRequest.repository_root)
1824}
1825inline void ProfileSessionDataRequest::set_repository_root(std::string&& value) {
1826
1827 repository_root_.SetNoArena(
1828 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1829 // @@protoc_insertion_point(field_set_rvalue:tensorflow.ProfileSessionDataRequest.repository_root)
1830}
1831inline void ProfileSessionDataRequest::set_repository_root(const char* value) {
1832 GOOGLE_DCHECK(value != nullptr);
1833
1834 repository_root_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1835 // @@protoc_insertion_point(field_set_char:tensorflow.ProfileSessionDataRequest.repository_root)
1836}
1837inline void ProfileSessionDataRequest::set_repository_root(const char* value, size_t size) {
1838
1839 repository_root_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1840 ::std::string(reinterpret_cast<const char*>(value), size));
1841 // @@protoc_insertion_point(field_set_pointer:tensorflow.ProfileSessionDataRequest.repository_root)
1842}
1843inline std::string* ProfileSessionDataRequest::mutable_repository_root() {
1844
1845 // @@protoc_insertion_point(field_mutable:tensorflow.ProfileSessionDataRequest.repository_root)
1846 return repository_root_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1847}
1848inline std::string* ProfileSessionDataRequest::release_repository_root() {
1849 // @@protoc_insertion_point(field_release:tensorflow.ProfileSessionDataRequest.repository_root)
1850
1851 return repository_root_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1852}
1853inline void ProfileSessionDataRequest::set_allocated_repository_root(std::string* repository_root) {
1854 if (repository_root != nullptr) {
1855
1856 } else {
1857
1858 }
1859 repository_root_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), repository_root);
1860 // @@protoc_insertion_point(field_set_allocated:tensorflow.ProfileSessionDataRequest.repository_root)
1861}
1862
1863// string session_id = 2;
1864inline void ProfileSessionDataRequest::clear_session_id() {
1865 session_id_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1866}
1867inline const std::string& ProfileSessionDataRequest::session_id() const {
1868 // @@protoc_insertion_point(field_get:tensorflow.ProfileSessionDataRequest.session_id)
1869 return session_id_.GetNoArena();
1870}
1871inline void ProfileSessionDataRequest::set_session_id(const std::string& value) {
1872
1873 session_id_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
1874 // @@protoc_insertion_point(field_set:tensorflow.ProfileSessionDataRequest.session_id)
1875}
1876inline void ProfileSessionDataRequest::set_session_id(std::string&& value) {
1877
1878 session_id_.SetNoArena(
1879 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1880 // @@protoc_insertion_point(field_set_rvalue:tensorflow.ProfileSessionDataRequest.session_id)
1881}
1882inline void ProfileSessionDataRequest::set_session_id(const char* value) {
1883 GOOGLE_DCHECK(value != nullptr);
1884
1885 session_id_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1886 // @@protoc_insertion_point(field_set_char:tensorflow.ProfileSessionDataRequest.session_id)
1887}
1888inline void ProfileSessionDataRequest::set_session_id(const char* value, size_t size) {
1889
1890 session_id_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1891 ::std::string(reinterpret_cast<const char*>(value), size));
1892 // @@protoc_insertion_point(field_set_pointer:tensorflow.ProfileSessionDataRequest.session_id)
1893}
1894inline std::string* ProfileSessionDataRequest::mutable_session_id() {
1895
1896 // @@protoc_insertion_point(field_mutable:tensorflow.ProfileSessionDataRequest.session_id)
1897 return session_id_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1898}
1899inline std::string* ProfileSessionDataRequest::release_session_id() {
1900 // @@protoc_insertion_point(field_release:tensorflow.ProfileSessionDataRequest.session_id)
1901
1902 return session_id_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1903}
1904inline void ProfileSessionDataRequest::set_allocated_session_id(std::string* session_id) {
1905 if (session_id != nullptr) {
1906
1907 } else {
1908
1909 }
1910 session_id_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), session_id);
1911 // @@protoc_insertion_point(field_set_allocated:tensorflow.ProfileSessionDataRequest.session_id)
1912}
1913
1914// string host_name = 5;
1915inline void ProfileSessionDataRequest::clear_host_name() {
1916 host_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1917}
1918inline const std::string& ProfileSessionDataRequest::host_name() const {
1919 // @@protoc_insertion_point(field_get:tensorflow.ProfileSessionDataRequest.host_name)
1920 return host_name_.GetNoArena();
1921}
1922inline void ProfileSessionDataRequest::set_host_name(const std::string& value) {
1923
1924 host_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
1925 // @@protoc_insertion_point(field_set:tensorflow.ProfileSessionDataRequest.host_name)
1926}
1927inline void ProfileSessionDataRequest::set_host_name(std::string&& value) {
1928
1929 host_name_.SetNoArena(
1930 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1931 // @@protoc_insertion_point(field_set_rvalue:tensorflow.ProfileSessionDataRequest.host_name)
1932}
1933inline void ProfileSessionDataRequest::set_host_name(const char* value) {
1934 GOOGLE_DCHECK(value != nullptr);
1935
1936 host_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1937 // @@protoc_insertion_point(field_set_char:tensorflow.ProfileSessionDataRequest.host_name)
1938}
1939inline void ProfileSessionDataRequest::set_host_name(const char* value, size_t size) {
1940
1941 host_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1942 ::std::string(reinterpret_cast<const char*>(value), size));
1943 // @@protoc_insertion_point(field_set_pointer:tensorflow.ProfileSessionDataRequest.host_name)
1944}
1945inline std::string* ProfileSessionDataRequest::mutable_host_name() {
1946
1947 // @@protoc_insertion_point(field_mutable:tensorflow.ProfileSessionDataRequest.host_name)
1948 return host_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1949}
1950inline std::string* ProfileSessionDataRequest::release_host_name() {
1951 // @@protoc_insertion_point(field_release:tensorflow.ProfileSessionDataRequest.host_name)
1952
1953 return host_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1954}
1955inline void ProfileSessionDataRequest::set_allocated_host_name(std::string* host_name) {
1956 if (host_name != nullptr) {
1957
1958 } else {
1959
1960 }
1961 host_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), host_name);
1962 // @@protoc_insertion_point(field_set_allocated:tensorflow.ProfileSessionDataRequest.host_name)
1963}
1964
1965// string tool_name = 3;
1966inline void ProfileSessionDataRequest::clear_tool_name() {
1967 tool_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1968}
1969inline const std::string& ProfileSessionDataRequest::tool_name() const {
1970 // @@protoc_insertion_point(field_get:tensorflow.ProfileSessionDataRequest.tool_name)
1971 return tool_name_.GetNoArena();
1972}
1973inline void ProfileSessionDataRequest::set_tool_name(const std::string& value) {
1974
1975 tool_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
1976 // @@protoc_insertion_point(field_set:tensorflow.ProfileSessionDataRequest.tool_name)
1977}
1978inline void ProfileSessionDataRequest::set_tool_name(std::string&& value) {
1979
1980 tool_name_.SetNoArena(
1981 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1982 // @@protoc_insertion_point(field_set_rvalue:tensorflow.ProfileSessionDataRequest.tool_name)
1983}
1984inline void ProfileSessionDataRequest::set_tool_name(const char* value) {
1985 GOOGLE_DCHECK(value != nullptr);
1986
1987 tool_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1988 // @@protoc_insertion_point(field_set_char:tensorflow.ProfileSessionDataRequest.tool_name)
1989}
1990inline void ProfileSessionDataRequest::set_tool_name(const char* value, size_t size) {
1991
1992 tool_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1993 ::std::string(reinterpret_cast<const char*>(value), size));
1994 // @@protoc_insertion_point(field_set_pointer:tensorflow.ProfileSessionDataRequest.tool_name)
1995}
1996inline std::string* ProfileSessionDataRequest::mutable_tool_name() {
1997
1998 // @@protoc_insertion_point(field_mutable:tensorflow.ProfileSessionDataRequest.tool_name)
1999 return tool_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
2000}
2001inline std::string* ProfileSessionDataRequest::release_tool_name() {
2002 // @@protoc_insertion_point(field_release:tensorflow.ProfileSessionDataRequest.tool_name)
2003
2004 return tool_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
2005}
2006inline void ProfileSessionDataRequest::set_allocated_tool_name(std::string* tool_name) {
2007 if (tool_name != nullptr) {
2008
2009 } else {
2010
2011 }
2012 tool_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), tool_name);
2013 // @@protoc_insertion_point(field_set_allocated:tensorflow.ProfileSessionDataRequest.tool_name)
2014}
2015
2016// map<string, string> parameters = 4;
2017inline int ProfileSessionDataRequest::parameters_size() const {
2018 return parameters_.size();
2019}
2020inline void ProfileSessionDataRequest::clear_parameters() {
2021 parameters_.Clear();
2022}
2023inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >&
2024ProfileSessionDataRequest::parameters() const {
2025 // @@protoc_insertion_point(field_map:tensorflow.ProfileSessionDataRequest.parameters)
2026 return parameters_.GetMap();
2027}
2028inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >*
2029ProfileSessionDataRequest::mutable_parameters() {
2030 // @@protoc_insertion_point(field_mutable_map:tensorflow.ProfileSessionDataRequest.parameters)
2031 return parameters_.MutableMap();
2032}
2033
2034// -------------------------------------------------------------------
2035
2036// ProfileSessionDataResponse
2037
2038// string error_message = 1;
2039inline void ProfileSessionDataResponse::clear_error_message() {
2040 error_message_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
2041}
2042inline const std::string& ProfileSessionDataResponse::error_message() const {
2043 // @@protoc_insertion_point(field_get:tensorflow.ProfileSessionDataResponse.error_message)
2044 return error_message_.GetNoArena();
2045}
2046inline void ProfileSessionDataResponse::set_error_message(const std::string& value) {
2047
2048 error_message_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
2049 // @@protoc_insertion_point(field_set:tensorflow.ProfileSessionDataResponse.error_message)
2050}
2051inline void ProfileSessionDataResponse::set_error_message(std::string&& value) {
2052
2053 error_message_.SetNoArena(
2054 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2055 // @@protoc_insertion_point(field_set_rvalue:tensorflow.ProfileSessionDataResponse.error_message)
2056}
2057inline void ProfileSessionDataResponse::set_error_message(const char* value) {
2058 GOOGLE_DCHECK(value != nullptr);
2059
2060 error_message_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2061 // @@protoc_insertion_point(field_set_char:tensorflow.ProfileSessionDataResponse.error_message)
2062}
2063inline void ProfileSessionDataResponse::set_error_message(const char* value, size_t size) {
2064
2065 error_message_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
2066 ::std::string(reinterpret_cast<const char*>(value), size));
2067 // @@protoc_insertion_point(field_set_pointer:tensorflow.ProfileSessionDataResponse.error_message)
2068}
2069inline std::string* ProfileSessionDataResponse::mutable_error_message() {
2070
2071 // @@protoc_insertion_point(field_mutable:tensorflow.ProfileSessionDataResponse.error_message)
2072 return error_message_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
2073}
2074inline std::string* ProfileSessionDataResponse::release_error_message() {
2075 // @@protoc_insertion_point(field_release:tensorflow.ProfileSessionDataResponse.error_message)
2076
2077 return error_message_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
2078}
2079inline void ProfileSessionDataResponse::set_allocated_error_message(std::string* error_message) {
2080 if (error_message != nullptr) {
2081
2082 } else {
2083
2084 }
2085 error_message_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), error_message);
2086 // @@protoc_insertion_point(field_set_allocated:tensorflow.ProfileSessionDataResponse.error_message)
2087}
2088
2089// string output_format = 2;
2090inline void ProfileSessionDataResponse::clear_output_format() {
2091 output_format_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
2092}
2093inline const std::string& ProfileSessionDataResponse::output_format() const {
2094 // @@protoc_insertion_point(field_get:tensorflow.ProfileSessionDataResponse.output_format)
2095 return output_format_.GetNoArena();
2096}
2097inline void ProfileSessionDataResponse::set_output_format(const std::string& value) {
2098
2099 output_format_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
2100 // @@protoc_insertion_point(field_set:tensorflow.ProfileSessionDataResponse.output_format)
2101}
2102inline void ProfileSessionDataResponse::set_output_format(std::string&& value) {
2103
2104 output_format_.SetNoArena(
2105 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2106 // @@protoc_insertion_point(field_set_rvalue:tensorflow.ProfileSessionDataResponse.output_format)
2107}
2108inline void ProfileSessionDataResponse::set_output_format(const char* value) {
2109 GOOGLE_DCHECK(value != nullptr);
2110
2111 output_format_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2112 // @@protoc_insertion_point(field_set_char:tensorflow.ProfileSessionDataResponse.output_format)
2113}
2114inline void ProfileSessionDataResponse::set_output_format(const char* value, size_t size) {
2115
2116 output_format_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
2117 ::std::string(reinterpret_cast<const char*>(value), size));
2118 // @@protoc_insertion_point(field_set_pointer:tensorflow.ProfileSessionDataResponse.output_format)
2119}
2120inline std::string* ProfileSessionDataResponse::mutable_output_format() {
2121
2122 // @@protoc_insertion_point(field_mutable:tensorflow.ProfileSessionDataResponse.output_format)
2123 return output_format_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
2124}
2125inline std::string* ProfileSessionDataResponse::release_output_format() {
2126 // @@protoc_insertion_point(field_release:tensorflow.ProfileSessionDataResponse.output_format)
2127
2128 return output_format_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
2129}
2130inline void ProfileSessionDataResponse::set_allocated_output_format(std::string* output_format) {
2131 if (output_format != nullptr) {
2132
2133 } else {
2134
2135 }
2136 output_format_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), output_format);
2137 // @@protoc_insertion_point(field_set_allocated:tensorflow.ProfileSessionDataResponse.output_format)
2138}
2139
2140// bytes output = 3;
2141inline void ProfileSessionDataResponse::clear_output() {
2142 output_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
2143}
2144inline const std::string& ProfileSessionDataResponse::output() const {
2145 // @@protoc_insertion_point(field_get:tensorflow.ProfileSessionDataResponse.output)
2146 return output_.GetNoArena();
2147}
2148inline void ProfileSessionDataResponse::set_output(const std::string& value) {
2149
2150 output_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
2151 // @@protoc_insertion_point(field_set:tensorflow.ProfileSessionDataResponse.output)
2152}
2153inline void ProfileSessionDataResponse::set_output(std::string&& value) {
2154
2155 output_.SetNoArena(
2156 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2157 // @@protoc_insertion_point(field_set_rvalue:tensorflow.ProfileSessionDataResponse.output)
2158}
2159inline void ProfileSessionDataResponse::set_output(const char* value) {
2160 GOOGLE_DCHECK(value != nullptr);
2161
2162 output_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2163 // @@protoc_insertion_point(field_set_char:tensorflow.ProfileSessionDataResponse.output)
2164}
2165inline void ProfileSessionDataResponse::set_output(const void* value, size_t size) {
2166
2167 output_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
2168 ::std::string(reinterpret_cast<const char*>(value), size));
2169 // @@protoc_insertion_point(field_set_pointer:tensorflow.ProfileSessionDataResponse.output)
2170}
2171inline std::string* ProfileSessionDataResponse::mutable_output() {
2172
2173 // @@protoc_insertion_point(field_mutable:tensorflow.ProfileSessionDataResponse.output)
2174 return output_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
2175}
2176inline std::string* ProfileSessionDataResponse::release_output() {
2177 // @@protoc_insertion_point(field_release:tensorflow.ProfileSessionDataResponse.output)
2178
2179 return output_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
2180}
2181inline void ProfileSessionDataResponse::set_allocated_output(std::string* output) {
2182 if (output != nullptr) {
2183
2184 } else {
2185
2186 }
2187 output_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), output);
2188 // @@protoc_insertion_point(field_set_allocated:tensorflow.ProfileSessionDataResponse.output)
2189}
2190
2191#ifdef __GNUC__
2192 #pragma GCC diagnostic pop
2193#endif // __GNUC__
2194// -------------------------------------------------------------------
2195
2196// -------------------------------------------------------------------
2197
2198// -------------------------------------------------------------------
2199
2200// -------------------------------------------------------------------
2201
2202// -------------------------------------------------------------------
2203
2204// -------------------------------------------------------------------
2205
2206// -------------------------------------------------------------------
2207
2208
2209// @@protoc_insertion_point(namespace_scope)
2210
2211} // namespace tensorflow
2212
2213// @@protoc_insertion_point(global_scope)
2214
2215#include <google/protobuf/port_undef.inc>
2216#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fprofiler_2fprofiler_5fanalysis_2eproto
2217