1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: fcp/protos/opstats.proto
3
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_fcp_2fprotos_2fopstats_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_fcp_2fprotos_2fopstats_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/message_lite.h>
30 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
31 #include <google/protobuf/extension_set.h> // IWYU pragma: export
32 #include <google/protobuf/map.h> // IWYU pragma: export
33 #include <google/protobuf/map_entry_lite.h>
34 #include <google/protobuf/map_field_lite.h>
35 #include <google/protobuf/generated_enum_util.h>
36 #include <google/protobuf/duration.pb.h>
37 #include <google/protobuf/timestamp.pb.h>
38 #include "fcp/protos/federated_api.pb.h"
39 // @@protoc_insertion_point(includes)
40 #include <google/protobuf/port_def.inc>
41 #define PROTOBUF_INTERNAL_EXPORT_fcp_2fprotos_2fopstats_2eproto
42 PROTOBUF_NAMESPACE_OPEN
43 namespace internal {
44 class AnyMetadata;
45 } // namespace internal
46 PROTOBUF_NAMESPACE_CLOSE
47
48 // Internal implementation detail -- do not use these members.
49 struct TableStruct_fcp_2fprotos_2fopstats_2eproto {
50 static const ::uint32_t offsets[];
51 };
52 namespace fcp {
53 namespace client {
54 namespace opstats {
55 class OpStatsSelectionCriteria;
56 struct OpStatsSelectionCriteriaDefaultTypeInternal;
57 extern OpStatsSelectionCriteriaDefaultTypeInternal _OpStatsSelectionCriteria_default_instance_;
58 class OpStatsSequence;
59 struct OpStatsSequenceDefaultTypeInternal;
60 extern OpStatsSequenceDefaultTypeInternal _OpStatsSequence_default_instance_;
61 class OperationalStats;
62 struct OperationalStatsDefaultTypeInternal;
63 extern OperationalStatsDefaultTypeInternal _OperationalStats_default_instance_;
64 class OperationalStats_DatasetStats;
65 struct OperationalStats_DatasetStatsDefaultTypeInternal;
66 extern OperationalStats_DatasetStatsDefaultTypeInternal _OperationalStats_DatasetStats_default_instance_;
67 class OperationalStats_DatasetStatsEntry_DoNotUse;
68 struct OperationalStats_DatasetStatsEntry_DoNotUseDefaultTypeInternal;
69 extern OperationalStats_DatasetStatsEntry_DoNotUseDefaultTypeInternal _OperationalStats_DatasetStatsEntry_DoNotUse_default_instance_;
70 class OperationalStats_Event;
71 struct OperationalStats_EventDefaultTypeInternal;
72 extern OperationalStats_EventDefaultTypeInternal _OperationalStats_Event_default_instance_;
73 } // namespace opstats
74 } // namespace client
75 } // namespace fcp
76 PROTOBUF_NAMESPACE_OPEN
77 template<> ::fcp::client::opstats::OpStatsSelectionCriteria* Arena::CreateMaybeMessage<::fcp::client::opstats::OpStatsSelectionCriteria>(Arena*);
78 template<> ::fcp::client::opstats::OpStatsSequence* Arena::CreateMaybeMessage<::fcp::client::opstats::OpStatsSequence>(Arena*);
79 template<> ::fcp::client::opstats::OperationalStats* Arena::CreateMaybeMessage<::fcp::client::opstats::OperationalStats>(Arena*);
80 template<> ::fcp::client::opstats::OperationalStats_DatasetStats* Arena::CreateMaybeMessage<::fcp::client::opstats::OperationalStats_DatasetStats>(Arena*);
81 template<> ::fcp::client::opstats::OperationalStats_DatasetStatsEntry_DoNotUse* Arena::CreateMaybeMessage<::fcp::client::opstats::OperationalStats_DatasetStatsEntry_DoNotUse>(Arena*);
82 template<> ::fcp::client::opstats::OperationalStats_Event* Arena::CreateMaybeMessage<::fcp::client::opstats::OperationalStats_Event>(Arena*);
83 PROTOBUF_NAMESPACE_CLOSE
84 namespace fcp {
85 namespace client {
86 namespace opstats {
87
88 enum OperationalStats_Event_EventKind : int {
89 OperationalStats_Event_EventKind_EVENT_KIND_UNRECOGNIZED = 0,
90 OperationalStats_Event_EventKind_EVENT_KIND_ELIGIBILITY_CHECKIN_STARTED = 1,
91 OperationalStats_Event_EventKind_EVENT_KIND_ELIGIBILITY_REJECTED = 2,
92 OperationalStats_Event_EventKind_EVENT_KIND_ELIGIBILITY_DISABLED = 3,
93 OperationalStats_Event_EventKind_EVENT_KIND_ELIGIBILITY_PLAN_URI_RECEIVED = 48,
94 OperationalStats_Event_EventKind_EVENT_KIND_ELIGIBILITY_ENABLED = 4,
95 OperationalStats_Event_EventKind_EVENT_KIND_ELIGIBILITY_COMPUTATION_STARTED = 5,
96 OperationalStats_Event_EventKind_EVENT_KIND_ELIGIBILITY_COMPUTATION_FINISHED = 6,
97 OperationalStats_Event_EventKind_EVENT_KIND_CHECKIN_STARTED = 7,
98 OperationalStats_Event_EventKind_EVENT_KIND_CHECKIN_REJECTED = 8,
99 OperationalStats_Event_EventKind_EVENT_KIND_CHECKIN_PLAN_URI_RECEIVED = 49,
100 OperationalStats_Event_EventKind_EVENT_KIND_CHECKIN_ACCEPTED = 9,
101 OperationalStats_Event_EventKind_EVENT_KIND_COMPUTATION_STARTED = 10,
102 OperationalStats_Event_EventKind_EVENT_KIND_COMPUTATION_FINISHED = 11,
103 OperationalStats_Event_EventKind_EVENT_KIND_UPLOAD_STARTED PROTOBUF_DEPRECATED_ENUM = 12,
104 OperationalStats_Event_EventKind_EVENT_KIND_UPLOAD_FINISHED PROTOBUF_DEPRECATED_ENUM = 13,
105 OperationalStats_Event_EventKind_EVENT_KIND_CLIENT_INTERRUPTED PROTOBUF_DEPRECATED_ENUM = 14,
106 OperationalStats_Event_EventKind_EVENT_KIND_SERVER_ABORTED PROTOBUF_DEPRECATED_ENUM = 15,
107 OperationalStats_Event_EventKind_EVENT_KIND_ERROR_IO PROTOBUF_DEPRECATED_ENUM = 16,
108 OperationalStats_Event_EventKind_EVENT_KIND_ERROR_TENSORFLOW PROTOBUF_DEPRECATED_ENUM = 17,
109 OperationalStats_Event_EventKind_EVENT_KIND_ERROR_EXAMPLE_SELECTOR PROTOBUF_DEPRECATED_ENUM = 18,
110 OperationalStats_Event_EventKind_EVENT_KIND_TRAIN_NOT_STARTED = 19,
111 OperationalStats_Event_EventKind_EVENT_KIND_ELIGIBILITY_CHECKIN_ERROR_IO = 20,
112 OperationalStats_Event_EventKind_EVENT_KIND_ELIGIBILITY_CHECKIN_ERROR_INVALID_PAYLOAD = 21,
113 OperationalStats_Event_EventKind_EVENT_KIND_ELIGIBILITY_CHECKIN_CLIENT_INTERRUPTED = 22,
114 OperationalStats_Event_EventKind_EVENT_KIND_ELIGIBILITY_CHECKIN_SERVER_ABORTED = 23,
115 OperationalStats_Event_EventKind_EVENT_KIND_CHECKIN_ERROR_IO = 24,
116 OperationalStats_Event_EventKind_EVENT_KIND_CHECKIN_ERROR_INVALID_PAYLOAD = 25,
117 OperationalStats_Event_EventKind_EVENT_KIND_CHECKIN_CLIENT_INTERRUPTED = 26,
118 OperationalStats_Event_EventKind_EVENT_KIND_CHECKIN_SERVER_ABORTED = 27,
119 OperationalStats_Event_EventKind_EVENT_KIND_ELIGIBILITY_COMPUTATION_ERROR_TENSORFLOW = 28,
120 OperationalStats_Event_EventKind_EVENT_KIND_ELIGIBILITY_COMPUTATION_ERROR_IO = 29,
121 OperationalStats_Event_EventKind_EVENT_KIND_ELIGIBILITY_COMPUTATION_ERROR_INVALID_ARGUMENT = 30,
122 OperationalStats_Event_EventKind_EVENT_KIND_ELIGIBILITY_COMPUTATION_ERROR_EXAMPLE_ITERATOR = 31,
123 OperationalStats_Event_EventKind_EVENT_KIND_ELIGIBILITY_COMPUTATION_CLIENT_INTERRUPTED = 32,
124 OperationalStats_Event_EventKind_EVENT_KIND_COMPUTATION_ERROR_TENSORFLOW = 33,
125 OperationalStats_Event_EventKind_EVENT_KIND_COMPUTATION_ERROR_IO = 34,
126 OperationalStats_Event_EventKind_EVENT_KIND_COMPUTATION_ERROR_INVALID_ARGUMENT = 35,
127 OperationalStats_Event_EventKind_EVENT_KIND_COMPUTATION_ERROR_EXAMPLE_ITERATOR = 36,
128 OperationalStats_Event_EventKind_EVENT_KIND_COMPUTATION_CLIENT_INTERRUPTED = 37,
129 OperationalStats_Event_EventKind_EVENT_KIND_RESULT_UPLOAD_STARTED = 38,
130 OperationalStats_Event_EventKind_EVENT_KIND_RESULT_UPLOAD_ERROR_IO = 39,
131 OperationalStats_Event_EventKind_EVENT_KIND_RESULT_UPLOAD_CLIENT_INTERRUPTED = 40,
132 OperationalStats_Event_EventKind_EVENT_KIND_RESULT_UPLOAD_SERVER_ABORTED = 41,
133 OperationalStats_Event_EventKind_EVENT_KIND_RESULT_UPLOAD_FINISHED = 42,
134 OperationalStats_Event_EventKind_EVENT_KIND_FAILURE_UPLOAD_STARTED = 43,
135 OperationalStats_Event_EventKind_EVENT_KIND_FAILURE_UPLOAD_ERROR_IO = 44,
136 OperationalStats_Event_EventKind_EVENT_KIND_FAILURE_UPLOAD_CLIENT_INTERRUPTED = 45,
137 OperationalStats_Event_EventKind_EVENT_KIND_FAILURE_UPLOAD_SERVER_ABORTED = 46,
138 OperationalStats_Event_EventKind_EVENT_KIND_FAILURE_UPLOAD_FINISHED = 47,
139 OperationalStats_Event_EventKind_EVENT_KIND_INITIALIZATION_ERROR_NONFATAL = 50,
140 OperationalStats_Event_EventKind_EVENT_KIND_INITIALIZATION_ERROR_FATAL = 51,
141 OperationalStats_Event_EventKind_OperationalStats_Event_EventKind_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::int32_t>::min(),
142 OperationalStats_Event_EventKind_OperationalStats_Event_EventKind_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::int32_t>::max()
143 };
144 bool OperationalStats_Event_EventKind_IsValid(int value);
145 constexpr OperationalStats_Event_EventKind OperationalStats_Event_EventKind_EventKind_MIN = OperationalStats_Event_EventKind_EVENT_KIND_UNRECOGNIZED;
146 constexpr OperationalStats_Event_EventKind OperationalStats_Event_EventKind_EventKind_MAX = OperationalStats_Event_EventKind_EVENT_KIND_INITIALIZATION_ERROR_FATAL;
147 constexpr int OperationalStats_Event_EventKind_EventKind_ARRAYSIZE = OperationalStats_Event_EventKind_EventKind_MAX + 1;
148
149 const std::string& OperationalStats_Event_EventKind_Name(OperationalStats_Event_EventKind value);
150 template<typename T>
OperationalStats_Event_EventKind_Name(T enum_t_value)151 inline const std::string& OperationalStats_Event_EventKind_Name(T enum_t_value) {
152 static_assert(::std::is_same<T, OperationalStats_Event_EventKind>::value ||
153 ::std::is_integral<T>::value,
154 "Incorrect type passed to function OperationalStats_Event_EventKind_Name.");
155 return OperationalStats_Event_EventKind_Name(static_cast<OperationalStats_Event_EventKind>(enum_t_value));
156 }
157 bool OperationalStats_Event_EventKind_Parse(
158 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, OperationalStats_Event_EventKind* value);
159 // ===================================================================
160
161 class OperationalStats_Event final :
162 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:fcp.client.opstats.OperationalStats.Event) */ {
163 public:
OperationalStats_Event()164 inline OperationalStats_Event() : OperationalStats_Event(nullptr) {}
165 ~OperationalStats_Event() override;
166 explicit PROTOBUF_CONSTEXPR OperationalStats_Event(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
167
168 OperationalStats_Event(const OperationalStats_Event& from);
OperationalStats_Event(OperationalStats_Event && from)169 OperationalStats_Event(OperationalStats_Event&& from) noexcept
170 : OperationalStats_Event() {
171 *this = ::std::move(from);
172 }
173
174 inline OperationalStats_Event& operator=(const OperationalStats_Event& from) {
175 if (this == &from) return *this;
176 CopyFrom(from);
177 return *this;
178 }
179 inline OperationalStats_Event& operator=(OperationalStats_Event&& from) noexcept {
180 if (this == &from) return *this;
181 if (GetOwningArena() == from.GetOwningArena()
182 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
183 && GetOwningArena() != nullptr
184 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
185 ) {
186 InternalSwap(&from);
187 } else {
188 CopyFrom(from);
189 }
190 return *this;
191 }
192
default_instance()193 static const OperationalStats_Event& default_instance() {
194 return *internal_default_instance();
195 }
internal_default_instance()196 static inline const OperationalStats_Event* internal_default_instance() {
197 return reinterpret_cast<const OperationalStats_Event*>(
198 &_OperationalStats_Event_default_instance_);
199 }
200 static constexpr int kIndexInFileMessages =
201 0;
202
swap(OperationalStats_Event & a,OperationalStats_Event & b)203 friend void swap(OperationalStats_Event& a, OperationalStats_Event& b) {
204 a.Swap(&b);
205 }
Swap(OperationalStats_Event * other)206 inline void Swap(OperationalStats_Event* other) {
207 if (other == this) return;
208 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
209 if (GetOwningArena() != nullptr &&
210 GetOwningArena() == other->GetOwningArena()) {
211 #else // PROTOBUF_FORCE_COPY_IN_SWAP
212 if (GetOwningArena() == other->GetOwningArena()) {
213 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
214 InternalSwap(other);
215 } else {
216 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
217 }
218 }
219 void UnsafeArenaSwap(OperationalStats_Event* other) {
220 if (other == this) return;
221 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
222 InternalSwap(other);
223 }
224
225 // implements Message ----------------------------------------------
226
227 OperationalStats_Event* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
228 return CreateMaybeMessage<OperationalStats_Event>(arena);
229 }
230 OperationalStats_Event* New() const {
231 return New(nullptr);
232 }
233 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
234 void CopyFrom(const OperationalStats_Event& from);
235 void MergeFrom(const OperationalStats_Event& from);
236 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
237 bool IsInitialized() const final;
238
239 size_t ByteSizeLong() const final;
240 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
241 ::uint8_t* _InternalSerialize(
242 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
243 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
244
245 private:
246 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
247 void SharedDtor();
248 void SetCachedSize(int size) const;
249 void InternalSwap(OperationalStats_Event* other);
250
251 private:
252 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
253 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
254 return "fcp.client.opstats.OperationalStats.Event";
255 }
256 protected:
257 explicit OperationalStats_Event(::PROTOBUF_NAMESPACE_ID::Arena* arena,
258 bool is_message_owned = false);
259 public:
260
261 std::string GetTypeName() const final;
262
263 // nested types ----------------------------------------------------
264
265 typedef OperationalStats_Event_EventKind EventKind;
266 static constexpr EventKind EVENT_KIND_UNRECOGNIZED =
267 OperationalStats_Event_EventKind_EVENT_KIND_UNRECOGNIZED;
268 static constexpr EventKind EVENT_KIND_ELIGIBILITY_CHECKIN_STARTED =
269 OperationalStats_Event_EventKind_EVENT_KIND_ELIGIBILITY_CHECKIN_STARTED;
270 static constexpr EventKind EVENT_KIND_ELIGIBILITY_REJECTED =
271 OperationalStats_Event_EventKind_EVENT_KIND_ELIGIBILITY_REJECTED;
272 static constexpr EventKind EVENT_KIND_ELIGIBILITY_DISABLED =
273 OperationalStats_Event_EventKind_EVENT_KIND_ELIGIBILITY_DISABLED;
274 static constexpr EventKind EVENT_KIND_ELIGIBILITY_PLAN_URI_RECEIVED =
275 OperationalStats_Event_EventKind_EVENT_KIND_ELIGIBILITY_PLAN_URI_RECEIVED;
276 static constexpr EventKind EVENT_KIND_ELIGIBILITY_ENABLED =
277 OperationalStats_Event_EventKind_EVENT_KIND_ELIGIBILITY_ENABLED;
278 static constexpr EventKind EVENT_KIND_ELIGIBILITY_COMPUTATION_STARTED =
279 OperationalStats_Event_EventKind_EVENT_KIND_ELIGIBILITY_COMPUTATION_STARTED;
280 static constexpr EventKind EVENT_KIND_ELIGIBILITY_COMPUTATION_FINISHED =
281 OperationalStats_Event_EventKind_EVENT_KIND_ELIGIBILITY_COMPUTATION_FINISHED;
282 static constexpr EventKind EVENT_KIND_CHECKIN_STARTED =
283 OperationalStats_Event_EventKind_EVENT_KIND_CHECKIN_STARTED;
284 static constexpr EventKind EVENT_KIND_CHECKIN_REJECTED =
285 OperationalStats_Event_EventKind_EVENT_KIND_CHECKIN_REJECTED;
286 static constexpr EventKind EVENT_KIND_CHECKIN_PLAN_URI_RECEIVED =
287 OperationalStats_Event_EventKind_EVENT_KIND_CHECKIN_PLAN_URI_RECEIVED;
288 static constexpr EventKind EVENT_KIND_CHECKIN_ACCEPTED =
289 OperationalStats_Event_EventKind_EVENT_KIND_CHECKIN_ACCEPTED;
290 static constexpr EventKind EVENT_KIND_COMPUTATION_STARTED =
291 OperationalStats_Event_EventKind_EVENT_KIND_COMPUTATION_STARTED;
292 static constexpr EventKind EVENT_KIND_COMPUTATION_FINISHED =
293 OperationalStats_Event_EventKind_EVENT_KIND_COMPUTATION_FINISHED;
294 PROTOBUF_DEPRECATED_ENUM static constexpr EventKind EVENT_KIND_UPLOAD_STARTED =
295 OperationalStats_Event_EventKind_EVENT_KIND_UPLOAD_STARTED;
296 PROTOBUF_DEPRECATED_ENUM static constexpr EventKind EVENT_KIND_UPLOAD_FINISHED =
297 OperationalStats_Event_EventKind_EVENT_KIND_UPLOAD_FINISHED;
298 PROTOBUF_DEPRECATED_ENUM static constexpr EventKind EVENT_KIND_CLIENT_INTERRUPTED =
299 OperationalStats_Event_EventKind_EVENT_KIND_CLIENT_INTERRUPTED;
300 PROTOBUF_DEPRECATED_ENUM static constexpr EventKind EVENT_KIND_SERVER_ABORTED =
301 OperationalStats_Event_EventKind_EVENT_KIND_SERVER_ABORTED;
302 PROTOBUF_DEPRECATED_ENUM static constexpr EventKind EVENT_KIND_ERROR_IO =
303 OperationalStats_Event_EventKind_EVENT_KIND_ERROR_IO;
304 PROTOBUF_DEPRECATED_ENUM static constexpr EventKind EVENT_KIND_ERROR_TENSORFLOW =
305 OperationalStats_Event_EventKind_EVENT_KIND_ERROR_TENSORFLOW;
306 PROTOBUF_DEPRECATED_ENUM static constexpr EventKind EVENT_KIND_ERROR_EXAMPLE_SELECTOR =
307 OperationalStats_Event_EventKind_EVENT_KIND_ERROR_EXAMPLE_SELECTOR;
308 static constexpr EventKind EVENT_KIND_TRAIN_NOT_STARTED =
309 OperationalStats_Event_EventKind_EVENT_KIND_TRAIN_NOT_STARTED;
310 static constexpr EventKind EVENT_KIND_ELIGIBILITY_CHECKIN_ERROR_IO =
311 OperationalStats_Event_EventKind_EVENT_KIND_ELIGIBILITY_CHECKIN_ERROR_IO;
312 static constexpr EventKind EVENT_KIND_ELIGIBILITY_CHECKIN_ERROR_INVALID_PAYLOAD =
313 OperationalStats_Event_EventKind_EVENT_KIND_ELIGIBILITY_CHECKIN_ERROR_INVALID_PAYLOAD;
314 static constexpr EventKind EVENT_KIND_ELIGIBILITY_CHECKIN_CLIENT_INTERRUPTED =
315 OperationalStats_Event_EventKind_EVENT_KIND_ELIGIBILITY_CHECKIN_CLIENT_INTERRUPTED;
316 static constexpr EventKind EVENT_KIND_ELIGIBILITY_CHECKIN_SERVER_ABORTED =
317 OperationalStats_Event_EventKind_EVENT_KIND_ELIGIBILITY_CHECKIN_SERVER_ABORTED;
318 static constexpr EventKind EVENT_KIND_CHECKIN_ERROR_IO =
319 OperationalStats_Event_EventKind_EVENT_KIND_CHECKIN_ERROR_IO;
320 static constexpr EventKind EVENT_KIND_CHECKIN_ERROR_INVALID_PAYLOAD =
321 OperationalStats_Event_EventKind_EVENT_KIND_CHECKIN_ERROR_INVALID_PAYLOAD;
322 static constexpr EventKind EVENT_KIND_CHECKIN_CLIENT_INTERRUPTED =
323 OperationalStats_Event_EventKind_EVENT_KIND_CHECKIN_CLIENT_INTERRUPTED;
324 static constexpr EventKind EVENT_KIND_CHECKIN_SERVER_ABORTED =
325 OperationalStats_Event_EventKind_EVENT_KIND_CHECKIN_SERVER_ABORTED;
326 static constexpr EventKind EVENT_KIND_ELIGIBILITY_COMPUTATION_ERROR_TENSORFLOW =
327 OperationalStats_Event_EventKind_EVENT_KIND_ELIGIBILITY_COMPUTATION_ERROR_TENSORFLOW;
328 static constexpr EventKind EVENT_KIND_ELIGIBILITY_COMPUTATION_ERROR_IO =
329 OperationalStats_Event_EventKind_EVENT_KIND_ELIGIBILITY_COMPUTATION_ERROR_IO;
330 static constexpr EventKind EVENT_KIND_ELIGIBILITY_COMPUTATION_ERROR_INVALID_ARGUMENT =
331 OperationalStats_Event_EventKind_EVENT_KIND_ELIGIBILITY_COMPUTATION_ERROR_INVALID_ARGUMENT;
332 static constexpr EventKind EVENT_KIND_ELIGIBILITY_COMPUTATION_ERROR_EXAMPLE_ITERATOR =
333 OperationalStats_Event_EventKind_EVENT_KIND_ELIGIBILITY_COMPUTATION_ERROR_EXAMPLE_ITERATOR;
334 static constexpr EventKind EVENT_KIND_ELIGIBILITY_COMPUTATION_CLIENT_INTERRUPTED =
335 OperationalStats_Event_EventKind_EVENT_KIND_ELIGIBILITY_COMPUTATION_CLIENT_INTERRUPTED;
336 static constexpr EventKind EVENT_KIND_COMPUTATION_ERROR_TENSORFLOW =
337 OperationalStats_Event_EventKind_EVENT_KIND_COMPUTATION_ERROR_TENSORFLOW;
338 static constexpr EventKind EVENT_KIND_COMPUTATION_ERROR_IO =
339 OperationalStats_Event_EventKind_EVENT_KIND_COMPUTATION_ERROR_IO;
340 static constexpr EventKind EVENT_KIND_COMPUTATION_ERROR_INVALID_ARGUMENT =
341 OperationalStats_Event_EventKind_EVENT_KIND_COMPUTATION_ERROR_INVALID_ARGUMENT;
342 static constexpr EventKind EVENT_KIND_COMPUTATION_ERROR_EXAMPLE_ITERATOR =
343 OperationalStats_Event_EventKind_EVENT_KIND_COMPUTATION_ERROR_EXAMPLE_ITERATOR;
344 static constexpr EventKind EVENT_KIND_COMPUTATION_CLIENT_INTERRUPTED =
345 OperationalStats_Event_EventKind_EVENT_KIND_COMPUTATION_CLIENT_INTERRUPTED;
346 static constexpr EventKind EVENT_KIND_RESULT_UPLOAD_STARTED =
347 OperationalStats_Event_EventKind_EVENT_KIND_RESULT_UPLOAD_STARTED;
348 static constexpr EventKind EVENT_KIND_RESULT_UPLOAD_ERROR_IO =
349 OperationalStats_Event_EventKind_EVENT_KIND_RESULT_UPLOAD_ERROR_IO;
350 static constexpr EventKind EVENT_KIND_RESULT_UPLOAD_CLIENT_INTERRUPTED =
351 OperationalStats_Event_EventKind_EVENT_KIND_RESULT_UPLOAD_CLIENT_INTERRUPTED;
352 static constexpr EventKind EVENT_KIND_RESULT_UPLOAD_SERVER_ABORTED =
353 OperationalStats_Event_EventKind_EVENT_KIND_RESULT_UPLOAD_SERVER_ABORTED;
354 static constexpr EventKind EVENT_KIND_RESULT_UPLOAD_FINISHED =
355 OperationalStats_Event_EventKind_EVENT_KIND_RESULT_UPLOAD_FINISHED;
356 static constexpr EventKind EVENT_KIND_FAILURE_UPLOAD_STARTED =
357 OperationalStats_Event_EventKind_EVENT_KIND_FAILURE_UPLOAD_STARTED;
358 static constexpr EventKind EVENT_KIND_FAILURE_UPLOAD_ERROR_IO =
359 OperationalStats_Event_EventKind_EVENT_KIND_FAILURE_UPLOAD_ERROR_IO;
360 static constexpr EventKind EVENT_KIND_FAILURE_UPLOAD_CLIENT_INTERRUPTED =
361 OperationalStats_Event_EventKind_EVENT_KIND_FAILURE_UPLOAD_CLIENT_INTERRUPTED;
362 static constexpr EventKind EVENT_KIND_FAILURE_UPLOAD_SERVER_ABORTED =
363 OperationalStats_Event_EventKind_EVENT_KIND_FAILURE_UPLOAD_SERVER_ABORTED;
364 static constexpr EventKind EVENT_KIND_FAILURE_UPLOAD_FINISHED =
365 OperationalStats_Event_EventKind_EVENT_KIND_FAILURE_UPLOAD_FINISHED;
366 static constexpr EventKind EVENT_KIND_INITIALIZATION_ERROR_NONFATAL =
367 OperationalStats_Event_EventKind_EVENT_KIND_INITIALIZATION_ERROR_NONFATAL;
368 static constexpr EventKind EVENT_KIND_INITIALIZATION_ERROR_FATAL =
369 OperationalStats_Event_EventKind_EVENT_KIND_INITIALIZATION_ERROR_FATAL;
370 static inline bool EventKind_IsValid(int value) {
371 return OperationalStats_Event_EventKind_IsValid(value);
372 }
373 static constexpr EventKind EventKind_MIN =
374 OperationalStats_Event_EventKind_EventKind_MIN;
375 static constexpr EventKind EventKind_MAX =
376 OperationalStats_Event_EventKind_EventKind_MAX;
377 static constexpr int EventKind_ARRAYSIZE =
378 OperationalStats_Event_EventKind_EventKind_ARRAYSIZE;
379 template<typename T>
380 static inline const std::string& EventKind_Name(T enum_t_value) {
381 static_assert(::std::is_same<T, EventKind>::value ||
382 ::std::is_integral<T>::value,
383 "Incorrect type passed to function EventKind_Name.");
384 return OperationalStats_Event_EventKind_Name(enum_t_value);
385 }
386 static inline bool EventKind_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
387 EventKind* value) {
388 return OperationalStats_Event_EventKind_Parse(name, value);
389 }
390
391 // accessors -------------------------------------------------------
392
393 enum : int {
394 kTimestampFieldNumber = 2,
395 kEventTypeFieldNumber = 1,
396 };
397 // .google.protobuf.Timestamp timestamp = 2;
398 bool has_timestamp() const;
399 private:
400 bool _internal_has_timestamp() const;
401 public:
402 void clear_timestamp();
403 const ::PROTOBUF_NAMESPACE_ID::Timestamp& timestamp() const;
404 PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::Timestamp* release_timestamp();
405 ::PROTOBUF_NAMESPACE_ID::Timestamp* mutable_timestamp();
406 void set_allocated_timestamp(::PROTOBUF_NAMESPACE_ID::Timestamp* timestamp);
407 private:
408 const ::PROTOBUF_NAMESPACE_ID::Timestamp& _internal_timestamp() const;
409 ::PROTOBUF_NAMESPACE_ID::Timestamp* _internal_mutable_timestamp();
410 public:
411 void unsafe_arena_set_allocated_timestamp(
412 ::PROTOBUF_NAMESPACE_ID::Timestamp* timestamp);
413 ::PROTOBUF_NAMESPACE_ID::Timestamp* unsafe_arena_release_timestamp();
414
415 // .fcp.client.opstats.OperationalStats.Event.EventKind event_type = 1;
416 void clear_event_type();
417 ::fcp::client::opstats::OperationalStats_Event_EventKind event_type() const;
418 void set_event_type(::fcp::client::opstats::OperationalStats_Event_EventKind value);
419 private:
420 ::fcp::client::opstats::OperationalStats_Event_EventKind _internal_event_type() const;
421 void _internal_set_event_type(::fcp::client::opstats::OperationalStats_Event_EventKind value);
422 public:
423
424 // @@protoc_insertion_point(class_scope:fcp.client.opstats.OperationalStats.Event)
425 private:
426 class _Internal;
427
428 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
429 typedef void InternalArenaConstructable_;
430 typedef void DestructorSkippable_;
431 struct Impl_ {
432 ::PROTOBUF_NAMESPACE_ID::Timestamp* timestamp_;
433 int event_type_;
434 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
435 };
436 union { Impl_ _impl_; };
437 friend struct ::TableStruct_fcp_2fprotos_2fopstats_2eproto;
438 };
439 // -------------------------------------------------------------------
440
441 class OperationalStats_DatasetStats final :
442 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:fcp.client.opstats.OperationalStats.DatasetStats) */ {
443 public:
OperationalStats_DatasetStats()444 inline OperationalStats_DatasetStats() : OperationalStats_DatasetStats(nullptr) {}
445 ~OperationalStats_DatasetStats() override;
446 explicit PROTOBUF_CONSTEXPR OperationalStats_DatasetStats(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
447
448 OperationalStats_DatasetStats(const OperationalStats_DatasetStats& from);
OperationalStats_DatasetStats(OperationalStats_DatasetStats && from)449 OperationalStats_DatasetStats(OperationalStats_DatasetStats&& from) noexcept
450 : OperationalStats_DatasetStats() {
451 *this = ::std::move(from);
452 }
453
454 inline OperationalStats_DatasetStats& operator=(const OperationalStats_DatasetStats& from) {
455 if (this == &from) return *this;
456 CopyFrom(from);
457 return *this;
458 }
459 inline OperationalStats_DatasetStats& operator=(OperationalStats_DatasetStats&& from) noexcept {
460 if (this == &from) return *this;
461 if (GetOwningArena() == from.GetOwningArena()
462 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
463 && GetOwningArena() != nullptr
464 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
465 ) {
466 InternalSwap(&from);
467 } else {
468 CopyFrom(from);
469 }
470 return *this;
471 }
472
default_instance()473 static const OperationalStats_DatasetStats& default_instance() {
474 return *internal_default_instance();
475 }
internal_default_instance()476 static inline const OperationalStats_DatasetStats* internal_default_instance() {
477 return reinterpret_cast<const OperationalStats_DatasetStats*>(
478 &_OperationalStats_DatasetStats_default_instance_);
479 }
480 static constexpr int kIndexInFileMessages =
481 1;
482
swap(OperationalStats_DatasetStats & a,OperationalStats_DatasetStats & b)483 friend void swap(OperationalStats_DatasetStats& a, OperationalStats_DatasetStats& b) {
484 a.Swap(&b);
485 }
Swap(OperationalStats_DatasetStats * other)486 inline void Swap(OperationalStats_DatasetStats* other) {
487 if (other == this) return;
488 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
489 if (GetOwningArena() != nullptr &&
490 GetOwningArena() == other->GetOwningArena()) {
491 #else // PROTOBUF_FORCE_COPY_IN_SWAP
492 if (GetOwningArena() == other->GetOwningArena()) {
493 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
494 InternalSwap(other);
495 } else {
496 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
497 }
498 }
499 void UnsafeArenaSwap(OperationalStats_DatasetStats* other) {
500 if (other == this) return;
501 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
502 InternalSwap(other);
503 }
504
505 // implements Message ----------------------------------------------
506
507 OperationalStats_DatasetStats* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
508 return CreateMaybeMessage<OperationalStats_DatasetStats>(arena);
509 }
510 OperationalStats_DatasetStats* New() const {
511 return New(nullptr);
512 }
513 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
514 void CopyFrom(const OperationalStats_DatasetStats& from);
515 void MergeFrom(const OperationalStats_DatasetStats& from);
516 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
517 bool IsInitialized() const final;
518
519 size_t ByteSizeLong() const final;
520 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
521 ::uint8_t* _InternalSerialize(
522 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
523 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
524
525 private:
526 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
527 void SharedDtor();
528 void SetCachedSize(int size) const;
529 void InternalSwap(OperationalStats_DatasetStats* other);
530
531 private:
532 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
533 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
534 return "fcp.client.opstats.OperationalStats.DatasetStats";
535 }
536 protected:
537 explicit OperationalStats_DatasetStats(::PROTOBUF_NAMESPACE_ID::Arena* arena,
538 bool is_message_owned = false);
539 public:
540
541 std::string GetTypeName() const final;
542
543 // nested types ----------------------------------------------------
544
545 // accessors -------------------------------------------------------
546
547 enum : int {
548 kNumExamplesReadFieldNumber = 1,
549 kNumBytesReadFieldNumber = 2,
550 };
551 // int64 num_examples_read = 1;
552 void clear_num_examples_read();
553 ::int64_t num_examples_read() const;
554 void set_num_examples_read(::int64_t value);
555 private:
556 ::int64_t _internal_num_examples_read() const;
557 void _internal_set_num_examples_read(::int64_t value);
558 public:
559
560 // int64 num_bytes_read = 2;
561 void clear_num_bytes_read();
562 ::int64_t num_bytes_read() const;
563 void set_num_bytes_read(::int64_t value);
564 private:
565 ::int64_t _internal_num_bytes_read() const;
566 void _internal_set_num_bytes_read(::int64_t value);
567 public:
568
569 // @@protoc_insertion_point(class_scope:fcp.client.opstats.OperationalStats.DatasetStats)
570 private:
571 class _Internal;
572
573 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
574 typedef void InternalArenaConstructable_;
575 typedef void DestructorSkippable_;
576 struct Impl_ {
577 ::int64_t num_examples_read_;
578 ::int64_t num_bytes_read_;
579 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
580 };
581 union { Impl_ _impl_; };
582 friend struct ::TableStruct_fcp_2fprotos_2fopstats_2eproto;
583 };
584 // -------------------------------------------------------------------
585
586 class OperationalStats_DatasetStatsEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<OperationalStats_DatasetStatsEntry_DoNotUse,
587 std::string, ::fcp::client::opstats::OperationalStats_DatasetStats,
588 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
589 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> {
590 public:
591 typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<OperationalStats_DatasetStatsEntry_DoNotUse,
592 std::string, ::fcp::client::opstats::OperationalStats_DatasetStats,
593 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
594 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> SuperType;
595 OperationalStats_DatasetStatsEntry_DoNotUse();
596 explicit PROTOBUF_CONSTEXPR OperationalStats_DatasetStatsEntry_DoNotUse(
597 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
598 explicit OperationalStats_DatasetStatsEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
599 void MergeFrom(const OperationalStats_DatasetStatsEntry_DoNotUse& other);
internal_default_instance()600 static const OperationalStats_DatasetStatsEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const OperationalStats_DatasetStatsEntry_DoNotUse*>(&_OperationalStats_DatasetStatsEntry_DoNotUse_default_instance_); }
ValidateKey(std::string * s)601 static bool ValidateKey(std::string* s) {
602 return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "fcp.client.opstats.OperationalStats.DatasetStatsEntry.key");
603 }
ValidateValue(void *)604 static bool ValidateValue(void*) { return true; }
605 friend struct ::TableStruct_fcp_2fprotos_2fopstats_2eproto;
606 };
607
608 // -------------------------------------------------------------------
609
610 class OperationalStats final :
611 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:fcp.client.opstats.OperationalStats) */ {
612 public:
OperationalStats()613 inline OperationalStats() : OperationalStats(nullptr) {}
614 ~OperationalStats() override;
615 explicit PROTOBUF_CONSTEXPR OperationalStats(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
616
617 OperationalStats(const OperationalStats& from);
OperationalStats(OperationalStats && from)618 OperationalStats(OperationalStats&& from) noexcept
619 : OperationalStats() {
620 *this = ::std::move(from);
621 }
622
623 inline OperationalStats& operator=(const OperationalStats& from) {
624 if (this == &from) return *this;
625 CopyFrom(from);
626 return *this;
627 }
628 inline OperationalStats& operator=(OperationalStats&& from) noexcept {
629 if (this == &from) return *this;
630 if (GetOwningArena() == from.GetOwningArena()
631 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
632 && GetOwningArena() != nullptr
633 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
634 ) {
635 InternalSwap(&from);
636 } else {
637 CopyFrom(from);
638 }
639 return *this;
640 }
641
default_instance()642 static const OperationalStats& default_instance() {
643 return *internal_default_instance();
644 }
internal_default_instance()645 static inline const OperationalStats* internal_default_instance() {
646 return reinterpret_cast<const OperationalStats*>(
647 &_OperationalStats_default_instance_);
648 }
649 static constexpr int kIndexInFileMessages =
650 3;
651
swap(OperationalStats & a,OperationalStats & b)652 friend void swap(OperationalStats& a, OperationalStats& b) {
653 a.Swap(&b);
654 }
Swap(OperationalStats * other)655 inline void Swap(OperationalStats* other) {
656 if (other == this) return;
657 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
658 if (GetOwningArena() != nullptr &&
659 GetOwningArena() == other->GetOwningArena()) {
660 #else // PROTOBUF_FORCE_COPY_IN_SWAP
661 if (GetOwningArena() == other->GetOwningArena()) {
662 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
663 InternalSwap(other);
664 } else {
665 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
666 }
667 }
668 void UnsafeArenaSwap(OperationalStats* other) {
669 if (other == this) return;
670 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
671 InternalSwap(other);
672 }
673
674 // implements Message ----------------------------------------------
675
676 OperationalStats* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
677 return CreateMaybeMessage<OperationalStats>(arena);
678 }
679 OperationalStats* New() const {
680 return New(nullptr);
681 }
682 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
683 void CopyFrom(const OperationalStats& from);
684 void MergeFrom(const OperationalStats& from);
685 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
686 bool IsInitialized() const final;
687
688 size_t ByteSizeLong() const final;
689 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
690 ::uint8_t* _InternalSerialize(
691 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
692 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
693
694 private:
695 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
696 void SharedDtor();
697 void SetCachedSize(int size) const;
698 void InternalSwap(OperationalStats* other);
699
700 private:
701 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
702 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
703 return "fcp.client.opstats.OperationalStats";
704 }
705 protected:
706 explicit OperationalStats(::PROTOBUF_NAMESPACE_ID::Arena* arena,
707 bool is_message_owned = false);
708 public:
709
710 std::string GetTypeName() const final;
711
712 // nested types ----------------------------------------------------
713
714 typedef OperationalStats_Event Event;
715 typedef OperationalStats_DatasetStats DatasetStats;
716
717 // accessors -------------------------------------------------------
718
719 enum : int {
720 kEventsFieldNumber = 4,
721 kDatasetStatsFieldNumber = 5,
722 kPopulationNameFieldNumber = 1,
723 kSessionNameFieldNumber = 2,
724 kTaskNameFieldNumber = 3,
725 kErrorMessageFieldNumber = 6,
726 kRetryWindowFieldNumber = 7,
727 kNetworkDurationFieldNumber = 12,
728 kChunkingLayerBytesDownloadedFieldNumber = 10,
729 kChunkingLayerBytesUploadedFieldNumber = 11,
730 };
731 // repeated .fcp.client.opstats.OperationalStats.Event events = 4;
732 int events_size() const;
733 private:
734 int _internal_events_size() const;
735 public:
736 void clear_events();
737 ::fcp::client::opstats::OperationalStats_Event* mutable_events(int index);
738 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fcp::client::opstats::OperationalStats_Event >*
739 mutable_events();
740 private:
741 const ::fcp::client::opstats::OperationalStats_Event& _internal_events(int index) const;
742 ::fcp::client::opstats::OperationalStats_Event* _internal_add_events();
743 public:
744 const ::fcp::client::opstats::OperationalStats_Event& events(int index) const;
745 ::fcp::client::opstats::OperationalStats_Event* add_events();
746 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fcp::client::opstats::OperationalStats_Event >&
747 events() const;
748
749 // map<string, .fcp.client.opstats.OperationalStats.DatasetStats> dataset_stats = 5;
750 int dataset_stats_size() const;
751 private:
752 int _internal_dataset_stats_size() const;
753 public:
754 void clear_dataset_stats();
755 private:
756 const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::fcp::client::opstats::OperationalStats_DatasetStats >&
757 _internal_dataset_stats() const;
758 ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::fcp::client::opstats::OperationalStats_DatasetStats >*
759 _internal_mutable_dataset_stats();
760 public:
761 const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::fcp::client::opstats::OperationalStats_DatasetStats >&
762 dataset_stats() const;
763 ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::fcp::client::opstats::OperationalStats_DatasetStats >*
764 mutable_dataset_stats();
765
766 // string population_name = 1;
767 void clear_population_name();
768 const std::string& population_name() const;
769 template <typename ArgT0 = const std::string&, typename... ArgT>
770 void set_population_name(ArgT0&& arg0, ArgT... args);
771 std::string* mutable_population_name();
772 PROTOBUF_NODISCARD std::string* release_population_name();
773 void set_allocated_population_name(std::string* population_name);
774 private:
775 const std::string& _internal_population_name() const;
776 inline PROTOBUF_ALWAYS_INLINE void _internal_set_population_name(const std::string& value);
777 std::string* _internal_mutable_population_name();
778 public:
779
780 // string session_name = 2;
781 void clear_session_name();
782 const std::string& session_name() const;
783 template <typename ArgT0 = const std::string&, typename... ArgT>
784 void set_session_name(ArgT0&& arg0, ArgT... args);
785 std::string* mutable_session_name();
786 PROTOBUF_NODISCARD std::string* release_session_name();
787 void set_allocated_session_name(std::string* session_name);
788 private:
789 const std::string& _internal_session_name() const;
790 inline PROTOBUF_ALWAYS_INLINE void _internal_set_session_name(const std::string& value);
791 std::string* _internal_mutable_session_name();
792 public:
793
794 // string task_name = 3;
795 void clear_task_name();
796 const std::string& task_name() const;
797 template <typename ArgT0 = const std::string&, typename... ArgT>
798 void set_task_name(ArgT0&& arg0, ArgT... args);
799 std::string* mutable_task_name();
800 PROTOBUF_NODISCARD std::string* release_task_name();
801 void set_allocated_task_name(std::string* task_name);
802 private:
803 const std::string& _internal_task_name() const;
804 inline PROTOBUF_ALWAYS_INLINE void _internal_set_task_name(const std::string& value);
805 std::string* _internal_mutable_task_name();
806 public:
807
808 // string error_message = 6;
809 void clear_error_message();
810 const std::string& error_message() const;
811 template <typename ArgT0 = const std::string&, typename... ArgT>
812 void set_error_message(ArgT0&& arg0, ArgT... args);
813 std::string* mutable_error_message();
814 PROTOBUF_NODISCARD std::string* release_error_message();
815 void set_allocated_error_message(std::string* error_message);
816 private:
817 const std::string& _internal_error_message() const;
818 inline PROTOBUF_ALWAYS_INLINE void _internal_set_error_message(const std::string& value);
819 std::string* _internal_mutable_error_message();
820 public:
821
822 // .google.internal.federatedml.v2.RetryWindow retry_window = 7;
823 bool has_retry_window() const;
824 private:
825 bool _internal_has_retry_window() const;
826 public:
827 void clear_retry_window();
828 const ::google::internal::federatedml::v2::RetryWindow& retry_window() const;
829 PROTOBUF_NODISCARD ::google::internal::federatedml::v2::RetryWindow* release_retry_window();
830 ::google::internal::federatedml::v2::RetryWindow* mutable_retry_window();
831 void set_allocated_retry_window(::google::internal::federatedml::v2::RetryWindow* retry_window);
832 private:
833 const ::google::internal::federatedml::v2::RetryWindow& _internal_retry_window() const;
834 ::google::internal::federatedml::v2::RetryWindow* _internal_mutable_retry_window();
835 public:
836 void unsafe_arena_set_allocated_retry_window(
837 ::google::internal::federatedml::v2::RetryWindow* retry_window);
838 ::google::internal::federatedml::v2::RetryWindow* unsafe_arena_release_retry_window();
839
840 // .google.protobuf.Duration network_duration = 12;
841 bool has_network_duration() const;
842 private:
843 bool _internal_has_network_duration() const;
844 public:
845 void clear_network_duration();
846 const ::PROTOBUF_NAMESPACE_ID::Duration& network_duration() const;
847 PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::Duration* release_network_duration();
848 ::PROTOBUF_NAMESPACE_ID::Duration* mutable_network_duration();
849 void set_allocated_network_duration(::PROTOBUF_NAMESPACE_ID::Duration* network_duration);
850 private:
851 const ::PROTOBUF_NAMESPACE_ID::Duration& _internal_network_duration() const;
852 ::PROTOBUF_NAMESPACE_ID::Duration* _internal_mutable_network_duration();
853 public:
854 void unsafe_arena_set_allocated_network_duration(
855 ::PROTOBUF_NAMESPACE_ID::Duration* network_duration);
856 ::PROTOBUF_NAMESPACE_ID::Duration* unsafe_arena_release_network_duration();
857
858 // int64 chunking_layer_bytes_downloaded = 10;
859 void clear_chunking_layer_bytes_downloaded();
860 ::int64_t chunking_layer_bytes_downloaded() const;
861 void set_chunking_layer_bytes_downloaded(::int64_t value);
862 private:
863 ::int64_t _internal_chunking_layer_bytes_downloaded() const;
864 void _internal_set_chunking_layer_bytes_downloaded(::int64_t value);
865 public:
866
867 // int64 chunking_layer_bytes_uploaded = 11;
868 void clear_chunking_layer_bytes_uploaded();
869 ::int64_t chunking_layer_bytes_uploaded() const;
870 void set_chunking_layer_bytes_uploaded(::int64_t value);
871 private:
872 ::int64_t _internal_chunking_layer_bytes_uploaded() const;
873 void _internal_set_chunking_layer_bytes_uploaded(::int64_t value);
874 public:
875
876 // @@protoc_insertion_point(class_scope:fcp.client.opstats.OperationalStats)
877 private:
878 class _Internal;
879
880 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
881 typedef void InternalArenaConstructable_;
882 typedef void DestructorSkippable_;
883 struct Impl_ {
884 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fcp::client::opstats::OperationalStats_Event > events_;
885 ::PROTOBUF_NAMESPACE_ID::internal::MapFieldLite<
886 OperationalStats_DatasetStatsEntry_DoNotUse,
887 std::string, ::fcp::client::opstats::OperationalStats_DatasetStats,
888 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
889 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> dataset_stats_;
890 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr population_name_;
891 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr session_name_;
892 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr task_name_;
893 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr error_message_;
894 ::google::internal::federatedml::v2::RetryWindow* retry_window_;
895 ::PROTOBUF_NAMESPACE_ID::Duration* network_duration_;
896 ::int64_t chunking_layer_bytes_downloaded_;
897 ::int64_t chunking_layer_bytes_uploaded_;
898 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
899 };
900 union { Impl_ _impl_; };
901 friend struct ::TableStruct_fcp_2fprotos_2fopstats_2eproto;
902 };
903 // -------------------------------------------------------------------
904
905 class OpStatsSequence final :
906 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:fcp.client.opstats.OpStatsSequence) */ {
907 public:
OpStatsSequence()908 inline OpStatsSequence() : OpStatsSequence(nullptr) {}
909 ~OpStatsSequence() override;
910 explicit PROTOBUF_CONSTEXPR OpStatsSequence(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
911
912 OpStatsSequence(const OpStatsSequence& from);
OpStatsSequence(OpStatsSequence && from)913 OpStatsSequence(OpStatsSequence&& from) noexcept
914 : OpStatsSequence() {
915 *this = ::std::move(from);
916 }
917
918 inline OpStatsSequence& operator=(const OpStatsSequence& from) {
919 if (this == &from) return *this;
920 CopyFrom(from);
921 return *this;
922 }
923 inline OpStatsSequence& operator=(OpStatsSequence&& from) noexcept {
924 if (this == &from) return *this;
925 if (GetOwningArena() == from.GetOwningArena()
926 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
927 && GetOwningArena() != nullptr
928 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
929 ) {
930 InternalSwap(&from);
931 } else {
932 CopyFrom(from);
933 }
934 return *this;
935 }
936
default_instance()937 static const OpStatsSequence& default_instance() {
938 return *internal_default_instance();
939 }
internal_default_instance()940 static inline const OpStatsSequence* internal_default_instance() {
941 return reinterpret_cast<const OpStatsSequence*>(
942 &_OpStatsSequence_default_instance_);
943 }
944 static constexpr int kIndexInFileMessages =
945 4;
946
swap(OpStatsSequence & a,OpStatsSequence & b)947 friend void swap(OpStatsSequence& a, OpStatsSequence& b) {
948 a.Swap(&b);
949 }
Swap(OpStatsSequence * other)950 inline void Swap(OpStatsSequence* other) {
951 if (other == this) return;
952 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
953 if (GetOwningArena() != nullptr &&
954 GetOwningArena() == other->GetOwningArena()) {
955 #else // PROTOBUF_FORCE_COPY_IN_SWAP
956 if (GetOwningArena() == other->GetOwningArena()) {
957 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
958 InternalSwap(other);
959 } else {
960 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
961 }
962 }
963 void UnsafeArenaSwap(OpStatsSequence* other) {
964 if (other == this) return;
965 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
966 InternalSwap(other);
967 }
968
969 // implements Message ----------------------------------------------
970
971 OpStatsSequence* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
972 return CreateMaybeMessage<OpStatsSequence>(arena);
973 }
974 OpStatsSequence* New() const {
975 return New(nullptr);
976 }
977 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
978 void CopyFrom(const OpStatsSequence& from);
979 void MergeFrom(const OpStatsSequence& from);
980 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
981 bool IsInitialized() const final;
982
983 size_t ByteSizeLong() const final;
984 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
985 ::uint8_t* _InternalSerialize(
986 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
987 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
988
989 private:
990 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
991 void SharedDtor();
992 void SetCachedSize(int size) const;
993 void InternalSwap(OpStatsSequence* other);
994
995 private:
996 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
997 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
998 return "fcp.client.opstats.OpStatsSequence";
999 }
1000 protected:
1001 explicit OpStatsSequence(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1002 bool is_message_owned = false);
1003 public:
1004
1005 std::string GetTypeName() const final;
1006
1007 // nested types ----------------------------------------------------
1008
1009 // accessors -------------------------------------------------------
1010
1011 enum : int {
1012 kOpstatsFieldNumber = 1,
1013 kEarliestTrustworthyTimeFieldNumber = 2,
1014 };
1015 // repeated .fcp.client.opstats.OperationalStats opstats = 1;
1016 int opstats_size() const;
1017 private:
1018 int _internal_opstats_size() const;
1019 public:
1020 void clear_opstats();
1021 ::fcp::client::opstats::OperationalStats* mutable_opstats(int index);
1022 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fcp::client::opstats::OperationalStats >*
1023 mutable_opstats();
1024 private:
1025 const ::fcp::client::opstats::OperationalStats& _internal_opstats(int index) const;
1026 ::fcp::client::opstats::OperationalStats* _internal_add_opstats();
1027 public:
1028 const ::fcp::client::opstats::OperationalStats& opstats(int index) const;
1029 ::fcp::client::opstats::OperationalStats* add_opstats();
1030 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fcp::client::opstats::OperationalStats >&
1031 opstats() const;
1032
1033 // .google.protobuf.Timestamp earliest_trustworthy_time = 2;
1034 bool has_earliest_trustworthy_time() const;
1035 private:
1036 bool _internal_has_earliest_trustworthy_time() const;
1037 public:
1038 void clear_earliest_trustworthy_time();
1039 const ::PROTOBUF_NAMESPACE_ID::Timestamp& earliest_trustworthy_time() const;
1040 PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::Timestamp* release_earliest_trustworthy_time();
1041 ::PROTOBUF_NAMESPACE_ID::Timestamp* mutable_earliest_trustworthy_time();
1042 void set_allocated_earliest_trustworthy_time(::PROTOBUF_NAMESPACE_ID::Timestamp* earliest_trustworthy_time);
1043 private:
1044 const ::PROTOBUF_NAMESPACE_ID::Timestamp& _internal_earliest_trustworthy_time() const;
1045 ::PROTOBUF_NAMESPACE_ID::Timestamp* _internal_mutable_earliest_trustworthy_time();
1046 public:
1047 void unsafe_arena_set_allocated_earliest_trustworthy_time(
1048 ::PROTOBUF_NAMESPACE_ID::Timestamp* earliest_trustworthy_time);
1049 ::PROTOBUF_NAMESPACE_ID::Timestamp* unsafe_arena_release_earliest_trustworthy_time();
1050
1051 // @@protoc_insertion_point(class_scope:fcp.client.opstats.OpStatsSequence)
1052 private:
1053 class _Internal;
1054
1055 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1056 typedef void InternalArenaConstructable_;
1057 typedef void DestructorSkippable_;
1058 struct Impl_ {
1059 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fcp::client::opstats::OperationalStats > opstats_;
1060 ::PROTOBUF_NAMESPACE_ID::Timestamp* earliest_trustworthy_time_;
1061 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1062 };
1063 union { Impl_ _impl_; };
1064 friend struct ::TableStruct_fcp_2fprotos_2fopstats_2eproto;
1065 };
1066 // -------------------------------------------------------------------
1067
1068 class OpStatsSelectionCriteria final :
1069 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:fcp.client.opstats.OpStatsSelectionCriteria) */ {
1070 public:
OpStatsSelectionCriteria()1071 inline OpStatsSelectionCriteria() : OpStatsSelectionCriteria(nullptr) {}
1072 ~OpStatsSelectionCriteria() override;
1073 explicit PROTOBUF_CONSTEXPR OpStatsSelectionCriteria(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1074
1075 OpStatsSelectionCriteria(const OpStatsSelectionCriteria& from);
OpStatsSelectionCriteria(OpStatsSelectionCriteria && from)1076 OpStatsSelectionCriteria(OpStatsSelectionCriteria&& from) noexcept
1077 : OpStatsSelectionCriteria() {
1078 *this = ::std::move(from);
1079 }
1080
1081 inline OpStatsSelectionCriteria& operator=(const OpStatsSelectionCriteria& from) {
1082 if (this == &from) return *this;
1083 CopyFrom(from);
1084 return *this;
1085 }
1086 inline OpStatsSelectionCriteria& operator=(OpStatsSelectionCriteria&& from) noexcept {
1087 if (this == &from) return *this;
1088 if (GetOwningArena() == from.GetOwningArena()
1089 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1090 && GetOwningArena() != nullptr
1091 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1092 ) {
1093 InternalSwap(&from);
1094 } else {
1095 CopyFrom(from);
1096 }
1097 return *this;
1098 }
1099
default_instance()1100 static const OpStatsSelectionCriteria& default_instance() {
1101 return *internal_default_instance();
1102 }
internal_default_instance()1103 static inline const OpStatsSelectionCriteria* internal_default_instance() {
1104 return reinterpret_cast<const OpStatsSelectionCriteria*>(
1105 &_OpStatsSelectionCriteria_default_instance_);
1106 }
1107 static constexpr int kIndexInFileMessages =
1108 5;
1109
swap(OpStatsSelectionCriteria & a,OpStatsSelectionCriteria & b)1110 friend void swap(OpStatsSelectionCriteria& a, OpStatsSelectionCriteria& b) {
1111 a.Swap(&b);
1112 }
Swap(OpStatsSelectionCriteria * other)1113 inline void Swap(OpStatsSelectionCriteria* other) {
1114 if (other == this) return;
1115 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1116 if (GetOwningArena() != nullptr &&
1117 GetOwningArena() == other->GetOwningArena()) {
1118 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1119 if (GetOwningArena() == other->GetOwningArena()) {
1120 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1121 InternalSwap(other);
1122 } else {
1123 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1124 }
1125 }
1126 void UnsafeArenaSwap(OpStatsSelectionCriteria* other) {
1127 if (other == this) return;
1128 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1129 InternalSwap(other);
1130 }
1131
1132 // implements Message ----------------------------------------------
1133
1134 OpStatsSelectionCriteria* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1135 return CreateMaybeMessage<OpStatsSelectionCriteria>(arena);
1136 }
1137 OpStatsSelectionCriteria* New() const {
1138 return New(nullptr);
1139 }
1140 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
1141 void CopyFrom(const OpStatsSelectionCriteria& from);
1142 void MergeFrom(const OpStatsSelectionCriteria& from);
1143 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1144 bool IsInitialized() const final;
1145
1146 size_t ByteSizeLong() const final;
1147 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1148 ::uint8_t* _InternalSerialize(
1149 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1150 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1151
1152 private:
1153 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1154 void SharedDtor();
1155 void SetCachedSize(int size) const;
1156 void InternalSwap(OpStatsSelectionCriteria* other);
1157
1158 private:
1159 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1160 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1161 return "fcp.client.opstats.OpStatsSelectionCriteria";
1162 }
1163 protected:
1164 explicit OpStatsSelectionCriteria(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1165 bool is_message_owned = false);
1166 public:
1167
1168 std::string GetTypeName() const final;
1169
1170 // nested types ----------------------------------------------------
1171
1172 // accessors -------------------------------------------------------
1173
1174 enum : int {
1175 kStartTimeFieldNumber = 1,
1176 kEndTimeFieldNumber = 2,
1177 kLastSuccessfulContributionFieldNumber = 3,
1178 };
1179 // .google.protobuf.Timestamp start_time = 1;
1180 bool has_start_time() const;
1181 private:
1182 bool _internal_has_start_time() const;
1183 public:
1184 void clear_start_time();
1185 const ::PROTOBUF_NAMESPACE_ID::Timestamp& start_time() const;
1186 PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::Timestamp* release_start_time();
1187 ::PROTOBUF_NAMESPACE_ID::Timestamp* mutable_start_time();
1188 void set_allocated_start_time(::PROTOBUF_NAMESPACE_ID::Timestamp* start_time);
1189 private:
1190 const ::PROTOBUF_NAMESPACE_ID::Timestamp& _internal_start_time() const;
1191 ::PROTOBUF_NAMESPACE_ID::Timestamp* _internal_mutable_start_time();
1192 public:
1193 void unsafe_arena_set_allocated_start_time(
1194 ::PROTOBUF_NAMESPACE_ID::Timestamp* start_time);
1195 ::PROTOBUF_NAMESPACE_ID::Timestamp* unsafe_arena_release_start_time();
1196
1197 // .google.protobuf.Timestamp end_time = 2;
1198 bool has_end_time() const;
1199 private:
1200 bool _internal_has_end_time() const;
1201 public:
1202 void clear_end_time();
1203 const ::PROTOBUF_NAMESPACE_ID::Timestamp& end_time() const;
1204 PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::Timestamp* release_end_time();
1205 ::PROTOBUF_NAMESPACE_ID::Timestamp* mutable_end_time();
1206 void set_allocated_end_time(::PROTOBUF_NAMESPACE_ID::Timestamp* end_time);
1207 private:
1208 const ::PROTOBUF_NAMESPACE_ID::Timestamp& _internal_end_time() const;
1209 ::PROTOBUF_NAMESPACE_ID::Timestamp* _internal_mutable_end_time();
1210 public:
1211 void unsafe_arena_set_allocated_end_time(
1212 ::PROTOBUF_NAMESPACE_ID::Timestamp* end_time);
1213 ::PROTOBUF_NAMESPACE_ID::Timestamp* unsafe_arena_release_end_time();
1214
1215 // bool last_successful_contribution = 3;
1216 void clear_last_successful_contribution();
1217 bool last_successful_contribution() const;
1218 void set_last_successful_contribution(bool value);
1219 private:
1220 bool _internal_last_successful_contribution() const;
1221 void _internal_set_last_successful_contribution(bool value);
1222 public:
1223
1224 // @@protoc_insertion_point(class_scope:fcp.client.opstats.OpStatsSelectionCriteria)
1225 private:
1226 class _Internal;
1227
1228 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1229 typedef void InternalArenaConstructable_;
1230 typedef void DestructorSkippable_;
1231 struct Impl_ {
1232 ::PROTOBUF_NAMESPACE_ID::Timestamp* start_time_;
1233 ::PROTOBUF_NAMESPACE_ID::Timestamp* end_time_;
1234 bool last_successful_contribution_;
1235 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1236 };
1237 union { Impl_ _impl_; };
1238 friend struct ::TableStruct_fcp_2fprotos_2fopstats_2eproto;
1239 };
1240 // ===================================================================
1241
1242
1243 // ===================================================================
1244
1245 #ifdef __GNUC__
1246 #pragma GCC diagnostic push
1247 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1248 #endif // __GNUC__
1249 // OperationalStats_Event
1250
1251 // .fcp.client.opstats.OperationalStats.Event.EventKind event_type = 1;
clear_event_type()1252 inline void OperationalStats_Event::clear_event_type() {
1253 _impl_.event_type_ = 0;
1254 }
_internal_event_type()1255 inline ::fcp::client::opstats::OperationalStats_Event_EventKind OperationalStats_Event::_internal_event_type() const {
1256 return static_cast< ::fcp::client::opstats::OperationalStats_Event_EventKind >(_impl_.event_type_);
1257 }
event_type()1258 inline ::fcp::client::opstats::OperationalStats_Event_EventKind OperationalStats_Event::event_type() const {
1259 // @@protoc_insertion_point(field_get:fcp.client.opstats.OperationalStats.Event.event_type)
1260 return _internal_event_type();
1261 }
_internal_set_event_type(::fcp::client::opstats::OperationalStats_Event_EventKind value)1262 inline void OperationalStats_Event::_internal_set_event_type(::fcp::client::opstats::OperationalStats_Event_EventKind value) {
1263
1264 _impl_.event_type_ = value;
1265 }
set_event_type(::fcp::client::opstats::OperationalStats_Event_EventKind value)1266 inline void OperationalStats_Event::set_event_type(::fcp::client::opstats::OperationalStats_Event_EventKind value) {
1267 _internal_set_event_type(value);
1268 // @@protoc_insertion_point(field_set:fcp.client.opstats.OperationalStats.Event.event_type)
1269 }
1270
1271 // .google.protobuf.Timestamp timestamp = 2;
_internal_has_timestamp()1272 inline bool OperationalStats_Event::_internal_has_timestamp() const {
1273 return this != internal_default_instance() && _impl_.timestamp_ != nullptr;
1274 }
has_timestamp()1275 inline bool OperationalStats_Event::has_timestamp() const {
1276 return _internal_has_timestamp();
1277 }
_internal_timestamp()1278 inline const ::PROTOBUF_NAMESPACE_ID::Timestamp& OperationalStats_Event::_internal_timestamp() const {
1279 const ::PROTOBUF_NAMESPACE_ID::Timestamp* p = _impl_.timestamp_;
1280 return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Timestamp&>(
1281 ::PROTOBUF_NAMESPACE_ID::_Timestamp_default_instance_);
1282 }
timestamp()1283 inline const ::PROTOBUF_NAMESPACE_ID::Timestamp& OperationalStats_Event::timestamp() const {
1284 // @@protoc_insertion_point(field_get:fcp.client.opstats.OperationalStats.Event.timestamp)
1285 return _internal_timestamp();
1286 }
unsafe_arena_set_allocated_timestamp(::PROTOBUF_NAMESPACE_ID::Timestamp * timestamp)1287 inline void OperationalStats_Event::unsafe_arena_set_allocated_timestamp(
1288 ::PROTOBUF_NAMESPACE_ID::Timestamp* timestamp) {
1289 if (GetArenaForAllocation() == nullptr) {
1290 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.timestamp_);
1291 }
1292 _impl_.timestamp_ = timestamp;
1293 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:fcp.client.opstats.OperationalStats.Event.timestamp)
1294 }
release_timestamp()1295 inline ::PROTOBUF_NAMESPACE_ID::Timestamp* OperationalStats_Event::release_timestamp() {
1296
1297 ::PROTOBUF_NAMESPACE_ID::Timestamp* temp = _impl_.timestamp_;
1298 _impl_.timestamp_ = nullptr;
1299 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1300 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1301 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1302 if (GetArenaForAllocation() == nullptr) { delete old; }
1303 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
1304 if (GetArenaForAllocation() != nullptr) {
1305 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1306 }
1307 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1308 return temp;
1309 }
unsafe_arena_release_timestamp()1310 inline ::PROTOBUF_NAMESPACE_ID::Timestamp* OperationalStats_Event::unsafe_arena_release_timestamp() {
1311 // @@protoc_insertion_point(field_release:fcp.client.opstats.OperationalStats.Event.timestamp)
1312
1313 ::PROTOBUF_NAMESPACE_ID::Timestamp* temp = _impl_.timestamp_;
1314 _impl_.timestamp_ = nullptr;
1315 return temp;
1316 }
_internal_mutable_timestamp()1317 inline ::PROTOBUF_NAMESPACE_ID::Timestamp* OperationalStats_Event::_internal_mutable_timestamp() {
1318
1319 if (_impl_.timestamp_ == nullptr) {
1320 auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::Timestamp>(GetArenaForAllocation());
1321 _impl_.timestamp_ = p;
1322 }
1323 return _impl_.timestamp_;
1324 }
mutable_timestamp()1325 inline ::PROTOBUF_NAMESPACE_ID::Timestamp* OperationalStats_Event::mutable_timestamp() {
1326 ::PROTOBUF_NAMESPACE_ID::Timestamp* _msg = _internal_mutable_timestamp();
1327 // @@protoc_insertion_point(field_mutable:fcp.client.opstats.OperationalStats.Event.timestamp)
1328 return _msg;
1329 }
set_allocated_timestamp(::PROTOBUF_NAMESPACE_ID::Timestamp * timestamp)1330 inline void OperationalStats_Event::set_allocated_timestamp(::PROTOBUF_NAMESPACE_ID::Timestamp* timestamp) {
1331 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1332 if (message_arena == nullptr) {
1333 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.timestamp_);
1334 }
1335 if (timestamp) {
1336 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1337 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1338 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(timestamp));
1339 if (message_arena != submessage_arena) {
1340 timestamp = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1341 message_arena, timestamp, submessage_arena);
1342 }
1343
1344 } else {
1345
1346 }
1347 _impl_.timestamp_ = timestamp;
1348 // @@protoc_insertion_point(field_set_allocated:fcp.client.opstats.OperationalStats.Event.timestamp)
1349 }
1350
1351 // -------------------------------------------------------------------
1352
1353 // OperationalStats_DatasetStats
1354
1355 // int64 num_examples_read = 1;
clear_num_examples_read()1356 inline void OperationalStats_DatasetStats::clear_num_examples_read() {
1357 _impl_.num_examples_read_ = ::int64_t{0};
1358 }
_internal_num_examples_read()1359 inline ::int64_t OperationalStats_DatasetStats::_internal_num_examples_read() const {
1360 return _impl_.num_examples_read_;
1361 }
num_examples_read()1362 inline ::int64_t OperationalStats_DatasetStats::num_examples_read() const {
1363 // @@protoc_insertion_point(field_get:fcp.client.opstats.OperationalStats.DatasetStats.num_examples_read)
1364 return _internal_num_examples_read();
1365 }
_internal_set_num_examples_read(::int64_t value)1366 inline void OperationalStats_DatasetStats::_internal_set_num_examples_read(::int64_t value) {
1367
1368 _impl_.num_examples_read_ = value;
1369 }
set_num_examples_read(::int64_t value)1370 inline void OperationalStats_DatasetStats::set_num_examples_read(::int64_t value) {
1371 _internal_set_num_examples_read(value);
1372 // @@protoc_insertion_point(field_set:fcp.client.opstats.OperationalStats.DatasetStats.num_examples_read)
1373 }
1374
1375 // int64 num_bytes_read = 2;
clear_num_bytes_read()1376 inline void OperationalStats_DatasetStats::clear_num_bytes_read() {
1377 _impl_.num_bytes_read_ = ::int64_t{0};
1378 }
_internal_num_bytes_read()1379 inline ::int64_t OperationalStats_DatasetStats::_internal_num_bytes_read() const {
1380 return _impl_.num_bytes_read_;
1381 }
num_bytes_read()1382 inline ::int64_t OperationalStats_DatasetStats::num_bytes_read() const {
1383 // @@protoc_insertion_point(field_get:fcp.client.opstats.OperationalStats.DatasetStats.num_bytes_read)
1384 return _internal_num_bytes_read();
1385 }
_internal_set_num_bytes_read(::int64_t value)1386 inline void OperationalStats_DatasetStats::_internal_set_num_bytes_read(::int64_t value) {
1387
1388 _impl_.num_bytes_read_ = value;
1389 }
set_num_bytes_read(::int64_t value)1390 inline void OperationalStats_DatasetStats::set_num_bytes_read(::int64_t value) {
1391 _internal_set_num_bytes_read(value);
1392 // @@protoc_insertion_point(field_set:fcp.client.opstats.OperationalStats.DatasetStats.num_bytes_read)
1393 }
1394
1395 // -------------------------------------------------------------------
1396
1397 // -------------------------------------------------------------------
1398
1399 // OperationalStats
1400
1401 // string population_name = 1;
clear_population_name()1402 inline void OperationalStats::clear_population_name() {
1403 _impl_.population_name_.ClearToEmpty();
1404 }
population_name()1405 inline const std::string& OperationalStats::population_name() const {
1406 // @@protoc_insertion_point(field_get:fcp.client.opstats.OperationalStats.population_name)
1407 return _internal_population_name();
1408 }
1409 template <typename ArgT0, typename... ArgT>
1410 inline PROTOBUF_ALWAYS_INLINE
set_population_name(ArgT0 && arg0,ArgT...args)1411 void OperationalStats::set_population_name(ArgT0&& arg0, ArgT... args) {
1412
1413 _impl_.population_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1414 // @@protoc_insertion_point(field_set:fcp.client.opstats.OperationalStats.population_name)
1415 }
mutable_population_name()1416 inline std::string* OperationalStats::mutable_population_name() {
1417 std::string* _s = _internal_mutable_population_name();
1418 // @@protoc_insertion_point(field_mutable:fcp.client.opstats.OperationalStats.population_name)
1419 return _s;
1420 }
_internal_population_name()1421 inline const std::string& OperationalStats::_internal_population_name() const {
1422 return _impl_.population_name_.Get();
1423 }
_internal_set_population_name(const std::string & value)1424 inline void OperationalStats::_internal_set_population_name(const std::string& value) {
1425
1426 _impl_.population_name_.Set(value, GetArenaForAllocation());
1427 }
_internal_mutable_population_name()1428 inline std::string* OperationalStats::_internal_mutable_population_name() {
1429
1430 return _impl_.population_name_.Mutable(GetArenaForAllocation());
1431 }
release_population_name()1432 inline std::string* OperationalStats::release_population_name() {
1433 // @@protoc_insertion_point(field_release:fcp.client.opstats.OperationalStats.population_name)
1434 return _impl_.population_name_.Release();
1435 }
set_allocated_population_name(std::string * population_name)1436 inline void OperationalStats::set_allocated_population_name(std::string* population_name) {
1437 _impl_.population_name_.SetAllocated(population_name, GetArenaForAllocation());
1438 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1439 if (_impl_.population_name_.IsDefault()) {
1440 _impl_.population_name_.Set("", GetArenaForAllocation());
1441 }
1442 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1443 // @@protoc_insertion_point(field_set_allocated:fcp.client.opstats.OperationalStats.population_name)
1444 }
1445
1446 // string session_name = 2;
clear_session_name()1447 inline void OperationalStats::clear_session_name() {
1448 _impl_.session_name_.ClearToEmpty();
1449 }
session_name()1450 inline const std::string& OperationalStats::session_name() const {
1451 // @@protoc_insertion_point(field_get:fcp.client.opstats.OperationalStats.session_name)
1452 return _internal_session_name();
1453 }
1454 template <typename ArgT0, typename... ArgT>
1455 inline PROTOBUF_ALWAYS_INLINE
set_session_name(ArgT0 && arg0,ArgT...args)1456 void OperationalStats::set_session_name(ArgT0&& arg0, ArgT... args) {
1457
1458 _impl_.session_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1459 // @@protoc_insertion_point(field_set:fcp.client.opstats.OperationalStats.session_name)
1460 }
mutable_session_name()1461 inline std::string* OperationalStats::mutable_session_name() {
1462 std::string* _s = _internal_mutable_session_name();
1463 // @@protoc_insertion_point(field_mutable:fcp.client.opstats.OperationalStats.session_name)
1464 return _s;
1465 }
_internal_session_name()1466 inline const std::string& OperationalStats::_internal_session_name() const {
1467 return _impl_.session_name_.Get();
1468 }
_internal_set_session_name(const std::string & value)1469 inline void OperationalStats::_internal_set_session_name(const std::string& value) {
1470
1471 _impl_.session_name_.Set(value, GetArenaForAllocation());
1472 }
_internal_mutable_session_name()1473 inline std::string* OperationalStats::_internal_mutable_session_name() {
1474
1475 return _impl_.session_name_.Mutable(GetArenaForAllocation());
1476 }
release_session_name()1477 inline std::string* OperationalStats::release_session_name() {
1478 // @@protoc_insertion_point(field_release:fcp.client.opstats.OperationalStats.session_name)
1479 return _impl_.session_name_.Release();
1480 }
set_allocated_session_name(std::string * session_name)1481 inline void OperationalStats::set_allocated_session_name(std::string* session_name) {
1482 _impl_.session_name_.SetAllocated(session_name, GetArenaForAllocation());
1483 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1484 if (_impl_.session_name_.IsDefault()) {
1485 _impl_.session_name_.Set("", GetArenaForAllocation());
1486 }
1487 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1488 // @@protoc_insertion_point(field_set_allocated:fcp.client.opstats.OperationalStats.session_name)
1489 }
1490
1491 // string task_name = 3;
clear_task_name()1492 inline void OperationalStats::clear_task_name() {
1493 _impl_.task_name_.ClearToEmpty();
1494 }
task_name()1495 inline const std::string& OperationalStats::task_name() const {
1496 // @@protoc_insertion_point(field_get:fcp.client.opstats.OperationalStats.task_name)
1497 return _internal_task_name();
1498 }
1499 template <typename ArgT0, typename... ArgT>
1500 inline PROTOBUF_ALWAYS_INLINE
set_task_name(ArgT0 && arg0,ArgT...args)1501 void OperationalStats::set_task_name(ArgT0&& arg0, ArgT... args) {
1502
1503 _impl_.task_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1504 // @@protoc_insertion_point(field_set:fcp.client.opstats.OperationalStats.task_name)
1505 }
mutable_task_name()1506 inline std::string* OperationalStats::mutable_task_name() {
1507 std::string* _s = _internal_mutable_task_name();
1508 // @@protoc_insertion_point(field_mutable:fcp.client.opstats.OperationalStats.task_name)
1509 return _s;
1510 }
_internal_task_name()1511 inline const std::string& OperationalStats::_internal_task_name() const {
1512 return _impl_.task_name_.Get();
1513 }
_internal_set_task_name(const std::string & value)1514 inline void OperationalStats::_internal_set_task_name(const std::string& value) {
1515
1516 _impl_.task_name_.Set(value, GetArenaForAllocation());
1517 }
_internal_mutable_task_name()1518 inline std::string* OperationalStats::_internal_mutable_task_name() {
1519
1520 return _impl_.task_name_.Mutable(GetArenaForAllocation());
1521 }
release_task_name()1522 inline std::string* OperationalStats::release_task_name() {
1523 // @@protoc_insertion_point(field_release:fcp.client.opstats.OperationalStats.task_name)
1524 return _impl_.task_name_.Release();
1525 }
set_allocated_task_name(std::string * task_name)1526 inline void OperationalStats::set_allocated_task_name(std::string* task_name) {
1527 _impl_.task_name_.SetAllocated(task_name, GetArenaForAllocation());
1528 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1529 if (_impl_.task_name_.IsDefault()) {
1530 _impl_.task_name_.Set("", GetArenaForAllocation());
1531 }
1532 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1533 // @@protoc_insertion_point(field_set_allocated:fcp.client.opstats.OperationalStats.task_name)
1534 }
1535
1536 // repeated .fcp.client.opstats.OperationalStats.Event events = 4;
_internal_events_size()1537 inline int OperationalStats::_internal_events_size() const {
1538 return _impl_.events_.size();
1539 }
events_size()1540 inline int OperationalStats::events_size() const {
1541 return _internal_events_size();
1542 }
clear_events()1543 inline void OperationalStats::clear_events() {
1544 _impl_.events_.Clear();
1545 }
mutable_events(int index)1546 inline ::fcp::client::opstats::OperationalStats_Event* OperationalStats::mutable_events(int index) {
1547 // @@protoc_insertion_point(field_mutable:fcp.client.opstats.OperationalStats.events)
1548 return _impl_.events_.Mutable(index);
1549 }
1550 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fcp::client::opstats::OperationalStats_Event >*
mutable_events()1551 OperationalStats::mutable_events() {
1552 // @@protoc_insertion_point(field_mutable_list:fcp.client.opstats.OperationalStats.events)
1553 return &_impl_.events_;
1554 }
_internal_events(int index)1555 inline const ::fcp::client::opstats::OperationalStats_Event& OperationalStats::_internal_events(int index) const {
1556 return _impl_.events_.Get(index);
1557 }
events(int index)1558 inline const ::fcp::client::opstats::OperationalStats_Event& OperationalStats::events(int index) const {
1559 // @@protoc_insertion_point(field_get:fcp.client.opstats.OperationalStats.events)
1560 return _internal_events(index);
1561 }
_internal_add_events()1562 inline ::fcp::client::opstats::OperationalStats_Event* OperationalStats::_internal_add_events() {
1563 return _impl_.events_.Add();
1564 }
add_events()1565 inline ::fcp::client::opstats::OperationalStats_Event* OperationalStats::add_events() {
1566 ::fcp::client::opstats::OperationalStats_Event* _add = _internal_add_events();
1567 // @@protoc_insertion_point(field_add:fcp.client.opstats.OperationalStats.events)
1568 return _add;
1569 }
1570 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fcp::client::opstats::OperationalStats_Event >&
events()1571 OperationalStats::events() const {
1572 // @@protoc_insertion_point(field_list:fcp.client.opstats.OperationalStats.events)
1573 return _impl_.events_;
1574 }
1575
1576 // map<string, .fcp.client.opstats.OperationalStats.DatasetStats> dataset_stats = 5;
_internal_dataset_stats_size()1577 inline int OperationalStats::_internal_dataset_stats_size() const {
1578 return _impl_.dataset_stats_.size();
1579 }
dataset_stats_size()1580 inline int OperationalStats::dataset_stats_size() const {
1581 return _internal_dataset_stats_size();
1582 }
clear_dataset_stats()1583 inline void OperationalStats::clear_dataset_stats() {
1584 _impl_.dataset_stats_.Clear();
1585 }
1586 inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::fcp::client::opstats::OperationalStats_DatasetStats >&
_internal_dataset_stats()1587 OperationalStats::_internal_dataset_stats() const {
1588 return _impl_.dataset_stats_.GetMap();
1589 }
1590 inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::fcp::client::opstats::OperationalStats_DatasetStats >&
dataset_stats()1591 OperationalStats::dataset_stats() const {
1592 // @@protoc_insertion_point(field_map:fcp.client.opstats.OperationalStats.dataset_stats)
1593 return _internal_dataset_stats();
1594 }
1595 inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::fcp::client::opstats::OperationalStats_DatasetStats >*
_internal_mutable_dataset_stats()1596 OperationalStats::_internal_mutable_dataset_stats() {
1597 return _impl_.dataset_stats_.MutableMap();
1598 }
1599 inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::fcp::client::opstats::OperationalStats_DatasetStats >*
mutable_dataset_stats()1600 OperationalStats::mutable_dataset_stats() {
1601 // @@protoc_insertion_point(field_mutable_map:fcp.client.opstats.OperationalStats.dataset_stats)
1602 return _internal_mutable_dataset_stats();
1603 }
1604
1605 // string error_message = 6;
clear_error_message()1606 inline void OperationalStats::clear_error_message() {
1607 _impl_.error_message_.ClearToEmpty();
1608 }
error_message()1609 inline const std::string& OperationalStats::error_message() const {
1610 // @@protoc_insertion_point(field_get:fcp.client.opstats.OperationalStats.error_message)
1611 return _internal_error_message();
1612 }
1613 template <typename ArgT0, typename... ArgT>
1614 inline PROTOBUF_ALWAYS_INLINE
set_error_message(ArgT0 && arg0,ArgT...args)1615 void OperationalStats::set_error_message(ArgT0&& arg0, ArgT... args) {
1616
1617 _impl_.error_message_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1618 // @@protoc_insertion_point(field_set:fcp.client.opstats.OperationalStats.error_message)
1619 }
mutable_error_message()1620 inline std::string* OperationalStats::mutable_error_message() {
1621 std::string* _s = _internal_mutable_error_message();
1622 // @@protoc_insertion_point(field_mutable:fcp.client.opstats.OperationalStats.error_message)
1623 return _s;
1624 }
_internal_error_message()1625 inline const std::string& OperationalStats::_internal_error_message() const {
1626 return _impl_.error_message_.Get();
1627 }
_internal_set_error_message(const std::string & value)1628 inline void OperationalStats::_internal_set_error_message(const std::string& value) {
1629
1630 _impl_.error_message_.Set(value, GetArenaForAllocation());
1631 }
_internal_mutable_error_message()1632 inline std::string* OperationalStats::_internal_mutable_error_message() {
1633
1634 return _impl_.error_message_.Mutable(GetArenaForAllocation());
1635 }
release_error_message()1636 inline std::string* OperationalStats::release_error_message() {
1637 // @@protoc_insertion_point(field_release:fcp.client.opstats.OperationalStats.error_message)
1638 return _impl_.error_message_.Release();
1639 }
set_allocated_error_message(std::string * error_message)1640 inline void OperationalStats::set_allocated_error_message(std::string* error_message) {
1641 _impl_.error_message_.SetAllocated(error_message, GetArenaForAllocation());
1642 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1643 if (_impl_.error_message_.IsDefault()) {
1644 _impl_.error_message_.Set("", GetArenaForAllocation());
1645 }
1646 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1647 // @@protoc_insertion_point(field_set_allocated:fcp.client.opstats.OperationalStats.error_message)
1648 }
1649
1650 // .google.internal.federatedml.v2.RetryWindow retry_window = 7;
_internal_has_retry_window()1651 inline bool OperationalStats::_internal_has_retry_window() const {
1652 return this != internal_default_instance() && _impl_.retry_window_ != nullptr;
1653 }
has_retry_window()1654 inline bool OperationalStats::has_retry_window() const {
1655 return _internal_has_retry_window();
1656 }
_internal_retry_window()1657 inline const ::google::internal::federatedml::v2::RetryWindow& OperationalStats::_internal_retry_window() const {
1658 const ::google::internal::federatedml::v2::RetryWindow* p = _impl_.retry_window_;
1659 return p != nullptr ? *p : reinterpret_cast<const ::google::internal::federatedml::v2::RetryWindow&>(
1660 ::google::internal::federatedml::v2::_RetryWindow_default_instance_);
1661 }
retry_window()1662 inline const ::google::internal::federatedml::v2::RetryWindow& OperationalStats::retry_window() const {
1663 // @@protoc_insertion_point(field_get:fcp.client.opstats.OperationalStats.retry_window)
1664 return _internal_retry_window();
1665 }
unsafe_arena_set_allocated_retry_window(::google::internal::federatedml::v2::RetryWindow * retry_window)1666 inline void OperationalStats::unsafe_arena_set_allocated_retry_window(
1667 ::google::internal::federatedml::v2::RetryWindow* retry_window) {
1668 if (GetArenaForAllocation() == nullptr) {
1669 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.retry_window_);
1670 }
1671 _impl_.retry_window_ = retry_window;
1672 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:fcp.client.opstats.OperationalStats.retry_window)
1673 }
release_retry_window()1674 inline ::google::internal::federatedml::v2::RetryWindow* OperationalStats::release_retry_window() {
1675
1676 ::google::internal::federatedml::v2::RetryWindow* temp = _impl_.retry_window_;
1677 _impl_.retry_window_ = nullptr;
1678 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1679 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1680 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1681 if (GetArenaForAllocation() == nullptr) { delete old; }
1682 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
1683 if (GetArenaForAllocation() != nullptr) {
1684 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1685 }
1686 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1687 return temp;
1688 }
unsafe_arena_release_retry_window()1689 inline ::google::internal::federatedml::v2::RetryWindow* OperationalStats::unsafe_arena_release_retry_window() {
1690 // @@protoc_insertion_point(field_release:fcp.client.opstats.OperationalStats.retry_window)
1691
1692 ::google::internal::federatedml::v2::RetryWindow* temp = _impl_.retry_window_;
1693 _impl_.retry_window_ = nullptr;
1694 return temp;
1695 }
_internal_mutable_retry_window()1696 inline ::google::internal::federatedml::v2::RetryWindow* OperationalStats::_internal_mutable_retry_window() {
1697
1698 if (_impl_.retry_window_ == nullptr) {
1699 auto* p = CreateMaybeMessage<::google::internal::federatedml::v2::RetryWindow>(GetArenaForAllocation());
1700 _impl_.retry_window_ = p;
1701 }
1702 return _impl_.retry_window_;
1703 }
mutable_retry_window()1704 inline ::google::internal::federatedml::v2::RetryWindow* OperationalStats::mutable_retry_window() {
1705 ::google::internal::federatedml::v2::RetryWindow* _msg = _internal_mutable_retry_window();
1706 // @@protoc_insertion_point(field_mutable:fcp.client.opstats.OperationalStats.retry_window)
1707 return _msg;
1708 }
set_allocated_retry_window(::google::internal::federatedml::v2::RetryWindow * retry_window)1709 inline void OperationalStats::set_allocated_retry_window(::google::internal::federatedml::v2::RetryWindow* retry_window) {
1710 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1711 if (message_arena == nullptr) {
1712 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.retry_window_);
1713 }
1714 if (retry_window) {
1715 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1716 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1717 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(retry_window));
1718 if (message_arena != submessage_arena) {
1719 retry_window = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1720 message_arena, retry_window, submessage_arena);
1721 }
1722
1723 } else {
1724
1725 }
1726 _impl_.retry_window_ = retry_window;
1727 // @@protoc_insertion_point(field_set_allocated:fcp.client.opstats.OperationalStats.retry_window)
1728 }
1729
1730 // int64 chunking_layer_bytes_downloaded = 10;
clear_chunking_layer_bytes_downloaded()1731 inline void OperationalStats::clear_chunking_layer_bytes_downloaded() {
1732 _impl_.chunking_layer_bytes_downloaded_ = ::int64_t{0};
1733 }
_internal_chunking_layer_bytes_downloaded()1734 inline ::int64_t OperationalStats::_internal_chunking_layer_bytes_downloaded() const {
1735 return _impl_.chunking_layer_bytes_downloaded_;
1736 }
chunking_layer_bytes_downloaded()1737 inline ::int64_t OperationalStats::chunking_layer_bytes_downloaded() const {
1738 // @@protoc_insertion_point(field_get:fcp.client.opstats.OperationalStats.chunking_layer_bytes_downloaded)
1739 return _internal_chunking_layer_bytes_downloaded();
1740 }
_internal_set_chunking_layer_bytes_downloaded(::int64_t value)1741 inline void OperationalStats::_internal_set_chunking_layer_bytes_downloaded(::int64_t value) {
1742
1743 _impl_.chunking_layer_bytes_downloaded_ = value;
1744 }
set_chunking_layer_bytes_downloaded(::int64_t value)1745 inline void OperationalStats::set_chunking_layer_bytes_downloaded(::int64_t value) {
1746 _internal_set_chunking_layer_bytes_downloaded(value);
1747 // @@protoc_insertion_point(field_set:fcp.client.opstats.OperationalStats.chunking_layer_bytes_downloaded)
1748 }
1749
1750 // int64 chunking_layer_bytes_uploaded = 11;
clear_chunking_layer_bytes_uploaded()1751 inline void OperationalStats::clear_chunking_layer_bytes_uploaded() {
1752 _impl_.chunking_layer_bytes_uploaded_ = ::int64_t{0};
1753 }
_internal_chunking_layer_bytes_uploaded()1754 inline ::int64_t OperationalStats::_internal_chunking_layer_bytes_uploaded() const {
1755 return _impl_.chunking_layer_bytes_uploaded_;
1756 }
chunking_layer_bytes_uploaded()1757 inline ::int64_t OperationalStats::chunking_layer_bytes_uploaded() const {
1758 // @@protoc_insertion_point(field_get:fcp.client.opstats.OperationalStats.chunking_layer_bytes_uploaded)
1759 return _internal_chunking_layer_bytes_uploaded();
1760 }
_internal_set_chunking_layer_bytes_uploaded(::int64_t value)1761 inline void OperationalStats::_internal_set_chunking_layer_bytes_uploaded(::int64_t value) {
1762
1763 _impl_.chunking_layer_bytes_uploaded_ = value;
1764 }
set_chunking_layer_bytes_uploaded(::int64_t value)1765 inline void OperationalStats::set_chunking_layer_bytes_uploaded(::int64_t value) {
1766 _internal_set_chunking_layer_bytes_uploaded(value);
1767 // @@protoc_insertion_point(field_set:fcp.client.opstats.OperationalStats.chunking_layer_bytes_uploaded)
1768 }
1769
1770 // .google.protobuf.Duration network_duration = 12;
_internal_has_network_duration()1771 inline bool OperationalStats::_internal_has_network_duration() const {
1772 return this != internal_default_instance() && _impl_.network_duration_ != nullptr;
1773 }
has_network_duration()1774 inline bool OperationalStats::has_network_duration() const {
1775 return _internal_has_network_duration();
1776 }
_internal_network_duration()1777 inline const ::PROTOBUF_NAMESPACE_ID::Duration& OperationalStats::_internal_network_duration() const {
1778 const ::PROTOBUF_NAMESPACE_ID::Duration* p = _impl_.network_duration_;
1779 return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Duration&>(
1780 ::PROTOBUF_NAMESPACE_ID::_Duration_default_instance_);
1781 }
network_duration()1782 inline const ::PROTOBUF_NAMESPACE_ID::Duration& OperationalStats::network_duration() const {
1783 // @@protoc_insertion_point(field_get:fcp.client.opstats.OperationalStats.network_duration)
1784 return _internal_network_duration();
1785 }
unsafe_arena_set_allocated_network_duration(::PROTOBUF_NAMESPACE_ID::Duration * network_duration)1786 inline void OperationalStats::unsafe_arena_set_allocated_network_duration(
1787 ::PROTOBUF_NAMESPACE_ID::Duration* network_duration) {
1788 if (GetArenaForAllocation() == nullptr) {
1789 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.network_duration_);
1790 }
1791 _impl_.network_duration_ = network_duration;
1792 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:fcp.client.opstats.OperationalStats.network_duration)
1793 }
release_network_duration()1794 inline ::PROTOBUF_NAMESPACE_ID::Duration* OperationalStats::release_network_duration() {
1795
1796 ::PROTOBUF_NAMESPACE_ID::Duration* temp = _impl_.network_duration_;
1797 _impl_.network_duration_ = nullptr;
1798 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1799 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1800 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1801 if (GetArenaForAllocation() == nullptr) { delete old; }
1802 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
1803 if (GetArenaForAllocation() != nullptr) {
1804 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1805 }
1806 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1807 return temp;
1808 }
unsafe_arena_release_network_duration()1809 inline ::PROTOBUF_NAMESPACE_ID::Duration* OperationalStats::unsafe_arena_release_network_duration() {
1810 // @@protoc_insertion_point(field_release:fcp.client.opstats.OperationalStats.network_duration)
1811
1812 ::PROTOBUF_NAMESPACE_ID::Duration* temp = _impl_.network_duration_;
1813 _impl_.network_duration_ = nullptr;
1814 return temp;
1815 }
_internal_mutable_network_duration()1816 inline ::PROTOBUF_NAMESPACE_ID::Duration* OperationalStats::_internal_mutable_network_duration() {
1817
1818 if (_impl_.network_duration_ == nullptr) {
1819 auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::Duration>(GetArenaForAllocation());
1820 _impl_.network_duration_ = p;
1821 }
1822 return _impl_.network_duration_;
1823 }
mutable_network_duration()1824 inline ::PROTOBUF_NAMESPACE_ID::Duration* OperationalStats::mutable_network_duration() {
1825 ::PROTOBUF_NAMESPACE_ID::Duration* _msg = _internal_mutable_network_duration();
1826 // @@protoc_insertion_point(field_mutable:fcp.client.opstats.OperationalStats.network_duration)
1827 return _msg;
1828 }
set_allocated_network_duration(::PROTOBUF_NAMESPACE_ID::Duration * network_duration)1829 inline void OperationalStats::set_allocated_network_duration(::PROTOBUF_NAMESPACE_ID::Duration* network_duration) {
1830 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1831 if (message_arena == nullptr) {
1832 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.network_duration_);
1833 }
1834 if (network_duration) {
1835 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1836 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1837 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(network_duration));
1838 if (message_arena != submessage_arena) {
1839 network_duration = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1840 message_arena, network_duration, submessage_arena);
1841 }
1842
1843 } else {
1844
1845 }
1846 _impl_.network_duration_ = network_duration;
1847 // @@protoc_insertion_point(field_set_allocated:fcp.client.opstats.OperationalStats.network_duration)
1848 }
1849
1850 // -------------------------------------------------------------------
1851
1852 // OpStatsSequence
1853
1854 // repeated .fcp.client.opstats.OperationalStats opstats = 1;
_internal_opstats_size()1855 inline int OpStatsSequence::_internal_opstats_size() const {
1856 return _impl_.opstats_.size();
1857 }
opstats_size()1858 inline int OpStatsSequence::opstats_size() const {
1859 return _internal_opstats_size();
1860 }
clear_opstats()1861 inline void OpStatsSequence::clear_opstats() {
1862 _impl_.opstats_.Clear();
1863 }
mutable_opstats(int index)1864 inline ::fcp::client::opstats::OperationalStats* OpStatsSequence::mutable_opstats(int index) {
1865 // @@protoc_insertion_point(field_mutable:fcp.client.opstats.OpStatsSequence.opstats)
1866 return _impl_.opstats_.Mutable(index);
1867 }
1868 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fcp::client::opstats::OperationalStats >*
mutable_opstats()1869 OpStatsSequence::mutable_opstats() {
1870 // @@protoc_insertion_point(field_mutable_list:fcp.client.opstats.OpStatsSequence.opstats)
1871 return &_impl_.opstats_;
1872 }
_internal_opstats(int index)1873 inline const ::fcp::client::opstats::OperationalStats& OpStatsSequence::_internal_opstats(int index) const {
1874 return _impl_.opstats_.Get(index);
1875 }
opstats(int index)1876 inline const ::fcp::client::opstats::OperationalStats& OpStatsSequence::opstats(int index) const {
1877 // @@protoc_insertion_point(field_get:fcp.client.opstats.OpStatsSequence.opstats)
1878 return _internal_opstats(index);
1879 }
_internal_add_opstats()1880 inline ::fcp::client::opstats::OperationalStats* OpStatsSequence::_internal_add_opstats() {
1881 return _impl_.opstats_.Add();
1882 }
add_opstats()1883 inline ::fcp::client::opstats::OperationalStats* OpStatsSequence::add_opstats() {
1884 ::fcp::client::opstats::OperationalStats* _add = _internal_add_opstats();
1885 // @@protoc_insertion_point(field_add:fcp.client.opstats.OpStatsSequence.opstats)
1886 return _add;
1887 }
1888 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fcp::client::opstats::OperationalStats >&
opstats()1889 OpStatsSequence::opstats() const {
1890 // @@protoc_insertion_point(field_list:fcp.client.opstats.OpStatsSequence.opstats)
1891 return _impl_.opstats_;
1892 }
1893
1894 // .google.protobuf.Timestamp earliest_trustworthy_time = 2;
_internal_has_earliest_trustworthy_time()1895 inline bool OpStatsSequence::_internal_has_earliest_trustworthy_time() const {
1896 return this != internal_default_instance() && _impl_.earliest_trustworthy_time_ != nullptr;
1897 }
has_earliest_trustworthy_time()1898 inline bool OpStatsSequence::has_earliest_trustworthy_time() const {
1899 return _internal_has_earliest_trustworthy_time();
1900 }
_internal_earliest_trustworthy_time()1901 inline const ::PROTOBUF_NAMESPACE_ID::Timestamp& OpStatsSequence::_internal_earliest_trustworthy_time() const {
1902 const ::PROTOBUF_NAMESPACE_ID::Timestamp* p = _impl_.earliest_trustworthy_time_;
1903 return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Timestamp&>(
1904 ::PROTOBUF_NAMESPACE_ID::_Timestamp_default_instance_);
1905 }
earliest_trustworthy_time()1906 inline const ::PROTOBUF_NAMESPACE_ID::Timestamp& OpStatsSequence::earliest_trustworthy_time() const {
1907 // @@protoc_insertion_point(field_get:fcp.client.opstats.OpStatsSequence.earliest_trustworthy_time)
1908 return _internal_earliest_trustworthy_time();
1909 }
unsafe_arena_set_allocated_earliest_trustworthy_time(::PROTOBUF_NAMESPACE_ID::Timestamp * earliest_trustworthy_time)1910 inline void OpStatsSequence::unsafe_arena_set_allocated_earliest_trustworthy_time(
1911 ::PROTOBUF_NAMESPACE_ID::Timestamp* earliest_trustworthy_time) {
1912 if (GetArenaForAllocation() == nullptr) {
1913 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.earliest_trustworthy_time_);
1914 }
1915 _impl_.earliest_trustworthy_time_ = earliest_trustworthy_time;
1916 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:fcp.client.opstats.OpStatsSequence.earliest_trustworthy_time)
1917 }
release_earliest_trustworthy_time()1918 inline ::PROTOBUF_NAMESPACE_ID::Timestamp* OpStatsSequence::release_earliest_trustworthy_time() {
1919
1920 ::PROTOBUF_NAMESPACE_ID::Timestamp* temp = _impl_.earliest_trustworthy_time_;
1921 _impl_.earliest_trustworthy_time_ = nullptr;
1922 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1923 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1924 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1925 if (GetArenaForAllocation() == nullptr) { delete old; }
1926 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
1927 if (GetArenaForAllocation() != nullptr) {
1928 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1929 }
1930 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1931 return temp;
1932 }
unsafe_arena_release_earliest_trustworthy_time()1933 inline ::PROTOBUF_NAMESPACE_ID::Timestamp* OpStatsSequence::unsafe_arena_release_earliest_trustworthy_time() {
1934 // @@protoc_insertion_point(field_release:fcp.client.opstats.OpStatsSequence.earliest_trustworthy_time)
1935
1936 ::PROTOBUF_NAMESPACE_ID::Timestamp* temp = _impl_.earliest_trustworthy_time_;
1937 _impl_.earliest_trustworthy_time_ = nullptr;
1938 return temp;
1939 }
_internal_mutable_earliest_trustworthy_time()1940 inline ::PROTOBUF_NAMESPACE_ID::Timestamp* OpStatsSequence::_internal_mutable_earliest_trustworthy_time() {
1941
1942 if (_impl_.earliest_trustworthy_time_ == nullptr) {
1943 auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::Timestamp>(GetArenaForAllocation());
1944 _impl_.earliest_trustworthy_time_ = p;
1945 }
1946 return _impl_.earliest_trustworthy_time_;
1947 }
mutable_earliest_trustworthy_time()1948 inline ::PROTOBUF_NAMESPACE_ID::Timestamp* OpStatsSequence::mutable_earliest_trustworthy_time() {
1949 ::PROTOBUF_NAMESPACE_ID::Timestamp* _msg = _internal_mutable_earliest_trustworthy_time();
1950 // @@protoc_insertion_point(field_mutable:fcp.client.opstats.OpStatsSequence.earliest_trustworthy_time)
1951 return _msg;
1952 }
set_allocated_earliest_trustworthy_time(::PROTOBUF_NAMESPACE_ID::Timestamp * earliest_trustworthy_time)1953 inline void OpStatsSequence::set_allocated_earliest_trustworthy_time(::PROTOBUF_NAMESPACE_ID::Timestamp* earliest_trustworthy_time) {
1954 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1955 if (message_arena == nullptr) {
1956 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.earliest_trustworthy_time_);
1957 }
1958 if (earliest_trustworthy_time) {
1959 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1960 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1961 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(earliest_trustworthy_time));
1962 if (message_arena != submessage_arena) {
1963 earliest_trustworthy_time = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1964 message_arena, earliest_trustworthy_time, submessage_arena);
1965 }
1966
1967 } else {
1968
1969 }
1970 _impl_.earliest_trustworthy_time_ = earliest_trustworthy_time;
1971 // @@protoc_insertion_point(field_set_allocated:fcp.client.opstats.OpStatsSequence.earliest_trustworthy_time)
1972 }
1973
1974 // -------------------------------------------------------------------
1975
1976 // OpStatsSelectionCriteria
1977
1978 // .google.protobuf.Timestamp start_time = 1;
_internal_has_start_time()1979 inline bool OpStatsSelectionCriteria::_internal_has_start_time() const {
1980 return this != internal_default_instance() && _impl_.start_time_ != nullptr;
1981 }
has_start_time()1982 inline bool OpStatsSelectionCriteria::has_start_time() const {
1983 return _internal_has_start_time();
1984 }
_internal_start_time()1985 inline const ::PROTOBUF_NAMESPACE_ID::Timestamp& OpStatsSelectionCriteria::_internal_start_time() const {
1986 const ::PROTOBUF_NAMESPACE_ID::Timestamp* p = _impl_.start_time_;
1987 return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Timestamp&>(
1988 ::PROTOBUF_NAMESPACE_ID::_Timestamp_default_instance_);
1989 }
start_time()1990 inline const ::PROTOBUF_NAMESPACE_ID::Timestamp& OpStatsSelectionCriteria::start_time() const {
1991 // @@protoc_insertion_point(field_get:fcp.client.opstats.OpStatsSelectionCriteria.start_time)
1992 return _internal_start_time();
1993 }
unsafe_arena_set_allocated_start_time(::PROTOBUF_NAMESPACE_ID::Timestamp * start_time)1994 inline void OpStatsSelectionCriteria::unsafe_arena_set_allocated_start_time(
1995 ::PROTOBUF_NAMESPACE_ID::Timestamp* start_time) {
1996 if (GetArenaForAllocation() == nullptr) {
1997 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.start_time_);
1998 }
1999 _impl_.start_time_ = start_time;
2000 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:fcp.client.opstats.OpStatsSelectionCriteria.start_time)
2001 }
release_start_time()2002 inline ::PROTOBUF_NAMESPACE_ID::Timestamp* OpStatsSelectionCriteria::release_start_time() {
2003
2004 ::PROTOBUF_NAMESPACE_ID::Timestamp* temp = _impl_.start_time_;
2005 _impl_.start_time_ = nullptr;
2006 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2007 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
2008 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2009 if (GetArenaForAllocation() == nullptr) { delete old; }
2010 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
2011 if (GetArenaForAllocation() != nullptr) {
2012 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2013 }
2014 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
2015 return temp;
2016 }
unsafe_arena_release_start_time()2017 inline ::PROTOBUF_NAMESPACE_ID::Timestamp* OpStatsSelectionCriteria::unsafe_arena_release_start_time() {
2018 // @@protoc_insertion_point(field_release:fcp.client.opstats.OpStatsSelectionCriteria.start_time)
2019
2020 ::PROTOBUF_NAMESPACE_ID::Timestamp* temp = _impl_.start_time_;
2021 _impl_.start_time_ = nullptr;
2022 return temp;
2023 }
_internal_mutable_start_time()2024 inline ::PROTOBUF_NAMESPACE_ID::Timestamp* OpStatsSelectionCriteria::_internal_mutable_start_time() {
2025
2026 if (_impl_.start_time_ == nullptr) {
2027 auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::Timestamp>(GetArenaForAllocation());
2028 _impl_.start_time_ = p;
2029 }
2030 return _impl_.start_time_;
2031 }
mutable_start_time()2032 inline ::PROTOBUF_NAMESPACE_ID::Timestamp* OpStatsSelectionCriteria::mutable_start_time() {
2033 ::PROTOBUF_NAMESPACE_ID::Timestamp* _msg = _internal_mutable_start_time();
2034 // @@protoc_insertion_point(field_mutable:fcp.client.opstats.OpStatsSelectionCriteria.start_time)
2035 return _msg;
2036 }
set_allocated_start_time(::PROTOBUF_NAMESPACE_ID::Timestamp * start_time)2037 inline void OpStatsSelectionCriteria::set_allocated_start_time(::PROTOBUF_NAMESPACE_ID::Timestamp* start_time) {
2038 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2039 if (message_arena == nullptr) {
2040 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.start_time_);
2041 }
2042 if (start_time) {
2043 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2044 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
2045 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(start_time));
2046 if (message_arena != submessage_arena) {
2047 start_time = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2048 message_arena, start_time, submessage_arena);
2049 }
2050
2051 } else {
2052
2053 }
2054 _impl_.start_time_ = start_time;
2055 // @@protoc_insertion_point(field_set_allocated:fcp.client.opstats.OpStatsSelectionCriteria.start_time)
2056 }
2057
2058 // .google.protobuf.Timestamp end_time = 2;
_internal_has_end_time()2059 inline bool OpStatsSelectionCriteria::_internal_has_end_time() const {
2060 return this != internal_default_instance() && _impl_.end_time_ != nullptr;
2061 }
has_end_time()2062 inline bool OpStatsSelectionCriteria::has_end_time() const {
2063 return _internal_has_end_time();
2064 }
_internal_end_time()2065 inline const ::PROTOBUF_NAMESPACE_ID::Timestamp& OpStatsSelectionCriteria::_internal_end_time() const {
2066 const ::PROTOBUF_NAMESPACE_ID::Timestamp* p = _impl_.end_time_;
2067 return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Timestamp&>(
2068 ::PROTOBUF_NAMESPACE_ID::_Timestamp_default_instance_);
2069 }
end_time()2070 inline const ::PROTOBUF_NAMESPACE_ID::Timestamp& OpStatsSelectionCriteria::end_time() const {
2071 // @@protoc_insertion_point(field_get:fcp.client.opstats.OpStatsSelectionCriteria.end_time)
2072 return _internal_end_time();
2073 }
unsafe_arena_set_allocated_end_time(::PROTOBUF_NAMESPACE_ID::Timestamp * end_time)2074 inline void OpStatsSelectionCriteria::unsafe_arena_set_allocated_end_time(
2075 ::PROTOBUF_NAMESPACE_ID::Timestamp* end_time) {
2076 if (GetArenaForAllocation() == nullptr) {
2077 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.end_time_);
2078 }
2079 _impl_.end_time_ = end_time;
2080 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:fcp.client.opstats.OpStatsSelectionCriteria.end_time)
2081 }
release_end_time()2082 inline ::PROTOBUF_NAMESPACE_ID::Timestamp* OpStatsSelectionCriteria::release_end_time() {
2083
2084 ::PROTOBUF_NAMESPACE_ID::Timestamp* temp = _impl_.end_time_;
2085 _impl_.end_time_ = nullptr;
2086 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2087 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
2088 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2089 if (GetArenaForAllocation() == nullptr) { delete old; }
2090 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
2091 if (GetArenaForAllocation() != nullptr) {
2092 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2093 }
2094 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
2095 return temp;
2096 }
unsafe_arena_release_end_time()2097 inline ::PROTOBUF_NAMESPACE_ID::Timestamp* OpStatsSelectionCriteria::unsafe_arena_release_end_time() {
2098 // @@protoc_insertion_point(field_release:fcp.client.opstats.OpStatsSelectionCriteria.end_time)
2099
2100 ::PROTOBUF_NAMESPACE_ID::Timestamp* temp = _impl_.end_time_;
2101 _impl_.end_time_ = nullptr;
2102 return temp;
2103 }
_internal_mutable_end_time()2104 inline ::PROTOBUF_NAMESPACE_ID::Timestamp* OpStatsSelectionCriteria::_internal_mutable_end_time() {
2105
2106 if (_impl_.end_time_ == nullptr) {
2107 auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::Timestamp>(GetArenaForAllocation());
2108 _impl_.end_time_ = p;
2109 }
2110 return _impl_.end_time_;
2111 }
mutable_end_time()2112 inline ::PROTOBUF_NAMESPACE_ID::Timestamp* OpStatsSelectionCriteria::mutable_end_time() {
2113 ::PROTOBUF_NAMESPACE_ID::Timestamp* _msg = _internal_mutable_end_time();
2114 // @@protoc_insertion_point(field_mutable:fcp.client.opstats.OpStatsSelectionCriteria.end_time)
2115 return _msg;
2116 }
set_allocated_end_time(::PROTOBUF_NAMESPACE_ID::Timestamp * end_time)2117 inline void OpStatsSelectionCriteria::set_allocated_end_time(::PROTOBUF_NAMESPACE_ID::Timestamp* end_time) {
2118 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2119 if (message_arena == nullptr) {
2120 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.end_time_);
2121 }
2122 if (end_time) {
2123 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2124 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
2125 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(end_time));
2126 if (message_arena != submessage_arena) {
2127 end_time = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2128 message_arena, end_time, submessage_arena);
2129 }
2130
2131 } else {
2132
2133 }
2134 _impl_.end_time_ = end_time;
2135 // @@protoc_insertion_point(field_set_allocated:fcp.client.opstats.OpStatsSelectionCriteria.end_time)
2136 }
2137
2138 // bool last_successful_contribution = 3;
clear_last_successful_contribution()2139 inline void OpStatsSelectionCriteria::clear_last_successful_contribution() {
2140 _impl_.last_successful_contribution_ = false;
2141 }
_internal_last_successful_contribution()2142 inline bool OpStatsSelectionCriteria::_internal_last_successful_contribution() const {
2143 return _impl_.last_successful_contribution_;
2144 }
last_successful_contribution()2145 inline bool OpStatsSelectionCriteria::last_successful_contribution() const {
2146 // @@protoc_insertion_point(field_get:fcp.client.opstats.OpStatsSelectionCriteria.last_successful_contribution)
2147 return _internal_last_successful_contribution();
2148 }
_internal_set_last_successful_contribution(bool value)2149 inline void OpStatsSelectionCriteria::_internal_set_last_successful_contribution(bool value) {
2150
2151 _impl_.last_successful_contribution_ = value;
2152 }
set_last_successful_contribution(bool value)2153 inline void OpStatsSelectionCriteria::set_last_successful_contribution(bool value) {
2154 _internal_set_last_successful_contribution(value);
2155 // @@protoc_insertion_point(field_set:fcp.client.opstats.OpStatsSelectionCriteria.last_successful_contribution)
2156 }
2157
2158 #ifdef __GNUC__
2159 #pragma GCC diagnostic pop
2160 #endif // __GNUC__
2161 // -------------------------------------------------------------------
2162
2163 // -------------------------------------------------------------------
2164
2165 // -------------------------------------------------------------------
2166
2167 // -------------------------------------------------------------------
2168
2169 // -------------------------------------------------------------------
2170
2171
2172 // @@protoc_insertion_point(namespace_scope)
2173
2174 } // namespace opstats
2175 } // namespace client
2176 } // namespace fcp
2177
2178 PROTOBUF_NAMESPACE_OPEN
2179
2180 template <> struct is_proto_enum< ::fcp::client::opstats::OperationalStats_Event_EventKind> : ::std::true_type {};
2181
2182 PROTOBUF_NAMESPACE_CLOSE
2183
2184 // @@protoc_insertion_point(global_scope)
2185
2186 #include <google/protobuf/port_undef.inc>
2187 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_fcp_2fprotos_2fopstats_2eproto
2188