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