1 // Generated by the protocol buffer compiler.  DO NOT EDIT!
2 // source: fcp/client/histogram_counters.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_fcp_2fclient_2fhistogram_5fcounters_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_fcp_2fclient_2fhistogram_5fcounters_2eproto
6 
7 #include <cstdint>
8 #include <limits>
9 #include <string>
10 
11 #include <google/protobuf/port_def.inc>
12 #if PROTOBUF_VERSION < 3021000
13 #error This file was generated by a newer version of protoc which is
14 #error incompatible with your Protocol Buffer headers. Please update
15 #error your headers.
16 #endif
17 #if 3021012 < PROTOBUF_MIN_PROTOC_VERSION
18 #error This file was generated by an older version of protoc which is
19 #error incompatible with your Protocol Buffer headers. Please
20 #error regenerate this file with a newer version of protoc.
21 #endif
22 
23 #include <google/protobuf/port_undef.inc>
24 #include <google/protobuf/io/coded_stream.h>
25 #include <google/protobuf/arena.h>
26 #include <google/protobuf/arenastring.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/metadata_lite.h>
29 #include <google/protobuf/repeated_field.h>  // IWYU pragma: export
30 #include <google/protobuf/extension_set.h>  // IWYU pragma: export
31 #include <google/protobuf/generated_enum_util.h>
32 // @@protoc_insertion_point(includes)
33 #include <google/protobuf/port_def.inc>
34 #define PROTOBUF_INTERNAL_EXPORT_fcp_2fclient_2fhistogram_5fcounters_2eproto
35 PROTOBUF_NAMESPACE_OPEN
36 namespace internal {
37 class AnyMetadata;
38 }  // namespace internal
39 PROTOBUF_NAMESPACE_CLOSE
40 
41 // Internal implementation detail -- do not use these members.
42 struct TableStruct_fcp_2fclient_2fhistogram_5fcounters_2eproto {
43   static const ::uint32_t offsets[];
44 };
45 PROTOBUF_NAMESPACE_OPEN
46 PROTOBUF_NAMESPACE_CLOSE
47 namespace fcp {
48 namespace client {
49 
50 enum HistogramCounters : int {
51   HISTOGRAM_COUNTER_UNDEFINED = 0,
52   TRAINING_RUN_PHASE_LATENCY = 1,
53   TRAINING_RUN_PHASE_END_TIME = 2,
54   TRAINING_RESTORE_STATE_LATENCY = 3,
55   TRAINING_RUN_CLIENT_EXECUTION_LATENCY = 4,
56   TRAINING_INIT_OP_LATENCY = 5,
57   TRAINING_BEFORE_OP_LATENCY = 6,
58   TRAINING_AFTER_OP_LATENCY = 7,
59   TRAINING_RUN_EPOCH_LATENCY = 8,
60   TRAINING_GATHER_MINI_BATCH_LATENCY = 9,
61   TRAINING_RUN_MINI_BATCH_LATENCY = 10,
62   TRAINING_INTERRUPT_TERMINATION_LATENCY = 11,
63   TRAINING_OPSTATS_COMMIT_LATENCY = 12,
64   TRAINING_OVERALL_EXAMPLE_COUNT = 100001,
65   TRAINING_OVERALL_EXAMPLE_SIZE = 100002,
66   TRAINING_CLIENT_EXECUTION_EXAMPLE_COUNT = 100003,
67   TRAINING_CLIENT_EXECUTION_EXAMPLE_SIZE = 100004,
68   TRAINING_EPOCH_EXAMPLE_COUNT = 100005,
69   TRAINING_EPOCH_EXAMPLE_SIZE = 100006,
70   TRAINING_MINI_BATCH_EXAMPLE_COUNT = 100007,
71   TRAINING_MINI_BATCH_EXAMPLE_SIZE = 100008,
72   OPSTATS_DB_SIZE_BYTES = 100009,
73   OPSTATS_DB_NUM_ENTRIES = 100010,
74   OPSTATS_NUM_PRUNED_ENTRIES = 100011,
75   OPSTATS_OLDEST_PRUNED_ENTRY_TENURE_HOURS = 100012,
76   TRAINING_FL_CHECKIN_LATENCY = 200001,
77   TRAINING_FL_REPORT_RESULTS_END_TIME = 200002,
78   TRAINING_FL_REPORT_RESULTS_LATENCY = 200003,
79   TRAINING_FL_CHECKIN_END_TIME = 200004,
80   TRAINING_FL_ELIGIBILITY_EVAL_CHECKIN_LATENCY = 200005,
81   HistogramCounters_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::int32_t>::min(),
82   HistogramCounters_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::int32_t>::max()
83 };
84 bool HistogramCounters_IsValid(int value);
85 constexpr HistogramCounters HistogramCounters_MIN = HISTOGRAM_COUNTER_UNDEFINED;
86 constexpr HistogramCounters HistogramCounters_MAX = TRAINING_FL_ELIGIBILITY_EVAL_CHECKIN_LATENCY;
87 constexpr int HistogramCounters_ARRAYSIZE = HistogramCounters_MAX + 1;
88 
89 const std::string& HistogramCounters_Name(HistogramCounters value);
90 template<typename T>
HistogramCounters_Name(T enum_t_value)91 inline const std::string& HistogramCounters_Name(T enum_t_value) {
92   static_assert(::std::is_same<T, HistogramCounters>::value ||
93     ::std::is_integral<T>::value,
94     "Incorrect type passed to function HistogramCounters_Name.");
95   return HistogramCounters_Name(static_cast<HistogramCounters>(enum_t_value));
96 }
97 bool HistogramCounters_Parse(
98     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, HistogramCounters* value);
99 // ===================================================================
100 
101 
102 // ===================================================================
103 
104 
105 // ===================================================================
106 
107 #ifdef __GNUC__
108   #pragma GCC diagnostic push
109   #pragma GCC diagnostic ignored "-Wstrict-aliasing"
110 #endif  // __GNUC__
111 #ifdef __GNUC__
112   #pragma GCC diagnostic pop
113 #endif  // __GNUC__
114 
115 // @@protoc_insertion_point(namespace_scope)
116 
117 }  // namespace client
118 }  // namespace fcp
119 
120 PROTOBUF_NAMESPACE_OPEN
121 
122 template <> struct is_proto_enum< ::fcp::client::HistogramCounters> : ::std::true_type {};
123 
124 PROTOBUF_NAMESPACE_CLOSE
125 
126 // @@protoc_insertion_point(global_scope)
127 
128 #include <google/protobuf/port_undef.inc>
129 #endif  // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_fcp_2fclient_2fhistogram_5fcounters_2eproto
130