1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: tensorflow/core/profiler/tfprof_options.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fprofiler_2ftfprof_5foptions_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fprofiler_2ftfprof_5foptions_2eproto
6
7#include <limits>
8#include <string>
9
10#include <google/protobuf/port_def.inc>
11#if PROTOBUF_VERSION < 3009000
12#error This file was generated by a newer version of protoc which is
13#error incompatible with your Protocol Buffer headers. Please update
14#error your headers.
15#endif
16#if 3009002 < PROTOBUF_MIN_PROTOC_VERSION
17#error This file was generated by an older version of protoc which is
18#error incompatible with your Protocol Buffer headers. Please
19#error regenerate this file with a newer version of protoc.
20#endif
21
22#include <google/protobuf/port_undef.inc>
23#include <google/protobuf/io/coded_stream.h>
24#include <google/protobuf/arena.h>
25#include <google/protobuf/arenastring.h>
26#include <google/protobuf/generated_message_table_driven.h>
27#include <google/protobuf/generated_message_util.h>
28#include <google/protobuf/inlined_string_field.h>
29#include <google/protobuf/metadata.h>
30#include <google/protobuf/generated_message_reflection.h>
31#include <google/protobuf/message.h>
32#include <google/protobuf/repeated_field.h> // IWYU pragma: export
33#include <google/protobuf/extension_set.h> // IWYU pragma: export
34#include <google/protobuf/map.h> // IWYU pragma: export
35#include <google/protobuf/map_entry.h>
36#include <google/protobuf/map_field_inl.h>
37#include <google/protobuf/unknown_field_set.h>
38// @@protoc_insertion_point(includes)
39#include <google/protobuf/port_def.inc>
40#define PROTOBUF_INTERNAL_EXPORT_tensorflow_2fcore_2fprofiler_2ftfprof_5foptions_2eproto
41PROTOBUF_NAMESPACE_OPEN
42namespace internal {
43class AnyMetadata;
44} // namespace internal
45PROTOBUF_NAMESPACE_CLOSE
46
47// Internal implementation detail -- do not use these members.
48struct TableStruct_tensorflow_2fcore_2fprofiler_2ftfprof_5foptions_2eproto {
49 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
50 PROTOBUF_SECTION_VARIABLE(protodesc_cold);
51 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
52 PROTOBUF_SECTION_VARIABLE(protodesc_cold);
53 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[5]
54 PROTOBUF_SECTION_VARIABLE(protodesc_cold);
55 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
56 static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
57 static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
58};
59extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5foptions_2eproto;
60namespace tensorflow {
61namespace tfprof {
62class AdvisorOptionsProto;
63class AdvisorOptionsProtoDefaultTypeInternal;
64extern AdvisorOptionsProtoDefaultTypeInternal _AdvisorOptionsProto_default_instance_;
65class AdvisorOptionsProto_CheckerOption;
66class AdvisorOptionsProto_CheckerOptionDefaultTypeInternal;
67extern AdvisorOptionsProto_CheckerOptionDefaultTypeInternal _AdvisorOptionsProto_CheckerOption_default_instance_;
68class AdvisorOptionsProto_CheckerOption_OptionsEntry_DoNotUse;
69class AdvisorOptionsProto_CheckerOption_OptionsEntry_DoNotUseDefaultTypeInternal;
70extern AdvisorOptionsProto_CheckerOption_OptionsEntry_DoNotUseDefaultTypeInternal _AdvisorOptionsProto_CheckerOption_OptionsEntry_DoNotUse_default_instance_;
71class AdvisorOptionsProto_CheckersEntry_DoNotUse;
72class AdvisorOptionsProto_CheckersEntry_DoNotUseDefaultTypeInternal;
73extern AdvisorOptionsProto_CheckersEntry_DoNotUseDefaultTypeInternal _AdvisorOptionsProto_CheckersEntry_DoNotUse_default_instance_;
74class OptionsProto;
75class OptionsProtoDefaultTypeInternal;
76extern OptionsProtoDefaultTypeInternal _OptionsProto_default_instance_;
77} // namespace tfprof
78} // namespace tensorflow
79PROTOBUF_NAMESPACE_OPEN
80template<> ::tensorflow::tfprof::AdvisorOptionsProto* Arena::CreateMaybeMessage<::tensorflow::tfprof::AdvisorOptionsProto>(Arena*);
81template<> ::tensorflow::tfprof::AdvisorOptionsProto_CheckerOption* Arena::CreateMaybeMessage<::tensorflow::tfprof::AdvisorOptionsProto_CheckerOption>(Arena*);
82template<> ::tensorflow::tfprof::AdvisorOptionsProto_CheckerOption_OptionsEntry_DoNotUse* Arena::CreateMaybeMessage<::tensorflow::tfprof::AdvisorOptionsProto_CheckerOption_OptionsEntry_DoNotUse>(Arena*);
83template<> ::tensorflow::tfprof::AdvisorOptionsProto_CheckersEntry_DoNotUse* Arena::CreateMaybeMessage<::tensorflow::tfprof::AdvisorOptionsProto_CheckersEntry_DoNotUse>(Arena*);
84template<> ::tensorflow::tfprof::OptionsProto* Arena::CreateMaybeMessage<::tensorflow::tfprof::OptionsProto>(Arena*);
85PROTOBUF_NAMESPACE_CLOSE
86namespace tensorflow {
87namespace tfprof {
88
89// ===================================================================
90
91class OptionsProto :
92 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.tfprof.OptionsProto) */ {
93 public:
94 OptionsProto();
95 virtual ~OptionsProto();
96
97 OptionsProto(const OptionsProto& from);
98 OptionsProto(OptionsProto&& from) noexcept
99 : OptionsProto() {
100 *this = ::std::move(from);
101 }
102
103 inline OptionsProto& operator=(const OptionsProto& from) {
104 CopyFrom(from);
105 return *this;
106 }
107 inline OptionsProto& operator=(OptionsProto&& from) noexcept {
108 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
109 if (this != &from) InternalSwap(&from);
110 } else {
111 CopyFrom(from);
112 }
113 return *this;
114 }
115
116 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
117 return GetDescriptor();
118 }
119 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
120 return GetMetadataStatic().descriptor;
121 }
122 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
123 return GetMetadataStatic().reflection;
124 }
125 static const OptionsProto& default_instance();
126
127 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
128 static inline const OptionsProto* internal_default_instance() {
129 return reinterpret_cast<const OptionsProto*>(
130 &_OptionsProto_default_instance_);
131 }
132 static constexpr int kIndexInFileMessages =
133 0;
134
135 friend void swap(OptionsProto& a, OptionsProto& b) {
136 a.Swap(&b);
137 }
138 inline void Swap(OptionsProto* other) {
139 if (other == this) return;
140 InternalSwap(other);
141 }
142
143 // implements Message ----------------------------------------------
144
145 inline OptionsProto* New() const final {
146 return CreateMaybeMessage<OptionsProto>(nullptr);
147 }
148
149 OptionsProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
150 return CreateMaybeMessage<OptionsProto>(arena);
151 }
152 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
153 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
154 void CopyFrom(const OptionsProto& from);
155 void MergeFrom(const OptionsProto& from);
156 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
157 bool IsInitialized() const final;
158
159 size_t ByteSizeLong() const final;
160 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
161 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
162 #else
163 bool MergePartialFromCodedStream(
164 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
165 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
166 void SerializeWithCachedSizes(
167 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
168 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
169 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
170 int GetCachedSize() const final { return _cached_size_.Get(); }
171
172 private:
173 inline void SharedCtor();
174 inline void SharedDtor();
175 void SetCachedSize(int size) const final;
176 void InternalSwap(OptionsProto* other);
177 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
178 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
179 return "tensorflow.tfprof.OptionsProto";
180 }
181 private:
182 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
183 return nullptr;
184 }
185 inline void* MaybeArenaPtr() const {
186 return nullptr;
187 }
188 public:
189
190 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
191 private:
192 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
193 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5foptions_2eproto);
194 return ::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5foptions_2eproto.file_level_metadata[kIndexInFileMessages];
195 }
196
197 public:
198
199 // nested types ----------------------------------------------------
200
201 // accessors -------------------------------------------------------
202
203 enum : int {
204 kAccountTypeRegexesFieldNumber = 8,
205 kStartNameRegexesFieldNumber = 9,
206 kTrimNameRegexesFieldNumber = 10,
207 kShowNameRegexesFieldNumber = 11,
208 kHideNameRegexesFieldNumber = 12,
209 kSelectFieldNumber = 14,
210 kOrderByFieldNumber = 7,
211 kOutputFieldNumber = 15,
212 kDumpToFileFieldNumber = 16,
213 kMaxDepthFieldNumber = 1,
214 kMinBytesFieldNumber = 2,
215 kMinMicrosFieldNumber = 3,
216 kMinParamsFieldNumber = 4,
217 kMinFloatOpsFieldNumber = 5,
218 kMinOccurrenceFieldNumber = 17,
219 kStepFieldNumber = 18,
220 kMinPeakBytesFieldNumber = 19,
221 kMinResidualBytesFieldNumber = 20,
222 kMinOutputBytesFieldNumber = 21,
223 kMinAcceleratorMicrosFieldNumber = 22,
224 kMinCpuMicrosFieldNumber = 23,
225 kAccountDisplayedOpOnlyFieldNumber = 13,
226 };
227 // repeated string account_type_regexes = 8;
228 int account_type_regexes_size() const;
229 void clear_account_type_regexes();
230 const std::string& account_type_regexes(int index) const;
231 std::string* mutable_account_type_regexes(int index);
232 void set_account_type_regexes(int index, const std::string& value);
233 void set_account_type_regexes(int index, std::string&& value);
234 void set_account_type_regexes(int index, const char* value);
235 void set_account_type_regexes(int index, const char* value, size_t size);
236 std::string* add_account_type_regexes();
237 void add_account_type_regexes(const std::string& value);
238 void add_account_type_regexes(std::string&& value);
239 void add_account_type_regexes(const char* value);
240 void add_account_type_regexes(const char* value, size_t size);
241 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& account_type_regexes() const;
242 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_account_type_regexes();
243
244 // repeated string start_name_regexes = 9;
245 int start_name_regexes_size() const;
246 void clear_start_name_regexes();
247 const std::string& start_name_regexes(int index) const;
248 std::string* mutable_start_name_regexes(int index);
249 void set_start_name_regexes(int index, const std::string& value);
250 void set_start_name_regexes(int index, std::string&& value);
251 void set_start_name_regexes(int index, const char* value);
252 void set_start_name_regexes(int index, const char* value, size_t size);
253 std::string* add_start_name_regexes();
254 void add_start_name_regexes(const std::string& value);
255 void add_start_name_regexes(std::string&& value);
256 void add_start_name_regexes(const char* value);
257 void add_start_name_regexes(const char* value, size_t size);
258 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& start_name_regexes() const;
259 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_start_name_regexes();
260
261 // repeated string trim_name_regexes = 10;
262 int trim_name_regexes_size() const;
263 void clear_trim_name_regexes();
264 const std::string& trim_name_regexes(int index) const;
265 std::string* mutable_trim_name_regexes(int index);
266 void set_trim_name_regexes(int index, const std::string& value);
267 void set_trim_name_regexes(int index, std::string&& value);
268 void set_trim_name_regexes(int index, const char* value);
269 void set_trim_name_regexes(int index, const char* value, size_t size);
270 std::string* add_trim_name_regexes();
271 void add_trim_name_regexes(const std::string& value);
272 void add_trim_name_regexes(std::string&& value);
273 void add_trim_name_regexes(const char* value);
274 void add_trim_name_regexes(const char* value, size_t size);
275 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& trim_name_regexes() const;
276 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_trim_name_regexes();
277
278 // repeated string show_name_regexes = 11;
279 int show_name_regexes_size() const;
280 void clear_show_name_regexes();
281 const std::string& show_name_regexes(int index) const;
282 std::string* mutable_show_name_regexes(int index);
283 void set_show_name_regexes(int index, const std::string& value);
284 void set_show_name_regexes(int index, std::string&& value);
285 void set_show_name_regexes(int index, const char* value);
286 void set_show_name_regexes(int index, const char* value, size_t size);
287 std::string* add_show_name_regexes();
288 void add_show_name_regexes(const std::string& value);
289 void add_show_name_regexes(std::string&& value);
290 void add_show_name_regexes(const char* value);
291 void add_show_name_regexes(const char* value, size_t size);
292 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& show_name_regexes() const;
293 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_show_name_regexes();
294
295 // repeated string hide_name_regexes = 12;
296 int hide_name_regexes_size() const;
297 void clear_hide_name_regexes();
298 const std::string& hide_name_regexes(int index) const;
299 std::string* mutable_hide_name_regexes(int index);
300 void set_hide_name_regexes(int index, const std::string& value);
301 void set_hide_name_regexes(int index, std::string&& value);
302 void set_hide_name_regexes(int index, const char* value);
303 void set_hide_name_regexes(int index, const char* value, size_t size);
304 std::string* add_hide_name_regexes();
305 void add_hide_name_regexes(const std::string& value);
306 void add_hide_name_regexes(std::string&& value);
307 void add_hide_name_regexes(const char* value);
308 void add_hide_name_regexes(const char* value, size_t size);
309 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& hide_name_regexes() const;
310 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_hide_name_regexes();
311
312 // repeated string select = 14;
313 int select_size() const;
314 void clear_select();
315 const std::string& select(int index) const;
316 std::string* mutable_select(int index);
317 void set_select(int index, const std::string& value);
318 void set_select(int index, std::string&& value);
319 void set_select(int index, const char* value);
320 void set_select(int index, const char* value, size_t size);
321 std::string* add_select();
322 void add_select(const std::string& value);
323 void add_select(std::string&& value);
324 void add_select(const char* value);
325 void add_select(const char* value, size_t size);
326 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& select() const;
327 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_select();
328
329 // string order_by = 7;
330 void clear_order_by();
331 const std::string& order_by() const;
332 void set_order_by(const std::string& value);
333 void set_order_by(std::string&& value);
334 void set_order_by(const char* value);
335 void set_order_by(const char* value, size_t size);
336 std::string* mutable_order_by();
337 std::string* release_order_by();
338 void set_allocated_order_by(std::string* order_by);
339
340 // string output = 15;
341 void clear_output();
342 const std::string& output() const;
343 void set_output(const std::string& value);
344 void set_output(std::string&& value);
345 void set_output(const char* value);
346 void set_output(const char* value, size_t size);
347 std::string* mutable_output();
348 std::string* release_output();
349 void set_allocated_output(std::string* output);
350
351 // string dump_to_file = 16;
352 void clear_dump_to_file();
353 const std::string& dump_to_file() const;
354 void set_dump_to_file(const std::string& value);
355 void set_dump_to_file(std::string&& value);
356 void set_dump_to_file(const char* value);
357 void set_dump_to_file(const char* value, size_t size);
358 std::string* mutable_dump_to_file();
359 std::string* release_dump_to_file();
360 void set_allocated_dump_to_file(std::string* dump_to_file);
361
362 // int64 max_depth = 1;
363 void clear_max_depth();
364 ::PROTOBUF_NAMESPACE_ID::int64 max_depth() const;
365 void set_max_depth(::PROTOBUF_NAMESPACE_ID::int64 value);
366
367 // int64 min_bytes = 2;
368 void clear_min_bytes();
369 ::PROTOBUF_NAMESPACE_ID::int64 min_bytes() const;
370 void set_min_bytes(::PROTOBUF_NAMESPACE_ID::int64 value);
371
372 // int64 min_micros = 3;
373 void clear_min_micros();
374 ::PROTOBUF_NAMESPACE_ID::int64 min_micros() const;
375 void set_min_micros(::PROTOBUF_NAMESPACE_ID::int64 value);
376
377 // int64 min_params = 4;
378 void clear_min_params();
379 ::PROTOBUF_NAMESPACE_ID::int64 min_params() const;
380 void set_min_params(::PROTOBUF_NAMESPACE_ID::int64 value);
381
382 // int64 min_float_ops = 5;
383 void clear_min_float_ops();
384 ::PROTOBUF_NAMESPACE_ID::int64 min_float_ops() const;
385 void set_min_float_ops(::PROTOBUF_NAMESPACE_ID::int64 value);
386
387 // int64 min_occurrence = 17;
388 void clear_min_occurrence();
389 ::PROTOBUF_NAMESPACE_ID::int64 min_occurrence() const;
390 void set_min_occurrence(::PROTOBUF_NAMESPACE_ID::int64 value);
391
392 // int64 step = 18;
393 void clear_step();
394 ::PROTOBUF_NAMESPACE_ID::int64 step() const;
395 void set_step(::PROTOBUF_NAMESPACE_ID::int64 value);
396
397 // int64 min_peak_bytes = 19;
398 void clear_min_peak_bytes();
399 ::PROTOBUF_NAMESPACE_ID::int64 min_peak_bytes() const;
400 void set_min_peak_bytes(::PROTOBUF_NAMESPACE_ID::int64 value);
401
402 // int64 min_residual_bytes = 20;
403 void clear_min_residual_bytes();
404 ::PROTOBUF_NAMESPACE_ID::int64 min_residual_bytes() const;
405 void set_min_residual_bytes(::PROTOBUF_NAMESPACE_ID::int64 value);
406
407 // int64 min_output_bytes = 21;
408 void clear_min_output_bytes();
409 ::PROTOBUF_NAMESPACE_ID::int64 min_output_bytes() const;
410 void set_min_output_bytes(::PROTOBUF_NAMESPACE_ID::int64 value);
411
412 // int64 min_accelerator_micros = 22;
413 void clear_min_accelerator_micros();
414 ::PROTOBUF_NAMESPACE_ID::int64 min_accelerator_micros() const;
415 void set_min_accelerator_micros(::PROTOBUF_NAMESPACE_ID::int64 value);
416
417 // int64 min_cpu_micros = 23;
418 void clear_min_cpu_micros();
419 ::PROTOBUF_NAMESPACE_ID::int64 min_cpu_micros() const;
420 void set_min_cpu_micros(::PROTOBUF_NAMESPACE_ID::int64 value);
421
422 // bool account_displayed_op_only = 13;
423 void clear_account_displayed_op_only();
424 bool account_displayed_op_only() const;
425 void set_account_displayed_op_only(bool value);
426
427 // @@protoc_insertion_point(class_scope:tensorflow.tfprof.OptionsProto)
428 private:
429 class _Internal;
430
431 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
432 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> account_type_regexes_;
433 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> start_name_regexes_;
434 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> trim_name_regexes_;
435 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> show_name_regexes_;
436 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> hide_name_regexes_;
437 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> select_;
438 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr order_by_;
439 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr output_;
440 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr dump_to_file_;
441 ::PROTOBUF_NAMESPACE_ID::int64 max_depth_;
442 ::PROTOBUF_NAMESPACE_ID::int64 min_bytes_;
443 ::PROTOBUF_NAMESPACE_ID::int64 min_micros_;
444 ::PROTOBUF_NAMESPACE_ID::int64 min_params_;
445 ::PROTOBUF_NAMESPACE_ID::int64 min_float_ops_;
446 ::PROTOBUF_NAMESPACE_ID::int64 min_occurrence_;
447 ::PROTOBUF_NAMESPACE_ID::int64 step_;
448 ::PROTOBUF_NAMESPACE_ID::int64 min_peak_bytes_;
449 ::PROTOBUF_NAMESPACE_ID::int64 min_residual_bytes_;
450 ::PROTOBUF_NAMESPACE_ID::int64 min_output_bytes_;
451 ::PROTOBUF_NAMESPACE_ID::int64 min_accelerator_micros_;
452 ::PROTOBUF_NAMESPACE_ID::int64 min_cpu_micros_;
453 bool account_displayed_op_only_;
454 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
455 friend struct ::TableStruct_tensorflow_2fcore_2fprofiler_2ftfprof_5foptions_2eproto;
456};
457// -------------------------------------------------------------------
458
459class AdvisorOptionsProto_CheckersEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<AdvisorOptionsProto_CheckersEntry_DoNotUse,
460 std::string, ::tensorflow::tfprof::AdvisorOptionsProto_CheckerOption,
461 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
462 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE,
463 0 > {
464public:
465 typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<AdvisorOptionsProto_CheckersEntry_DoNotUse,
466 std::string, ::tensorflow::tfprof::AdvisorOptionsProto_CheckerOption,
467 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
468 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE,
469 0 > SuperType;
470 AdvisorOptionsProto_CheckersEntry_DoNotUse();
471 AdvisorOptionsProto_CheckersEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
472 void MergeFrom(const AdvisorOptionsProto_CheckersEntry_DoNotUse& other);
473 static const AdvisorOptionsProto_CheckersEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const AdvisorOptionsProto_CheckersEntry_DoNotUse*>(&_AdvisorOptionsProto_CheckersEntry_DoNotUse_default_instance_); }
474 static bool ValidateKey(std::string* s) {
475 return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), s->size(), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "tensorflow.tfprof.AdvisorOptionsProto.CheckersEntry.key");
476 }
477 static bool ValidateValue(void*) { return true; }
478 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& other) final;
479 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
480 private:
481 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
482 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5foptions_2eproto);
483 return ::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5foptions_2eproto.file_level_metadata[1];
484 }
485
486 public:
487};
488
489// -------------------------------------------------------------------
490
491class AdvisorOptionsProto_CheckerOption_OptionsEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<AdvisorOptionsProto_CheckerOption_OptionsEntry_DoNotUse,
492 std::string, std::string,
493 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
494 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
495 0 > {
496public:
497 typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<AdvisorOptionsProto_CheckerOption_OptionsEntry_DoNotUse,
498 std::string, std::string,
499 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
500 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
501 0 > SuperType;
502 AdvisorOptionsProto_CheckerOption_OptionsEntry_DoNotUse();
503 AdvisorOptionsProto_CheckerOption_OptionsEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
504 void MergeFrom(const AdvisorOptionsProto_CheckerOption_OptionsEntry_DoNotUse& other);
505 static const AdvisorOptionsProto_CheckerOption_OptionsEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const AdvisorOptionsProto_CheckerOption_OptionsEntry_DoNotUse*>(&_AdvisorOptionsProto_CheckerOption_OptionsEntry_DoNotUse_default_instance_); }
506 static bool ValidateKey(std::string* s) {
507 return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), s->size(), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "tensorflow.tfprof.AdvisorOptionsProto.CheckerOption.OptionsEntry.key");
508 }
509 static bool ValidateValue(std::string* s) {
510 return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), s->size(), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "tensorflow.tfprof.AdvisorOptionsProto.CheckerOption.OptionsEntry.value");
511 }
512 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& other) final;
513 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
514 private:
515 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
516 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5foptions_2eproto);
517 return ::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5foptions_2eproto.file_level_metadata[2];
518 }
519
520 public:
521};
522
523// -------------------------------------------------------------------
524
525class AdvisorOptionsProto_CheckerOption :
526 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.tfprof.AdvisorOptionsProto.CheckerOption) */ {
527 public:
528 AdvisorOptionsProto_CheckerOption();
529 virtual ~AdvisorOptionsProto_CheckerOption();
530
531 AdvisorOptionsProto_CheckerOption(const AdvisorOptionsProto_CheckerOption& from);
532 AdvisorOptionsProto_CheckerOption(AdvisorOptionsProto_CheckerOption&& from) noexcept
533 : AdvisorOptionsProto_CheckerOption() {
534 *this = ::std::move(from);
535 }
536
537 inline AdvisorOptionsProto_CheckerOption& operator=(const AdvisorOptionsProto_CheckerOption& from) {
538 CopyFrom(from);
539 return *this;
540 }
541 inline AdvisorOptionsProto_CheckerOption& operator=(AdvisorOptionsProto_CheckerOption&& from) noexcept {
542 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
543 if (this != &from) InternalSwap(&from);
544 } else {
545 CopyFrom(from);
546 }
547 return *this;
548 }
549
550 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
551 return GetDescriptor();
552 }
553 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
554 return GetMetadataStatic().descriptor;
555 }
556 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
557 return GetMetadataStatic().reflection;
558 }
559 static const AdvisorOptionsProto_CheckerOption& default_instance();
560
561 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
562 static inline const AdvisorOptionsProto_CheckerOption* internal_default_instance() {
563 return reinterpret_cast<const AdvisorOptionsProto_CheckerOption*>(
564 &_AdvisorOptionsProto_CheckerOption_default_instance_);
565 }
566 static constexpr int kIndexInFileMessages =
567 3;
568
569 friend void swap(AdvisorOptionsProto_CheckerOption& a, AdvisorOptionsProto_CheckerOption& b) {
570 a.Swap(&b);
571 }
572 inline void Swap(AdvisorOptionsProto_CheckerOption* other) {
573 if (other == this) return;
574 InternalSwap(other);
575 }
576
577 // implements Message ----------------------------------------------
578
579 inline AdvisorOptionsProto_CheckerOption* New() const final {
580 return CreateMaybeMessage<AdvisorOptionsProto_CheckerOption>(nullptr);
581 }
582
583 AdvisorOptionsProto_CheckerOption* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
584 return CreateMaybeMessage<AdvisorOptionsProto_CheckerOption>(arena);
585 }
586 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
587 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
588 void CopyFrom(const AdvisorOptionsProto_CheckerOption& from);
589 void MergeFrom(const AdvisorOptionsProto_CheckerOption& from);
590 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
591 bool IsInitialized() const final;
592
593 size_t ByteSizeLong() const final;
594 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
595 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
596 #else
597 bool MergePartialFromCodedStream(
598 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
599 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
600 void SerializeWithCachedSizes(
601 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
602 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
603 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
604 int GetCachedSize() const final { return _cached_size_.Get(); }
605
606 private:
607 inline void SharedCtor();
608 inline void SharedDtor();
609 void SetCachedSize(int size) const final;
610 void InternalSwap(AdvisorOptionsProto_CheckerOption* other);
611 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
612 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
613 return "tensorflow.tfprof.AdvisorOptionsProto.CheckerOption";
614 }
615 private:
616 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
617 return nullptr;
618 }
619 inline void* MaybeArenaPtr() const {
620 return nullptr;
621 }
622 public:
623
624 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
625 private:
626 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
627 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5foptions_2eproto);
628 return ::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5foptions_2eproto.file_level_metadata[kIndexInFileMessages];
629 }
630
631 public:
632
633 // nested types ----------------------------------------------------
634
635
636 // accessors -------------------------------------------------------
637
638 enum : int {
639 kOptionsFieldNumber = 1,
640 };
641 // map<string, string> options = 1;
642 int options_size() const;
643 void clear_options();
644 const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >&
645 options() const;
646 ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >*
647 mutable_options();
648
649 // @@protoc_insertion_point(class_scope:tensorflow.tfprof.AdvisorOptionsProto.CheckerOption)
650 private:
651 class _Internal;
652
653 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
654 ::PROTOBUF_NAMESPACE_ID::internal::MapField<
655 AdvisorOptionsProto_CheckerOption_OptionsEntry_DoNotUse,
656 std::string, std::string,
657 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
658 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
659 0 > options_;
660 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
661 friend struct ::TableStruct_tensorflow_2fcore_2fprofiler_2ftfprof_5foptions_2eproto;
662};
663// -------------------------------------------------------------------
664
665class AdvisorOptionsProto :
666 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.tfprof.AdvisorOptionsProto) */ {
667 public:
668 AdvisorOptionsProto();
669 virtual ~AdvisorOptionsProto();
670
671 AdvisorOptionsProto(const AdvisorOptionsProto& from);
672 AdvisorOptionsProto(AdvisorOptionsProto&& from) noexcept
673 : AdvisorOptionsProto() {
674 *this = ::std::move(from);
675 }
676
677 inline AdvisorOptionsProto& operator=(const AdvisorOptionsProto& from) {
678 CopyFrom(from);
679 return *this;
680 }
681 inline AdvisorOptionsProto& operator=(AdvisorOptionsProto&& from) noexcept {
682 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
683 if (this != &from) InternalSwap(&from);
684 } else {
685 CopyFrom(from);
686 }
687 return *this;
688 }
689
690 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
691 return GetDescriptor();
692 }
693 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
694 return GetMetadataStatic().descriptor;
695 }
696 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
697 return GetMetadataStatic().reflection;
698 }
699 static const AdvisorOptionsProto& default_instance();
700
701 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
702 static inline const AdvisorOptionsProto* internal_default_instance() {
703 return reinterpret_cast<const AdvisorOptionsProto*>(
704 &_AdvisorOptionsProto_default_instance_);
705 }
706 static constexpr int kIndexInFileMessages =
707 4;
708
709 friend void swap(AdvisorOptionsProto& a, AdvisorOptionsProto& b) {
710 a.Swap(&b);
711 }
712 inline void Swap(AdvisorOptionsProto* other) {
713 if (other == this) return;
714 InternalSwap(other);
715 }
716
717 // implements Message ----------------------------------------------
718
719 inline AdvisorOptionsProto* New() const final {
720 return CreateMaybeMessage<AdvisorOptionsProto>(nullptr);
721 }
722
723 AdvisorOptionsProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
724 return CreateMaybeMessage<AdvisorOptionsProto>(arena);
725 }
726 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
727 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
728 void CopyFrom(const AdvisorOptionsProto& from);
729 void MergeFrom(const AdvisorOptionsProto& from);
730 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
731 bool IsInitialized() const final;
732
733 size_t ByteSizeLong() const final;
734 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
735 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
736 #else
737 bool MergePartialFromCodedStream(
738 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
739 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
740 void SerializeWithCachedSizes(
741 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
742 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
743 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
744 int GetCachedSize() const final { return _cached_size_.Get(); }
745
746 private:
747 inline void SharedCtor();
748 inline void SharedDtor();
749 void SetCachedSize(int size) const final;
750 void InternalSwap(AdvisorOptionsProto* other);
751 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
752 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
753 return "tensorflow.tfprof.AdvisorOptionsProto";
754 }
755 private:
756 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
757 return nullptr;
758 }
759 inline void* MaybeArenaPtr() const {
760 return nullptr;
761 }
762 public:
763
764 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
765 private:
766 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
767 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5foptions_2eproto);
768 return ::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5foptions_2eproto.file_level_metadata[kIndexInFileMessages];
769 }
770
771 public:
772
773 // nested types ----------------------------------------------------
774
775 typedef AdvisorOptionsProto_CheckerOption CheckerOption;
776
777 // accessors -------------------------------------------------------
778
779 enum : int {
780 kCheckersFieldNumber = 1,
781 };
782 // map<string, .tensorflow.tfprof.AdvisorOptionsProto.CheckerOption> checkers = 1;
783 int checkers_size() const;
784 void clear_checkers();
785 const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::tfprof::AdvisorOptionsProto_CheckerOption >&
786 checkers() const;
787 ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::tfprof::AdvisorOptionsProto_CheckerOption >*
788 mutable_checkers();
789
790 // @@protoc_insertion_point(class_scope:tensorflow.tfprof.AdvisorOptionsProto)
791 private:
792 class _Internal;
793
794 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
795 ::PROTOBUF_NAMESPACE_ID::internal::MapField<
796 AdvisorOptionsProto_CheckersEntry_DoNotUse,
797 std::string, ::tensorflow::tfprof::AdvisorOptionsProto_CheckerOption,
798 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
799 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE,
800 0 > checkers_;
801 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
802 friend struct ::TableStruct_tensorflow_2fcore_2fprofiler_2ftfprof_5foptions_2eproto;
803};
804// ===================================================================
805
806
807// ===================================================================
808
809#ifdef __GNUC__
810 #pragma GCC diagnostic push
811 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
812#endif // __GNUC__
813// OptionsProto
814
815// int64 max_depth = 1;
816inline void OptionsProto::clear_max_depth() {
817 max_depth_ = PROTOBUF_LONGLONG(0);
818}
819inline ::PROTOBUF_NAMESPACE_ID::int64 OptionsProto::max_depth() const {
820 // @@protoc_insertion_point(field_get:tensorflow.tfprof.OptionsProto.max_depth)
821 return max_depth_;
822}
823inline void OptionsProto::set_max_depth(::PROTOBUF_NAMESPACE_ID::int64 value) {
824
825 max_depth_ = value;
826 // @@protoc_insertion_point(field_set:tensorflow.tfprof.OptionsProto.max_depth)
827}
828
829// int64 min_bytes = 2;
830inline void OptionsProto::clear_min_bytes() {
831 min_bytes_ = PROTOBUF_LONGLONG(0);
832}
833inline ::PROTOBUF_NAMESPACE_ID::int64 OptionsProto::min_bytes() const {
834 // @@protoc_insertion_point(field_get:tensorflow.tfprof.OptionsProto.min_bytes)
835 return min_bytes_;
836}
837inline void OptionsProto::set_min_bytes(::PROTOBUF_NAMESPACE_ID::int64 value) {
838
839 min_bytes_ = value;
840 // @@protoc_insertion_point(field_set:tensorflow.tfprof.OptionsProto.min_bytes)
841}
842
843// int64 min_peak_bytes = 19;
844inline void OptionsProto::clear_min_peak_bytes() {
845 min_peak_bytes_ = PROTOBUF_LONGLONG(0);
846}
847inline ::PROTOBUF_NAMESPACE_ID::int64 OptionsProto::min_peak_bytes() const {
848 // @@protoc_insertion_point(field_get:tensorflow.tfprof.OptionsProto.min_peak_bytes)
849 return min_peak_bytes_;
850}
851inline void OptionsProto::set_min_peak_bytes(::PROTOBUF_NAMESPACE_ID::int64 value) {
852
853 min_peak_bytes_ = value;
854 // @@protoc_insertion_point(field_set:tensorflow.tfprof.OptionsProto.min_peak_bytes)
855}
856
857// int64 min_residual_bytes = 20;
858inline void OptionsProto::clear_min_residual_bytes() {
859 min_residual_bytes_ = PROTOBUF_LONGLONG(0);
860}
861inline ::PROTOBUF_NAMESPACE_ID::int64 OptionsProto::min_residual_bytes() const {
862 // @@protoc_insertion_point(field_get:tensorflow.tfprof.OptionsProto.min_residual_bytes)
863 return min_residual_bytes_;
864}
865inline void OptionsProto::set_min_residual_bytes(::PROTOBUF_NAMESPACE_ID::int64 value) {
866
867 min_residual_bytes_ = value;
868 // @@protoc_insertion_point(field_set:tensorflow.tfprof.OptionsProto.min_residual_bytes)
869}
870
871// int64 min_output_bytes = 21;
872inline void OptionsProto::clear_min_output_bytes() {
873 min_output_bytes_ = PROTOBUF_LONGLONG(0);
874}
875inline ::PROTOBUF_NAMESPACE_ID::int64 OptionsProto::min_output_bytes() const {
876 // @@protoc_insertion_point(field_get:tensorflow.tfprof.OptionsProto.min_output_bytes)
877 return min_output_bytes_;
878}
879inline void OptionsProto::set_min_output_bytes(::PROTOBUF_NAMESPACE_ID::int64 value) {
880
881 min_output_bytes_ = value;
882 // @@protoc_insertion_point(field_set:tensorflow.tfprof.OptionsProto.min_output_bytes)
883}
884
885// int64 min_micros = 3;
886inline void OptionsProto::clear_min_micros() {
887 min_micros_ = PROTOBUF_LONGLONG(0);
888}
889inline ::PROTOBUF_NAMESPACE_ID::int64 OptionsProto::min_micros() const {
890 // @@protoc_insertion_point(field_get:tensorflow.tfprof.OptionsProto.min_micros)
891 return min_micros_;
892}
893inline void OptionsProto::set_min_micros(::PROTOBUF_NAMESPACE_ID::int64 value) {
894
895 min_micros_ = value;
896 // @@protoc_insertion_point(field_set:tensorflow.tfprof.OptionsProto.min_micros)
897}
898
899// int64 min_accelerator_micros = 22;
900inline void OptionsProto::clear_min_accelerator_micros() {
901 min_accelerator_micros_ = PROTOBUF_LONGLONG(0);
902}
903inline ::PROTOBUF_NAMESPACE_ID::int64 OptionsProto::min_accelerator_micros() const {
904 // @@protoc_insertion_point(field_get:tensorflow.tfprof.OptionsProto.min_accelerator_micros)
905 return min_accelerator_micros_;
906}
907inline void OptionsProto::set_min_accelerator_micros(::PROTOBUF_NAMESPACE_ID::int64 value) {
908
909 min_accelerator_micros_ = value;
910 // @@protoc_insertion_point(field_set:tensorflow.tfprof.OptionsProto.min_accelerator_micros)
911}
912
913// int64 min_cpu_micros = 23;
914inline void OptionsProto::clear_min_cpu_micros() {
915 min_cpu_micros_ = PROTOBUF_LONGLONG(0);
916}
917inline ::PROTOBUF_NAMESPACE_ID::int64 OptionsProto::min_cpu_micros() const {
918 // @@protoc_insertion_point(field_get:tensorflow.tfprof.OptionsProto.min_cpu_micros)
919 return min_cpu_micros_;
920}
921inline void OptionsProto::set_min_cpu_micros(::PROTOBUF_NAMESPACE_ID::int64 value) {
922
923 min_cpu_micros_ = value;
924 // @@protoc_insertion_point(field_set:tensorflow.tfprof.OptionsProto.min_cpu_micros)
925}
926
927// int64 min_params = 4;
928inline void OptionsProto::clear_min_params() {
929 min_params_ = PROTOBUF_LONGLONG(0);
930}
931inline ::PROTOBUF_NAMESPACE_ID::int64 OptionsProto::min_params() const {
932 // @@protoc_insertion_point(field_get:tensorflow.tfprof.OptionsProto.min_params)
933 return min_params_;
934}
935inline void OptionsProto::set_min_params(::PROTOBUF_NAMESPACE_ID::int64 value) {
936
937 min_params_ = value;
938 // @@protoc_insertion_point(field_set:tensorflow.tfprof.OptionsProto.min_params)
939}
940
941// int64 min_float_ops = 5;
942inline void OptionsProto::clear_min_float_ops() {
943 min_float_ops_ = PROTOBUF_LONGLONG(0);
944}
945inline ::PROTOBUF_NAMESPACE_ID::int64 OptionsProto::min_float_ops() const {
946 // @@protoc_insertion_point(field_get:tensorflow.tfprof.OptionsProto.min_float_ops)
947 return min_float_ops_;
948}
949inline void OptionsProto::set_min_float_ops(::PROTOBUF_NAMESPACE_ID::int64 value) {
950
951 min_float_ops_ = value;
952 // @@protoc_insertion_point(field_set:tensorflow.tfprof.OptionsProto.min_float_ops)
953}
954
955// int64 min_occurrence = 17;
956inline void OptionsProto::clear_min_occurrence() {
957 min_occurrence_ = PROTOBUF_LONGLONG(0);
958}
959inline ::PROTOBUF_NAMESPACE_ID::int64 OptionsProto::min_occurrence() const {
960 // @@protoc_insertion_point(field_get:tensorflow.tfprof.OptionsProto.min_occurrence)
961 return min_occurrence_;
962}
963inline void OptionsProto::set_min_occurrence(::PROTOBUF_NAMESPACE_ID::int64 value) {
964
965 min_occurrence_ = value;
966 // @@protoc_insertion_point(field_set:tensorflow.tfprof.OptionsProto.min_occurrence)
967}
968
969// int64 step = 18;
970inline void OptionsProto::clear_step() {
971 step_ = PROTOBUF_LONGLONG(0);
972}
973inline ::PROTOBUF_NAMESPACE_ID::int64 OptionsProto::step() const {
974 // @@protoc_insertion_point(field_get:tensorflow.tfprof.OptionsProto.step)
975 return step_;
976}
977inline void OptionsProto::set_step(::PROTOBUF_NAMESPACE_ID::int64 value) {
978
979 step_ = value;
980 // @@protoc_insertion_point(field_set:tensorflow.tfprof.OptionsProto.step)
981}
982
983// string order_by = 7;
984inline void OptionsProto::clear_order_by() {
985 order_by_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
986}
987inline const std::string& OptionsProto::order_by() const {
988 // @@protoc_insertion_point(field_get:tensorflow.tfprof.OptionsProto.order_by)
989 return order_by_.GetNoArena();
990}
991inline void OptionsProto::set_order_by(const std::string& value) {
992
993 order_by_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
994 // @@protoc_insertion_point(field_set:tensorflow.tfprof.OptionsProto.order_by)
995}
996inline void OptionsProto::set_order_by(std::string&& value) {
997
998 order_by_.SetNoArena(
999 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1000 // @@protoc_insertion_point(field_set_rvalue:tensorflow.tfprof.OptionsProto.order_by)
1001}
1002inline void OptionsProto::set_order_by(const char* value) {
1003 GOOGLE_DCHECK(value != nullptr);
1004
1005 order_by_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1006 // @@protoc_insertion_point(field_set_char:tensorflow.tfprof.OptionsProto.order_by)
1007}
1008inline void OptionsProto::set_order_by(const char* value, size_t size) {
1009
1010 order_by_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1011 ::std::string(reinterpret_cast<const char*>(value), size));
1012 // @@protoc_insertion_point(field_set_pointer:tensorflow.tfprof.OptionsProto.order_by)
1013}
1014inline std::string* OptionsProto::mutable_order_by() {
1015
1016 // @@protoc_insertion_point(field_mutable:tensorflow.tfprof.OptionsProto.order_by)
1017 return order_by_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1018}
1019inline std::string* OptionsProto::release_order_by() {
1020 // @@protoc_insertion_point(field_release:tensorflow.tfprof.OptionsProto.order_by)
1021
1022 return order_by_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1023}
1024inline void OptionsProto::set_allocated_order_by(std::string* order_by) {
1025 if (order_by != nullptr) {
1026
1027 } else {
1028
1029 }
1030 order_by_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), order_by);
1031 // @@protoc_insertion_point(field_set_allocated:tensorflow.tfprof.OptionsProto.order_by)
1032}
1033
1034// repeated string account_type_regexes = 8;
1035inline int OptionsProto::account_type_regexes_size() const {
1036 return account_type_regexes_.size();
1037}
1038inline void OptionsProto::clear_account_type_regexes() {
1039 account_type_regexes_.Clear();
1040}
1041inline const std::string& OptionsProto::account_type_regexes(int index) const {
1042 // @@protoc_insertion_point(field_get:tensorflow.tfprof.OptionsProto.account_type_regexes)
1043 return account_type_regexes_.Get(index);
1044}
1045inline std::string* OptionsProto::mutable_account_type_regexes(int index) {
1046 // @@protoc_insertion_point(field_mutable:tensorflow.tfprof.OptionsProto.account_type_regexes)
1047 return account_type_regexes_.Mutable(index);
1048}
1049inline void OptionsProto::set_account_type_regexes(int index, const std::string& value) {
1050 // @@protoc_insertion_point(field_set:tensorflow.tfprof.OptionsProto.account_type_regexes)
1051 account_type_regexes_.Mutable(index)->assign(value);
1052}
1053inline void OptionsProto::set_account_type_regexes(int index, std::string&& value) {
1054 // @@protoc_insertion_point(field_set:tensorflow.tfprof.OptionsProto.account_type_regexes)
1055 account_type_regexes_.Mutable(index)->assign(std::move(value));
1056}
1057inline void OptionsProto::set_account_type_regexes(int index, const char* value) {
1058 GOOGLE_DCHECK(value != nullptr);
1059 account_type_regexes_.Mutable(index)->assign(value);
1060 // @@protoc_insertion_point(field_set_char:tensorflow.tfprof.OptionsProto.account_type_regexes)
1061}
1062inline void OptionsProto::set_account_type_regexes(int index, const char* value, size_t size) {
1063 account_type_regexes_.Mutable(index)->assign(
1064 reinterpret_cast<const char*>(value), size);
1065 // @@protoc_insertion_point(field_set_pointer:tensorflow.tfprof.OptionsProto.account_type_regexes)
1066}
1067inline std::string* OptionsProto::add_account_type_regexes() {
1068 // @@protoc_insertion_point(field_add_mutable:tensorflow.tfprof.OptionsProto.account_type_regexes)
1069 return account_type_regexes_.Add();
1070}
1071inline void OptionsProto::add_account_type_regexes(const std::string& value) {
1072 account_type_regexes_.Add()->assign(value);
1073 // @@protoc_insertion_point(field_add:tensorflow.tfprof.OptionsProto.account_type_regexes)
1074}
1075inline void OptionsProto::add_account_type_regexes(std::string&& value) {
1076 account_type_regexes_.Add(std::move(value));
1077 // @@protoc_insertion_point(field_add:tensorflow.tfprof.OptionsProto.account_type_regexes)
1078}
1079inline void OptionsProto::add_account_type_regexes(const char* value) {
1080 GOOGLE_DCHECK(value != nullptr);
1081 account_type_regexes_.Add()->assign(value);
1082 // @@protoc_insertion_point(field_add_char:tensorflow.tfprof.OptionsProto.account_type_regexes)
1083}
1084inline void OptionsProto::add_account_type_regexes(const char* value, size_t size) {
1085 account_type_regexes_.Add()->assign(reinterpret_cast<const char*>(value), size);
1086 // @@protoc_insertion_point(field_add_pointer:tensorflow.tfprof.OptionsProto.account_type_regexes)
1087}
1088inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
1089OptionsProto::account_type_regexes() const {
1090 // @@protoc_insertion_point(field_list:tensorflow.tfprof.OptionsProto.account_type_regexes)
1091 return account_type_regexes_;
1092}
1093inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
1094OptionsProto::mutable_account_type_regexes() {
1095 // @@protoc_insertion_point(field_mutable_list:tensorflow.tfprof.OptionsProto.account_type_regexes)
1096 return &account_type_regexes_;
1097}
1098
1099// repeated string start_name_regexes = 9;
1100inline int OptionsProto::start_name_regexes_size() const {
1101 return start_name_regexes_.size();
1102}
1103inline void OptionsProto::clear_start_name_regexes() {
1104 start_name_regexes_.Clear();
1105}
1106inline const std::string& OptionsProto::start_name_regexes(int index) const {
1107 // @@protoc_insertion_point(field_get:tensorflow.tfprof.OptionsProto.start_name_regexes)
1108 return start_name_regexes_.Get(index);
1109}
1110inline std::string* OptionsProto::mutable_start_name_regexes(int index) {
1111 // @@protoc_insertion_point(field_mutable:tensorflow.tfprof.OptionsProto.start_name_regexes)
1112 return start_name_regexes_.Mutable(index);
1113}
1114inline void OptionsProto::set_start_name_regexes(int index, const std::string& value) {
1115 // @@protoc_insertion_point(field_set:tensorflow.tfprof.OptionsProto.start_name_regexes)
1116 start_name_regexes_.Mutable(index)->assign(value);
1117}
1118inline void OptionsProto::set_start_name_regexes(int index, std::string&& value) {
1119 // @@protoc_insertion_point(field_set:tensorflow.tfprof.OptionsProto.start_name_regexes)
1120 start_name_regexes_.Mutable(index)->assign(std::move(value));
1121}
1122inline void OptionsProto::set_start_name_regexes(int index, const char* value) {
1123 GOOGLE_DCHECK(value != nullptr);
1124 start_name_regexes_.Mutable(index)->assign(value);
1125 // @@protoc_insertion_point(field_set_char:tensorflow.tfprof.OptionsProto.start_name_regexes)
1126}
1127inline void OptionsProto::set_start_name_regexes(int index, const char* value, size_t size) {
1128 start_name_regexes_.Mutable(index)->assign(
1129 reinterpret_cast<const char*>(value), size);
1130 // @@protoc_insertion_point(field_set_pointer:tensorflow.tfprof.OptionsProto.start_name_regexes)
1131}
1132inline std::string* OptionsProto::add_start_name_regexes() {
1133 // @@protoc_insertion_point(field_add_mutable:tensorflow.tfprof.OptionsProto.start_name_regexes)
1134 return start_name_regexes_.Add();
1135}
1136inline void OptionsProto::add_start_name_regexes(const std::string& value) {
1137 start_name_regexes_.Add()->assign(value);
1138 // @@protoc_insertion_point(field_add:tensorflow.tfprof.OptionsProto.start_name_regexes)
1139}
1140inline void OptionsProto::add_start_name_regexes(std::string&& value) {
1141 start_name_regexes_.Add(std::move(value));
1142 // @@protoc_insertion_point(field_add:tensorflow.tfprof.OptionsProto.start_name_regexes)
1143}
1144inline void OptionsProto::add_start_name_regexes(const char* value) {
1145 GOOGLE_DCHECK(value != nullptr);
1146 start_name_regexes_.Add()->assign(value);
1147 // @@protoc_insertion_point(field_add_char:tensorflow.tfprof.OptionsProto.start_name_regexes)
1148}
1149inline void OptionsProto::add_start_name_regexes(const char* value, size_t size) {
1150 start_name_regexes_.Add()->assign(reinterpret_cast<const char*>(value), size);
1151 // @@protoc_insertion_point(field_add_pointer:tensorflow.tfprof.OptionsProto.start_name_regexes)
1152}
1153inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
1154OptionsProto::start_name_regexes() const {
1155 // @@protoc_insertion_point(field_list:tensorflow.tfprof.OptionsProto.start_name_regexes)
1156 return start_name_regexes_;
1157}
1158inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
1159OptionsProto::mutable_start_name_regexes() {
1160 // @@protoc_insertion_point(field_mutable_list:tensorflow.tfprof.OptionsProto.start_name_regexes)
1161 return &start_name_regexes_;
1162}
1163
1164// repeated string trim_name_regexes = 10;
1165inline int OptionsProto::trim_name_regexes_size() const {
1166 return trim_name_regexes_.size();
1167}
1168inline void OptionsProto::clear_trim_name_regexes() {
1169 trim_name_regexes_.Clear();
1170}
1171inline const std::string& OptionsProto::trim_name_regexes(int index) const {
1172 // @@protoc_insertion_point(field_get:tensorflow.tfprof.OptionsProto.trim_name_regexes)
1173 return trim_name_regexes_.Get(index);
1174}
1175inline std::string* OptionsProto::mutable_trim_name_regexes(int index) {
1176 // @@protoc_insertion_point(field_mutable:tensorflow.tfprof.OptionsProto.trim_name_regexes)
1177 return trim_name_regexes_.Mutable(index);
1178}
1179inline void OptionsProto::set_trim_name_regexes(int index, const std::string& value) {
1180 // @@protoc_insertion_point(field_set:tensorflow.tfprof.OptionsProto.trim_name_regexes)
1181 trim_name_regexes_.Mutable(index)->assign(value);
1182}
1183inline void OptionsProto::set_trim_name_regexes(int index, std::string&& value) {
1184 // @@protoc_insertion_point(field_set:tensorflow.tfprof.OptionsProto.trim_name_regexes)
1185 trim_name_regexes_.Mutable(index)->assign(std::move(value));
1186}
1187inline void OptionsProto::set_trim_name_regexes(int index, const char* value) {
1188 GOOGLE_DCHECK(value != nullptr);
1189 trim_name_regexes_.Mutable(index)->assign(value);
1190 // @@protoc_insertion_point(field_set_char:tensorflow.tfprof.OptionsProto.trim_name_regexes)
1191}
1192inline void OptionsProto::set_trim_name_regexes(int index, const char* value, size_t size) {
1193 trim_name_regexes_.Mutable(index)->assign(
1194 reinterpret_cast<const char*>(value), size);
1195 // @@protoc_insertion_point(field_set_pointer:tensorflow.tfprof.OptionsProto.trim_name_regexes)
1196}
1197inline std::string* OptionsProto::add_trim_name_regexes() {
1198 // @@protoc_insertion_point(field_add_mutable:tensorflow.tfprof.OptionsProto.trim_name_regexes)
1199 return trim_name_regexes_.Add();
1200}
1201inline void OptionsProto::add_trim_name_regexes(const std::string& value) {
1202 trim_name_regexes_.Add()->assign(value);
1203 // @@protoc_insertion_point(field_add:tensorflow.tfprof.OptionsProto.trim_name_regexes)
1204}
1205inline void OptionsProto::add_trim_name_regexes(std::string&& value) {
1206 trim_name_regexes_.Add(std::move(value));
1207 // @@protoc_insertion_point(field_add:tensorflow.tfprof.OptionsProto.trim_name_regexes)
1208}
1209inline void OptionsProto::add_trim_name_regexes(const char* value) {
1210 GOOGLE_DCHECK(value != nullptr);
1211 trim_name_regexes_.Add()->assign(value);
1212 // @@protoc_insertion_point(field_add_char:tensorflow.tfprof.OptionsProto.trim_name_regexes)
1213}
1214inline void OptionsProto::add_trim_name_regexes(const char* value, size_t size) {
1215 trim_name_regexes_.Add()->assign(reinterpret_cast<const char*>(value), size);
1216 // @@protoc_insertion_point(field_add_pointer:tensorflow.tfprof.OptionsProto.trim_name_regexes)
1217}
1218inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
1219OptionsProto::trim_name_regexes() const {
1220 // @@protoc_insertion_point(field_list:tensorflow.tfprof.OptionsProto.trim_name_regexes)
1221 return trim_name_regexes_;
1222}
1223inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
1224OptionsProto::mutable_trim_name_regexes() {
1225 // @@protoc_insertion_point(field_mutable_list:tensorflow.tfprof.OptionsProto.trim_name_regexes)
1226 return &trim_name_regexes_;
1227}
1228
1229// repeated string show_name_regexes = 11;
1230inline int OptionsProto::show_name_regexes_size() const {
1231 return show_name_regexes_.size();
1232}
1233inline void OptionsProto::clear_show_name_regexes() {
1234 show_name_regexes_.Clear();
1235}
1236inline const std::string& OptionsProto::show_name_regexes(int index) const {
1237 // @@protoc_insertion_point(field_get:tensorflow.tfprof.OptionsProto.show_name_regexes)
1238 return show_name_regexes_.Get(index);
1239}
1240inline std::string* OptionsProto::mutable_show_name_regexes(int index) {
1241 // @@protoc_insertion_point(field_mutable:tensorflow.tfprof.OptionsProto.show_name_regexes)
1242 return show_name_regexes_.Mutable(index);
1243}
1244inline void OptionsProto::set_show_name_regexes(int index, const std::string& value) {
1245 // @@protoc_insertion_point(field_set:tensorflow.tfprof.OptionsProto.show_name_regexes)
1246 show_name_regexes_.Mutable(index)->assign(value);
1247}
1248inline void OptionsProto::set_show_name_regexes(int index, std::string&& value) {
1249 // @@protoc_insertion_point(field_set:tensorflow.tfprof.OptionsProto.show_name_regexes)
1250 show_name_regexes_.Mutable(index)->assign(std::move(value));
1251}
1252inline void OptionsProto::set_show_name_regexes(int index, const char* value) {
1253 GOOGLE_DCHECK(value != nullptr);
1254 show_name_regexes_.Mutable(index)->assign(value);
1255 // @@protoc_insertion_point(field_set_char:tensorflow.tfprof.OptionsProto.show_name_regexes)
1256}
1257inline void OptionsProto::set_show_name_regexes(int index, const char* value, size_t size) {
1258 show_name_regexes_.Mutable(index)->assign(
1259 reinterpret_cast<const char*>(value), size);
1260 // @@protoc_insertion_point(field_set_pointer:tensorflow.tfprof.OptionsProto.show_name_regexes)
1261}
1262inline std::string* OptionsProto::add_show_name_regexes() {
1263 // @@protoc_insertion_point(field_add_mutable:tensorflow.tfprof.OptionsProto.show_name_regexes)
1264 return show_name_regexes_.Add();
1265}
1266inline void OptionsProto::add_show_name_regexes(const std::string& value) {
1267 show_name_regexes_.Add()->assign(value);
1268 // @@protoc_insertion_point(field_add:tensorflow.tfprof.OptionsProto.show_name_regexes)
1269}
1270inline void OptionsProto::add_show_name_regexes(std::string&& value) {
1271 show_name_regexes_.Add(std::move(value));
1272 // @@protoc_insertion_point(field_add:tensorflow.tfprof.OptionsProto.show_name_regexes)
1273}
1274inline void OptionsProto::add_show_name_regexes(const char* value) {
1275 GOOGLE_DCHECK(value != nullptr);
1276 show_name_regexes_.Add()->assign(value);
1277 // @@protoc_insertion_point(field_add_char:tensorflow.tfprof.OptionsProto.show_name_regexes)
1278}
1279inline void OptionsProto::add_show_name_regexes(const char* value, size_t size) {
1280 show_name_regexes_.Add()->assign(reinterpret_cast<const char*>(value), size);
1281 // @@protoc_insertion_point(field_add_pointer:tensorflow.tfprof.OptionsProto.show_name_regexes)
1282}
1283inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
1284OptionsProto::show_name_regexes() const {
1285 // @@protoc_insertion_point(field_list:tensorflow.tfprof.OptionsProto.show_name_regexes)
1286 return show_name_regexes_;
1287}
1288inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
1289OptionsProto::mutable_show_name_regexes() {
1290 // @@protoc_insertion_point(field_mutable_list:tensorflow.tfprof.OptionsProto.show_name_regexes)
1291 return &show_name_regexes_;
1292}
1293
1294// repeated string hide_name_regexes = 12;
1295inline int OptionsProto::hide_name_regexes_size() const {
1296 return hide_name_regexes_.size();
1297}
1298inline void OptionsProto::clear_hide_name_regexes() {
1299 hide_name_regexes_.Clear();
1300}
1301inline const std::string& OptionsProto::hide_name_regexes(int index) const {
1302 // @@protoc_insertion_point(field_get:tensorflow.tfprof.OptionsProto.hide_name_regexes)
1303 return hide_name_regexes_.Get(index);
1304}
1305inline std::string* OptionsProto::mutable_hide_name_regexes(int index) {
1306 // @@protoc_insertion_point(field_mutable:tensorflow.tfprof.OptionsProto.hide_name_regexes)
1307 return hide_name_regexes_.Mutable(index);
1308}
1309inline void OptionsProto::set_hide_name_regexes(int index, const std::string& value) {
1310 // @@protoc_insertion_point(field_set:tensorflow.tfprof.OptionsProto.hide_name_regexes)
1311 hide_name_regexes_.Mutable(index)->assign(value);
1312}
1313inline void OptionsProto::set_hide_name_regexes(int index, std::string&& value) {
1314 // @@protoc_insertion_point(field_set:tensorflow.tfprof.OptionsProto.hide_name_regexes)
1315 hide_name_regexes_.Mutable(index)->assign(std::move(value));
1316}
1317inline void OptionsProto::set_hide_name_regexes(int index, const char* value) {
1318 GOOGLE_DCHECK(value != nullptr);
1319 hide_name_regexes_.Mutable(index)->assign(value);
1320 // @@protoc_insertion_point(field_set_char:tensorflow.tfprof.OptionsProto.hide_name_regexes)
1321}
1322inline void OptionsProto::set_hide_name_regexes(int index, const char* value, size_t size) {
1323 hide_name_regexes_.Mutable(index)->assign(
1324 reinterpret_cast<const char*>(value), size);
1325 // @@protoc_insertion_point(field_set_pointer:tensorflow.tfprof.OptionsProto.hide_name_regexes)
1326}
1327inline std::string* OptionsProto::add_hide_name_regexes() {
1328 // @@protoc_insertion_point(field_add_mutable:tensorflow.tfprof.OptionsProto.hide_name_regexes)
1329 return hide_name_regexes_.Add();
1330}
1331inline void OptionsProto::add_hide_name_regexes(const std::string& value) {
1332 hide_name_regexes_.Add()->assign(value);
1333 // @@protoc_insertion_point(field_add:tensorflow.tfprof.OptionsProto.hide_name_regexes)
1334}
1335inline void OptionsProto::add_hide_name_regexes(std::string&& value) {
1336 hide_name_regexes_.Add(std::move(value));
1337 // @@protoc_insertion_point(field_add:tensorflow.tfprof.OptionsProto.hide_name_regexes)
1338}
1339inline void OptionsProto::add_hide_name_regexes(const char* value) {
1340 GOOGLE_DCHECK(value != nullptr);
1341 hide_name_regexes_.Add()->assign(value);
1342 // @@protoc_insertion_point(field_add_char:tensorflow.tfprof.OptionsProto.hide_name_regexes)
1343}
1344inline void OptionsProto::add_hide_name_regexes(const char* value, size_t size) {
1345 hide_name_regexes_.Add()->assign(reinterpret_cast<const char*>(value), size);
1346 // @@protoc_insertion_point(field_add_pointer:tensorflow.tfprof.OptionsProto.hide_name_regexes)
1347}
1348inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
1349OptionsProto::hide_name_regexes() const {
1350 // @@protoc_insertion_point(field_list:tensorflow.tfprof.OptionsProto.hide_name_regexes)
1351 return hide_name_regexes_;
1352}
1353inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
1354OptionsProto::mutable_hide_name_regexes() {
1355 // @@protoc_insertion_point(field_mutable_list:tensorflow.tfprof.OptionsProto.hide_name_regexes)
1356 return &hide_name_regexes_;
1357}
1358
1359// bool account_displayed_op_only = 13;
1360inline void OptionsProto::clear_account_displayed_op_only() {
1361 account_displayed_op_only_ = false;
1362}
1363inline bool OptionsProto::account_displayed_op_only() const {
1364 // @@protoc_insertion_point(field_get:tensorflow.tfprof.OptionsProto.account_displayed_op_only)
1365 return account_displayed_op_only_;
1366}
1367inline void OptionsProto::set_account_displayed_op_only(bool value) {
1368
1369 account_displayed_op_only_ = value;
1370 // @@protoc_insertion_point(field_set:tensorflow.tfprof.OptionsProto.account_displayed_op_only)
1371}
1372
1373// repeated string select = 14;
1374inline int OptionsProto::select_size() const {
1375 return select_.size();
1376}
1377inline void OptionsProto::clear_select() {
1378 select_.Clear();
1379}
1380inline const std::string& OptionsProto::select(int index) const {
1381 // @@protoc_insertion_point(field_get:tensorflow.tfprof.OptionsProto.select)
1382 return select_.Get(index);
1383}
1384inline std::string* OptionsProto::mutable_select(int index) {
1385 // @@protoc_insertion_point(field_mutable:tensorflow.tfprof.OptionsProto.select)
1386 return select_.Mutable(index);
1387}
1388inline void OptionsProto::set_select(int index, const std::string& value) {
1389 // @@protoc_insertion_point(field_set:tensorflow.tfprof.OptionsProto.select)
1390 select_.Mutable(index)->assign(value);
1391}
1392inline void OptionsProto::set_select(int index, std::string&& value) {
1393 // @@protoc_insertion_point(field_set:tensorflow.tfprof.OptionsProto.select)
1394 select_.Mutable(index)->assign(std::move(value));
1395}
1396inline void OptionsProto::set_select(int index, const char* value) {
1397 GOOGLE_DCHECK(value != nullptr);
1398 select_.Mutable(index)->assign(value);
1399 // @@protoc_insertion_point(field_set_char:tensorflow.tfprof.OptionsProto.select)
1400}
1401inline void OptionsProto::set_select(int index, const char* value, size_t size) {
1402 select_.Mutable(index)->assign(
1403 reinterpret_cast<const char*>(value), size);
1404 // @@protoc_insertion_point(field_set_pointer:tensorflow.tfprof.OptionsProto.select)
1405}
1406inline std::string* OptionsProto::add_select() {
1407 // @@protoc_insertion_point(field_add_mutable:tensorflow.tfprof.OptionsProto.select)
1408 return select_.Add();
1409}
1410inline void OptionsProto::add_select(const std::string& value) {
1411 select_.Add()->assign(value);
1412 // @@protoc_insertion_point(field_add:tensorflow.tfprof.OptionsProto.select)
1413}
1414inline void OptionsProto::add_select(std::string&& value) {
1415 select_.Add(std::move(value));
1416 // @@protoc_insertion_point(field_add:tensorflow.tfprof.OptionsProto.select)
1417}
1418inline void OptionsProto::add_select(const char* value) {
1419 GOOGLE_DCHECK(value != nullptr);
1420 select_.Add()->assign(value);
1421 // @@protoc_insertion_point(field_add_char:tensorflow.tfprof.OptionsProto.select)
1422}
1423inline void OptionsProto::add_select(const char* value, size_t size) {
1424 select_.Add()->assign(reinterpret_cast<const char*>(value), size);
1425 // @@protoc_insertion_point(field_add_pointer:tensorflow.tfprof.OptionsProto.select)
1426}
1427inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
1428OptionsProto::select() const {
1429 // @@protoc_insertion_point(field_list:tensorflow.tfprof.OptionsProto.select)
1430 return select_;
1431}
1432inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
1433OptionsProto::mutable_select() {
1434 // @@protoc_insertion_point(field_mutable_list:tensorflow.tfprof.OptionsProto.select)
1435 return &select_;
1436}
1437
1438// string output = 15;
1439inline void OptionsProto::clear_output() {
1440 output_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1441}
1442inline const std::string& OptionsProto::output() const {
1443 // @@protoc_insertion_point(field_get:tensorflow.tfprof.OptionsProto.output)
1444 return output_.GetNoArena();
1445}
1446inline void OptionsProto::set_output(const std::string& value) {
1447
1448 output_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
1449 // @@protoc_insertion_point(field_set:tensorflow.tfprof.OptionsProto.output)
1450}
1451inline void OptionsProto::set_output(std::string&& value) {
1452
1453 output_.SetNoArena(
1454 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1455 // @@protoc_insertion_point(field_set_rvalue:tensorflow.tfprof.OptionsProto.output)
1456}
1457inline void OptionsProto::set_output(const char* value) {
1458 GOOGLE_DCHECK(value != nullptr);
1459
1460 output_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1461 // @@protoc_insertion_point(field_set_char:tensorflow.tfprof.OptionsProto.output)
1462}
1463inline void OptionsProto::set_output(const char* value, size_t size) {
1464
1465 output_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1466 ::std::string(reinterpret_cast<const char*>(value), size));
1467 // @@protoc_insertion_point(field_set_pointer:tensorflow.tfprof.OptionsProto.output)
1468}
1469inline std::string* OptionsProto::mutable_output() {
1470
1471 // @@protoc_insertion_point(field_mutable:tensorflow.tfprof.OptionsProto.output)
1472 return output_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1473}
1474inline std::string* OptionsProto::release_output() {
1475 // @@protoc_insertion_point(field_release:tensorflow.tfprof.OptionsProto.output)
1476
1477 return output_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1478}
1479inline void OptionsProto::set_allocated_output(std::string* output) {
1480 if (output != nullptr) {
1481
1482 } else {
1483
1484 }
1485 output_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), output);
1486 // @@protoc_insertion_point(field_set_allocated:tensorflow.tfprof.OptionsProto.output)
1487}
1488
1489// string dump_to_file = 16;
1490inline void OptionsProto::clear_dump_to_file() {
1491 dump_to_file_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1492}
1493inline const std::string& OptionsProto::dump_to_file() const {
1494 // @@protoc_insertion_point(field_get:tensorflow.tfprof.OptionsProto.dump_to_file)
1495 return dump_to_file_.GetNoArena();
1496}
1497inline void OptionsProto::set_dump_to_file(const std::string& value) {
1498
1499 dump_to_file_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
1500 // @@protoc_insertion_point(field_set:tensorflow.tfprof.OptionsProto.dump_to_file)
1501}
1502inline void OptionsProto::set_dump_to_file(std::string&& value) {
1503
1504 dump_to_file_.SetNoArena(
1505 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1506 // @@protoc_insertion_point(field_set_rvalue:tensorflow.tfprof.OptionsProto.dump_to_file)
1507}
1508inline void OptionsProto::set_dump_to_file(const char* value) {
1509 GOOGLE_DCHECK(value != nullptr);
1510
1511 dump_to_file_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1512 // @@protoc_insertion_point(field_set_char:tensorflow.tfprof.OptionsProto.dump_to_file)
1513}
1514inline void OptionsProto::set_dump_to_file(const char* value, size_t size) {
1515
1516 dump_to_file_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1517 ::std::string(reinterpret_cast<const char*>(value), size));
1518 // @@protoc_insertion_point(field_set_pointer:tensorflow.tfprof.OptionsProto.dump_to_file)
1519}
1520inline std::string* OptionsProto::mutable_dump_to_file() {
1521
1522 // @@protoc_insertion_point(field_mutable:tensorflow.tfprof.OptionsProto.dump_to_file)
1523 return dump_to_file_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1524}
1525inline std::string* OptionsProto::release_dump_to_file() {
1526 // @@protoc_insertion_point(field_release:tensorflow.tfprof.OptionsProto.dump_to_file)
1527
1528 return dump_to_file_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1529}
1530inline void OptionsProto::set_allocated_dump_to_file(std::string* dump_to_file) {
1531 if (dump_to_file != nullptr) {
1532
1533 } else {
1534
1535 }
1536 dump_to_file_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), dump_to_file);
1537 // @@protoc_insertion_point(field_set_allocated:tensorflow.tfprof.OptionsProto.dump_to_file)
1538}
1539
1540// -------------------------------------------------------------------
1541
1542// -------------------------------------------------------------------
1543
1544// -------------------------------------------------------------------
1545
1546// AdvisorOptionsProto_CheckerOption
1547
1548// map<string, string> options = 1;
1549inline int AdvisorOptionsProto_CheckerOption::options_size() const {
1550 return options_.size();
1551}
1552inline void AdvisorOptionsProto_CheckerOption::clear_options() {
1553 options_.Clear();
1554}
1555inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >&
1556AdvisorOptionsProto_CheckerOption::options() const {
1557 // @@protoc_insertion_point(field_map:tensorflow.tfprof.AdvisorOptionsProto.CheckerOption.options)
1558 return options_.GetMap();
1559}
1560inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >*
1561AdvisorOptionsProto_CheckerOption::mutable_options() {
1562 // @@protoc_insertion_point(field_mutable_map:tensorflow.tfprof.AdvisorOptionsProto.CheckerOption.options)
1563 return options_.MutableMap();
1564}
1565
1566// -------------------------------------------------------------------
1567
1568// AdvisorOptionsProto
1569
1570// map<string, .tensorflow.tfprof.AdvisorOptionsProto.CheckerOption> checkers = 1;
1571inline int AdvisorOptionsProto::checkers_size() const {
1572 return checkers_.size();
1573}
1574inline void AdvisorOptionsProto::clear_checkers() {
1575 checkers_.Clear();
1576}
1577inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::tfprof::AdvisorOptionsProto_CheckerOption >&
1578AdvisorOptionsProto::checkers() const {
1579 // @@protoc_insertion_point(field_map:tensorflow.tfprof.AdvisorOptionsProto.checkers)
1580 return checkers_.GetMap();
1581}
1582inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::tfprof::AdvisorOptionsProto_CheckerOption >*
1583AdvisorOptionsProto::mutable_checkers() {
1584 // @@protoc_insertion_point(field_mutable_map:tensorflow.tfprof.AdvisorOptionsProto.checkers)
1585 return checkers_.MutableMap();
1586}
1587
1588#ifdef __GNUC__
1589 #pragma GCC diagnostic pop
1590#endif // __GNUC__
1591// -------------------------------------------------------------------
1592
1593// -------------------------------------------------------------------
1594
1595// -------------------------------------------------------------------
1596
1597// -------------------------------------------------------------------
1598
1599
1600// @@protoc_insertion_point(namespace_scope)
1601
1602} // namespace tfprof
1603} // namespace tensorflow
1604
1605// @@protoc_insertion_point(global_scope)
1606
1607#include <google/protobuf/port_undef.inc>
1608#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fprofiler_2ftfprof_5foptions_2eproto
1609