1 // Generated by the protocol buffer compiler.  DO NOT EDIT!
2 // source: fcp/protos/federatedcompute/task_assignments.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_fcp_2fprotos_2ffederatedcompute_2ftask_5fassignments_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_fcp_2fprotos_2ffederatedcompute_2ftask_5fassignments_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/duration.pb.h>
33 #include "fcp/protos/federated_api.pb.h"
34 #include "fcp/protos/federatedcompute/common.pb.h"
35 // @@protoc_insertion_point(includes)
36 #include <google/protobuf/port_def.inc>
37 #define PROTOBUF_INTERNAL_EXPORT_fcp_2fprotos_2ffederatedcompute_2ftask_5fassignments_2eproto
38 PROTOBUF_NAMESPACE_OPEN
39 namespace internal {
40 class AnyMetadata;
41 }  // namespace internal
42 PROTOBUF_NAMESPACE_CLOSE
43 
44 // Internal implementation detail -- do not use these members.
45 struct TableStruct_fcp_2fprotos_2ffederatedcompute_2ftask_5fassignments_2eproto {
46   static const ::uint32_t offsets[];
47 };
48 namespace google {
49 namespace internal {
50 namespace federatedcompute {
51 namespace v1 {
52 class ClientStats;
53 struct ClientStatsDefaultTypeInternal;
54 extern ClientStatsDefaultTypeInternal _ClientStats_default_instance_;
55 class FederatedSelectUriInfo;
56 struct FederatedSelectUriInfoDefaultTypeInternal;
57 extern FederatedSelectUriInfoDefaultTypeInternal _FederatedSelectUriInfo_default_instance_;
58 class PerformMultipleTaskAssignmentsRequest;
59 struct PerformMultipleTaskAssignmentsRequestDefaultTypeInternal;
60 extern PerformMultipleTaskAssignmentsRequestDefaultTypeInternal _PerformMultipleTaskAssignmentsRequest_default_instance_;
61 class PerformMultipleTaskAssignmentsResponse;
62 struct PerformMultipleTaskAssignmentsResponseDefaultTypeInternal;
63 extern PerformMultipleTaskAssignmentsResponseDefaultTypeInternal _PerformMultipleTaskAssignmentsResponse_default_instance_;
64 class ReportTaskResultRequest;
65 struct ReportTaskResultRequestDefaultTypeInternal;
66 extern ReportTaskResultRequestDefaultTypeInternal _ReportTaskResultRequest_default_instance_;
67 class ReportTaskResultResponse;
68 struct ReportTaskResultResponseDefaultTypeInternal;
69 extern ReportTaskResultResponseDefaultTypeInternal _ReportTaskResultResponse_default_instance_;
70 class StartTaskAssignmentMetadata;
71 struct StartTaskAssignmentMetadataDefaultTypeInternal;
72 extern StartTaskAssignmentMetadataDefaultTypeInternal _StartTaskAssignmentMetadata_default_instance_;
73 class StartTaskAssignmentRequest;
74 struct StartTaskAssignmentRequestDefaultTypeInternal;
75 extern StartTaskAssignmentRequestDefaultTypeInternal _StartTaskAssignmentRequest_default_instance_;
76 class StartTaskAssignmentResponse;
77 struct StartTaskAssignmentResponseDefaultTypeInternal;
78 extern StartTaskAssignmentResponseDefaultTypeInternal _StartTaskAssignmentResponse_default_instance_;
79 class TaskAssignment;
80 struct TaskAssignmentDefaultTypeInternal;
81 extern TaskAssignmentDefaultTypeInternal _TaskAssignment_default_instance_;
82 class TaskAssignment_AggregationInfo;
83 struct TaskAssignment_AggregationInfoDefaultTypeInternal;
84 extern TaskAssignment_AggregationInfoDefaultTypeInternal _TaskAssignment_AggregationInfo_default_instance_;
85 class TaskAssignment_SecureAggregationInfo;
86 struct TaskAssignment_SecureAggregationInfoDefaultTypeInternal;
87 extern TaskAssignment_SecureAggregationInfoDefaultTypeInternal _TaskAssignment_SecureAggregationInfo_default_instance_;
88 }  // namespace v1
89 }  // namespace federatedcompute
90 }  // namespace internal
91 }  // namespace google
92 PROTOBUF_NAMESPACE_OPEN
93 template<> ::google::internal::federatedcompute::v1::ClientStats* Arena::CreateMaybeMessage<::google::internal::federatedcompute::v1::ClientStats>(Arena*);
94 template<> ::google::internal::federatedcompute::v1::FederatedSelectUriInfo* Arena::CreateMaybeMessage<::google::internal::federatedcompute::v1::FederatedSelectUriInfo>(Arena*);
95 template<> ::google::internal::federatedcompute::v1::PerformMultipleTaskAssignmentsRequest* Arena::CreateMaybeMessage<::google::internal::federatedcompute::v1::PerformMultipleTaskAssignmentsRequest>(Arena*);
96 template<> ::google::internal::federatedcompute::v1::PerformMultipleTaskAssignmentsResponse* Arena::CreateMaybeMessage<::google::internal::federatedcompute::v1::PerformMultipleTaskAssignmentsResponse>(Arena*);
97 template<> ::google::internal::federatedcompute::v1::ReportTaskResultRequest* Arena::CreateMaybeMessage<::google::internal::federatedcompute::v1::ReportTaskResultRequest>(Arena*);
98 template<> ::google::internal::federatedcompute::v1::ReportTaskResultResponse* Arena::CreateMaybeMessage<::google::internal::federatedcompute::v1::ReportTaskResultResponse>(Arena*);
99 template<> ::google::internal::federatedcompute::v1::StartTaskAssignmentMetadata* Arena::CreateMaybeMessage<::google::internal::federatedcompute::v1::StartTaskAssignmentMetadata>(Arena*);
100 template<> ::google::internal::federatedcompute::v1::StartTaskAssignmentRequest* Arena::CreateMaybeMessage<::google::internal::federatedcompute::v1::StartTaskAssignmentRequest>(Arena*);
101 template<> ::google::internal::federatedcompute::v1::StartTaskAssignmentResponse* Arena::CreateMaybeMessage<::google::internal::federatedcompute::v1::StartTaskAssignmentResponse>(Arena*);
102 template<> ::google::internal::federatedcompute::v1::TaskAssignment* Arena::CreateMaybeMessage<::google::internal::federatedcompute::v1::TaskAssignment>(Arena*);
103 template<> ::google::internal::federatedcompute::v1::TaskAssignment_AggregationInfo* Arena::CreateMaybeMessage<::google::internal::federatedcompute::v1::TaskAssignment_AggregationInfo>(Arena*);
104 template<> ::google::internal::federatedcompute::v1::TaskAssignment_SecureAggregationInfo* Arena::CreateMaybeMessage<::google::internal::federatedcompute::v1::TaskAssignment_SecureAggregationInfo>(Arena*);
105 PROTOBUF_NAMESPACE_CLOSE
106 namespace google {
107 namespace internal {
108 namespace federatedcompute {
109 namespace v1 {
110 
111 // ===================================================================
112 
113 class StartTaskAssignmentRequest final :
114     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedcompute.v1.StartTaskAssignmentRequest) */ {
115  public:
StartTaskAssignmentRequest()116   inline StartTaskAssignmentRequest() : StartTaskAssignmentRequest(nullptr) {}
117   ~StartTaskAssignmentRequest() override;
118   explicit PROTOBUF_CONSTEXPR StartTaskAssignmentRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
119 
120   StartTaskAssignmentRequest(const StartTaskAssignmentRequest& from);
StartTaskAssignmentRequest(StartTaskAssignmentRequest && from)121   StartTaskAssignmentRequest(StartTaskAssignmentRequest&& from) noexcept
122     : StartTaskAssignmentRequest() {
123     *this = ::std::move(from);
124   }
125 
126   inline StartTaskAssignmentRequest& operator=(const StartTaskAssignmentRequest& from) {
127     if (this == &from) return *this;
128     CopyFrom(from);
129     return *this;
130   }
131   inline StartTaskAssignmentRequest& operator=(StartTaskAssignmentRequest&& from) noexcept {
132     if (this == &from) return *this;
133     if (GetOwningArena() == from.GetOwningArena()
134   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
135         && GetOwningArena() != nullptr
136   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
137     ) {
138       InternalSwap(&from);
139     } else {
140       CopyFrom(from);
141     }
142     return *this;
143   }
144 
default_instance()145   static const StartTaskAssignmentRequest& default_instance() {
146     return *internal_default_instance();
147   }
internal_default_instance()148   static inline const StartTaskAssignmentRequest* internal_default_instance() {
149     return reinterpret_cast<const StartTaskAssignmentRequest*>(
150                &_StartTaskAssignmentRequest_default_instance_);
151   }
152   static constexpr int kIndexInFileMessages =
153     0;
154 
swap(StartTaskAssignmentRequest & a,StartTaskAssignmentRequest & b)155   friend void swap(StartTaskAssignmentRequest& a, StartTaskAssignmentRequest& b) {
156     a.Swap(&b);
157   }
Swap(StartTaskAssignmentRequest * other)158   inline void Swap(StartTaskAssignmentRequest* other) {
159     if (other == this) return;
160   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
161     if (GetOwningArena() != nullptr &&
162         GetOwningArena() == other->GetOwningArena()) {
163    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
164     if (GetOwningArena() == other->GetOwningArena()) {
165   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
166       InternalSwap(other);
167     } else {
168       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
169     }
170   }
171   void UnsafeArenaSwap(StartTaskAssignmentRequest* other) {
172     if (other == this) return;
173     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
174     InternalSwap(other);
175   }
176 
177   // implements Message ----------------------------------------------
178 
179   StartTaskAssignmentRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
180     return CreateMaybeMessage<StartTaskAssignmentRequest>(arena);
181   }
182   StartTaskAssignmentRequest* New() const {
183     return New(nullptr);
184   }
185   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
186   void CopyFrom(const StartTaskAssignmentRequest& from);
187   void MergeFrom(const StartTaskAssignmentRequest& from);
188   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
189   bool IsInitialized() const final;
190 
191   size_t ByteSizeLong() const final;
192   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
193   ::uint8_t* _InternalSerialize(
194       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
195   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
196 
197   private:
198   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
199   void SharedDtor();
200   void SetCachedSize(int size) const;
201   void InternalSwap(StartTaskAssignmentRequest* other);
202 
203   private:
204   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
205   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
206     return "google.internal.federatedcompute.v1.StartTaskAssignmentRequest";
207   }
208   protected:
209   explicit StartTaskAssignmentRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena,
210                        bool is_message_owned = false);
211   public:
212 
213   std::string GetTypeName() const final;
214 
215   // nested types ----------------------------------------------------
216 
217   // accessors -------------------------------------------------------
218 
219   enum : int {
220     kPopulationNameFieldNumber = 1,
221     kSessionIdFieldNumber = 2,
222     kClientVersionFieldNumber = 4,
223     kTaskEligibilityInfoFieldNumber = 5,
224     kResourceCapabilitiesFieldNumber = 6,
225   };
226   // string population_name = 1;
227   void clear_population_name();
228   const std::string& population_name() const;
229   template <typename ArgT0 = const std::string&, typename... ArgT>
230   void set_population_name(ArgT0&& arg0, ArgT... args);
231   std::string* mutable_population_name();
232   PROTOBUF_NODISCARD std::string* release_population_name();
233   void set_allocated_population_name(std::string* population_name);
234   private:
235   const std::string& _internal_population_name() const;
236   inline PROTOBUF_ALWAYS_INLINE void _internal_set_population_name(const std::string& value);
237   std::string* _internal_mutable_population_name();
238   public:
239 
240   // string session_id = 2;
241   void clear_session_id();
242   const std::string& session_id() const;
243   template <typename ArgT0 = const std::string&, typename... ArgT>
244   void set_session_id(ArgT0&& arg0, ArgT... args);
245   std::string* mutable_session_id();
246   PROTOBUF_NODISCARD std::string* release_session_id();
247   void set_allocated_session_id(std::string* session_id);
248   private:
249   const std::string& _internal_session_id() const;
250   inline PROTOBUF_ALWAYS_INLINE void _internal_set_session_id(const std::string& value);
251   std::string* _internal_mutable_session_id();
252   public:
253 
254   // .google.internal.federatedcompute.v1.ClientVersion client_version = 4;
255   bool has_client_version() const;
256   private:
257   bool _internal_has_client_version() const;
258   public:
259   void clear_client_version();
260   const ::google::internal::federatedcompute::v1::ClientVersion& client_version() const;
261   PROTOBUF_NODISCARD ::google::internal::federatedcompute::v1::ClientVersion* release_client_version();
262   ::google::internal::federatedcompute::v1::ClientVersion* mutable_client_version();
263   void set_allocated_client_version(::google::internal::federatedcompute::v1::ClientVersion* client_version);
264   private:
265   const ::google::internal::federatedcompute::v1::ClientVersion& _internal_client_version() const;
266   ::google::internal::federatedcompute::v1::ClientVersion* _internal_mutable_client_version();
267   public:
268   void unsafe_arena_set_allocated_client_version(
269       ::google::internal::federatedcompute::v1::ClientVersion* client_version);
270   ::google::internal::federatedcompute::v1::ClientVersion* unsafe_arena_release_client_version();
271 
272   // .google.internal.federatedml.v2.TaskEligibilityInfo task_eligibility_info = 5;
273   bool has_task_eligibility_info() const;
274   private:
275   bool _internal_has_task_eligibility_info() const;
276   public:
277   void clear_task_eligibility_info();
278   const ::google::internal::federatedml::v2::TaskEligibilityInfo& task_eligibility_info() const;
279   PROTOBUF_NODISCARD ::google::internal::federatedml::v2::TaskEligibilityInfo* release_task_eligibility_info();
280   ::google::internal::federatedml::v2::TaskEligibilityInfo* mutable_task_eligibility_info();
281   void set_allocated_task_eligibility_info(::google::internal::federatedml::v2::TaskEligibilityInfo* task_eligibility_info);
282   private:
283   const ::google::internal::federatedml::v2::TaskEligibilityInfo& _internal_task_eligibility_info() const;
284   ::google::internal::federatedml::v2::TaskEligibilityInfo* _internal_mutable_task_eligibility_info();
285   public:
286   void unsafe_arena_set_allocated_task_eligibility_info(
287       ::google::internal::federatedml::v2::TaskEligibilityInfo* task_eligibility_info);
288   ::google::internal::federatedml::v2::TaskEligibilityInfo* unsafe_arena_release_task_eligibility_info();
289 
290   // .google.internal.federatedcompute.v1.ResourceCapabilities resource_capabilities = 6;
291   bool has_resource_capabilities() const;
292   private:
293   bool _internal_has_resource_capabilities() const;
294   public:
295   void clear_resource_capabilities();
296   const ::google::internal::federatedcompute::v1::ResourceCapabilities& resource_capabilities() const;
297   PROTOBUF_NODISCARD ::google::internal::federatedcompute::v1::ResourceCapabilities* release_resource_capabilities();
298   ::google::internal::federatedcompute::v1::ResourceCapabilities* mutable_resource_capabilities();
299   void set_allocated_resource_capabilities(::google::internal::federatedcompute::v1::ResourceCapabilities* resource_capabilities);
300   private:
301   const ::google::internal::federatedcompute::v1::ResourceCapabilities& _internal_resource_capabilities() const;
302   ::google::internal::federatedcompute::v1::ResourceCapabilities* _internal_mutable_resource_capabilities();
303   public:
304   void unsafe_arena_set_allocated_resource_capabilities(
305       ::google::internal::federatedcompute::v1::ResourceCapabilities* resource_capabilities);
306   ::google::internal::federatedcompute::v1::ResourceCapabilities* unsafe_arena_release_resource_capabilities();
307 
308   // @@protoc_insertion_point(class_scope:google.internal.federatedcompute.v1.StartTaskAssignmentRequest)
309  private:
310   class _Internal;
311 
312   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
313   typedef void InternalArenaConstructable_;
314   typedef void DestructorSkippable_;
315   struct Impl_ {
316     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr population_name_;
317     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr session_id_;
318     ::google::internal::federatedcompute::v1::ClientVersion* client_version_;
319     ::google::internal::federatedml::v2::TaskEligibilityInfo* task_eligibility_info_;
320     ::google::internal::federatedcompute::v1::ResourceCapabilities* resource_capabilities_;
321     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
322   };
323   union { Impl_ _impl_; };
324   friend struct ::TableStruct_fcp_2fprotos_2ffederatedcompute_2ftask_5fassignments_2eproto;
325 };
326 // -------------------------------------------------------------------
327 
328 class StartTaskAssignmentMetadata final :
329     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedcompute.v1.StartTaskAssignmentMetadata) */ {
330  public:
StartTaskAssignmentMetadata()331   inline StartTaskAssignmentMetadata() : StartTaskAssignmentMetadata(nullptr) {}
332   ~StartTaskAssignmentMetadata() override;
333   explicit PROTOBUF_CONSTEXPR StartTaskAssignmentMetadata(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
334 
335   StartTaskAssignmentMetadata(const StartTaskAssignmentMetadata& from);
StartTaskAssignmentMetadata(StartTaskAssignmentMetadata && from)336   StartTaskAssignmentMetadata(StartTaskAssignmentMetadata&& from) noexcept
337     : StartTaskAssignmentMetadata() {
338     *this = ::std::move(from);
339   }
340 
341   inline StartTaskAssignmentMetadata& operator=(const StartTaskAssignmentMetadata& from) {
342     if (this == &from) return *this;
343     CopyFrom(from);
344     return *this;
345   }
346   inline StartTaskAssignmentMetadata& operator=(StartTaskAssignmentMetadata&& from) noexcept {
347     if (this == &from) return *this;
348     if (GetOwningArena() == from.GetOwningArena()
349   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
350         && GetOwningArena() != nullptr
351   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
352     ) {
353       InternalSwap(&from);
354     } else {
355       CopyFrom(from);
356     }
357     return *this;
358   }
359 
default_instance()360   static const StartTaskAssignmentMetadata& default_instance() {
361     return *internal_default_instance();
362   }
internal_default_instance()363   static inline const StartTaskAssignmentMetadata* internal_default_instance() {
364     return reinterpret_cast<const StartTaskAssignmentMetadata*>(
365                &_StartTaskAssignmentMetadata_default_instance_);
366   }
367   static constexpr int kIndexInFileMessages =
368     1;
369 
swap(StartTaskAssignmentMetadata & a,StartTaskAssignmentMetadata & b)370   friend void swap(StartTaskAssignmentMetadata& a, StartTaskAssignmentMetadata& b) {
371     a.Swap(&b);
372   }
Swap(StartTaskAssignmentMetadata * other)373   inline void Swap(StartTaskAssignmentMetadata* other) {
374     if (other == this) return;
375   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
376     if (GetOwningArena() != nullptr &&
377         GetOwningArena() == other->GetOwningArena()) {
378    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
379     if (GetOwningArena() == other->GetOwningArena()) {
380   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
381       InternalSwap(other);
382     } else {
383       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
384     }
385   }
386   void UnsafeArenaSwap(StartTaskAssignmentMetadata* other) {
387     if (other == this) return;
388     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
389     InternalSwap(other);
390   }
391 
392   // implements Message ----------------------------------------------
393 
394   StartTaskAssignmentMetadata* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
395     return CreateMaybeMessage<StartTaskAssignmentMetadata>(arena);
396   }
397   StartTaskAssignmentMetadata* New() const {
398     return New(nullptr);
399   }
400   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
401   void CopyFrom(const StartTaskAssignmentMetadata& from);
402   void MergeFrom(const StartTaskAssignmentMetadata& from);
403   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
404   bool IsInitialized() const final;
405 
406   size_t ByteSizeLong() const final;
407   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
408   ::uint8_t* _InternalSerialize(
409       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
410   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
411 
412   private:
413   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
414   void SharedDtor();
415   void SetCachedSize(int size) const;
416   void InternalSwap(StartTaskAssignmentMetadata* other);
417 
418   private:
419   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
420   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
421     return "google.internal.federatedcompute.v1.StartTaskAssignmentMetadata";
422   }
423   protected:
424   explicit StartTaskAssignmentMetadata(::PROTOBUF_NAMESPACE_ID::Arena* arena,
425                        bool is_message_owned = false);
426   public:
427 
428   std::string GetTypeName() const final;
429 
430   // nested types ----------------------------------------------------
431 
432   // accessors -------------------------------------------------------
433 
434   enum : int {
435     kPollingIntervalFieldNumber = 1,
436   };
437   // .google.protobuf.Duration polling_interval = 1;
438   bool has_polling_interval() const;
439   private:
440   bool _internal_has_polling_interval() const;
441   public:
442   void clear_polling_interval();
443   const ::PROTOBUF_NAMESPACE_ID::Duration& polling_interval() const;
444   PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::Duration* release_polling_interval();
445   ::PROTOBUF_NAMESPACE_ID::Duration* mutable_polling_interval();
446   void set_allocated_polling_interval(::PROTOBUF_NAMESPACE_ID::Duration* polling_interval);
447   private:
448   const ::PROTOBUF_NAMESPACE_ID::Duration& _internal_polling_interval() const;
449   ::PROTOBUF_NAMESPACE_ID::Duration* _internal_mutable_polling_interval();
450   public:
451   void unsafe_arena_set_allocated_polling_interval(
452       ::PROTOBUF_NAMESPACE_ID::Duration* polling_interval);
453   ::PROTOBUF_NAMESPACE_ID::Duration* unsafe_arena_release_polling_interval();
454 
455   // @@protoc_insertion_point(class_scope:google.internal.federatedcompute.v1.StartTaskAssignmentMetadata)
456  private:
457   class _Internal;
458 
459   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
460   typedef void InternalArenaConstructable_;
461   typedef void DestructorSkippable_;
462   struct Impl_ {
463     ::PROTOBUF_NAMESPACE_ID::Duration* polling_interval_;
464     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
465   };
466   union { Impl_ _impl_; };
467   friend struct ::TableStruct_fcp_2fprotos_2ffederatedcompute_2ftask_5fassignments_2eproto;
468 };
469 // -------------------------------------------------------------------
470 
471 class StartTaskAssignmentResponse final :
472     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedcompute.v1.StartTaskAssignmentResponse) */ {
473  public:
StartTaskAssignmentResponse()474   inline StartTaskAssignmentResponse() : StartTaskAssignmentResponse(nullptr) {}
475   ~StartTaskAssignmentResponse() override;
476   explicit PROTOBUF_CONSTEXPR StartTaskAssignmentResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
477 
478   StartTaskAssignmentResponse(const StartTaskAssignmentResponse& from);
StartTaskAssignmentResponse(StartTaskAssignmentResponse && from)479   StartTaskAssignmentResponse(StartTaskAssignmentResponse&& from) noexcept
480     : StartTaskAssignmentResponse() {
481     *this = ::std::move(from);
482   }
483 
484   inline StartTaskAssignmentResponse& operator=(const StartTaskAssignmentResponse& from) {
485     if (this == &from) return *this;
486     CopyFrom(from);
487     return *this;
488   }
489   inline StartTaskAssignmentResponse& operator=(StartTaskAssignmentResponse&& from) noexcept {
490     if (this == &from) return *this;
491     if (GetOwningArena() == from.GetOwningArena()
492   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
493         && GetOwningArena() != nullptr
494   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
495     ) {
496       InternalSwap(&from);
497     } else {
498       CopyFrom(from);
499     }
500     return *this;
501   }
502 
default_instance()503   static const StartTaskAssignmentResponse& default_instance() {
504     return *internal_default_instance();
505   }
506   enum ResultCase {
507     kTaskAssignment = 1,
508     kRejectionInfo = 2,
509     RESULT_NOT_SET = 0,
510   };
511 
internal_default_instance()512   static inline const StartTaskAssignmentResponse* internal_default_instance() {
513     return reinterpret_cast<const StartTaskAssignmentResponse*>(
514                &_StartTaskAssignmentResponse_default_instance_);
515   }
516   static constexpr int kIndexInFileMessages =
517     2;
518 
swap(StartTaskAssignmentResponse & a,StartTaskAssignmentResponse & b)519   friend void swap(StartTaskAssignmentResponse& a, StartTaskAssignmentResponse& b) {
520     a.Swap(&b);
521   }
Swap(StartTaskAssignmentResponse * other)522   inline void Swap(StartTaskAssignmentResponse* other) {
523     if (other == this) return;
524   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
525     if (GetOwningArena() != nullptr &&
526         GetOwningArena() == other->GetOwningArena()) {
527    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
528     if (GetOwningArena() == other->GetOwningArena()) {
529   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
530       InternalSwap(other);
531     } else {
532       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
533     }
534   }
535   void UnsafeArenaSwap(StartTaskAssignmentResponse* other) {
536     if (other == this) return;
537     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
538     InternalSwap(other);
539   }
540 
541   // implements Message ----------------------------------------------
542 
543   StartTaskAssignmentResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
544     return CreateMaybeMessage<StartTaskAssignmentResponse>(arena);
545   }
546   StartTaskAssignmentResponse* New() const {
547     return New(nullptr);
548   }
549   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
550   void CopyFrom(const StartTaskAssignmentResponse& from);
551   void MergeFrom(const StartTaskAssignmentResponse& from);
552   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
553   bool IsInitialized() const final;
554 
555   size_t ByteSizeLong() const final;
556   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
557   ::uint8_t* _InternalSerialize(
558       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
559   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
560 
561   private:
562   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
563   void SharedDtor();
564   void SetCachedSize(int size) const;
565   void InternalSwap(StartTaskAssignmentResponse* other);
566 
567   private:
568   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
569   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
570     return "google.internal.federatedcompute.v1.StartTaskAssignmentResponse";
571   }
572   protected:
573   explicit StartTaskAssignmentResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena,
574                        bool is_message_owned = false);
575   public:
576 
577   std::string GetTypeName() const final;
578 
579   // nested types ----------------------------------------------------
580 
581   // accessors -------------------------------------------------------
582 
583   enum : int {
584     kTaskAssignmentFieldNumber = 1,
585     kRejectionInfoFieldNumber = 2,
586   };
587   // .google.internal.federatedcompute.v1.TaskAssignment task_assignment = 1;
588   bool has_task_assignment() const;
589   private:
590   bool _internal_has_task_assignment() const;
591   public:
592   void clear_task_assignment();
593   const ::google::internal::federatedcompute::v1::TaskAssignment& task_assignment() const;
594   PROTOBUF_NODISCARD ::google::internal::federatedcompute::v1::TaskAssignment* release_task_assignment();
595   ::google::internal::federatedcompute::v1::TaskAssignment* mutable_task_assignment();
596   void set_allocated_task_assignment(::google::internal::federatedcompute::v1::TaskAssignment* task_assignment);
597   private:
598   const ::google::internal::federatedcompute::v1::TaskAssignment& _internal_task_assignment() const;
599   ::google::internal::federatedcompute::v1::TaskAssignment* _internal_mutable_task_assignment();
600   public:
601   void unsafe_arena_set_allocated_task_assignment(
602       ::google::internal::federatedcompute::v1::TaskAssignment* task_assignment);
603   ::google::internal::federatedcompute::v1::TaskAssignment* unsafe_arena_release_task_assignment();
604 
605   // .google.internal.federatedcompute.v1.RejectionInfo rejection_info = 2;
606   bool has_rejection_info() const;
607   private:
608   bool _internal_has_rejection_info() const;
609   public:
610   void clear_rejection_info();
611   const ::google::internal::federatedcompute::v1::RejectionInfo& rejection_info() const;
612   PROTOBUF_NODISCARD ::google::internal::federatedcompute::v1::RejectionInfo* release_rejection_info();
613   ::google::internal::federatedcompute::v1::RejectionInfo* mutable_rejection_info();
614   void set_allocated_rejection_info(::google::internal::federatedcompute::v1::RejectionInfo* rejection_info);
615   private:
616   const ::google::internal::federatedcompute::v1::RejectionInfo& _internal_rejection_info() const;
617   ::google::internal::federatedcompute::v1::RejectionInfo* _internal_mutable_rejection_info();
618   public:
619   void unsafe_arena_set_allocated_rejection_info(
620       ::google::internal::federatedcompute::v1::RejectionInfo* rejection_info);
621   ::google::internal::federatedcompute::v1::RejectionInfo* unsafe_arena_release_rejection_info();
622 
623   void clear_result();
624   ResultCase result_case() const;
625   // @@protoc_insertion_point(class_scope:google.internal.federatedcompute.v1.StartTaskAssignmentResponse)
626  private:
627   class _Internal;
628   void set_has_task_assignment();
629   void set_has_rejection_info();
630 
631   inline bool has_result() const;
632   inline void clear_has_result();
633 
634   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
635   typedef void InternalArenaConstructable_;
636   typedef void DestructorSkippable_;
637   struct Impl_ {
638     union ResultUnion {
639       constexpr ResultUnion() : _constinit_{} {}
640         ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
641       ::google::internal::federatedcompute::v1::TaskAssignment* task_assignment_;
642       ::google::internal::federatedcompute::v1::RejectionInfo* rejection_info_;
643     } result_;
644     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
645     ::uint32_t _oneof_case_[1];
646 
647   };
648   union { Impl_ _impl_; };
649   friend struct ::TableStruct_fcp_2fprotos_2ffederatedcompute_2ftask_5fassignments_2eproto;
650 };
651 // -------------------------------------------------------------------
652 
653 class PerformMultipleTaskAssignmentsRequest final :
654     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedcompute.v1.PerformMultipleTaskAssignmentsRequest) */ {
655  public:
PerformMultipleTaskAssignmentsRequest()656   inline PerformMultipleTaskAssignmentsRequest() : PerformMultipleTaskAssignmentsRequest(nullptr) {}
657   ~PerformMultipleTaskAssignmentsRequest() override;
658   explicit PROTOBUF_CONSTEXPR PerformMultipleTaskAssignmentsRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
659 
660   PerformMultipleTaskAssignmentsRequest(const PerformMultipleTaskAssignmentsRequest& from);
PerformMultipleTaskAssignmentsRequest(PerformMultipleTaskAssignmentsRequest && from)661   PerformMultipleTaskAssignmentsRequest(PerformMultipleTaskAssignmentsRequest&& from) noexcept
662     : PerformMultipleTaskAssignmentsRequest() {
663     *this = ::std::move(from);
664   }
665 
666   inline PerformMultipleTaskAssignmentsRequest& operator=(const PerformMultipleTaskAssignmentsRequest& from) {
667     if (this == &from) return *this;
668     CopyFrom(from);
669     return *this;
670   }
671   inline PerformMultipleTaskAssignmentsRequest& operator=(PerformMultipleTaskAssignmentsRequest&& from) noexcept {
672     if (this == &from) return *this;
673     if (GetOwningArena() == from.GetOwningArena()
674   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
675         && GetOwningArena() != nullptr
676   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
677     ) {
678       InternalSwap(&from);
679     } else {
680       CopyFrom(from);
681     }
682     return *this;
683   }
684 
default_instance()685   static const PerformMultipleTaskAssignmentsRequest& default_instance() {
686     return *internal_default_instance();
687   }
internal_default_instance()688   static inline const PerformMultipleTaskAssignmentsRequest* internal_default_instance() {
689     return reinterpret_cast<const PerformMultipleTaskAssignmentsRequest*>(
690                &_PerformMultipleTaskAssignmentsRequest_default_instance_);
691   }
692   static constexpr int kIndexInFileMessages =
693     3;
694 
swap(PerformMultipleTaskAssignmentsRequest & a,PerformMultipleTaskAssignmentsRequest & b)695   friend void swap(PerformMultipleTaskAssignmentsRequest& a, PerformMultipleTaskAssignmentsRequest& b) {
696     a.Swap(&b);
697   }
Swap(PerformMultipleTaskAssignmentsRequest * other)698   inline void Swap(PerformMultipleTaskAssignmentsRequest* other) {
699     if (other == this) return;
700   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
701     if (GetOwningArena() != nullptr &&
702         GetOwningArena() == other->GetOwningArena()) {
703    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
704     if (GetOwningArena() == other->GetOwningArena()) {
705   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
706       InternalSwap(other);
707     } else {
708       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
709     }
710   }
711   void UnsafeArenaSwap(PerformMultipleTaskAssignmentsRequest* other) {
712     if (other == this) return;
713     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
714     InternalSwap(other);
715   }
716 
717   // implements Message ----------------------------------------------
718 
719   PerformMultipleTaskAssignmentsRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
720     return CreateMaybeMessage<PerformMultipleTaskAssignmentsRequest>(arena);
721   }
722   PerformMultipleTaskAssignmentsRequest* New() const {
723     return New(nullptr);
724   }
725   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
726   void CopyFrom(const PerformMultipleTaskAssignmentsRequest& from);
727   void MergeFrom(const PerformMultipleTaskAssignmentsRequest& from);
728   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
729   bool IsInitialized() const final;
730 
731   size_t ByteSizeLong() const final;
732   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
733   ::uint8_t* _InternalSerialize(
734       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
735   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
736 
737   private:
738   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
739   void SharedDtor();
740   void SetCachedSize(int size) const;
741   void InternalSwap(PerformMultipleTaskAssignmentsRequest* other);
742 
743   private:
744   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
745   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
746     return "google.internal.federatedcompute.v1.PerformMultipleTaskAssignmentsRequest";
747   }
748   protected:
749   explicit PerformMultipleTaskAssignmentsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena,
750                        bool is_message_owned = false);
751   public:
752 
753   std::string GetTypeName() const final;
754 
755   // nested types ----------------------------------------------------
756 
757   // accessors -------------------------------------------------------
758 
759   enum : int {
760     kTaskNamesFieldNumber = 5,
761     kPopulationNameFieldNumber = 1,
762     kSessionIdFieldNumber = 2,
763     kClientVersionFieldNumber = 3,
764     kResourceCapabilitiesFieldNumber = 4,
765   };
766   // repeated string task_names = 5;
767   int task_names_size() const;
768   private:
769   int _internal_task_names_size() const;
770   public:
771   void clear_task_names();
772   const std::string& task_names(int index) const;
773   std::string* mutable_task_names(int index);
774   void set_task_names(int index, const std::string& value);
775   void set_task_names(int index, std::string&& value);
776   void set_task_names(int index, const char* value);
777   void set_task_names(int index, const char* value, size_t size);
778   std::string* add_task_names();
779   void add_task_names(const std::string& value);
780   void add_task_names(std::string&& value);
781   void add_task_names(const char* value);
782   void add_task_names(const char* value, size_t size);
783   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& task_names() const;
784   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_task_names();
785   private:
786   const std::string& _internal_task_names(int index) const;
787   std::string* _internal_add_task_names();
788   public:
789 
790   // string population_name = 1;
791   void clear_population_name();
792   const std::string& population_name() const;
793   template <typename ArgT0 = const std::string&, typename... ArgT>
794   void set_population_name(ArgT0&& arg0, ArgT... args);
795   std::string* mutable_population_name();
796   PROTOBUF_NODISCARD std::string* release_population_name();
797   void set_allocated_population_name(std::string* population_name);
798   private:
799   const std::string& _internal_population_name() const;
800   inline PROTOBUF_ALWAYS_INLINE void _internal_set_population_name(const std::string& value);
801   std::string* _internal_mutable_population_name();
802   public:
803 
804   // string session_id = 2;
805   void clear_session_id();
806   const std::string& session_id() const;
807   template <typename ArgT0 = const std::string&, typename... ArgT>
808   void set_session_id(ArgT0&& arg0, ArgT... args);
809   std::string* mutable_session_id();
810   PROTOBUF_NODISCARD std::string* release_session_id();
811   void set_allocated_session_id(std::string* session_id);
812   private:
813   const std::string& _internal_session_id() const;
814   inline PROTOBUF_ALWAYS_INLINE void _internal_set_session_id(const std::string& value);
815   std::string* _internal_mutable_session_id();
816   public:
817 
818   // .google.internal.federatedcompute.v1.ClientVersion client_version = 3;
819   bool has_client_version() const;
820   private:
821   bool _internal_has_client_version() const;
822   public:
823   void clear_client_version();
824   const ::google::internal::federatedcompute::v1::ClientVersion& client_version() const;
825   PROTOBUF_NODISCARD ::google::internal::federatedcompute::v1::ClientVersion* release_client_version();
826   ::google::internal::federatedcompute::v1::ClientVersion* mutable_client_version();
827   void set_allocated_client_version(::google::internal::federatedcompute::v1::ClientVersion* client_version);
828   private:
829   const ::google::internal::federatedcompute::v1::ClientVersion& _internal_client_version() const;
830   ::google::internal::federatedcompute::v1::ClientVersion* _internal_mutable_client_version();
831   public:
832   void unsafe_arena_set_allocated_client_version(
833       ::google::internal::federatedcompute::v1::ClientVersion* client_version);
834   ::google::internal::federatedcompute::v1::ClientVersion* unsafe_arena_release_client_version();
835 
836   // .google.internal.federatedcompute.v1.ResourceCapabilities resource_capabilities = 4;
837   bool has_resource_capabilities() const;
838   private:
839   bool _internal_has_resource_capabilities() const;
840   public:
841   void clear_resource_capabilities();
842   const ::google::internal::federatedcompute::v1::ResourceCapabilities& resource_capabilities() const;
843   PROTOBUF_NODISCARD ::google::internal::federatedcompute::v1::ResourceCapabilities* release_resource_capabilities();
844   ::google::internal::federatedcompute::v1::ResourceCapabilities* mutable_resource_capabilities();
845   void set_allocated_resource_capabilities(::google::internal::federatedcompute::v1::ResourceCapabilities* resource_capabilities);
846   private:
847   const ::google::internal::federatedcompute::v1::ResourceCapabilities& _internal_resource_capabilities() const;
848   ::google::internal::federatedcompute::v1::ResourceCapabilities* _internal_mutable_resource_capabilities();
849   public:
850   void unsafe_arena_set_allocated_resource_capabilities(
851       ::google::internal::federatedcompute::v1::ResourceCapabilities* resource_capabilities);
852   ::google::internal::federatedcompute::v1::ResourceCapabilities* unsafe_arena_release_resource_capabilities();
853 
854   // @@protoc_insertion_point(class_scope:google.internal.federatedcompute.v1.PerformMultipleTaskAssignmentsRequest)
855  private:
856   class _Internal;
857 
858   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
859   typedef void InternalArenaConstructable_;
860   typedef void DestructorSkippable_;
861   struct Impl_ {
862     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> task_names_;
863     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr population_name_;
864     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr session_id_;
865     ::google::internal::federatedcompute::v1::ClientVersion* client_version_;
866     ::google::internal::federatedcompute::v1::ResourceCapabilities* resource_capabilities_;
867     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
868   };
869   union { Impl_ _impl_; };
870   friend struct ::TableStruct_fcp_2fprotos_2ffederatedcompute_2ftask_5fassignments_2eproto;
871 };
872 // -------------------------------------------------------------------
873 
874 class PerformMultipleTaskAssignmentsResponse final :
875     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedcompute.v1.PerformMultipleTaskAssignmentsResponse) */ {
876  public:
PerformMultipleTaskAssignmentsResponse()877   inline PerformMultipleTaskAssignmentsResponse() : PerformMultipleTaskAssignmentsResponse(nullptr) {}
878   ~PerformMultipleTaskAssignmentsResponse() override;
879   explicit PROTOBUF_CONSTEXPR PerformMultipleTaskAssignmentsResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
880 
881   PerformMultipleTaskAssignmentsResponse(const PerformMultipleTaskAssignmentsResponse& from);
PerformMultipleTaskAssignmentsResponse(PerformMultipleTaskAssignmentsResponse && from)882   PerformMultipleTaskAssignmentsResponse(PerformMultipleTaskAssignmentsResponse&& from) noexcept
883     : PerformMultipleTaskAssignmentsResponse() {
884     *this = ::std::move(from);
885   }
886 
887   inline PerformMultipleTaskAssignmentsResponse& operator=(const PerformMultipleTaskAssignmentsResponse& from) {
888     if (this == &from) return *this;
889     CopyFrom(from);
890     return *this;
891   }
892   inline PerformMultipleTaskAssignmentsResponse& operator=(PerformMultipleTaskAssignmentsResponse&& from) noexcept {
893     if (this == &from) return *this;
894     if (GetOwningArena() == from.GetOwningArena()
895   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
896         && GetOwningArena() != nullptr
897   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
898     ) {
899       InternalSwap(&from);
900     } else {
901       CopyFrom(from);
902     }
903     return *this;
904   }
905 
default_instance()906   static const PerformMultipleTaskAssignmentsResponse& default_instance() {
907     return *internal_default_instance();
908   }
internal_default_instance()909   static inline const PerformMultipleTaskAssignmentsResponse* internal_default_instance() {
910     return reinterpret_cast<const PerformMultipleTaskAssignmentsResponse*>(
911                &_PerformMultipleTaskAssignmentsResponse_default_instance_);
912   }
913   static constexpr int kIndexInFileMessages =
914     4;
915 
swap(PerformMultipleTaskAssignmentsResponse & a,PerformMultipleTaskAssignmentsResponse & b)916   friend void swap(PerformMultipleTaskAssignmentsResponse& a, PerformMultipleTaskAssignmentsResponse& b) {
917     a.Swap(&b);
918   }
Swap(PerformMultipleTaskAssignmentsResponse * other)919   inline void Swap(PerformMultipleTaskAssignmentsResponse* other) {
920     if (other == this) return;
921   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
922     if (GetOwningArena() != nullptr &&
923         GetOwningArena() == other->GetOwningArena()) {
924    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
925     if (GetOwningArena() == other->GetOwningArena()) {
926   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
927       InternalSwap(other);
928     } else {
929       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
930     }
931   }
932   void UnsafeArenaSwap(PerformMultipleTaskAssignmentsResponse* other) {
933     if (other == this) return;
934     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
935     InternalSwap(other);
936   }
937 
938   // implements Message ----------------------------------------------
939 
940   PerformMultipleTaskAssignmentsResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
941     return CreateMaybeMessage<PerformMultipleTaskAssignmentsResponse>(arena);
942   }
943   PerformMultipleTaskAssignmentsResponse* New() const {
944     return New(nullptr);
945   }
946   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
947   void CopyFrom(const PerformMultipleTaskAssignmentsResponse& from);
948   void MergeFrom(const PerformMultipleTaskAssignmentsResponse& from);
949   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
950   bool IsInitialized() const final;
951 
952   size_t ByteSizeLong() const final;
953   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
954   ::uint8_t* _InternalSerialize(
955       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
956   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
957 
958   private:
959   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
960   void SharedDtor();
961   void SetCachedSize(int size) const;
962   void InternalSwap(PerformMultipleTaskAssignmentsResponse* other);
963 
964   private:
965   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
966   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
967     return "google.internal.federatedcompute.v1.PerformMultipleTaskAssignmentsResponse";
968   }
969   protected:
970   explicit PerformMultipleTaskAssignmentsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena,
971                        bool is_message_owned = false);
972   public:
973 
974   std::string GetTypeName() const final;
975 
976   // nested types ----------------------------------------------------
977 
978   // accessors -------------------------------------------------------
979 
980   enum : int {
981     kTaskAssignmentsFieldNumber = 1,
982   };
983   // repeated .google.internal.federatedcompute.v1.TaskAssignment task_assignments = 1;
984   int task_assignments_size() const;
985   private:
986   int _internal_task_assignments_size() const;
987   public:
988   void clear_task_assignments();
989   ::google::internal::federatedcompute::v1::TaskAssignment* mutable_task_assignments(int index);
990   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::google::internal::federatedcompute::v1::TaskAssignment >*
991       mutable_task_assignments();
992   private:
993   const ::google::internal::federatedcompute::v1::TaskAssignment& _internal_task_assignments(int index) const;
994   ::google::internal::federatedcompute::v1::TaskAssignment* _internal_add_task_assignments();
995   public:
996   const ::google::internal::federatedcompute::v1::TaskAssignment& task_assignments(int index) const;
997   ::google::internal::federatedcompute::v1::TaskAssignment* add_task_assignments();
998   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::google::internal::federatedcompute::v1::TaskAssignment >&
999       task_assignments() const;
1000 
1001   // @@protoc_insertion_point(class_scope:google.internal.federatedcompute.v1.PerformMultipleTaskAssignmentsResponse)
1002  private:
1003   class _Internal;
1004 
1005   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1006   typedef void InternalArenaConstructable_;
1007   typedef void DestructorSkippable_;
1008   struct Impl_ {
1009     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::google::internal::federatedcompute::v1::TaskAssignment > task_assignments_;
1010     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1011   };
1012   union { Impl_ _impl_; };
1013   friend struct ::TableStruct_fcp_2fprotos_2ffederatedcompute_2ftask_5fassignments_2eproto;
1014 };
1015 // -------------------------------------------------------------------
1016 
1017 class TaskAssignment_AggregationInfo final :
1018     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedcompute.v1.TaskAssignment.AggregationInfo) */ {
1019  public:
TaskAssignment_AggregationInfo()1020   inline TaskAssignment_AggregationInfo() : TaskAssignment_AggregationInfo(nullptr) {}
1021   ~TaskAssignment_AggregationInfo() override;
1022   explicit PROTOBUF_CONSTEXPR TaskAssignment_AggregationInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1023 
1024   TaskAssignment_AggregationInfo(const TaskAssignment_AggregationInfo& from);
TaskAssignment_AggregationInfo(TaskAssignment_AggregationInfo && from)1025   TaskAssignment_AggregationInfo(TaskAssignment_AggregationInfo&& from) noexcept
1026     : TaskAssignment_AggregationInfo() {
1027     *this = ::std::move(from);
1028   }
1029 
1030   inline TaskAssignment_AggregationInfo& operator=(const TaskAssignment_AggregationInfo& from) {
1031     if (this == &from) return *this;
1032     CopyFrom(from);
1033     return *this;
1034   }
1035   inline TaskAssignment_AggregationInfo& operator=(TaskAssignment_AggregationInfo&& from) noexcept {
1036     if (this == &from) return *this;
1037     if (GetOwningArena() == from.GetOwningArena()
1038   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1039         && GetOwningArena() != nullptr
1040   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
1041     ) {
1042       InternalSwap(&from);
1043     } else {
1044       CopyFrom(from);
1045     }
1046     return *this;
1047   }
1048 
default_instance()1049   static const TaskAssignment_AggregationInfo& default_instance() {
1050     return *internal_default_instance();
1051   }
internal_default_instance()1052   static inline const TaskAssignment_AggregationInfo* internal_default_instance() {
1053     return reinterpret_cast<const TaskAssignment_AggregationInfo*>(
1054                &_TaskAssignment_AggregationInfo_default_instance_);
1055   }
1056   static constexpr int kIndexInFileMessages =
1057     5;
1058 
swap(TaskAssignment_AggregationInfo & a,TaskAssignment_AggregationInfo & b)1059   friend void swap(TaskAssignment_AggregationInfo& a, TaskAssignment_AggregationInfo& b) {
1060     a.Swap(&b);
1061   }
Swap(TaskAssignment_AggregationInfo * other)1062   inline void Swap(TaskAssignment_AggregationInfo* other) {
1063     if (other == this) return;
1064   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1065     if (GetOwningArena() != nullptr &&
1066         GetOwningArena() == other->GetOwningArena()) {
1067    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
1068     if (GetOwningArena() == other->GetOwningArena()) {
1069   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
1070       InternalSwap(other);
1071     } else {
1072       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1073     }
1074   }
1075   void UnsafeArenaSwap(TaskAssignment_AggregationInfo* other) {
1076     if (other == this) return;
1077     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1078     InternalSwap(other);
1079   }
1080 
1081   // implements Message ----------------------------------------------
1082 
1083   TaskAssignment_AggregationInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1084     return CreateMaybeMessage<TaskAssignment_AggregationInfo>(arena);
1085   }
1086   TaskAssignment_AggregationInfo* New() const {
1087     return New(nullptr);
1088   }
1089   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
1090   void CopyFrom(const TaskAssignment_AggregationInfo& from);
1091   void MergeFrom(const TaskAssignment_AggregationInfo& from);
1092   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1093   bool IsInitialized() const final;
1094 
1095   size_t ByteSizeLong() const final;
1096   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1097   ::uint8_t* _InternalSerialize(
1098       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1099   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1100 
1101   private:
1102   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1103   void SharedDtor();
1104   void SetCachedSize(int size) const;
1105   void InternalSwap(TaskAssignment_AggregationInfo* other);
1106 
1107   private:
1108   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1109   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1110     return "google.internal.federatedcompute.v1.TaskAssignment.AggregationInfo";
1111   }
1112   protected:
1113   explicit TaskAssignment_AggregationInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1114                        bool is_message_owned = false);
1115   public:
1116 
1117   std::string GetTypeName() const final;
1118 
1119   // nested types ----------------------------------------------------
1120 
1121   // accessors -------------------------------------------------------
1122 
1123   // @@protoc_insertion_point(class_scope:google.internal.federatedcompute.v1.TaskAssignment.AggregationInfo)
1124  private:
1125   class _Internal;
1126 
1127   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1128   typedef void InternalArenaConstructable_;
1129   typedef void DestructorSkippable_;
1130   struct Impl_ {
1131     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1132   };
1133   union { Impl_ _impl_; };
1134   friend struct ::TableStruct_fcp_2fprotos_2ffederatedcompute_2ftask_5fassignments_2eproto;
1135 };
1136 // -------------------------------------------------------------------
1137 
1138 class TaskAssignment_SecureAggregationInfo final :
1139     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedcompute.v1.TaskAssignment.SecureAggregationInfo) */ {
1140  public:
TaskAssignment_SecureAggregationInfo()1141   inline TaskAssignment_SecureAggregationInfo() : TaskAssignment_SecureAggregationInfo(nullptr) {}
1142   ~TaskAssignment_SecureAggregationInfo() override;
1143   explicit PROTOBUF_CONSTEXPR TaskAssignment_SecureAggregationInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1144 
1145   TaskAssignment_SecureAggregationInfo(const TaskAssignment_SecureAggregationInfo& from);
TaskAssignment_SecureAggregationInfo(TaskAssignment_SecureAggregationInfo && from)1146   TaskAssignment_SecureAggregationInfo(TaskAssignment_SecureAggregationInfo&& from) noexcept
1147     : TaskAssignment_SecureAggregationInfo() {
1148     *this = ::std::move(from);
1149   }
1150 
1151   inline TaskAssignment_SecureAggregationInfo& operator=(const TaskAssignment_SecureAggregationInfo& from) {
1152     if (this == &from) return *this;
1153     CopyFrom(from);
1154     return *this;
1155   }
1156   inline TaskAssignment_SecureAggregationInfo& operator=(TaskAssignment_SecureAggregationInfo&& from) noexcept {
1157     if (this == &from) return *this;
1158     if (GetOwningArena() == from.GetOwningArena()
1159   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1160         && GetOwningArena() != nullptr
1161   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
1162     ) {
1163       InternalSwap(&from);
1164     } else {
1165       CopyFrom(from);
1166     }
1167     return *this;
1168   }
1169 
default_instance()1170   static const TaskAssignment_SecureAggregationInfo& default_instance() {
1171     return *internal_default_instance();
1172   }
internal_default_instance()1173   static inline const TaskAssignment_SecureAggregationInfo* internal_default_instance() {
1174     return reinterpret_cast<const TaskAssignment_SecureAggregationInfo*>(
1175                &_TaskAssignment_SecureAggregationInfo_default_instance_);
1176   }
1177   static constexpr int kIndexInFileMessages =
1178     6;
1179 
swap(TaskAssignment_SecureAggregationInfo & a,TaskAssignment_SecureAggregationInfo & b)1180   friend void swap(TaskAssignment_SecureAggregationInfo& a, TaskAssignment_SecureAggregationInfo& b) {
1181     a.Swap(&b);
1182   }
Swap(TaskAssignment_SecureAggregationInfo * other)1183   inline void Swap(TaskAssignment_SecureAggregationInfo* other) {
1184     if (other == this) return;
1185   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1186     if (GetOwningArena() != nullptr &&
1187         GetOwningArena() == other->GetOwningArena()) {
1188    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
1189     if (GetOwningArena() == other->GetOwningArena()) {
1190   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
1191       InternalSwap(other);
1192     } else {
1193       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1194     }
1195   }
1196   void UnsafeArenaSwap(TaskAssignment_SecureAggregationInfo* other) {
1197     if (other == this) return;
1198     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1199     InternalSwap(other);
1200   }
1201 
1202   // implements Message ----------------------------------------------
1203 
1204   TaskAssignment_SecureAggregationInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1205     return CreateMaybeMessage<TaskAssignment_SecureAggregationInfo>(arena);
1206   }
1207   TaskAssignment_SecureAggregationInfo* New() const {
1208     return New(nullptr);
1209   }
1210   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
1211   void CopyFrom(const TaskAssignment_SecureAggregationInfo& from);
1212   void MergeFrom(const TaskAssignment_SecureAggregationInfo& from);
1213   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1214   bool IsInitialized() const final;
1215 
1216   size_t ByteSizeLong() const final;
1217   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1218   ::uint8_t* _InternalSerialize(
1219       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1220   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1221 
1222   private:
1223   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1224   void SharedDtor();
1225   void SetCachedSize(int size) const;
1226   void InternalSwap(TaskAssignment_SecureAggregationInfo* other);
1227 
1228   private:
1229   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1230   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1231     return "google.internal.federatedcompute.v1.TaskAssignment.SecureAggregationInfo";
1232   }
1233   protected:
1234   explicit TaskAssignment_SecureAggregationInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1235                        bool is_message_owned = false);
1236   public:
1237 
1238   std::string GetTypeName() const final;
1239 
1240   // nested types ----------------------------------------------------
1241 
1242   // accessors -------------------------------------------------------
1243 
1244   enum : int {
1245     kMinimumClientsInServerVisibleAggregateFieldNumber = 1,
1246   };
1247   // int32 minimum_clients_in_server_visible_aggregate = 1;
1248   void clear_minimum_clients_in_server_visible_aggregate();
1249   ::int32_t minimum_clients_in_server_visible_aggregate() const;
1250   void set_minimum_clients_in_server_visible_aggregate(::int32_t value);
1251   private:
1252   ::int32_t _internal_minimum_clients_in_server_visible_aggregate() const;
1253   void _internal_set_minimum_clients_in_server_visible_aggregate(::int32_t value);
1254   public:
1255 
1256   // @@protoc_insertion_point(class_scope:google.internal.federatedcompute.v1.TaskAssignment.SecureAggregationInfo)
1257  private:
1258   class _Internal;
1259 
1260   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1261   typedef void InternalArenaConstructable_;
1262   typedef void DestructorSkippable_;
1263   struct Impl_ {
1264     ::int32_t minimum_clients_in_server_visible_aggregate_;
1265     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1266   };
1267   union { Impl_ _impl_; };
1268   friend struct ::TableStruct_fcp_2fprotos_2ffederatedcompute_2ftask_5fassignments_2eproto;
1269 };
1270 // -------------------------------------------------------------------
1271 
1272 class TaskAssignment final :
1273     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedcompute.v1.TaskAssignment) */ {
1274  public:
TaskAssignment()1275   inline TaskAssignment() : TaskAssignment(nullptr) {}
1276   ~TaskAssignment() override;
1277   explicit PROTOBUF_CONSTEXPR TaskAssignment(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1278 
1279   TaskAssignment(const TaskAssignment& from);
TaskAssignment(TaskAssignment && from)1280   TaskAssignment(TaskAssignment&& from) noexcept
1281     : TaskAssignment() {
1282     *this = ::std::move(from);
1283   }
1284 
1285   inline TaskAssignment& operator=(const TaskAssignment& from) {
1286     if (this == &from) return *this;
1287     CopyFrom(from);
1288     return *this;
1289   }
1290   inline TaskAssignment& operator=(TaskAssignment&& from) noexcept {
1291     if (this == &from) return *this;
1292     if (GetOwningArena() == from.GetOwningArena()
1293   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1294         && GetOwningArena() != nullptr
1295   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
1296     ) {
1297       InternalSwap(&from);
1298     } else {
1299       CopyFrom(from);
1300     }
1301     return *this;
1302   }
1303 
default_instance()1304   static const TaskAssignment& default_instance() {
1305     return *internal_default_instance();
1306   }
1307   enum AggregationTypeCase {
1308     kAggregationInfo = 9,
1309     kSecureAggregationInfo = 10,
1310     AGGREGATION_TYPE_NOT_SET = 0,
1311   };
1312 
internal_default_instance()1313   static inline const TaskAssignment* internal_default_instance() {
1314     return reinterpret_cast<const TaskAssignment*>(
1315                &_TaskAssignment_default_instance_);
1316   }
1317   static constexpr int kIndexInFileMessages =
1318     7;
1319 
swap(TaskAssignment & a,TaskAssignment & b)1320   friend void swap(TaskAssignment& a, TaskAssignment& b) {
1321     a.Swap(&b);
1322   }
Swap(TaskAssignment * other)1323   inline void Swap(TaskAssignment* other) {
1324     if (other == this) return;
1325   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1326     if (GetOwningArena() != nullptr &&
1327         GetOwningArena() == other->GetOwningArena()) {
1328    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
1329     if (GetOwningArena() == other->GetOwningArena()) {
1330   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
1331       InternalSwap(other);
1332     } else {
1333       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1334     }
1335   }
1336   void UnsafeArenaSwap(TaskAssignment* other) {
1337     if (other == this) return;
1338     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1339     InternalSwap(other);
1340   }
1341 
1342   // implements Message ----------------------------------------------
1343 
1344   TaskAssignment* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1345     return CreateMaybeMessage<TaskAssignment>(arena);
1346   }
1347   TaskAssignment* New() const {
1348     return New(nullptr);
1349   }
1350   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
1351   void CopyFrom(const TaskAssignment& from);
1352   void MergeFrom(const TaskAssignment& from);
1353   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1354   bool IsInitialized() const final;
1355 
1356   size_t ByteSizeLong() const final;
1357   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1358   ::uint8_t* _InternalSerialize(
1359       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1360   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1361 
1362   private:
1363   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1364   void SharedDtor();
1365   void SetCachedSize(int size) const;
1366   void InternalSwap(TaskAssignment* other);
1367 
1368   private:
1369   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1370   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1371     return "google.internal.federatedcompute.v1.TaskAssignment";
1372   }
1373   protected:
1374   explicit TaskAssignment(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1375                        bool is_message_owned = false);
1376   public:
1377 
1378   std::string GetTypeName() const final;
1379 
1380   // nested types ----------------------------------------------------
1381 
1382   typedef TaskAssignment_AggregationInfo AggregationInfo;
1383   typedef TaskAssignment_SecureAggregationInfo SecureAggregationInfo;
1384 
1385   // accessors -------------------------------------------------------
1386 
1387   enum : int {
1388     kAggregationIdFieldNumber = 2,
1389     kSessionIdFieldNumber = 5,
1390     kAuthorizationTokenFieldNumber = 6,
1391     kTaskNameFieldNumber = 7,
1392     kAggregationDataForwardingInfoFieldNumber = 1,
1393     kInitCheckpointFieldNumber = 3,
1394     kPlanFieldNumber = 4,
1395     kFederatedSelectUriInfoFieldNumber = 8,
1396     kAggregationInfoFieldNumber = 9,
1397     kSecureAggregationInfoFieldNumber = 10,
1398   };
1399   // string aggregation_id = 2;
1400   void clear_aggregation_id();
1401   const std::string& aggregation_id() const;
1402   template <typename ArgT0 = const std::string&, typename... ArgT>
1403   void set_aggregation_id(ArgT0&& arg0, ArgT... args);
1404   std::string* mutable_aggregation_id();
1405   PROTOBUF_NODISCARD std::string* release_aggregation_id();
1406   void set_allocated_aggregation_id(std::string* aggregation_id);
1407   private:
1408   const std::string& _internal_aggregation_id() const;
1409   inline PROTOBUF_ALWAYS_INLINE void _internal_set_aggregation_id(const std::string& value);
1410   std::string* _internal_mutable_aggregation_id();
1411   public:
1412 
1413   // string session_id = 5;
1414   void clear_session_id();
1415   const std::string& session_id() const;
1416   template <typename ArgT0 = const std::string&, typename... ArgT>
1417   void set_session_id(ArgT0&& arg0, ArgT... args);
1418   std::string* mutable_session_id();
1419   PROTOBUF_NODISCARD std::string* release_session_id();
1420   void set_allocated_session_id(std::string* session_id);
1421   private:
1422   const std::string& _internal_session_id() const;
1423   inline PROTOBUF_ALWAYS_INLINE void _internal_set_session_id(const std::string& value);
1424   std::string* _internal_mutable_session_id();
1425   public:
1426 
1427   // string authorization_token = 6;
1428   void clear_authorization_token();
1429   const std::string& authorization_token() const;
1430   template <typename ArgT0 = const std::string&, typename... ArgT>
1431   void set_authorization_token(ArgT0&& arg0, ArgT... args);
1432   std::string* mutable_authorization_token();
1433   PROTOBUF_NODISCARD std::string* release_authorization_token();
1434   void set_allocated_authorization_token(std::string* authorization_token);
1435   private:
1436   const std::string& _internal_authorization_token() const;
1437   inline PROTOBUF_ALWAYS_INLINE void _internal_set_authorization_token(const std::string& value);
1438   std::string* _internal_mutable_authorization_token();
1439   public:
1440 
1441   // string task_name = 7;
1442   void clear_task_name();
1443   const std::string& task_name() const;
1444   template <typename ArgT0 = const std::string&, typename... ArgT>
1445   void set_task_name(ArgT0&& arg0, ArgT... args);
1446   std::string* mutable_task_name();
1447   PROTOBUF_NODISCARD std::string* release_task_name();
1448   void set_allocated_task_name(std::string* task_name);
1449   private:
1450   const std::string& _internal_task_name() const;
1451   inline PROTOBUF_ALWAYS_INLINE void _internal_set_task_name(const std::string& value);
1452   std::string* _internal_mutable_task_name();
1453   public:
1454 
1455   // .google.internal.federatedcompute.v1.ForwardingInfo aggregation_data_forwarding_info = 1;
1456   bool has_aggregation_data_forwarding_info() const;
1457   private:
1458   bool _internal_has_aggregation_data_forwarding_info() const;
1459   public:
1460   void clear_aggregation_data_forwarding_info();
1461   const ::google::internal::federatedcompute::v1::ForwardingInfo& aggregation_data_forwarding_info() const;
1462   PROTOBUF_NODISCARD ::google::internal::federatedcompute::v1::ForwardingInfo* release_aggregation_data_forwarding_info();
1463   ::google::internal::federatedcompute::v1::ForwardingInfo* mutable_aggregation_data_forwarding_info();
1464   void set_allocated_aggregation_data_forwarding_info(::google::internal::federatedcompute::v1::ForwardingInfo* aggregation_data_forwarding_info);
1465   private:
1466   const ::google::internal::federatedcompute::v1::ForwardingInfo& _internal_aggregation_data_forwarding_info() const;
1467   ::google::internal::federatedcompute::v1::ForwardingInfo* _internal_mutable_aggregation_data_forwarding_info();
1468   public:
1469   void unsafe_arena_set_allocated_aggregation_data_forwarding_info(
1470       ::google::internal::federatedcompute::v1::ForwardingInfo* aggregation_data_forwarding_info);
1471   ::google::internal::federatedcompute::v1::ForwardingInfo* unsafe_arena_release_aggregation_data_forwarding_info();
1472 
1473   // .google.internal.federatedcompute.v1.Resource init_checkpoint = 3;
1474   bool has_init_checkpoint() const;
1475   private:
1476   bool _internal_has_init_checkpoint() const;
1477   public:
1478   void clear_init_checkpoint();
1479   const ::google::internal::federatedcompute::v1::Resource& init_checkpoint() const;
1480   PROTOBUF_NODISCARD ::google::internal::federatedcompute::v1::Resource* release_init_checkpoint();
1481   ::google::internal::federatedcompute::v1::Resource* mutable_init_checkpoint();
1482   void set_allocated_init_checkpoint(::google::internal::federatedcompute::v1::Resource* init_checkpoint);
1483   private:
1484   const ::google::internal::federatedcompute::v1::Resource& _internal_init_checkpoint() const;
1485   ::google::internal::federatedcompute::v1::Resource* _internal_mutable_init_checkpoint();
1486   public:
1487   void unsafe_arena_set_allocated_init_checkpoint(
1488       ::google::internal::federatedcompute::v1::Resource* init_checkpoint);
1489   ::google::internal::federatedcompute::v1::Resource* unsafe_arena_release_init_checkpoint();
1490 
1491   // .google.internal.federatedcompute.v1.Resource plan = 4;
1492   bool has_plan() const;
1493   private:
1494   bool _internal_has_plan() const;
1495   public:
1496   void clear_plan();
1497   const ::google::internal::federatedcompute::v1::Resource& plan() const;
1498   PROTOBUF_NODISCARD ::google::internal::federatedcompute::v1::Resource* release_plan();
1499   ::google::internal::federatedcompute::v1::Resource* mutable_plan();
1500   void set_allocated_plan(::google::internal::federatedcompute::v1::Resource* plan);
1501   private:
1502   const ::google::internal::federatedcompute::v1::Resource& _internal_plan() const;
1503   ::google::internal::federatedcompute::v1::Resource* _internal_mutable_plan();
1504   public:
1505   void unsafe_arena_set_allocated_plan(
1506       ::google::internal::federatedcompute::v1::Resource* plan);
1507   ::google::internal::federatedcompute::v1::Resource* unsafe_arena_release_plan();
1508 
1509   // .google.internal.federatedcompute.v1.FederatedSelectUriInfo federated_select_uri_info = 8;
1510   bool has_federated_select_uri_info() const;
1511   private:
1512   bool _internal_has_federated_select_uri_info() const;
1513   public:
1514   void clear_federated_select_uri_info();
1515   const ::google::internal::federatedcompute::v1::FederatedSelectUriInfo& federated_select_uri_info() const;
1516   PROTOBUF_NODISCARD ::google::internal::federatedcompute::v1::FederatedSelectUriInfo* release_federated_select_uri_info();
1517   ::google::internal::federatedcompute::v1::FederatedSelectUriInfo* mutable_federated_select_uri_info();
1518   void set_allocated_federated_select_uri_info(::google::internal::federatedcompute::v1::FederatedSelectUriInfo* federated_select_uri_info);
1519   private:
1520   const ::google::internal::federatedcompute::v1::FederatedSelectUriInfo& _internal_federated_select_uri_info() const;
1521   ::google::internal::federatedcompute::v1::FederatedSelectUriInfo* _internal_mutable_federated_select_uri_info();
1522   public:
1523   void unsafe_arena_set_allocated_federated_select_uri_info(
1524       ::google::internal::federatedcompute::v1::FederatedSelectUriInfo* federated_select_uri_info);
1525   ::google::internal::federatedcompute::v1::FederatedSelectUriInfo* unsafe_arena_release_federated_select_uri_info();
1526 
1527   // .google.internal.federatedcompute.v1.TaskAssignment.AggregationInfo aggregation_info = 9;
1528   bool has_aggregation_info() const;
1529   private:
1530   bool _internal_has_aggregation_info() const;
1531   public:
1532   void clear_aggregation_info();
1533   const ::google::internal::federatedcompute::v1::TaskAssignment_AggregationInfo& aggregation_info() const;
1534   PROTOBUF_NODISCARD ::google::internal::federatedcompute::v1::TaskAssignment_AggregationInfo* release_aggregation_info();
1535   ::google::internal::federatedcompute::v1::TaskAssignment_AggregationInfo* mutable_aggregation_info();
1536   void set_allocated_aggregation_info(::google::internal::federatedcompute::v1::TaskAssignment_AggregationInfo* aggregation_info);
1537   private:
1538   const ::google::internal::federatedcompute::v1::TaskAssignment_AggregationInfo& _internal_aggregation_info() const;
1539   ::google::internal::federatedcompute::v1::TaskAssignment_AggregationInfo* _internal_mutable_aggregation_info();
1540   public:
1541   void unsafe_arena_set_allocated_aggregation_info(
1542       ::google::internal::federatedcompute::v1::TaskAssignment_AggregationInfo* aggregation_info);
1543   ::google::internal::federatedcompute::v1::TaskAssignment_AggregationInfo* unsafe_arena_release_aggregation_info();
1544 
1545   // .google.internal.federatedcompute.v1.TaskAssignment.SecureAggregationInfo secure_aggregation_info = 10;
1546   bool has_secure_aggregation_info() const;
1547   private:
1548   bool _internal_has_secure_aggregation_info() const;
1549   public:
1550   void clear_secure_aggregation_info();
1551   const ::google::internal::federatedcompute::v1::TaskAssignment_SecureAggregationInfo& secure_aggregation_info() const;
1552   PROTOBUF_NODISCARD ::google::internal::federatedcompute::v1::TaskAssignment_SecureAggregationInfo* release_secure_aggregation_info();
1553   ::google::internal::federatedcompute::v1::TaskAssignment_SecureAggregationInfo* mutable_secure_aggregation_info();
1554   void set_allocated_secure_aggregation_info(::google::internal::federatedcompute::v1::TaskAssignment_SecureAggregationInfo* secure_aggregation_info);
1555   private:
1556   const ::google::internal::federatedcompute::v1::TaskAssignment_SecureAggregationInfo& _internal_secure_aggregation_info() const;
1557   ::google::internal::federatedcompute::v1::TaskAssignment_SecureAggregationInfo* _internal_mutable_secure_aggregation_info();
1558   public:
1559   void unsafe_arena_set_allocated_secure_aggregation_info(
1560       ::google::internal::federatedcompute::v1::TaskAssignment_SecureAggregationInfo* secure_aggregation_info);
1561   ::google::internal::federatedcompute::v1::TaskAssignment_SecureAggregationInfo* unsafe_arena_release_secure_aggregation_info();
1562 
1563   void clear_aggregation_type();
1564   AggregationTypeCase aggregation_type_case() const;
1565   // @@protoc_insertion_point(class_scope:google.internal.federatedcompute.v1.TaskAssignment)
1566  private:
1567   class _Internal;
1568   void set_has_aggregation_info();
1569   void set_has_secure_aggregation_info();
1570 
1571   inline bool has_aggregation_type() const;
1572   inline void clear_has_aggregation_type();
1573 
1574   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1575   typedef void InternalArenaConstructable_;
1576   typedef void DestructorSkippable_;
1577   struct Impl_ {
1578     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr aggregation_id_;
1579     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr session_id_;
1580     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr authorization_token_;
1581     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr task_name_;
1582     ::google::internal::federatedcompute::v1::ForwardingInfo* aggregation_data_forwarding_info_;
1583     ::google::internal::federatedcompute::v1::Resource* init_checkpoint_;
1584     ::google::internal::federatedcompute::v1::Resource* plan_;
1585     ::google::internal::federatedcompute::v1::FederatedSelectUriInfo* federated_select_uri_info_;
1586     union AggregationTypeUnion {
1587       constexpr AggregationTypeUnion() : _constinit_{} {}
1588         ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
1589       ::google::internal::federatedcompute::v1::TaskAssignment_AggregationInfo* aggregation_info_;
1590       ::google::internal::federatedcompute::v1::TaskAssignment_SecureAggregationInfo* secure_aggregation_info_;
1591     } aggregation_type_;
1592     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1593     ::uint32_t _oneof_case_[1];
1594 
1595   };
1596   union { Impl_ _impl_; };
1597   friend struct ::TableStruct_fcp_2fprotos_2ffederatedcompute_2ftask_5fassignments_2eproto;
1598 };
1599 // -------------------------------------------------------------------
1600 
1601 class FederatedSelectUriInfo final :
1602     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedcompute.v1.FederatedSelectUriInfo) */ {
1603  public:
FederatedSelectUriInfo()1604   inline FederatedSelectUriInfo() : FederatedSelectUriInfo(nullptr) {}
1605   ~FederatedSelectUriInfo() override;
1606   explicit PROTOBUF_CONSTEXPR FederatedSelectUriInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1607 
1608   FederatedSelectUriInfo(const FederatedSelectUriInfo& from);
FederatedSelectUriInfo(FederatedSelectUriInfo && from)1609   FederatedSelectUriInfo(FederatedSelectUriInfo&& from) noexcept
1610     : FederatedSelectUriInfo() {
1611     *this = ::std::move(from);
1612   }
1613 
1614   inline FederatedSelectUriInfo& operator=(const FederatedSelectUriInfo& from) {
1615     if (this == &from) return *this;
1616     CopyFrom(from);
1617     return *this;
1618   }
1619   inline FederatedSelectUriInfo& operator=(FederatedSelectUriInfo&& from) noexcept {
1620     if (this == &from) return *this;
1621     if (GetOwningArena() == from.GetOwningArena()
1622   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1623         && GetOwningArena() != nullptr
1624   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
1625     ) {
1626       InternalSwap(&from);
1627     } else {
1628       CopyFrom(from);
1629     }
1630     return *this;
1631   }
1632 
default_instance()1633   static const FederatedSelectUriInfo& default_instance() {
1634     return *internal_default_instance();
1635   }
internal_default_instance()1636   static inline const FederatedSelectUriInfo* internal_default_instance() {
1637     return reinterpret_cast<const FederatedSelectUriInfo*>(
1638                &_FederatedSelectUriInfo_default_instance_);
1639   }
1640   static constexpr int kIndexInFileMessages =
1641     8;
1642 
swap(FederatedSelectUriInfo & a,FederatedSelectUriInfo & b)1643   friend void swap(FederatedSelectUriInfo& a, FederatedSelectUriInfo& b) {
1644     a.Swap(&b);
1645   }
Swap(FederatedSelectUriInfo * other)1646   inline void Swap(FederatedSelectUriInfo* other) {
1647     if (other == this) return;
1648   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1649     if (GetOwningArena() != nullptr &&
1650         GetOwningArena() == other->GetOwningArena()) {
1651    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
1652     if (GetOwningArena() == other->GetOwningArena()) {
1653   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
1654       InternalSwap(other);
1655     } else {
1656       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1657     }
1658   }
1659   void UnsafeArenaSwap(FederatedSelectUriInfo* other) {
1660     if (other == this) return;
1661     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1662     InternalSwap(other);
1663   }
1664 
1665   // implements Message ----------------------------------------------
1666 
1667   FederatedSelectUriInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1668     return CreateMaybeMessage<FederatedSelectUriInfo>(arena);
1669   }
1670   FederatedSelectUriInfo* New() const {
1671     return New(nullptr);
1672   }
1673   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
1674   void CopyFrom(const FederatedSelectUriInfo& from);
1675   void MergeFrom(const FederatedSelectUriInfo& from);
1676   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1677   bool IsInitialized() const final;
1678 
1679   size_t ByteSizeLong() const final;
1680   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1681   ::uint8_t* _InternalSerialize(
1682       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1683   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1684 
1685   private:
1686   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1687   void SharedDtor();
1688   void SetCachedSize(int size) const;
1689   void InternalSwap(FederatedSelectUriInfo* other);
1690 
1691   private:
1692   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1693   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1694     return "google.internal.federatedcompute.v1.FederatedSelectUriInfo";
1695   }
1696   protected:
1697   explicit FederatedSelectUriInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1698                        bool is_message_owned = false);
1699   public:
1700 
1701   std::string GetTypeName() const final;
1702 
1703   // nested types ----------------------------------------------------
1704 
1705   // accessors -------------------------------------------------------
1706 
1707   enum : int {
1708     kUriTemplateFieldNumber = 1,
1709   };
1710   // string uri_template = 1;
1711   void clear_uri_template();
1712   const std::string& uri_template() const;
1713   template <typename ArgT0 = const std::string&, typename... ArgT>
1714   void set_uri_template(ArgT0&& arg0, ArgT... args);
1715   std::string* mutable_uri_template();
1716   PROTOBUF_NODISCARD std::string* release_uri_template();
1717   void set_allocated_uri_template(std::string* uri_template);
1718   private:
1719   const std::string& _internal_uri_template() const;
1720   inline PROTOBUF_ALWAYS_INLINE void _internal_set_uri_template(const std::string& value);
1721   std::string* _internal_mutable_uri_template();
1722   public:
1723 
1724   // @@protoc_insertion_point(class_scope:google.internal.federatedcompute.v1.FederatedSelectUriInfo)
1725  private:
1726   class _Internal;
1727 
1728   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1729   typedef void InternalArenaConstructable_;
1730   typedef void DestructorSkippable_;
1731   struct Impl_ {
1732     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr uri_template_;
1733     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1734   };
1735   union { Impl_ _impl_; };
1736   friend struct ::TableStruct_fcp_2fprotos_2ffederatedcompute_2ftask_5fassignments_2eproto;
1737 };
1738 // -------------------------------------------------------------------
1739 
1740 class ReportTaskResultRequest final :
1741     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedcompute.v1.ReportTaskResultRequest) */ {
1742  public:
ReportTaskResultRequest()1743   inline ReportTaskResultRequest() : ReportTaskResultRequest(nullptr) {}
1744   ~ReportTaskResultRequest() override;
1745   explicit PROTOBUF_CONSTEXPR ReportTaskResultRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1746 
1747   ReportTaskResultRequest(const ReportTaskResultRequest& from);
ReportTaskResultRequest(ReportTaskResultRequest && from)1748   ReportTaskResultRequest(ReportTaskResultRequest&& from) noexcept
1749     : ReportTaskResultRequest() {
1750     *this = ::std::move(from);
1751   }
1752 
1753   inline ReportTaskResultRequest& operator=(const ReportTaskResultRequest& from) {
1754     if (this == &from) return *this;
1755     CopyFrom(from);
1756     return *this;
1757   }
1758   inline ReportTaskResultRequest& operator=(ReportTaskResultRequest&& from) noexcept {
1759     if (this == &from) return *this;
1760     if (GetOwningArena() == from.GetOwningArena()
1761   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1762         && GetOwningArena() != nullptr
1763   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
1764     ) {
1765       InternalSwap(&from);
1766     } else {
1767       CopyFrom(from);
1768     }
1769     return *this;
1770   }
1771 
default_instance()1772   static const ReportTaskResultRequest& default_instance() {
1773     return *internal_default_instance();
1774   }
internal_default_instance()1775   static inline const ReportTaskResultRequest* internal_default_instance() {
1776     return reinterpret_cast<const ReportTaskResultRequest*>(
1777                &_ReportTaskResultRequest_default_instance_);
1778   }
1779   static constexpr int kIndexInFileMessages =
1780     9;
1781 
swap(ReportTaskResultRequest & a,ReportTaskResultRequest & b)1782   friend void swap(ReportTaskResultRequest& a, ReportTaskResultRequest& b) {
1783     a.Swap(&b);
1784   }
Swap(ReportTaskResultRequest * other)1785   inline void Swap(ReportTaskResultRequest* other) {
1786     if (other == this) return;
1787   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1788     if (GetOwningArena() != nullptr &&
1789         GetOwningArena() == other->GetOwningArena()) {
1790    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
1791     if (GetOwningArena() == other->GetOwningArena()) {
1792   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
1793       InternalSwap(other);
1794     } else {
1795       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1796     }
1797   }
1798   void UnsafeArenaSwap(ReportTaskResultRequest* other) {
1799     if (other == this) return;
1800     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1801     InternalSwap(other);
1802   }
1803 
1804   // implements Message ----------------------------------------------
1805 
1806   ReportTaskResultRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1807     return CreateMaybeMessage<ReportTaskResultRequest>(arena);
1808   }
1809   ReportTaskResultRequest* New() const {
1810     return New(nullptr);
1811   }
1812   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
1813   void CopyFrom(const ReportTaskResultRequest& from);
1814   void MergeFrom(const ReportTaskResultRequest& from);
1815   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1816   bool IsInitialized() const final;
1817 
1818   size_t ByteSizeLong() const final;
1819   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1820   ::uint8_t* _InternalSerialize(
1821       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1822   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1823 
1824   private:
1825   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1826   void SharedDtor();
1827   void SetCachedSize(int size) const;
1828   void InternalSwap(ReportTaskResultRequest* other);
1829 
1830   private:
1831   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1832   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1833     return "google.internal.federatedcompute.v1.ReportTaskResultRequest";
1834   }
1835   protected:
1836   explicit ReportTaskResultRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1837                        bool is_message_owned = false);
1838   public:
1839 
1840   std::string GetTypeName() const final;
1841 
1842   // nested types ----------------------------------------------------
1843 
1844   // accessors -------------------------------------------------------
1845 
1846   enum : int {
1847     kPopulationNameFieldNumber = 1,
1848     kSessionIdFieldNumber = 2,
1849     kAggregationIdFieldNumber = 5,
1850     kTaskNameFieldNumber = 6,
1851     kClientStatsFieldNumber = 4,
1852     kComputationStatusCodeFieldNumber = 3,
1853   };
1854   // string population_name = 1;
1855   void clear_population_name();
1856   const std::string& population_name() const;
1857   template <typename ArgT0 = const std::string&, typename... ArgT>
1858   void set_population_name(ArgT0&& arg0, ArgT... args);
1859   std::string* mutable_population_name();
1860   PROTOBUF_NODISCARD std::string* release_population_name();
1861   void set_allocated_population_name(std::string* population_name);
1862   private:
1863   const std::string& _internal_population_name() const;
1864   inline PROTOBUF_ALWAYS_INLINE void _internal_set_population_name(const std::string& value);
1865   std::string* _internal_mutable_population_name();
1866   public:
1867 
1868   // string session_id = 2;
1869   void clear_session_id();
1870   const std::string& session_id() const;
1871   template <typename ArgT0 = const std::string&, typename... ArgT>
1872   void set_session_id(ArgT0&& arg0, ArgT... args);
1873   std::string* mutable_session_id();
1874   PROTOBUF_NODISCARD std::string* release_session_id();
1875   void set_allocated_session_id(std::string* session_id);
1876   private:
1877   const std::string& _internal_session_id() const;
1878   inline PROTOBUF_ALWAYS_INLINE void _internal_set_session_id(const std::string& value);
1879   std::string* _internal_mutable_session_id();
1880   public:
1881 
1882   // string aggregation_id = 5;
1883   void clear_aggregation_id();
1884   const std::string& aggregation_id() const;
1885   template <typename ArgT0 = const std::string&, typename... ArgT>
1886   void set_aggregation_id(ArgT0&& arg0, ArgT... args);
1887   std::string* mutable_aggregation_id();
1888   PROTOBUF_NODISCARD std::string* release_aggregation_id();
1889   void set_allocated_aggregation_id(std::string* aggregation_id);
1890   private:
1891   const std::string& _internal_aggregation_id() const;
1892   inline PROTOBUF_ALWAYS_INLINE void _internal_set_aggregation_id(const std::string& value);
1893   std::string* _internal_mutable_aggregation_id();
1894   public:
1895 
1896   // string task_name = 6;
1897   void clear_task_name();
1898   const std::string& task_name() const;
1899   template <typename ArgT0 = const std::string&, typename... ArgT>
1900   void set_task_name(ArgT0&& arg0, ArgT... args);
1901   std::string* mutable_task_name();
1902   PROTOBUF_NODISCARD std::string* release_task_name();
1903   void set_allocated_task_name(std::string* task_name);
1904   private:
1905   const std::string& _internal_task_name() const;
1906   inline PROTOBUF_ALWAYS_INLINE void _internal_set_task_name(const std::string& value);
1907   std::string* _internal_mutable_task_name();
1908   public:
1909 
1910   // .google.internal.federatedcompute.v1.ClientStats client_stats = 4;
1911   bool has_client_stats() const;
1912   private:
1913   bool _internal_has_client_stats() const;
1914   public:
1915   void clear_client_stats();
1916   const ::google::internal::federatedcompute::v1::ClientStats& client_stats() const;
1917   PROTOBUF_NODISCARD ::google::internal::federatedcompute::v1::ClientStats* release_client_stats();
1918   ::google::internal::federatedcompute::v1::ClientStats* mutable_client_stats();
1919   void set_allocated_client_stats(::google::internal::federatedcompute::v1::ClientStats* client_stats);
1920   private:
1921   const ::google::internal::federatedcompute::v1::ClientStats& _internal_client_stats() const;
1922   ::google::internal::federatedcompute::v1::ClientStats* _internal_mutable_client_stats();
1923   public:
1924   void unsafe_arena_set_allocated_client_stats(
1925       ::google::internal::federatedcompute::v1::ClientStats* client_stats);
1926   ::google::internal::federatedcompute::v1::ClientStats* unsafe_arena_release_client_stats();
1927 
1928   // int32 computation_status_code = 3;
1929   void clear_computation_status_code();
1930   ::int32_t computation_status_code() const;
1931   void set_computation_status_code(::int32_t value);
1932   private:
1933   ::int32_t _internal_computation_status_code() const;
1934   void _internal_set_computation_status_code(::int32_t value);
1935   public:
1936 
1937   // @@protoc_insertion_point(class_scope:google.internal.federatedcompute.v1.ReportTaskResultRequest)
1938  private:
1939   class _Internal;
1940 
1941   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1942   typedef void InternalArenaConstructable_;
1943   typedef void DestructorSkippable_;
1944   struct Impl_ {
1945     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr population_name_;
1946     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr session_id_;
1947     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr aggregation_id_;
1948     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr task_name_;
1949     ::google::internal::federatedcompute::v1::ClientStats* client_stats_;
1950     ::int32_t computation_status_code_;
1951     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1952   };
1953   union { Impl_ _impl_; };
1954   friend struct ::TableStruct_fcp_2fprotos_2ffederatedcompute_2ftask_5fassignments_2eproto;
1955 };
1956 // -------------------------------------------------------------------
1957 
1958 class ClientStats final :
1959     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedcompute.v1.ClientStats) */ {
1960  public:
ClientStats()1961   inline ClientStats() : ClientStats(nullptr) {}
1962   ~ClientStats() override;
1963   explicit PROTOBUF_CONSTEXPR ClientStats(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1964 
1965   ClientStats(const ClientStats& from);
ClientStats(ClientStats && from)1966   ClientStats(ClientStats&& from) noexcept
1967     : ClientStats() {
1968     *this = ::std::move(from);
1969   }
1970 
1971   inline ClientStats& operator=(const ClientStats& from) {
1972     if (this == &from) return *this;
1973     CopyFrom(from);
1974     return *this;
1975   }
1976   inline ClientStats& operator=(ClientStats&& from) noexcept {
1977     if (this == &from) return *this;
1978     if (GetOwningArena() == from.GetOwningArena()
1979   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1980         && GetOwningArena() != nullptr
1981   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
1982     ) {
1983       InternalSwap(&from);
1984     } else {
1985       CopyFrom(from);
1986     }
1987     return *this;
1988   }
1989 
default_instance()1990   static const ClientStats& default_instance() {
1991     return *internal_default_instance();
1992   }
internal_default_instance()1993   static inline const ClientStats* internal_default_instance() {
1994     return reinterpret_cast<const ClientStats*>(
1995                &_ClientStats_default_instance_);
1996   }
1997   static constexpr int kIndexInFileMessages =
1998     10;
1999 
swap(ClientStats & a,ClientStats & b)2000   friend void swap(ClientStats& a, ClientStats& b) {
2001     a.Swap(&b);
2002   }
Swap(ClientStats * other)2003   inline void Swap(ClientStats* other) {
2004     if (other == this) return;
2005   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2006     if (GetOwningArena() != nullptr &&
2007         GetOwningArena() == other->GetOwningArena()) {
2008    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
2009     if (GetOwningArena() == other->GetOwningArena()) {
2010   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
2011       InternalSwap(other);
2012     } else {
2013       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2014     }
2015   }
2016   void UnsafeArenaSwap(ClientStats* other) {
2017     if (other == this) return;
2018     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2019     InternalSwap(other);
2020   }
2021 
2022   // implements Message ----------------------------------------------
2023 
2024   ClientStats* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
2025     return CreateMaybeMessage<ClientStats>(arena);
2026   }
2027   ClientStats* New() const {
2028     return New(nullptr);
2029   }
2030   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
2031   void CopyFrom(const ClientStats& from);
2032   void MergeFrom(const ClientStats& from);
2033   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2034   bool IsInitialized() const final;
2035 
2036   size_t ByteSizeLong() const final;
2037   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2038   ::uint8_t* _InternalSerialize(
2039       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2040   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
2041 
2042   private:
2043   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
2044   void SharedDtor();
2045   void SetCachedSize(int size) const;
2046   void InternalSwap(ClientStats* other);
2047 
2048   private:
2049   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2050   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2051     return "google.internal.federatedcompute.v1.ClientStats";
2052   }
2053   protected:
2054   explicit ClientStats(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2055                        bool is_message_owned = false);
2056   public:
2057 
2058   std::string GetTypeName() const final;
2059 
2060   // nested types ----------------------------------------------------
2061 
2062   // accessors -------------------------------------------------------
2063 
2064   enum : int {
2065     kComputationExecutionDurationFieldNumber = 1,
2066   };
2067   // .google.protobuf.Duration computation_execution_duration = 1;
2068   bool has_computation_execution_duration() const;
2069   private:
2070   bool _internal_has_computation_execution_duration() const;
2071   public:
2072   void clear_computation_execution_duration();
2073   const ::PROTOBUF_NAMESPACE_ID::Duration& computation_execution_duration() const;
2074   PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::Duration* release_computation_execution_duration();
2075   ::PROTOBUF_NAMESPACE_ID::Duration* mutable_computation_execution_duration();
2076   void set_allocated_computation_execution_duration(::PROTOBUF_NAMESPACE_ID::Duration* computation_execution_duration);
2077   private:
2078   const ::PROTOBUF_NAMESPACE_ID::Duration& _internal_computation_execution_duration() const;
2079   ::PROTOBUF_NAMESPACE_ID::Duration* _internal_mutable_computation_execution_duration();
2080   public:
2081   void unsafe_arena_set_allocated_computation_execution_duration(
2082       ::PROTOBUF_NAMESPACE_ID::Duration* computation_execution_duration);
2083   ::PROTOBUF_NAMESPACE_ID::Duration* unsafe_arena_release_computation_execution_duration();
2084 
2085   // @@protoc_insertion_point(class_scope:google.internal.federatedcompute.v1.ClientStats)
2086  private:
2087   class _Internal;
2088 
2089   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2090   typedef void InternalArenaConstructable_;
2091   typedef void DestructorSkippable_;
2092   struct Impl_ {
2093     ::PROTOBUF_NAMESPACE_ID::Duration* computation_execution_duration_;
2094     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2095   };
2096   union { Impl_ _impl_; };
2097   friend struct ::TableStruct_fcp_2fprotos_2ffederatedcompute_2ftask_5fassignments_2eproto;
2098 };
2099 // -------------------------------------------------------------------
2100 
2101 class ReportTaskResultResponse final :
2102     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedcompute.v1.ReportTaskResultResponse) */ {
2103  public:
ReportTaskResultResponse()2104   inline ReportTaskResultResponse() : ReportTaskResultResponse(nullptr) {}
2105   ~ReportTaskResultResponse() override;
2106   explicit PROTOBUF_CONSTEXPR ReportTaskResultResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
2107 
2108   ReportTaskResultResponse(const ReportTaskResultResponse& from);
ReportTaskResultResponse(ReportTaskResultResponse && from)2109   ReportTaskResultResponse(ReportTaskResultResponse&& from) noexcept
2110     : ReportTaskResultResponse() {
2111     *this = ::std::move(from);
2112   }
2113 
2114   inline ReportTaskResultResponse& operator=(const ReportTaskResultResponse& from) {
2115     if (this == &from) return *this;
2116     CopyFrom(from);
2117     return *this;
2118   }
2119   inline ReportTaskResultResponse& operator=(ReportTaskResultResponse&& from) noexcept {
2120     if (this == &from) return *this;
2121     if (GetOwningArena() == from.GetOwningArena()
2122   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
2123         && GetOwningArena() != nullptr
2124   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
2125     ) {
2126       InternalSwap(&from);
2127     } else {
2128       CopyFrom(from);
2129     }
2130     return *this;
2131   }
2132 
default_instance()2133   static const ReportTaskResultResponse& default_instance() {
2134     return *internal_default_instance();
2135   }
internal_default_instance()2136   static inline const ReportTaskResultResponse* internal_default_instance() {
2137     return reinterpret_cast<const ReportTaskResultResponse*>(
2138                &_ReportTaskResultResponse_default_instance_);
2139   }
2140   static constexpr int kIndexInFileMessages =
2141     11;
2142 
swap(ReportTaskResultResponse & a,ReportTaskResultResponse & b)2143   friend void swap(ReportTaskResultResponse& a, ReportTaskResultResponse& b) {
2144     a.Swap(&b);
2145   }
Swap(ReportTaskResultResponse * other)2146   inline void Swap(ReportTaskResultResponse* other) {
2147     if (other == this) return;
2148   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2149     if (GetOwningArena() != nullptr &&
2150         GetOwningArena() == other->GetOwningArena()) {
2151    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
2152     if (GetOwningArena() == other->GetOwningArena()) {
2153   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
2154       InternalSwap(other);
2155     } else {
2156       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2157     }
2158   }
2159   void UnsafeArenaSwap(ReportTaskResultResponse* other) {
2160     if (other == this) return;
2161     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2162     InternalSwap(other);
2163   }
2164 
2165   // implements Message ----------------------------------------------
2166 
2167   ReportTaskResultResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
2168     return CreateMaybeMessage<ReportTaskResultResponse>(arena);
2169   }
2170   ReportTaskResultResponse* New() const {
2171     return New(nullptr);
2172   }
2173   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
2174   void CopyFrom(const ReportTaskResultResponse& from);
2175   void MergeFrom(const ReportTaskResultResponse& from);
2176   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2177   bool IsInitialized() const final;
2178 
2179   size_t ByteSizeLong() const final;
2180   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2181   ::uint8_t* _InternalSerialize(
2182       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2183   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
2184 
2185   private:
2186   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
2187   void SharedDtor();
2188   void SetCachedSize(int size) const;
2189   void InternalSwap(ReportTaskResultResponse* other);
2190 
2191   private:
2192   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2193   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2194     return "google.internal.federatedcompute.v1.ReportTaskResultResponse";
2195   }
2196   protected:
2197   explicit ReportTaskResultResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2198                        bool is_message_owned = false);
2199   public:
2200 
2201   std::string GetTypeName() const final;
2202 
2203   // nested types ----------------------------------------------------
2204 
2205   // accessors -------------------------------------------------------
2206 
2207   // @@protoc_insertion_point(class_scope:google.internal.federatedcompute.v1.ReportTaskResultResponse)
2208  private:
2209   class _Internal;
2210 
2211   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2212   typedef void InternalArenaConstructable_;
2213   typedef void DestructorSkippable_;
2214   struct Impl_ {
2215     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2216   };
2217   union { Impl_ _impl_; };
2218   friend struct ::TableStruct_fcp_2fprotos_2ffederatedcompute_2ftask_5fassignments_2eproto;
2219 };
2220 // ===================================================================
2221 
2222 
2223 // ===================================================================
2224 
2225 #ifdef __GNUC__
2226   #pragma GCC diagnostic push
2227   #pragma GCC diagnostic ignored "-Wstrict-aliasing"
2228 #endif  // __GNUC__
2229 // StartTaskAssignmentRequest
2230 
2231 // string population_name = 1;
clear_population_name()2232 inline void StartTaskAssignmentRequest::clear_population_name() {
2233   _impl_.population_name_.ClearToEmpty();
2234 }
population_name()2235 inline const std::string& StartTaskAssignmentRequest::population_name() const {
2236   // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.StartTaskAssignmentRequest.population_name)
2237   return _internal_population_name();
2238 }
2239 template <typename ArgT0, typename... ArgT>
2240 inline PROTOBUF_ALWAYS_INLINE
set_population_name(ArgT0 && arg0,ArgT...args)2241 void StartTaskAssignmentRequest::set_population_name(ArgT0&& arg0, ArgT... args) {
2242 
2243  _impl_.population_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
2244   // @@protoc_insertion_point(field_set:google.internal.federatedcompute.v1.StartTaskAssignmentRequest.population_name)
2245 }
mutable_population_name()2246 inline std::string* StartTaskAssignmentRequest::mutable_population_name() {
2247   std::string* _s = _internal_mutable_population_name();
2248   // @@protoc_insertion_point(field_mutable:google.internal.federatedcompute.v1.StartTaskAssignmentRequest.population_name)
2249   return _s;
2250 }
_internal_population_name()2251 inline const std::string& StartTaskAssignmentRequest::_internal_population_name() const {
2252   return _impl_.population_name_.Get();
2253 }
_internal_set_population_name(const std::string & value)2254 inline void StartTaskAssignmentRequest::_internal_set_population_name(const std::string& value) {
2255 
2256   _impl_.population_name_.Set(value, GetArenaForAllocation());
2257 }
_internal_mutable_population_name()2258 inline std::string* StartTaskAssignmentRequest::_internal_mutable_population_name() {
2259 
2260   return _impl_.population_name_.Mutable(GetArenaForAllocation());
2261 }
release_population_name()2262 inline std::string* StartTaskAssignmentRequest::release_population_name() {
2263   // @@protoc_insertion_point(field_release:google.internal.federatedcompute.v1.StartTaskAssignmentRequest.population_name)
2264   return _impl_.population_name_.Release();
2265 }
set_allocated_population_name(std::string * population_name)2266 inline void StartTaskAssignmentRequest::set_allocated_population_name(std::string* population_name) {
2267   _impl_.population_name_.SetAllocated(population_name, GetArenaForAllocation());
2268 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2269   if (_impl_.population_name_.IsDefault()) {
2270     _impl_.population_name_.Set("", GetArenaForAllocation());
2271   }
2272 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2273   // @@protoc_insertion_point(field_set_allocated:google.internal.federatedcompute.v1.StartTaskAssignmentRequest.population_name)
2274 }
2275 
2276 // string session_id = 2;
clear_session_id()2277 inline void StartTaskAssignmentRequest::clear_session_id() {
2278   _impl_.session_id_.ClearToEmpty();
2279 }
session_id()2280 inline const std::string& StartTaskAssignmentRequest::session_id() const {
2281   // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.StartTaskAssignmentRequest.session_id)
2282   return _internal_session_id();
2283 }
2284 template <typename ArgT0, typename... ArgT>
2285 inline PROTOBUF_ALWAYS_INLINE
set_session_id(ArgT0 && arg0,ArgT...args)2286 void StartTaskAssignmentRequest::set_session_id(ArgT0&& arg0, ArgT... args) {
2287 
2288  _impl_.session_id_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
2289   // @@protoc_insertion_point(field_set:google.internal.federatedcompute.v1.StartTaskAssignmentRequest.session_id)
2290 }
mutable_session_id()2291 inline std::string* StartTaskAssignmentRequest::mutable_session_id() {
2292   std::string* _s = _internal_mutable_session_id();
2293   // @@protoc_insertion_point(field_mutable:google.internal.federatedcompute.v1.StartTaskAssignmentRequest.session_id)
2294   return _s;
2295 }
_internal_session_id()2296 inline const std::string& StartTaskAssignmentRequest::_internal_session_id() const {
2297   return _impl_.session_id_.Get();
2298 }
_internal_set_session_id(const std::string & value)2299 inline void StartTaskAssignmentRequest::_internal_set_session_id(const std::string& value) {
2300 
2301   _impl_.session_id_.Set(value, GetArenaForAllocation());
2302 }
_internal_mutable_session_id()2303 inline std::string* StartTaskAssignmentRequest::_internal_mutable_session_id() {
2304 
2305   return _impl_.session_id_.Mutable(GetArenaForAllocation());
2306 }
release_session_id()2307 inline std::string* StartTaskAssignmentRequest::release_session_id() {
2308   // @@protoc_insertion_point(field_release:google.internal.federatedcompute.v1.StartTaskAssignmentRequest.session_id)
2309   return _impl_.session_id_.Release();
2310 }
set_allocated_session_id(std::string * session_id)2311 inline void StartTaskAssignmentRequest::set_allocated_session_id(std::string* session_id) {
2312   _impl_.session_id_.SetAllocated(session_id, GetArenaForAllocation());
2313 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2314   if (_impl_.session_id_.IsDefault()) {
2315     _impl_.session_id_.Set("", GetArenaForAllocation());
2316   }
2317 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2318   // @@protoc_insertion_point(field_set_allocated:google.internal.federatedcompute.v1.StartTaskAssignmentRequest.session_id)
2319 }
2320 
2321 // .google.internal.federatedcompute.v1.ClientVersion client_version = 4;
_internal_has_client_version()2322 inline bool StartTaskAssignmentRequest::_internal_has_client_version() const {
2323   return this != internal_default_instance() && _impl_.client_version_ != nullptr;
2324 }
has_client_version()2325 inline bool StartTaskAssignmentRequest::has_client_version() const {
2326   return _internal_has_client_version();
2327 }
_internal_client_version()2328 inline const ::google::internal::federatedcompute::v1::ClientVersion& StartTaskAssignmentRequest::_internal_client_version() const {
2329   const ::google::internal::federatedcompute::v1::ClientVersion* p = _impl_.client_version_;
2330   return p != nullptr ? *p : reinterpret_cast<const ::google::internal::federatedcompute::v1::ClientVersion&>(
2331       ::google::internal::federatedcompute::v1::_ClientVersion_default_instance_);
2332 }
client_version()2333 inline const ::google::internal::federatedcompute::v1::ClientVersion& StartTaskAssignmentRequest::client_version() const {
2334   // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.StartTaskAssignmentRequest.client_version)
2335   return _internal_client_version();
2336 }
unsafe_arena_set_allocated_client_version(::google::internal::federatedcompute::v1::ClientVersion * client_version)2337 inline void StartTaskAssignmentRequest::unsafe_arena_set_allocated_client_version(
2338     ::google::internal::federatedcompute::v1::ClientVersion* client_version) {
2339   if (GetArenaForAllocation() == nullptr) {
2340     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.client_version_);
2341   }
2342   _impl_.client_version_ = client_version;
2343   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.internal.federatedcompute.v1.StartTaskAssignmentRequest.client_version)
2344 }
release_client_version()2345 inline ::google::internal::federatedcompute::v1::ClientVersion* StartTaskAssignmentRequest::release_client_version() {
2346 
2347   ::google::internal::federatedcompute::v1::ClientVersion* temp = _impl_.client_version_;
2348   _impl_.client_version_ = nullptr;
2349 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2350   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
2351   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2352   if (GetArenaForAllocation() == nullptr) { delete old; }
2353 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
2354   if (GetArenaForAllocation() != nullptr) {
2355     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2356   }
2357 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
2358   return temp;
2359 }
unsafe_arena_release_client_version()2360 inline ::google::internal::federatedcompute::v1::ClientVersion* StartTaskAssignmentRequest::unsafe_arena_release_client_version() {
2361   // @@protoc_insertion_point(field_release:google.internal.federatedcompute.v1.StartTaskAssignmentRequest.client_version)
2362 
2363   ::google::internal::federatedcompute::v1::ClientVersion* temp = _impl_.client_version_;
2364   _impl_.client_version_ = nullptr;
2365   return temp;
2366 }
_internal_mutable_client_version()2367 inline ::google::internal::federatedcompute::v1::ClientVersion* StartTaskAssignmentRequest::_internal_mutable_client_version() {
2368 
2369   if (_impl_.client_version_ == nullptr) {
2370     auto* p = CreateMaybeMessage<::google::internal::federatedcompute::v1::ClientVersion>(GetArenaForAllocation());
2371     _impl_.client_version_ = p;
2372   }
2373   return _impl_.client_version_;
2374 }
mutable_client_version()2375 inline ::google::internal::federatedcompute::v1::ClientVersion* StartTaskAssignmentRequest::mutable_client_version() {
2376   ::google::internal::federatedcompute::v1::ClientVersion* _msg = _internal_mutable_client_version();
2377   // @@protoc_insertion_point(field_mutable:google.internal.federatedcompute.v1.StartTaskAssignmentRequest.client_version)
2378   return _msg;
2379 }
set_allocated_client_version(::google::internal::federatedcompute::v1::ClientVersion * client_version)2380 inline void StartTaskAssignmentRequest::set_allocated_client_version(::google::internal::federatedcompute::v1::ClientVersion* client_version) {
2381   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2382   if (message_arena == nullptr) {
2383     delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.client_version_);
2384   }
2385   if (client_version) {
2386     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2387         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
2388                 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(client_version));
2389     if (message_arena != submessage_arena) {
2390       client_version = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2391           message_arena, client_version, submessage_arena);
2392     }
2393 
2394   } else {
2395 
2396   }
2397   _impl_.client_version_ = client_version;
2398   // @@protoc_insertion_point(field_set_allocated:google.internal.federatedcompute.v1.StartTaskAssignmentRequest.client_version)
2399 }
2400 
2401 // .google.internal.federatedml.v2.TaskEligibilityInfo task_eligibility_info = 5;
_internal_has_task_eligibility_info()2402 inline bool StartTaskAssignmentRequest::_internal_has_task_eligibility_info() const {
2403   return this != internal_default_instance() && _impl_.task_eligibility_info_ != nullptr;
2404 }
has_task_eligibility_info()2405 inline bool StartTaskAssignmentRequest::has_task_eligibility_info() const {
2406   return _internal_has_task_eligibility_info();
2407 }
_internal_task_eligibility_info()2408 inline const ::google::internal::federatedml::v2::TaskEligibilityInfo& StartTaskAssignmentRequest::_internal_task_eligibility_info() const {
2409   const ::google::internal::federatedml::v2::TaskEligibilityInfo* p = _impl_.task_eligibility_info_;
2410   return p != nullptr ? *p : reinterpret_cast<const ::google::internal::federatedml::v2::TaskEligibilityInfo&>(
2411       ::google::internal::federatedml::v2::_TaskEligibilityInfo_default_instance_);
2412 }
task_eligibility_info()2413 inline const ::google::internal::federatedml::v2::TaskEligibilityInfo& StartTaskAssignmentRequest::task_eligibility_info() const {
2414   // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.StartTaskAssignmentRequest.task_eligibility_info)
2415   return _internal_task_eligibility_info();
2416 }
unsafe_arena_set_allocated_task_eligibility_info(::google::internal::federatedml::v2::TaskEligibilityInfo * task_eligibility_info)2417 inline void StartTaskAssignmentRequest::unsafe_arena_set_allocated_task_eligibility_info(
2418     ::google::internal::federatedml::v2::TaskEligibilityInfo* task_eligibility_info) {
2419   if (GetArenaForAllocation() == nullptr) {
2420     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.task_eligibility_info_);
2421   }
2422   _impl_.task_eligibility_info_ = task_eligibility_info;
2423   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.internal.federatedcompute.v1.StartTaskAssignmentRequest.task_eligibility_info)
2424 }
release_task_eligibility_info()2425 inline ::google::internal::federatedml::v2::TaskEligibilityInfo* StartTaskAssignmentRequest::release_task_eligibility_info() {
2426 
2427   ::google::internal::federatedml::v2::TaskEligibilityInfo* temp = _impl_.task_eligibility_info_;
2428   _impl_.task_eligibility_info_ = nullptr;
2429 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2430   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
2431   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2432   if (GetArenaForAllocation() == nullptr) { delete old; }
2433 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
2434   if (GetArenaForAllocation() != nullptr) {
2435     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2436   }
2437 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
2438   return temp;
2439 }
unsafe_arena_release_task_eligibility_info()2440 inline ::google::internal::federatedml::v2::TaskEligibilityInfo* StartTaskAssignmentRequest::unsafe_arena_release_task_eligibility_info() {
2441   // @@protoc_insertion_point(field_release:google.internal.federatedcompute.v1.StartTaskAssignmentRequest.task_eligibility_info)
2442 
2443   ::google::internal::federatedml::v2::TaskEligibilityInfo* temp = _impl_.task_eligibility_info_;
2444   _impl_.task_eligibility_info_ = nullptr;
2445   return temp;
2446 }
_internal_mutable_task_eligibility_info()2447 inline ::google::internal::federatedml::v2::TaskEligibilityInfo* StartTaskAssignmentRequest::_internal_mutable_task_eligibility_info() {
2448 
2449   if (_impl_.task_eligibility_info_ == nullptr) {
2450     auto* p = CreateMaybeMessage<::google::internal::federatedml::v2::TaskEligibilityInfo>(GetArenaForAllocation());
2451     _impl_.task_eligibility_info_ = p;
2452   }
2453   return _impl_.task_eligibility_info_;
2454 }
mutable_task_eligibility_info()2455 inline ::google::internal::federatedml::v2::TaskEligibilityInfo* StartTaskAssignmentRequest::mutable_task_eligibility_info() {
2456   ::google::internal::federatedml::v2::TaskEligibilityInfo* _msg = _internal_mutable_task_eligibility_info();
2457   // @@protoc_insertion_point(field_mutable:google.internal.federatedcompute.v1.StartTaskAssignmentRequest.task_eligibility_info)
2458   return _msg;
2459 }
set_allocated_task_eligibility_info(::google::internal::federatedml::v2::TaskEligibilityInfo * task_eligibility_info)2460 inline void StartTaskAssignmentRequest::set_allocated_task_eligibility_info(::google::internal::federatedml::v2::TaskEligibilityInfo* task_eligibility_info) {
2461   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2462   if (message_arena == nullptr) {
2463     delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.task_eligibility_info_);
2464   }
2465   if (task_eligibility_info) {
2466     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2467         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
2468                 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(task_eligibility_info));
2469     if (message_arena != submessage_arena) {
2470       task_eligibility_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2471           message_arena, task_eligibility_info, submessage_arena);
2472     }
2473 
2474   } else {
2475 
2476   }
2477   _impl_.task_eligibility_info_ = task_eligibility_info;
2478   // @@protoc_insertion_point(field_set_allocated:google.internal.federatedcompute.v1.StartTaskAssignmentRequest.task_eligibility_info)
2479 }
2480 
2481 // .google.internal.federatedcompute.v1.ResourceCapabilities resource_capabilities = 6;
_internal_has_resource_capabilities()2482 inline bool StartTaskAssignmentRequest::_internal_has_resource_capabilities() const {
2483   return this != internal_default_instance() && _impl_.resource_capabilities_ != nullptr;
2484 }
has_resource_capabilities()2485 inline bool StartTaskAssignmentRequest::has_resource_capabilities() const {
2486   return _internal_has_resource_capabilities();
2487 }
_internal_resource_capabilities()2488 inline const ::google::internal::federatedcompute::v1::ResourceCapabilities& StartTaskAssignmentRequest::_internal_resource_capabilities() const {
2489   const ::google::internal::federatedcompute::v1::ResourceCapabilities* p = _impl_.resource_capabilities_;
2490   return p != nullptr ? *p : reinterpret_cast<const ::google::internal::federatedcompute::v1::ResourceCapabilities&>(
2491       ::google::internal::federatedcompute::v1::_ResourceCapabilities_default_instance_);
2492 }
resource_capabilities()2493 inline const ::google::internal::federatedcompute::v1::ResourceCapabilities& StartTaskAssignmentRequest::resource_capabilities() const {
2494   // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.StartTaskAssignmentRequest.resource_capabilities)
2495   return _internal_resource_capabilities();
2496 }
unsafe_arena_set_allocated_resource_capabilities(::google::internal::federatedcompute::v1::ResourceCapabilities * resource_capabilities)2497 inline void StartTaskAssignmentRequest::unsafe_arena_set_allocated_resource_capabilities(
2498     ::google::internal::federatedcompute::v1::ResourceCapabilities* resource_capabilities) {
2499   if (GetArenaForAllocation() == nullptr) {
2500     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.resource_capabilities_);
2501   }
2502   _impl_.resource_capabilities_ = resource_capabilities;
2503   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.internal.federatedcompute.v1.StartTaskAssignmentRequest.resource_capabilities)
2504 }
release_resource_capabilities()2505 inline ::google::internal::federatedcompute::v1::ResourceCapabilities* StartTaskAssignmentRequest::release_resource_capabilities() {
2506 
2507   ::google::internal::federatedcompute::v1::ResourceCapabilities* temp = _impl_.resource_capabilities_;
2508   _impl_.resource_capabilities_ = nullptr;
2509 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2510   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
2511   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2512   if (GetArenaForAllocation() == nullptr) { delete old; }
2513 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
2514   if (GetArenaForAllocation() != nullptr) {
2515     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2516   }
2517 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
2518   return temp;
2519 }
unsafe_arena_release_resource_capabilities()2520 inline ::google::internal::federatedcompute::v1::ResourceCapabilities* StartTaskAssignmentRequest::unsafe_arena_release_resource_capabilities() {
2521   // @@protoc_insertion_point(field_release:google.internal.federatedcompute.v1.StartTaskAssignmentRequest.resource_capabilities)
2522 
2523   ::google::internal::federatedcompute::v1::ResourceCapabilities* temp = _impl_.resource_capabilities_;
2524   _impl_.resource_capabilities_ = nullptr;
2525   return temp;
2526 }
_internal_mutable_resource_capabilities()2527 inline ::google::internal::federatedcompute::v1::ResourceCapabilities* StartTaskAssignmentRequest::_internal_mutable_resource_capabilities() {
2528 
2529   if (_impl_.resource_capabilities_ == nullptr) {
2530     auto* p = CreateMaybeMessage<::google::internal::federatedcompute::v1::ResourceCapabilities>(GetArenaForAllocation());
2531     _impl_.resource_capabilities_ = p;
2532   }
2533   return _impl_.resource_capabilities_;
2534 }
mutable_resource_capabilities()2535 inline ::google::internal::federatedcompute::v1::ResourceCapabilities* StartTaskAssignmentRequest::mutable_resource_capabilities() {
2536   ::google::internal::federatedcompute::v1::ResourceCapabilities* _msg = _internal_mutable_resource_capabilities();
2537   // @@protoc_insertion_point(field_mutable:google.internal.federatedcompute.v1.StartTaskAssignmentRequest.resource_capabilities)
2538   return _msg;
2539 }
set_allocated_resource_capabilities(::google::internal::federatedcompute::v1::ResourceCapabilities * resource_capabilities)2540 inline void StartTaskAssignmentRequest::set_allocated_resource_capabilities(::google::internal::federatedcompute::v1::ResourceCapabilities* resource_capabilities) {
2541   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2542   if (message_arena == nullptr) {
2543     delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.resource_capabilities_);
2544   }
2545   if (resource_capabilities) {
2546     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2547         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
2548                 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(resource_capabilities));
2549     if (message_arena != submessage_arena) {
2550       resource_capabilities = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2551           message_arena, resource_capabilities, submessage_arena);
2552     }
2553 
2554   } else {
2555 
2556   }
2557   _impl_.resource_capabilities_ = resource_capabilities;
2558   // @@protoc_insertion_point(field_set_allocated:google.internal.federatedcompute.v1.StartTaskAssignmentRequest.resource_capabilities)
2559 }
2560 
2561 // -------------------------------------------------------------------
2562 
2563 // StartTaskAssignmentMetadata
2564 
2565 // .google.protobuf.Duration polling_interval = 1;
_internal_has_polling_interval()2566 inline bool StartTaskAssignmentMetadata::_internal_has_polling_interval() const {
2567   return this != internal_default_instance() && _impl_.polling_interval_ != nullptr;
2568 }
has_polling_interval()2569 inline bool StartTaskAssignmentMetadata::has_polling_interval() const {
2570   return _internal_has_polling_interval();
2571 }
_internal_polling_interval()2572 inline const ::PROTOBUF_NAMESPACE_ID::Duration& StartTaskAssignmentMetadata::_internal_polling_interval() const {
2573   const ::PROTOBUF_NAMESPACE_ID::Duration* p = _impl_.polling_interval_;
2574   return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Duration&>(
2575       ::PROTOBUF_NAMESPACE_ID::_Duration_default_instance_);
2576 }
polling_interval()2577 inline const ::PROTOBUF_NAMESPACE_ID::Duration& StartTaskAssignmentMetadata::polling_interval() const {
2578   // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.StartTaskAssignmentMetadata.polling_interval)
2579   return _internal_polling_interval();
2580 }
unsafe_arena_set_allocated_polling_interval(::PROTOBUF_NAMESPACE_ID::Duration * polling_interval)2581 inline void StartTaskAssignmentMetadata::unsafe_arena_set_allocated_polling_interval(
2582     ::PROTOBUF_NAMESPACE_ID::Duration* polling_interval) {
2583   if (GetArenaForAllocation() == nullptr) {
2584     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.polling_interval_);
2585   }
2586   _impl_.polling_interval_ = polling_interval;
2587   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.internal.federatedcompute.v1.StartTaskAssignmentMetadata.polling_interval)
2588 }
release_polling_interval()2589 inline ::PROTOBUF_NAMESPACE_ID::Duration* StartTaskAssignmentMetadata::release_polling_interval() {
2590 
2591   ::PROTOBUF_NAMESPACE_ID::Duration* temp = _impl_.polling_interval_;
2592   _impl_.polling_interval_ = nullptr;
2593 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2594   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
2595   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2596   if (GetArenaForAllocation() == nullptr) { delete old; }
2597 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
2598   if (GetArenaForAllocation() != nullptr) {
2599     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2600   }
2601 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
2602   return temp;
2603 }
unsafe_arena_release_polling_interval()2604 inline ::PROTOBUF_NAMESPACE_ID::Duration* StartTaskAssignmentMetadata::unsafe_arena_release_polling_interval() {
2605   // @@protoc_insertion_point(field_release:google.internal.federatedcompute.v1.StartTaskAssignmentMetadata.polling_interval)
2606 
2607   ::PROTOBUF_NAMESPACE_ID::Duration* temp = _impl_.polling_interval_;
2608   _impl_.polling_interval_ = nullptr;
2609   return temp;
2610 }
_internal_mutable_polling_interval()2611 inline ::PROTOBUF_NAMESPACE_ID::Duration* StartTaskAssignmentMetadata::_internal_mutable_polling_interval() {
2612 
2613   if (_impl_.polling_interval_ == nullptr) {
2614     auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::Duration>(GetArenaForAllocation());
2615     _impl_.polling_interval_ = p;
2616   }
2617   return _impl_.polling_interval_;
2618 }
mutable_polling_interval()2619 inline ::PROTOBUF_NAMESPACE_ID::Duration* StartTaskAssignmentMetadata::mutable_polling_interval() {
2620   ::PROTOBUF_NAMESPACE_ID::Duration* _msg = _internal_mutable_polling_interval();
2621   // @@protoc_insertion_point(field_mutable:google.internal.federatedcompute.v1.StartTaskAssignmentMetadata.polling_interval)
2622   return _msg;
2623 }
set_allocated_polling_interval(::PROTOBUF_NAMESPACE_ID::Duration * polling_interval)2624 inline void StartTaskAssignmentMetadata::set_allocated_polling_interval(::PROTOBUF_NAMESPACE_ID::Duration* polling_interval) {
2625   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2626   if (message_arena == nullptr) {
2627     delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.polling_interval_);
2628   }
2629   if (polling_interval) {
2630     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2631         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
2632                 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(polling_interval));
2633     if (message_arena != submessage_arena) {
2634       polling_interval = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2635           message_arena, polling_interval, submessage_arena);
2636     }
2637 
2638   } else {
2639 
2640   }
2641   _impl_.polling_interval_ = polling_interval;
2642   // @@protoc_insertion_point(field_set_allocated:google.internal.federatedcompute.v1.StartTaskAssignmentMetadata.polling_interval)
2643 }
2644 
2645 // -------------------------------------------------------------------
2646 
2647 // StartTaskAssignmentResponse
2648 
2649 // .google.internal.federatedcompute.v1.TaskAssignment task_assignment = 1;
_internal_has_task_assignment()2650 inline bool StartTaskAssignmentResponse::_internal_has_task_assignment() const {
2651   return result_case() == kTaskAssignment;
2652 }
has_task_assignment()2653 inline bool StartTaskAssignmentResponse::has_task_assignment() const {
2654   return _internal_has_task_assignment();
2655 }
set_has_task_assignment()2656 inline void StartTaskAssignmentResponse::set_has_task_assignment() {
2657   _impl_._oneof_case_[0] = kTaskAssignment;
2658 }
clear_task_assignment()2659 inline void StartTaskAssignmentResponse::clear_task_assignment() {
2660   if (_internal_has_task_assignment()) {
2661     if (GetArenaForAllocation() == nullptr) {
2662       delete _impl_.result_.task_assignment_;
2663     }
2664     clear_has_result();
2665   }
2666 }
release_task_assignment()2667 inline ::google::internal::federatedcompute::v1::TaskAssignment* StartTaskAssignmentResponse::release_task_assignment() {
2668   // @@protoc_insertion_point(field_release:google.internal.federatedcompute.v1.StartTaskAssignmentResponse.task_assignment)
2669   if (_internal_has_task_assignment()) {
2670     clear_has_result();
2671     ::google::internal::federatedcompute::v1::TaskAssignment* temp = _impl_.result_.task_assignment_;
2672     if (GetArenaForAllocation() != nullptr) {
2673       temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2674     }
2675     _impl_.result_.task_assignment_ = nullptr;
2676     return temp;
2677   } else {
2678     return nullptr;
2679   }
2680 }
_internal_task_assignment()2681 inline const ::google::internal::federatedcompute::v1::TaskAssignment& StartTaskAssignmentResponse::_internal_task_assignment() const {
2682   return _internal_has_task_assignment()
2683       ? *_impl_.result_.task_assignment_
2684       : reinterpret_cast< ::google::internal::federatedcompute::v1::TaskAssignment&>(::google::internal::federatedcompute::v1::_TaskAssignment_default_instance_);
2685 }
task_assignment()2686 inline const ::google::internal::federatedcompute::v1::TaskAssignment& StartTaskAssignmentResponse::task_assignment() const {
2687   // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.StartTaskAssignmentResponse.task_assignment)
2688   return _internal_task_assignment();
2689 }
unsafe_arena_release_task_assignment()2690 inline ::google::internal::federatedcompute::v1::TaskAssignment* StartTaskAssignmentResponse::unsafe_arena_release_task_assignment() {
2691   // @@protoc_insertion_point(field_unsafe_arena_release:google.internal.federatedcompute.v1.StartTaskAssignmentResponse.task_assignment)
2692   if (_internal_has_task_assignment()) {
2693     clear_has_result();
2694     ::google::internal::federatedcompute::v1::TaskAssignment* temp = _impl_.result_.task_assignment_;
2695     _impl_.result_.task_assignment_ = nullptr;
2696     return temp;
2697   } else {
2698     return nullptr;
2699   }
2700 }
unsafe_arena_set_allocated_task_assignment(::google::internal::federatedcompute::v1::TaskAssignment * task_assignment)2701 inline void StartTaskAssignmentResponse::unsafe_arena_set_allocated_task_assignment(::google::internal::federatedcompute::v1::TaskAssignment* task_assignment) {
2702   clear_result();
2703   if (task_assignment) {
2704     set_has_task_assignment();
2705     _impl_.result_.task_assignment_ = task_assignment;
2706   }
2707   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.internal.federatedcompute.v1.StartTaskAssignmentResponse.task_assignment)
2708 }
_internal_mutable_task_assignment()2709 inline ::google::internal::federatedcompute::v1::TaskAssignment* StartTaskAssignmentResponse::_internal_mutable_task_assignment() {
2710   if (!_internal_has_task_assignment()) {
2711     clear_result();
2712     set_has_task_assignment();
2713     _impl_.result_.task_assignment_ = CreateMaybeMessage< ::google::internal::federatedcompute::v1::TaskAssignment >(GetArenaForAllocation());
2714   }
2715   return _impl_.result_.task_assignment_;
2716 }
mutable_task_assignment()2717 inline ::google::internal::federatedcompute::v1::TaskAssignment* StartTaskAssignmentResponse::mutable_task_assignment() {
2718   ::google::internal::federatedcompute::v1::TaskAssignment* _msg = _internal_mutable_task_assignment();
2719   // @@protoc_insertion_point(field_mutable:google.internal.federatedcompute.v1.StartTaskAssignmentResponse.task_assignment)
2720   return _msg;
2721 }
2722 
2723 // .google.internal.federatedcompute.v1.RejectionInfo rejection_info = 2;
_internal_has_rejection_info()2724 inline bool StartTaskAssignmentResponse::_internal_has_rejection_info() const {
2725   return result_case() == kRejectionInfo;
2726 }
has_rejection_info()2727 inline bool StartTaskAssignmentResponse::has_rejection_info() const {
2728   return _internal_has_rejection_info();
2729 }
set_has_rejection_info()2730 inline void StartTaskAssignmentResponse::set_has_rejection_info() {
2731   _impl_._oneof_case_[0] = kRejectionInfo;
2732 }
release_rejection_info()2733 inline ::google::internal::federatedcompute::v1::RejectionInfo* StartTaskAssignmentResponse::release_rejection_info() {
2734   // @@protoc_insertion_point(field_release:google.internal.federatedcompute.v1.StartTaskAssignmentResponse.rejection_info)
2735   if (_internal_has_rejection_info()) {
2736     clear_has_result();
2737     ::google::internal::federatedcompute::v1::RejectionInfo* temp = _impl_.result_.rejection_info_;
2738     if (GetArenaForAllocation() != nullptr) {
2739       temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2740     }
2741     _impl_.result_.rejection_info_ = nullptr;
2742     return temp;
2743   } else {
2744     return nullptr;
2745   }
2746 }
_internal_rejection_info()2747 inline const ::google::internal::federatedcompute::v1::RejectionInfo& StartTaskAssignmentResponse::_internal_rejection_info() const {
2748   return _internal_has_rejection_info()
2749       ? *_impl_.result_.rejection_info_
2750       : reinterpret_cast< ::google::internal::federatedcompute::v1::RejectionInfo&>(::google::internal::federatedcompute::v1::_RejectionInfo_default_instance_);
2751 }
rejection_info()2752 inline const ::google::internal::federatedcompute::v1::RejectionInfo& StartTaskAssignmentResponse::rejection_info() const {
2753   // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.StartTaskAssignmentResponse.rejection_info)
2754   return _internal_rejection_info();
2755 }
unsafe_arena_release_rejection_info()2756 inline ::google::internal::federatedcompute::v1::RejectionInfo* StartTaskAssignmentResponse::unsafe_arena_release_rejection_info() {
2757   // @@protoc_insertion_point(field_unsafe_arena_release:google.internal.federatedcompute.v1.StartTaskAssignmentResponse.rejection_info)
2758   if (_internal_has_rejection_info()) {
2759     clear_has_result();
2760     ::google::internal::federatedcompute::v1::RejectionInfo* temp = _impl_.result_.rejection_info_;
2761     _impl_.result_.rejection_info_ = nullptr;
2762     return temp;
2763   } else {
2764     return nullptr;
2765   }
2766 }
unsafe_arena_set_allocated_rejection_info(::google::internal::federatedcompute::v1::RejectionInfo * rejection_info)2767 inline void StartTaskAssignmentResponse::unsafe_arena_set_allocated_rejection_info(::google::internal::federatedcompute::v1::RejectionInfo* rejection_info) {
2768   clear_result();
2769   if (rejection_info) {
2770     set_has_rejection_info();
2771     _impl_.result_.rejection_info_ = rejection_info;
2772   }
2773   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.internal.federatedcompute.v1.StartTaskAssignmentResponse.rejection_info)
2774 }
_internal_mutable_rejection_info()2775 inline ::google::internal::federatedcompute::v1::RejectionInfo* StartTaskAssignmentResponse::_internal_mutable_rejection_info() {
2776   if (!_internal_has_rejection_info()) {
2777     clear_result();
2778     set_has_rejection_info();
2779     _impl_.result_.rejection_info_ = CreateMaybeMessage< ::google::internal::federatedcompute::v1::RejectionInfo >(GetArenaForAllocation());
2780   }
2781   return _impl_.result_.rejection_info_;
2782 }
mutable_rejection_info()2783 inline ::google::internal::federatedcompute::v1::RejectionInfo* StartTaskAssignmentResponse::mutable_rejection_info() {
2784   ::google::internal::federatedcompute::v1::RejectionInfo* _msg = _internal_mutable_rejection_info();
2785   // @@protoc_insertion_point(field_mutable:google.internal.federatedcompute.v1.StartTaskAssignmentResponse.rejection_info)
2786   return _msg;
2787 }
2788 
has_result()2789 inline bool StartTaskAssignmentResponse::has_result() const {
2790   return result_case() != RESULT_NOT_SET;
2791 }
clear_has_result()2792 inline void StartTaskAssignmentResponse::clear_has_result() {
2793   _impl_._oneof_case_[0] = RESULT_NOT_SET;
2794 }
result_case()2795 inline StartTaskAssignmentResponse::ResultCase StartTaskAssignmentResponse::result_case() const {
2796   return StartTaskAssignmentResponse::ResultCase(_impl_._oneof_case_[0]);
2797 }
2798 // -------------------------------------------------------------------
2799 
2800 // PerformMultipleTaskAssignmentsRequest
2801 
2802 // string population_name = 1;
clear_population_name()2803 inline void PerformMultipleTaskAssignmentsRequest::clear_population_name() {
2804   _impl_.population_name_.ClearToEmpty();
2805 }
population_name()2806 inline const std::string& PerformMultipleTaskAssignmentsRequest::population_name() const {
2807   // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.PerformMultipleTaskAssignmentsRequest.population_name)
2808   return _internal_population_name();
2809 }
2810 template <typename ArgT0, typename... ArgT>
2811 inline PROTOBUF_ALWAYS_INLINE
set_population_name(ArgT0 && arg0,ArgT...args)2812 void PerformMultipleTaskAssignmentsRequest::set_population_name(ArgT0&& arg0, ArgT... args) {
2813 
2814  _impl_.population_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
2815   // @@protoc_insertion_point(field_set:google.internal.federatedcompute.v1.PerformMultipleTaskAssignmentsRequest.population_name)
2816 }
mutable_population_name()2817 inline std::string* PerformMultipleTaskAssignmentsRequest::mutable_population_name() {
2818   std::string* _s = _internal_mutable_population_name();
2819   // @@protoc_insertion_point(field_mutable:google.internal.federatedcompute.v1.PerformMultipleTaskAssignmentsRequest.population_name)
2820   return _s;
2821 }
_internal_population_name()2822 inline const std::string& PerformMultipleTaskAssignmentsRequest::_internal_population_name() const {
2823   return _impl_.population_name_.Get();
2824 }
_internal_set_population_name(const std::string & value)2825 inline void PerformMultipleTaskAssignmentsRequest::_internal_set_population_name(const std::string& value) {
2826 
2827   _impl_.population_name_.Set(value, GetArenaForAllocation());
2828 }
_internal_mutable_population_name()2829 inline std::string* PerformMultipleTaskAssignmentsRequest::_internal_mutable_population_name() {
2830 
2831   return _impl_.population_name_.Mutable(GetArenaForAllocation());
2832 }
release_population_name()2833 inline std::string* PerformMultipleTaskAssignmentsRequest::release_population_name() {
2834   // @@protoc_insertion_point(field_release:google.internal.federatedcompute.v1.PerformMultipleTaskAssignmentsRequest.population_name)
2835   return _impl_.population_name_.Release();
2836 }
set_allocated_population_name(std::string * population_name)2837 inline void PerformMultipleTaskAssignmentsRequest::set_allocated_population_name(std::string* population_name) {
2838   _impl_.population_name_.SetAllocated(population_name, GetArenaForAllocation());
2839 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2840   if (_impl_.population_name_.IsDefault()) {
2841     _impl_.population_name_.Set("", GetArenaForAllocation());
2842   }
2843 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2844   // @@protoc_insertion_point(field_set_allocated:google.internal.federatedcompute.v1.PerformMultipleTaskAssignmentsRequest.population_name)
2845 }
2846 
2847 // string session_id = 2;
clear_session_id()2848 inline void PerformMultipleTaskAssignmentsRequest::clear_session_id() {
2849   _impl_.session_id_.ClearToEmpty();
2850 }
session_id()2851 inline const std::string& PerformMultipleTaskAssignmentsRequest::session_id() const {
2852   // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.PerformMultipleTaskAssignmentsRequest.session_id)
2853   return _internal_session_id();
2854 }
2855 template <typename ArgT0, typename... ArgT>
2856 inline PROTOBUF_ALWAYS_INLINE
set_session_id(ArgT0 && arg0,ArgT...args)2857 void PerformMultipleTaskAssignmentsRequest::set_session_id(ArgT0&& arg0, ArgT... args) {
2858 
2859  _impl_.session_id_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
2860   // @@protoc_insertion_point(field_set:google.internal.federatedcompute.v1.PerformMultipleTaskAssignmentsRequest.session_id)
2861 }
mutable_session_id()2862 inline std::string* PerformMultipleTaskAssignmentsRequest::mutable_session_id() {
2863   std::string* _s = _internal_mutable_session_id();
2864   // @@protoc_insertion_point(field_mutable:google.internal.federatedcompute.v1.PerformMultipleTaskAssignmentsRequest.session_id)
2865   return _s;
2866 }
_internal_session_id()2867 inline const std::string& PerformMultipleTaskAssignmentsRequest::_internal_session_id() const {
2868   return _impl_.session_id_.Get();
2869 }
_internal_set_session_id(const std::string & value)2870 inline void PerformMultipleTaskAssignmentsRequest::_internal_set_session_id(const std::string& value) {
2871 
2872   _impl_.session_id_.Set(value, GetArenaForAllocation());
2873 }
_internal_mutable_session_id()2874 inline std::string* PerformMultipleTaskAssignmentsRequest::_internal_mutable_session_id() {
2875 
2876   return _impl_.session_id_.Mutable(GetArenaForAllocation());
2877 }
release_session_id()2878 inline std::string* PerformMultipleTaskAssignmentsRequest::release_session_id() {
2879   // @@protoc_insertion_point(field_release:google.internal.federatedcompute.v1.PerformMultipleTaskAssignmentsRequest.session_id)
2880   return _impl_.session_id_.Release();
2881 }
set_allocated_session_id(std::string * session_id)2882 inline void PerformMultipleTaskAssignmentsRequest::set_allocated_session_id(std::string* session_id) {
2883   _impl_.session_id_.SetAllocated(session_id, GetArenaForAllocation());
2884 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2885   if (_impl_.session_id_.IsDefault()) {
2886     _impl_.session_id_.Set("", GetArenaForAllocation());
2887   }
2888 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2889   // @@protoc_insertion_point(field_set_allocated:google.internal.federatedcompute.v1.PerformMultipleTaskAssignmentsRequest.session_id)
2890 }
2891 
2892 // .google.internal.federatedcompute.v1.ClientVersion client_version = 3;
_internal_has_client_version()2893 inline bool PerformMultipleTaskAssignmentsRequest::_internal_has_client_version() const {
2894   return this != internal_default_instance() && _impl_.client_version_ != nullptr;
2895 }
has_client_version()2896 inline bool PerformMultipleTaskAssignmentsRequest::has_client_version() const {
2897   return _internal_has_client_version();
2898 }
_internal_client_version()2899 inline const ::google::internal::federatedcompute::v1::ClientVersion& PerformMultipleTaskAssignmentsRequest::_internal_client_version() const {
2900   const ::google::internal::federatedcompute::v1::ClientVersion* p = _impl_.client_version_;
2901   return p != nullptr ? *p : reinterpret_cast<const ::google::internal::federatedcompute::v1::ClientVersion&>(
2902       ::google::internal::federatedcompute::v1::_ClientVersion_default_instance_);
2903 }
client_version()2904 inline const ::google::internal::federatedcompute::v1::ClientVersion& PerformMultipleTaskAssignmentsRequest::client_version() const {
2905   // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.PerformMultipleTaskAssignmentsRequest.client_version)
2906   return _internal_client_version();
2907 }
unsafe_arena_set_allocated_client_version(::google::internal::federatedcompute::v1::ClientVersion * client_version)2908 inline void PerformMultipleTaskAssignmentsRequest::unsafe_arena_set_allocated_client_version(
2909     ::google::internal::federatedcompute::v1::ClientVersion* client_version) {
2910   if (GetArenaForAllocation() == nullptr) {
2911     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.client_version_);
2912   }
2913   _impl_.client_version_ = client_version;
2914   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.internal.federatedcompute.v1.PerformMultipleTaskAssignmentsRequest.client_version)
2915 }
release_client_version()2916 inline ::google::internal::federatedcompute::v1::ClientVersion* PerformMultipleTaskAssignmentsRequest::release_client_version() {
2917 
2918   ::google::internal::federatedcompute::v1::ClientVersion* temp = _impl_.client_version_;
2919   _impl_.client_version_ = nullptr;
2920 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2921   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
2922   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2923   if (GetArenaForAllocation() == nullptr) { delete old; }
2924 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
2925   if (GetArenaForAllocation() != nullptr) {
2926     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2927   }
2928 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
2929   return temp;
2930 }
unsafe_arena_release_client_version()2931 inline ::google::internal::federatedcompute::v1::ClientVersion* PerformMultipleTaskAssignmentsRequest::unsafe_arena_release_client_version() {
2932   // @@protoc_insertion_point(field_release:google.internal.federatedcompute.v1.PerformMultipleTaskAssignmentsRequest.client_version)
2933 
2934   ::google::internal::federatedcompute::v1::ClientVersion* temp = _impl_.client_version_;
2935   _impl_.client_version_ = nullptr;
2936   return temp;
2937 }
_internal_mutable_client_version()2938 inline ::google::internal::federatedcompute::v1::ClientVersion* PerformMultipleTaskAssignmentsRequest::_internal_mutable_client_version() {
2939 
2940   if (_impl_.client_version_ == nullptr) {
2941     auto* p = CreateMaybeMessage<::google::internal::federatedcompute::v1::ClientVersion>(GetArenaForAllocation());
2942     _impl_.client_version_ = p;
2943   }
2944   return _impl_.client_version_;
2945 }
mutable_client_version()2946 inline ::google::internal::federatedcompute::v1::ClientVersion* PerformMultipleTaskAssignmentsRequest::mutable_client_version() {
2947   ::google::internal::federatedcompute::v1::ClientVersion* _msg = _internal_mutable_client_version();
2948   // @@protoc_insertion_point(field_mutable:google.internal.federatedcompute.v1.PerformMultipleTaskAssignmentsRequest.client_version)
2949   return _msg;
2950 }
set_allocated_client_version(::google::internal::federatedcompute::v1::ClientVersion * client_version)2951 inline void PerformMultipleTaskAssignmentsRequest::set_allocated_client_version(::google::internal::federatedcompute::v1::ClientVersion* client_version) {
2952   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2953   if (message_arena == nullptr) {
2954     delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.client_version_);
2955   }
2956   if (client_version) {
2957     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2958         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
2959                 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(client_version));
2960     if (message_arena != submessage_arena) {
2961       client_version = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2962           message_arena, client_version, submessage_arena);
2963     }
2964 
2965   } else {
2966 
2967   }
2968   _impl_.client_version_ = client_version;
2969   // @@protoc_insertion_point(field_set_allocated:google.internal.federatedcompute.v1.PerformMultipleTaskAssignmentsRequest.client_version)
2970 }
2971 
2972 // .google.internal.federatedcompute.v1.ResourceCapabilities resource_capabilities = 4;
_internal_has_resource_capabilities()2973 inline bool PerformMultipleTaskAssignmentsRequest::_internal_has_resource_capabilities() const {
2974   return this != internal_default_instance() && _impl_.resource_capabilities_ != nullptr;
2975 }
has_resource_capabilities()2976 inline bool PerformMultipleTaskAssignmentsRequest::has_resource_capabilities() const {
2977   return _internal_has_resource_capabilities();
2978 }
_internal_resource_capabilities()2979 inline const ::google::internal::federatedcompute::v1::ResourceCapabilities& PerformMultipleTaskAssignmentsRequest::_internal_resource_capabilities() const {
2980   const ::google::internal::federatedcompute::v1::ResourceCapabilities* p = _impl_.resource_capabilities_;
2981   return p != nullptr ? *p : reinterpret_cast<const ::google::internal::federatedcompute::v1::ResourceCapabilities&>(
2982       ::google::internal::federatedcompute::v1::_ResourceCapabilities_default_instance_);
2983 }
resource_capabilities()2984 inline const ::google::internal::federatedcompute::v1::ResourceCapabilities& PerformMultipleTaskAssignmentsRequest::resource_capabilities() const {
2985   // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.PerformMultipleTaskAssignmentsRequest.resource_capabilities)
2986   return _internal_resource_capabilities();
2987 }
unsafe_arena_set_allocated_resource_capabilities(::google::internal::federatedcompute::v1::ResourceCapabilities * resource_capabilities)2988 inline void PerformMultipleTaskAssignmentsRequest::unsafe_arena_set_allocated_resource_capabilities(
2989     ::google::internal::federatedcompute::v1::ResourceCapabilities* resource_capabilities) {
2990   if (GetArenaForAllocation() == nullptr) {
2991     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.resource_capabilities_);
2992   }
2993   _impl_.resource_capabilities_ = resource_capabilities;
2994   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.internal.federatedcompute.v1.PerformMultipleTaskAssignmentsRequest.resource_capabilities)
2995 }
release_resource_capabilities()2996 inline ::google::internal::federatedcompute::v1::ResourceCapabilities* PerformMultipleTaskAssignmentsRequest::release_resource_capabilities() {
2997 
2998   ::google::internal::federatedcompute::v1::ResourceCapabilities* temp = _impl_.resource_capabilities_;
2999   _impl_.resource_capabilities_ = nullptr;
3000 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
3001   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
3002   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
3003   if (GetArenaForAllocation() == nullptr) { delete old; }
3004 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
3005   if (GetArenaForAllocation() != nullptr) {
3006     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
3007   }
3008 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
3009   return temp;
3010 }
unsafe_arena_release_resource_capabilities()3011 inline ::google::internal::federatedcompute::v1::ResourceCapabilities* PerformMultipleTaskAssignmentsRequest::unsafe_arena_release_resource_capabilities() {
3012   // @@protoc_insertion_point(field_release:google.internal.federatedcompute.v1.PerformMultipleTaskAssignmentsRequest.resource_capabilities)
3013 
3014   ::google::internal::federatedcompute::v1::ResourceCapabilities* temp = _impl_.resource_capabilities_;
3015   _impl_.resource_capabilities_ = nullptr;
3016   return temp;
3017 }
_internal_mutable_resource_capabilities()3018 inline ::google::internal::federatedcompute::v1::ResourceCapabilities* PerformMultipleTaskAssignmentsRequest::_internal_mutable_resource_capabilities() {
3019 
3020   if (_impl_.resource_capabilities_ == nullptr) {
3021     auto* p = CreateMaybeMessage<::google::internal::federatedcompute::v1::ResourceCapabilities>(GetArenaForAllocation());
3022     _impl_.resource_capabilities_ = p;
3023   }
3024   return _impl_.resource_capabilities_;
3025 }
mutable_resource_capabilities()3026 inline ::google::internal::federatedcompute::v1::ResourceCapabilities* PerformMultipleTaskAssignmentsRequest::mutable_resource_capabilities() {
3027   ::google::internal::federatedcompute::v1::ResourceCapabilities* _msg = _internal_mutable_resource_capabilities();
3028   // @@protoc_insertion_point(field_mutable:google.internal.federatedcompute.v1.PerformMultipleTaskAssignmentsRequest.resource_capabilities)
3029   return _msg;
3030 }
set_allocated_resource_capabilities(::google::internal::federatedcompute::v1::ResourceCapabilities * resource_capabilities)3031 inline void PerformMultipleTaskAssignmentsRequest::set_allocated_resource_capabilities(::google::internal::federatedcompute::v1::ResourceCapabilities* resource_capabilities) {
3032   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
3033   if (message_arena == nullptr) {
3034     delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.resource_capabilities_);
3035   }
3036   if (resource_capabilities) {
3037     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
3038         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
3039                 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(resource_capabilities));
3040     if (message_arena != submessage_arena) {
3041       resource_capabilities = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
3042           message_arena, resource_capabilities, submessage_arena);
3043     }
3044 
3045   } else {
3046 
3047   }
3048   _impl_.resource_capabilities_ = resource_capabilities;
3049   // @@protoc_insertion_point(field_set_allocated:google.internal.federatedcompute.v1.PerformMultipleTaskAssignmentsRequest.resource_capabilities)
3050 }
3051 
3052 // repeated string task_names = 5;
_internal_task_names_size()3053 inline int PerformMultipleTaskAssignmentsRequest::_internal_task_names_size() const {
3054   return _impl_.task_names_.size();
3055 }
task_names_size()3056 inline int PerformMultipleTaskAssignmentsRequest::task_names_size() const {
3057   return _internal_task_names_size();
3058 }
clear_task_names()3059 inline void PerformMultipleTaskAssignmentsRequest::clear_task_names() {
3060   _impl_.task_names_.Clear();
3061 }
add_task_names()3062 inline std::string* PerformMultipleTaskAssignmentsRequest::add_task_names() {
3063   std::string* _s = _internal_add_task_names();
3064   // @@protoc_insertion_point(field_add_mutable:google.internal.federatedcompute.v1.PerformMultipleTaskAssignmentsRequest.task_names)
3065   return _s;
3066 }
_internal_task_names(int index)3067 inline const std::string& PerformMultipleTaskAssignmentsRequest::_internal_task_names(int index) const {
3068   return _impl_.task_names_.Get(index);
3069 }
task_names(int index)3070 inline const std::string& PerformMultipleTaskAssignmentsRequest::task_names(int index) const {
3071   // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.PerformMultipleTaskAssignmentsRequest.task_names)
3072   return _internal_task_names(index);
3073 }
mutable_task_names(int index)3074 inline std::string* PerformMultipleTaskAssignmentsRequest::mutable_task_names(int index) {
3075   // @@protoc_insertion_point(field_mutable:google.internal.federatedcompute.v1.PerformMultipleTaskAssignmentsRequest.task_names)
3076   return _impl_.task_names_.Mutable(index);
3077 }
set_task_names(int index,const std::string & value)3078 inline void PerformMultipleTaskAssignmentsRequest::set_task_names(int index, const std::string& value) {
3079   _impl_.task_names_.Mutable(index)->assign(value);
3080   // @@protoc_insertion_point(field_set:google.internal.federatedcompute.v1.PerformMultipleTaskAssignmentsRequest.task_names)
3081 }
set_task_names(int index,std::string && value)3082 inline void PerformMultipleTaskAssignmentsRequest::set_task_names(int index, std::string&& value) {
3083   _impl_.task_names_.Mutable(index)->assign(std::move(value));
3084   // @@protoc_insertion_point(field_set:google.internal.federatedcompute.v1.PerformMultipleTaskAssignmentsRequest.task_names)
3085 }
set_task_names(int index,const char * value)3086 inline void PerformMultipleTaskAssignmentsRequest::set_task_names(int index, const char* value) {
3087   GOOGLE_DCHECK(value != nullptr);
3088   _impl_.task_names_.Mutable(index)->assign(value);
3089   // @@protoc_insertion_point(field_set_char:google.internal.federatedcompute.v1.PerformMultipleTaskAssignmentsRequest.task_names)
3090 }
set_task_names(int index,const char * value,size_t size)3091 inline void PerformMultipleTaskAssignmentsRequest::set_task_names(int index, const char* value, size_t size) {
3092   _impl_.task_names_.Mutable(index)->assign(
3093     reinterpret_cast<const char*>(value), size);
3094   // @@protoc_insertion_point(field_set_pointer:google.internal.federatedcompute.v1.PerformMultipleTaskAssignmentsRequest.task_names)
3095 }
_internal_add_task_names()3096 inline std::string* PerformMultipleTaskAssignmentsRequest::_internal_add_task_names() {
3097   return _impl_.task_names_.Add();
3098 }
add_task_names(const std::string & value)3099 inline void PerformMultipleTaskAssignmentsRequest::add_task_names(const std::string& value) {
3100   _impl_.task_names_.Add()->assign(value);
3101   // @@protoc_insertion_point(field_add:google.internal.federatedcompute.v1.PerformMultipleTaskAssignmentsRequest.task_names)
3102 }
add_task_names(std::string && value)3103 inline void PerformMultipleTaskAssignmentsRequest::add_task_names(std::string&& value) {
3104   _impl_.task_names_.Add(std::move(value));
3105   // @@protoc_insertion_point(field_add:google.internal.federatedcompute.v1.PerformMultipleTaskAssignmentsRequest.task_names)
3106 }
add_task_names(const char * value)3107 inline void PerformMultipleTaskAssignmentsRequest::add_task_names(const char* value) {
3108   GOOGLE_DCHECK(value != nullptr);
3109   _impl_.task_names_.Add()->assign(value);
3110   // @@protoc_insertion_point(field_add_char:google.internal.federatedcompute.v1.PerformMultipleTaskAssignmentsRequest.task_names)
3111 }
add_task_names(const char * value,size_t size)3112 inline void PerformMultipleTaskAssignmentsRequest::add_task_names(const char* value, size_t size) {
3113   _impl_.task_names_.Add()->assign(reinterpret_cast<const char*>(value), size);
3114   // @@protoc_insertion_point(field_add_pointer:google.internal.federatedcompute.v1.PerformMultipleTaskAssignmentsRequest.task_names)
3115 }
3116 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
task_names()3117 PerformMultipleTaskAssignmentsRequest::task_names() const {
3118   // @@protoc_insertion_point(field_list:google.internal.federatedcompute.v1.PerformMultipleTaskAssignmentsRequest.task_names)
3119   return _impl_.task_names_;
3120 }
3121 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
mutable_task_names()3122 PerformMultipleTaskAssignmentsRequest::mutable_task_names() {
3123   // @@protoc_insertion_point(field_mutable_list:google.internal.federatedcompute.v1.PerformMultipleTaskAssignmentsRequest.task_names)
3124   return &_impl_.task_names_;
3125 }
3126 
3127 // -------------------------------------------------------------------
3128 
3129 // PerformMultipleTaskAssignmentsResponse
3130 
3131 // repeated .google.internal.federatedcompute.v1.TaskAssignment task_assignments = 1;
_internal_task_assignments_size()3132 inline int PerformMultipleTaskAssignmentsResponse::_internal_task_assignments_size() const {
3133   return _impl_.task_assignments_.size();
3134 }
task_assignments_size()3135 inline int PerformMultipleTaskAssignmentsResponse::task_assignments_size() const {
3136   return _internal_task_assignments_size();
3137 }
clear_task_assignments()3138 inline void PerformMultipleTaskAssignmentsResponse::clear_task_assignments() {
3139   _impl_.task_assignments_.Clear();
3140 }
mutable_task_assignments(int index)3141 inline ::google::internal::federatedcompute::v1::TaskAssignment* PerformMultipleTaskAssignmentsResponse::mutable_task_assignments(int index) {
3142   // @@protoc_insertion_point(field_mutable:google.internal.federatedcompute.v1.PerformMultipleTaskAssignmentsResponse.task_assignments)
3143   return _impl_.task_assignments_.Mutable(index);
3144 }
3145 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::google::internal::federatedcompute::v1::TaskAssignment >*
mutable_task_assignments()3146 PerformMultipleTaskAssignmentsResponse::mutable_task_assignments() {
3147   // @@protoc_insertion_point(field_mutable_list:google.internal.federatedcompute.v1.PerformMultipleTaskAssignmentsResponse.task_assignments)
3148   return &_impl_.task_assignments_;
3149 }
_internal_task_assignments(int index)3150 inline const ::google::internal::federatedcompute::v1::TaskAssignment& PerformMultipleTaskAssignmentsResponse::_internal_task_assignments(int index) const {
3151   return _impl_.task_assignments_.Get(index);
3152 }
task_assignments(int index)3153 inline const ::google::internal::federatedcompute::v1::TaskAssignment& PerformMultipleTaskAssignmentsResponse::task_assignments(int index) const {
3154   // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.PerformMultipleTaskAssignmentsResponse.task_assignments)
3155   return _internal_task_assignments(index);
3156 }
_internal_add_task_assignments()3157 inline ::google::internal::federatedcompute::v1::TaskAssignment* PerformMultipleTaskAssignmentsResponse::_internal_add_task_assignments() {
3158   return _impl_.task_assignments_.Add();
3159 }
add_task_assignments()3160 inline ::google::internal::federatedcompute::v1::TaskAssignment* PerformMultipleTaskAssignmentsResponse::add_task_assignments() {
3161   ::google::internal::federatedcompute::v1::TaskAssignment* _add = _internal_add_task_assignments();
3162   // @@protoc_insertion_point(field_add:google.internal.federatedcompute.v1.PerformMultipleTaskAssignmentsResponse.task_assignments)
3163   return _add;
3164 }
3165 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::google::internal::federatedcompute::v1::TaskAssignment >&
task_assignments()3166 PerformMultipleTaskAssignmentsResponse::task_assignments() const {
3167   // @@protoc_insertion_point(field_list:google.internal.federatedcompute.v1.PerformMultipleTaskAssignmentsResponse.task_assignments)
3168   return _impl_.task_assignments_;
3169 }
3170 
3171 // -------------------------------------------------------------------
3172 
3173 // TaskAssignment_AggregationInfo
3174 
3175 // -------------------------------------------------------------------
3176 
3177 // TaskAssignment_SecureAggregationInfo
3178 
3179 // int32 minimum_clients_in_server_visible_aggregate = 1;
clear_minimum_clients_in_server_visible_aggregate()3180 inline void TaskAssignment_SecureAggregationInfo::clear_minimum_clients_in_server_visible_aggregate() {
3181   _impl_.minimum_clients_in_server_visible_aggregate_ = 0;
3182 }
_internal_minimum_clients_in_server_visible_aggregate()3183 inline ::int32_t TaskAssignment_SecureAggregationInfo::_internal_minimum_clients_in_server_visible_aggregate() const {
3184   return _impl_.minimum_clients_in_server_visible_aggregate_;
3185 }
minimum_clients_in_server_visible_aggregate()3186 inline ::int32_t TaskAssignment_SecureAggregationInfo::minimum_clients_in_server_visible_aggregate() const {
3187   // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.TaskAssignment.SecureAggregationInfo.minimum_clients_in_server_visible_aggregate)
3188   return _internal_minimum_clients_in_server_visible_aggregate();
3189 }
_internal_set_minimum_clients_in_server_visible_aggregate(::int32_t value)3190 inline void TaskAssignment_SecureAggregationInfo::_internal_set_minimum_clients_in_server_visible_aggregate(::int32_t value) {
3191 
3192   _impl_.minimum_clients_in_server_visible_aggregate_ = value;
3193 }
set_minimum_clients_in_server_visible_aggregate(::int32_t value)3194 inline void TaskAssignment_SecureAggregationInfo::set_minimum_clients_in_server_visible_aggregate(::int32_t value) {
3195   _internal_set_minimum_clients_in_server_visible_aggregate(value);
3196   // @@protoc_insertion_point(field_set:google.internal.federatedcompute.v1.TaskAssignment.SecureAggregationInfo.minimum_clients_in_server_visible_aggregate)
3197 }
3198 
3199 // -------------------------------------------------------------------
3200 
3201 // TaskAssignment
3202 
3203 // .google.internal.federatedcompute.v1.ForwardingInfo aggregation_data_forwarding_info = 1;
_internal_has_aggregation_data_forwarding_info()3204 inline bool TaskAssignment::_internal_has_aggregation_data_forwarding_info() const {
3205   return this != internal_default_instance() && _impl_.aggregation_data_forwarding_info_ != nullptr;
3206 }
has_aggregation_data_forwarding_info()3207 inline bool TaskAssignment::has_aggregation_data_forwarding_info() const {
3208   return _internal_has_aggregation_data_forwarding_info();
3209 }
_internal_aggregation_data_forwarding_info()3210 inline const ::google::internal::federatedcompute::v1::ForwardingInfo& TaskAssignment::_internal_aggregation_data_forwarding_info() const {
3211   const ::google::internal::federatedcompute::v1::ForwardingInfo* p = _impl_.aggregation_data_forwarding_info_;
3212   return p != nullptr ? *p : reinterpret_cast<const ::google::internal::federatedcompute::v1::ForwardingInfo&>(
3213       ::google::internal::federatedcompute::v1::_ForwardingInfo_default_instance_);
3214 }
aggregation_data_forwarding_info()3215 inline const ::google::internal::federatedcompute::v1::ForwardingInfo& TaskAssignment::aggregation_data_forwarding_info() const {
3216   // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.TaskAssignment.aggregation_data_forwarding_info)
3217   return _internal_aggregation_data_forwarding_info();
3218 }
unsafe_arena_set_allocated_aggregation_data_forwarding_info(::google::internal::federatedcompute::v1::ForwardingInfo * aggregation_data_forwarding_info)3219 inline void TaskAssignment::unsafe_arena_set_allocated_aggregation_data_forwarding_info(
3220     ::google::internal::federatedcompute::v1::ForwardingInfo* aggregation_data_forwarding_info) {
3221   if (GetArenaForAllocation() == nullptr) {
3222     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.aggregation_data_forwarding_info_);
3223   }
3224   _impl_.aggregation_data_forwarding_info_ = aggregation_data_forwarding_info;
3225   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.internal.federatedcompute.v1.TaskAssignment.aggregation_data_forwarding_info)
3226 }
release_aggregation_data_forwarding_info()3227 inline ::google::internal::federatedcompute::v1::ForwardingInfo* TaskAssignment::release_aggregation_data_forwarding_info() {
3228 
3229   ::google::internal::federatedcompute::v1::ForwardingInfo* temp = _impl_.aggregation_data_forwarding_info_;
3230   _impl_.aggregation_data_forwarding_info_ = nullptr;
3231 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
3232   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
3233   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
3234   if (GetArenaForAllocation() == nullptr) { delete old; }
3235 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
3236   if (GetArenaForAllocation() != nullptr) {
3237     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
3238   }
3239 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
3240   return temp;
3241 }
unsafe_arena_release_aggregation_data_forwarding_info()3242 inline ::google::internal::federatedcompute::v1::ForwardingInfo* TaskAssignment::unsafe_arena_release_aggregation_data_forwarding_info() {
3243   // @@protoc_insertion_point(field_release:google.internal.federatedcompute.v1.TaskAssignment.aggregation_data_forwarding_info)
3244 
3245   ::google::internal::federatedcompute::v1::ForwardingInfo* temp = _impl_.aggregation_data_forwarding_info_;
3246   _impl_.aggregation_data_forwarding_info_ = nullptr;
3247   return temp;
3248 }
_internal_mutable_aggregation_data_forwarding_info()3249 inline ::google::internal::federatedcompute::v1::ForwardingInfo* TaskAssignment::_internal_mutable_aggregation_data_forwarding_info() {
3250 
3251   if (_impl_.aggregation_data_forwarding_info_ == nullptr) {
3252     auto* p = CreateMaybeMessage<::google::internal::federatedcompute::v1::ForwardingInfo>(GetArenaForAllocation());
3253     _impl_.aggregation_data_forwarding_info_ = p;
3254   }
3255   return _impl_.aggregation_data_forwarding_info_;
3256 }
mutable_aggregation_data_forwarding_info()3257 inline ::google::internal::federatedcompute::v1::ForwardingInfo* TaskAssignment::mutable_aggregation_data_forwarding_info() {
3258   ::google::internal::federatedcompute::v1::ForwardingInfo* _msg = _internal_mutable_aggregation_data_forwarding_info();
3259   // @@protoc_insertion_point(field_mutable:google.internal.federatedcompute.v1.TaskAssignment.aggregation_data_forwarding_info)
3260   return _msg;
3261 }
set_allocated_aggregation_data_forwarding_info(::google::internal::federatedcompute::v1::ForwardingInfo * aggregation_data_forwarding_info)3262 inline void TaskAssignment::set_allocated_aggregation_data_forwarding_info(::google::internal::federatedcompute::v1::ForwardingInfo* aggregation_data_forwarding_info) {
3263   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
3264   if (message_arena == nullptr) {
3265     delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.aggregation_data_forwarding_info_);
3266   }
3267   if (aggregation_data_forwarding_info) {
3268     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
3269         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
3270                 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(aggregation_data_forwarding_info));
3271     if (message_arena != submessage_arena) {
3272       aggregation_data_forwarding_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
3273           message_arena, aggregation_data_forwarding_info, submessage_arena);
3274     }
3275 
3276   } else {
3277 
3278   }
3279   _impl_.aggregation_data_forwarding_info_ = aggregation_data_forwarding_info;
3280   // @@protoc_insertion_point(field_set_allocated:google.internal.federatedcompute.v1.TaskAssignment.aggregation_data_forwarding_info)
3281 }
3282 
3283 // .google.internal.federatedcompute.v1.TaskAssignment.AggregationInfo aggregation_info = 9;
_internal_has_aggregation_info()3284 inline bool TaskAssignment::_internal_has_aggregation_info() const {
3285   return aggregation_type_case() == kAggregationInfo;
3286 }
has_aggregation_info()3287 inline bool TaskAssignment::has_aggregation_info() const {
3288   return _internal_has_aggregation_info();
3289 }
set_has_aggregation_info()3290 inline void TaskAssignment::set_has_aggregation_info() {
3291   _impl_._oneof_case_[0] = kAggregationInfo;
3292 }
clear_aggregation_info()3293 inline void TaskAssignment::clear_aggregation_info() {
3294   if (_internal_has_aggregation_info()) {
3295     if (GetArenaForAllocation() == nullptr) {
3296       delete _impl_.aggregation_type_.aggregation_info_;
3297     }
3298     clear_has_aggregation_type();
3299   }
3300 }
release_aggregation_info()3301 inline ::google::internal::federatedcompute::v1::TaskAssignment_AggregationInfo* TaskAssignment::release_aggregation_info() {
3302   // @@protoc_insertion_point(field_release:google.internal.federatedcompute.v1.TaskAssignment.aggregation_info)
3303   if (_internal_has_aggregation_info()) {
3304     clear_has_aggregation_type();
3305     ::google::internal::federatedcompute::v1::TaskAssignment_AggregationInfo* temp = _impl_.aggregation_type_.aggregation_info_;
3306     if (GetArenaForAllocation() != nullptr) {
3307       temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
3308     }
3309     _impl_.aggregation_type_.aggregation_info_ = nullptr;
3310     return temp;
3311   } else {
3312     return nullptr;
3313   }
3314 }
_internal_aggregation_info()3315 inline const ::google::internal::federatedcompute::v1::TaskAssignment_AggregationInfo& TaskAssignment::_internal_aggregation_info() const {
3316   return _internal_has_aggregation_info()
3317       ? *_impl_.aggregation_type_.aggregation_info_
3318       : reinterpret_cast< ::google::internal::federatedcompute::v1::TaskAssignment_AggregationInfo&>(::google::internal::federatedcompute::v1::_TaskAssignment_AggregationInfo_default_instance_);
3319 }
aggregation_info()3320 inline const ::google::internal::federatedcompute::v1::TaskAssignment_AggregationInfo& TaskAssignment::aggregation_info() const {
3321   // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.TaskAssignment.aggregation_info)
3322   return _internal_aggregation_info();
3323 }
unsafe_arena_release_aggregation_info()3324 inline ::google::internal::federatedcompute::v1::TaskAssignment_AggregationInfo* TaskAssignment::unsafe_arena_release_aggregation_info() {
3325   // @@protoc_insertion_point(field_unsafe_arena_release:google.internal.federatedcompute.v1.TaskAssignment.aggregation_info)
3326   if (_internal_has_aggregation_info()) {
3327     clear_has_aggregation_type();
3328     ::google::internal::federatedcompute::v1::TaskAssignment_AggregationInfo* temp = _impl_.aggregation_type_.aggregation_info_;
3329     _impl_.aggregation_type_.aggregation_info_ = nullptr;
3330     return temp;
3331   } else {
3332     return nullptr;
3333   }
3334 }
unsafe_arena_set_allocated_aggregation_info(::google::internal::federatedcompute::v1::TaskAssignment_AggregationInfo * aggregation_info)3335 inline void TaskAssignment::unsafe_arena_set_allocated_aggregation_info(::google::internal::federatedcompute::v1::TaskAssignment_AggregationInfo* aggregation_info) {
3336   clear_aggregation_type();
3337   if (aggregation_info) {
3338     set_has_aggregation_info();
3339     _impl_.aggregation_type_.aggregation_info_ = aggregation_info;
3340   }
3341   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.internal.federatedcompute.v1.TaskAssignment.aggregation_info)
3342 }
_internal_mutable_aggregation_info()3343 inline ::google::internal::federatedcompute::v1::TaskAssignment_AggregationInfo* TaskAssignment::_internal_mutable_aggregation_info() {
3344   if (!_internal_has_aggregation_info()) {
3345     clear_aggregation_type();
3346     set_has_aggregation_info();
3347     _impl_.aggregation_type_.aggregation_info_ = CreateMaybeMessage< ::google::internal::federatedcompute::v1::TaskAssignment_AggregationInfo >(GetArenaForAllocation());
3348   }
3349   return _impl_.aggregation_type_.aggregation_info_;
3350 }
mutable_aggregation_info()3351 inline ::google::internal::federatedcompute::v1::TaskAssignment_AggregationInfo* TaskAssignment::mutable_aggregation_info() {
3352   ::google::internal::federatedcompute::v1::TaskAssignment_AggregationInfo* _msg = _internal_mutable_aggregation_info();
3353   // @@protoc_insertion_point(field_mutable:google.internal.federatedcompute.v1.TaskAssignment.aggregation_info)
3354   return _msg;
3355 }
3356 
3357 // .google.internal.federatedcompute.v1.TaskAssignment.SecureAggregationInfo secure_aggregation_info = 10;
_internal_has_secure_aggregation_info()3358 inline bool TaskAssignment::_internal_has_secure_aggregation_info() const {
3359   return aggregation_type_case() == kSecureAggregationInfo;
3360 }
has_secure_aggregation_info()3361 inline bool TaskAssignment::has_secure_aggregation_info() const {
3362   return _internal_has_secure_aggregation_info();
3363 }
set_has_secure_aggregation_info()3364 inline void TaskAssignment::set_has_secure_aggregation_info() {
3365   _impl_._oneof_case_[0] = kSecureAggregationInfo;
3366 }
clear_secure_aggregation_info()3367 inline void TaskAssignment::clear_secure_aggregation_info() {
3368   if (_internal_has_secure_aggregation_info()) {
3369     if (GetArenaForAllocation() == nullptr) {
3370       delete _impl_.aggregation_type_.secure_aggregation_info_;
3371     }
3372     clear_has_aggregation_type();
3373   }
3374 }
release_secure_aggregation_info()3375 inline ::google::internal::federatedcompute::v1::TaskAssignment_SecureAggregationInfo* TaskAssignment::release_secure_aggregation_info() {
3376   // @@protoc_insertion_point(field_release:google.internal.federatedcompute.v1.TaskAssignment.secure_aggregation_info)
3377   if (_internal_has_secure_aggregation_info()) {
3378     clear_has_aggregation_type();
3379     ::google::internal::federatedcompute::v1::TaskAssignment_SecureAggregationInfo* temp = _impl_.aggregation_type_.secure_aggregation_info_;
3380     if (GetArenaForAllocation() != nullptr) {
3381       temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
3382     }
3383     _impl_.aggregation_type_.secure_aggregation_info_ = nullptr;
3384     return temp;
3385   } else {
3386     return nullptr;
3387   }
3388 }
_internal_secure_aggregation_info()3389 inline const ::google::internal::federatedcompute::v1::TaskAssignment_SecureAggregationInfo& TaskAssignment::_internal_secure_aggregation_info() const {
3390   return _internal_has_secure_aggregation_info()
3391       ? *_impl_.aggregation_type_.secure_aggregation_info_
3392       : reinterpret_cast< ::google::internal::federatedcompute::v1::TaskAssignment_SecureAggregationInfo&>(::google::internal::federatedcompute::v1::_TaskAssignment_SecureAggregationInfo_default_instance_);
3393 }
secure_aggregation_info()3394 inline const ::google::internal::federatedcompute::v1::TaskAssignment_SecureAggregationInfo& TaskAssignment::secure_aggregation_info() const {
3395   // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.TaskAssignment.secure_aggregation_info)
3396   return _internal_secure_aggregation_info();
3397 }
unsafe_arena_release_secure_aggregation_info()3398 inline ::google::internal::federatedcompute::v1::TaskAssignment_SecureAggregationInfo* TaskAssignment::unsafe_arena_release_secure_aggregation_info() {
3399   // @@protoc_insertion_point(field_unsafe_arena_release:google.internal.federatedcompute.v1.TaskAssignment.secure_aggregation_info)
3400   if (_internal_has_secure_aggregation_info()) {
3401     clear_has_aggregation_type();
3402     ::google::internal::federatedcompute::v1::TaskAssignment_SecureAggregationInfo* temp = _impl_.aggregation_type_.secure_aggregation_info_;
3403     _impl_.aggregation_type_.secure_aggregation_info_ = nullptr;
3404     return temp;
3405   } else {
3406     return nullptr;
3407   }
3408 }
unsafe_arena_set_allocated_secure_aggregation_info(::google::internal::federatedcompute::v1::TaskAssignment_SecureAggregationInfo * secure_aggregation_info)3409 inline void TaskAssignment::unsafe_arena_set_allocated_secure_aggregation_info(::google::internal::federatedcompute::v1::TaskAssignment_SecureAggregationInfo* secure_aggregation_info) {
3410   clear_aggregation_type();
3411   if (secure_aggregation_info) {
3412     set_has_secure_aggregation_info();
3413     _impl_.aggregation_type_.secure_aggregation_info_ = secure_aggregation_info;
3414   }
3415   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.internal.federatedcompute.v1.TaskAssignment.secure_aggregation_info)
3416 }
_internal_mutable_secure_aggregation_info()3417 inline ::google::internal::federatedcompute::v1::TaskAssignment_SecureAggregationInfo* TaskAssignment::_internal_mutable_secure_aggregation_info() {
3418   if (!_internal_has_secure_aggregation_info()) {
3419     clear_aggregation_type();
3420     set_has_secure_aggregation_info();
3421     _impl_.aggregation_type_.secure_aggregation_info_ = CreateMaybeMessage< ::google::internal::federatedcompute::v1::TaskAssignment_SecureAggregationInfo >(GetArenaForAllocation());
3422   }
3423   return _impl_.aggregation_type_.secure_aggregation_info_;
3424 }
mutable_secure_aggregation_info()3425 inline ::google::internal::federatedcompute::v1::TaskAssignment_SecureAggregationInfo* TaskAssignment::mutable_secure_aggregation_info() {
3426   ::google::internal::federatedcompute::v1::TaskAssignment_SecureAggregationInfo* _msg = _internal_mutable_secure_aggregation_info();
3427   // @@protoc_insertion_point(field_mutable:google.internal.federatedcompute.v1.TaskAssignment.secure_aggregation_info)
3428   return _msg;
3429 }
3430 
3431 // string session_id = 5;
clear_session_id()3432 inline void TaskAssignment::clear_session_id() {
3433   _impl_.session_id_.ClearToEmpty();
3434 }
session_id()3435 inline const std::string& TaskAssignment::session_id() const {
3436   // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.TaskAssignment.session_id)
3437   return _internal_session_id();
3438 }
3439 template <typename ArgT0, typename... ArgT>
3440 inline PROTOBUF_ALWAYS_INLINE
set_session_id(ArgT0 && arg0,ArgT...args)3441 void TaskAssignment::set_session_id(ArgT0&& arg0, ArgT... args) {
3442 
3443  _impl_.session_id_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
3444   // @@protoc_insertion_point(field_set:google.internal.federatedcompute.v1.TaskAssignment.session_id)
3445 }
mutable_session_id()3446 inline std::string* TaskAssignment::mutable_session_id() {
3447   std::string* _s = _internal_mutable_session_id();
3448   // @@protoc_insertion_point(field_mutable:google.internal.federatedcompute.v1.TaskAssignment.session_id)
3449   return _s;
3450 }
_internal_session_id()3451 inline const std::string& TaskAssignment::_internal_session_id() const {
3452   return _impl_.session_id_.Get();
3453 }
_internal_set_session_id(const std::string & value)3454 inline void TaskAssignment::_internal_set_session_id(const std::string& value) {
3455 
3456   _impl_.session_id_.Set(value, GetArenaForAllocation());
3457 }
_internal_mutable_session_id()3458 inline std::string* TaskAssignment::_internal_mutable_session_id() {
3459 
3460   return _impl_.session_id_.Mutable(GetArenaForAllocation());
3461 }
release_session_id()3462 inline std::string* TaskAssignment::release_session_id() {
3463   // @@protoc_insertion_point(field_release:google.internal.federatedcompute.v1.TaskAssignment.session_id)
3464   return _impl_.session_id_.Release();
3465 }
set_allocated_session_id(std::string * session_id)3466 inline void TaskAssignment::set_allocated_session_id(std::string* session_id) {
3467   _impl_.session_id_.SetAllocated(session_id, GetArenaForAllocation());
3468 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3469   if (_impl_.session_id_.IsDefault()) {
3470     _impl_.session_id_.Set("", GetArenaForAllocation());
3471   }
3472 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
3473   // @@protoc_insertion_point(field_set_allocated:google.internal.federatedcompute.v1.TaskAssignment.session_id)
3474 }
3475 
3476 // string aggregation_id = 2;
clear_aggregation_id()3477 inline void TaskAssignment::clear_aggregation_id() {
3478   _impl_.aggregation_id_.ClearToEmpty();
3479 }
aggregation_id()3480 inline const std::string& TaskAssignment::aggregation_id() const {
3481   // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.TaskAssignment.aggregation_id)
3482   return _internal_aggregation_id();
3483 }
3484 template <typename ArgT0, typename... ArgT>
3485 inline PROTOBUF_ALWAYS_INLINE
set_aggregation_id(ArgT0 && arg0,ArgT...args)3486 void TaskAssignment::set_aggregation_id(ArgT0&& arg0, ArgT... args) {
3487 
3488  _impl_.aggregation_id_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
3489   // @@protoc_insertion_point(field_set:google.internal.federatedcompute.v1.TaskAssignment.aggregation_id)
3490 }
mutable_aggregation_id()3491 inline std::string* TaskAssignment::mutable_aggregation_id() {
3492   std::string* _s = _internal_mutable_aggregation_id();
3493   // @@protoc_insertion_point(field_mutable:google.internal.federatedcompute.v1.TaskAssignment.aggregation_id)
3494   return _s;
3495 }
_internal_aggregation_id()3496 inline const std::string& TaskAssignment::_internal_aggregation_id() const {
3497   return _impl_.aggregation_id_.Get();
3498 }
_internal_set_aggregation_id(const std::string & value)3499 inline void TaskAssignment::_internal_set_aggregation_id(const std::string& value) {
3500 
3501   _impl_.aggregation_id_.Set(value, GetArenaForAllocation());
3502 }
_internal_mutable_aggregation_id()3503 inline std::string* TaskAssignment::_internal_mutable_aggregation_id() {
3504 
3505   return _impl_.aggregation_id_.Mutable(GetArenaForAllocation());
3506 }
release_aggregation_id()3507 inline std::string* TaskAssignment::release_aggregation_id() {
3508   // @@protoc_insertion_point(field_release:google.internal.federatedcompute.v1.TaskAssignment.aggregation_id)
3509   return _impl_.aggregation_id_.Release();
3510 }
set_allocated_aggregation_id(std::string * aggregation_id)3511 inline void TaskAssignment::set_allocated_aggregation_id(std::string* aggregation_id) {
3512   _impl_.aggregation_id_.SetAllocated(aggregation_id, GetArenaForAllocation());
3513 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3514   if (_impl_.aggregation_id_.IsDefault()) {
3515     _impl_.aggregation_id_.Set("", GetArenaForAllocation());
3516   }
3517 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
3518   // @@protoc_insertion_point(field_set_allocated:google.internal.federatedcompute.v1.TaskAssignment.aggregation_id)
3519 }
3520 
3521 // string authorization_token = 6;
clear_authorization_token()3522 inline void TaskAssignment::clear_authorization_token() {
3523   _impl_.authorization_token_.ClearToEmpty();
3524 }
authorization_token()3525 inline const std::string& TaskAssignment::authorization_token() const {
3526   // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.TaskAssignment.authorization_token)
3527   return _internal_authorization_token();
3528 }
3529 template <typename ArgT0, typename... ArgT>
3530 inline PROTOBUF_ALWAYS_INLINE
set_authorization_token(ArgT0 && arg0,ArgT...args)3531 void TaskAssignment::set_authorization_token(ArgT0&& arg0, ArgT... args) {
3532 
3533  _impl_.authorization_token_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
3534   // @@protoc_insertion_point(field_set:google.internal.federatedcompute.v1.TaskAssignment.authorization_token)
3535 }
mutable_authorization_token()3536 inline std::string* TaskAssignment::mutable_authorization_token() {
3537   std::string* _s = _internal_mutable_authorization_token();
3538   // @@protoc_insertion_point(field_mutable:google.internal.federatedcompute.v1.TaskAssignment.authorization_token)
3539   return _s;
3540 }
_internal_authorization_token()3541 inline const std::string& TaskAssignment::_internal_authorization_token() const {
3542   return _impl_.authorization_token_.Get();
3543 }
_internal_set_authorization_token(const std::string & value)3544 inline void TaskAssignment::_internal_set_authorization_token(const std::string& value) {
3545 
3546   _impl_.authorization_token_.Set(value, GetArenaForAllocation());
3547 }
_internal_mutable_authorization_token()3548 inline std::string* TaskAssignment::_internal_mutable_authorization_token() {
3549 
3550   return _impl_.authorization_token_.Mutable(GetArenaForAllocation());
3551 }
release_authorization_token()3552 inline std::string* TaskAssignment::release_authorization_token() {
3553   // @@protoc_insertion_point(field_release:google.internal.federatedcompute.v1.TaskAssignment.authorization_token)
3554   return _impl_.authorization_token_.Release();
3555 }
set_allocated_authorization_token(std::string * authorization_token)3556 inline void TaskAssignment::set_allocated_authorization_token(std::string* authorization_token) {
3557   _impl_.authorization_token_.SetAllocated(authorization_token, GetArenaForAllocation());
3558 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3559   if (_impl_.authorization_token_.IsDefault()) {
3560     _impl_.authorization_token_.Set("", GetArenaForAllocation());
3561   }
3562 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
3563   // @@protoc_insertion_point(field_set_allocated:google.internal.federatedcompute.v1.TaskAssignment.authorization_token)
3564 }
3565 
3566 // string task_name = 7;
clear_task_name()3567 inline void TaskAssignment::clear_task_name() {
3568   _impl_.task_name_.ClearToEmpty();
3569 }
task_name()3570 inline const std::string& TaskAssignment::task_name() const {
3571   // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.TaskAssignment.task_name)
3572   return _internal_task_name();
3573 }
3574 template <typename ArgT0, typename... ArgT>
3575 inline PROTOBUF_ALWAYS_INLINE
set_task_name(ArgT0 && arg0,ArgT...args)3576 void TaskAssignment::set_task_name(ArgT0&& arg0, ArgT... args) {
3577 
3578  _impl_.task_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
3579   // @@protoc_insertion_point(field_set:google.internal.federatedcompute.v1.TaskAssignment.task_name)
3580 }
mutable_task_name()3581 inline std::string* TaskAssignment::mutable_task_name() {
3582   std::string* _s = _internal_mutable_task_name();
3583   // @@protoc_insertion_point(field_mutable:google.internal.federatedcompute.v1.TaskAssignment.task_name)
3584   return _s;
3585 }
_internal_task_name()3586 inline const std::string& TaskAssignment::_internal_task_name() const {
3587   return _impl_.task_name_.Get();
3588 }
_internal_set_task_name(const std::string & value)3589 inline void TaskAssignment::_internal_set_task_name(const std::string& value) {
3590 
3591   _impl_.task_name_.Set(value, GetArenaForAllocation());
3592 }
_internal_mutable_task_name()3593 inline std::string* TaskAssignment::_internal_mutable_task_name() {
3594 
3595   return _impl_.task_name_.Mutable(GetArenaForAllocation());
3596 }
release_task_name()3597 inline std::string* TaskAssignment::release_task_name() {
3598   // @@protoc_insertion_point(field_release:google.internal.federatedcompute.v1.TaskAssignment.task_name)
3599   return _impl_.task_name_.Release();
3600 }
set_allocated_task_name(std::string * task_name)3601 inline void TaskAssignment::set_allocated_task_name(std::string* task_name) {
3602   _impl_.task_name_.SetAllocated(task_name, GetArenaForAllocation());
3603 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3604   if (_impl_.task_name_.IsDefault()) {
3605     _impl_.task_name_.Set("", GetArenaForAllocation());
3606   }
3607 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
3608   // @@protoc_insertion_point(field_set_allocated:google.internal.federatedcompute.v1.TaskAssignment.task_name)
3609 }
3610 
3611 // .google.internal.federatedcompute.v1.Resource init_checkpoint = 3;
_internal_has_init_checkpoint()3612 inline bool TaskAssignment::_internal_has_init_checkpoint() const {
3613   return this != internal_default_instance() && _impl_.init_checkpoint_ != nullptr;
3614 }
has_init_checkpoint()3615 inline bool TaskAssignment::has_init_checkpoint() const {
3616   return _internal_has_init_checkpoint();
3617 }
_internal_init_checkpoint()3618 inline const ::google::internal::federatedcompute::v1::Resource& TaskAssignment::_internal_init_checkpoint() const {
3619   const ::google::internal::federatedcompute::v1::Resource* p = _impl_.init_checkpoint_;
3620   return p != nullptr ? *p : reinterpret_cast<const ::google::internal::federatedcompute::v1::Resource&>(
3621       ::google::internal::federatedcompute::v1::_Resource_default_instance_);
3622 }
init_checkpoint()3623 inline const ::google::internal::federatedcompute::v1::Resource& TaskAssignment::init_checkpoint() const {
3624   // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.TaskAssignment.init_checkpoint)
3625   return _internal_init_checkpoint();
3626 }
unsafe_arena_set_allocated_init_checkpoint(::google::internal::federatedcompute::v1::Resource * init_checkpoint)3627 inline void TaskAssignment::unsafe_arena_set_allocated_init_checkpoint(
3628     ::google::internal::federatedcompute::v1::Resource* init_checkpoint) {
3629   if (GetArenaForAllocation() == nullptr) {
3630     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.init_checkpoint_);
3631   }
3632   _impl_.init_checkpoint_ = init_checkpoint;
3633   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.internal.federatedcompute.v1.TaskAssignment.init_checkpoint)
3634 }
release_init_checkpoint()3635 inline ::google::internal::federatedcompute::v1::Resource* TaskAssignment::release_init_checkpoint() {
3636 
3637   ::google::internal::federatedcompute::v1::Resource* temp = _impl_.init_checkpoint_;
3638   _impl_.init_checkpoint_ = nullptr;
3639 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
3640   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
3641   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
3642   if (GetArenaForAllocation() == nullptr) { delete old; }
3643 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
3644   if (GetArenaForAllocation() != nullptr) {
3645     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
3646   }
3647 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
3648   return temp;
3649 }
unsafe_arena_release_init_checkpoint()3650 inline ::google::internal::federatedcompute::v1::Resource* TaskAssignment::unsafe_arena_release_init_checkpoint() {
3651   // @@protoc_insertion_point(field_release:google.internal.federatedcompute.v1.TaskAssignment.init_checkpoint)
3652 
3653   ::google::internal::federatedcompute::v1::Resource* temp = _impl_.init_checkpoint_;
3654   _impl_.init_checkpoint_ = nullptr;
3655   return temp;
3656 }
_internal_mutable_init_checkpoint()3657 inline ::google::internal::federatedcompute::v1::Resource* TaskAssignment::_internal_mutable_init_checkpoint() {
3658 
3659   if (_impl_.init_checkpoint_ == nullptr) {
3660     auto* p = CreateMaybeMessage<::google::internal::federatedcompute::v1::Resource>(GetArenaForAllocation());
3661     _impl_.init_checkpoint_ = p;
3662   }
3663   return _impl_.init_checkpoint_;
3664 }
mutable_init_checkpoint()3665 inline ::google::internal::federatedcompute::v1::Resource* TaskAssignment::mutable_init_checkpoint() {
3666   ::google::internal::federatedcompute::v1::Resource* _msg = _internal_mutable_init_checkpoint();
3667   // @@protoc_insertion_point(field_mutable:google.internal.federatedcompute.v1.TaskAssignment.init_checkpoint)
3668   return _msg;
3669 }
set_allocated_init_checkpoint(::google::internal::federatedcompute::v1::Resource * init_checkpoint)3670 inline void TaskAssignment::set_allocated_init_checkpoint(::google::internal::federatedcompute::v1::Resource* init_checkpoint) {
3671   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
3672   if (message_arena == nullptr) {
3673     delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.init_checkpoint_);
3674   }
3675   if (init_checkpoint) {
3676     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
3677         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
3678                 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(init_checkpoint));
3679     if (message_arena != submessage_arena) {
3680       init_checkpoint = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
3681           message_arena, init_checkpoint, submessage_arena);
3682     }
3683 
3684   } else {
3685 
3686   }
3687   _impl_.init_checkpoint_ = init_checkpoint;
3688   // @@protoc_insertion_point(field_set_allocated:google.internal.federatedcompute.v1.TaskAssignment.init_checkpoint)
3689 }
3690 
3691 // .google.internal.federatedcompute.v1.Resource plan = 4;
_internal_has_plan()3692 inline bool TaskAssignment::_internal_has_plan() const {
3693   return this != internal_default_instance() && _impl_.plan_ != nullptr;
3694 }
has_plan()3695 inline bool TaskAssignment::has_plan() const {
3696   return _internal_has_plan();
3697 }
_internal_plan()3698 inline const ::google::internal::federatedcompute::v1::Resource& TaskAssignment::_internal_plan() const {
3699   const ::google::internal::federatedcompute::v1::Resource* p = _impl_.plan_;
3700   return p != nullptr ? *p : reinterpret_cast<const ::google::internal::federatedcompute::v1::Resource&>(
3701       ::google::internal::federatedcompute::v1::_Resource_default_instance_);
3702 }
plan()3703 inline const ::google::internal::federatedcompute::v1::Resource& TaskAssignment::plan() const {
3704   // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.TaskAssignment.plan)
3705   return _internal_plan();
3706 }
unsafe_arena_set_allocated_plan(::google::internal::federatedcompute::v1::Resource * plan)3707 inline void TaskAssignment::unsafe_arena_set_allocated_plan(
3708     ::google::internal::federatedcompute::v1::Resource* plan) {
3709   if (GetArenaForAllocation() == nullptr) {
3710     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.plan_);
3711   }
3712   _impl_.plan_ = plan;
3713   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.internal.federatedcompute.v1.TaskAssignment.plan)
3714 }
release_plan()3715 inline ::google::internal::federatedcompute::v1::Resource* TaskAssignment::release_plan() {
3716 
3717   ::google::internal::federatedcompute::v1::Resource* temp = _impl_.plan_;
3718   _impl_.plan_ = nullptr;
3719 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
3720   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
3721   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
3722   if (GetArenaForAllocation() == nullptr) { delete old; }
3723 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
3724   if (GetArenaForAllocation() != nullptr) {
3725     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
3726   }
3727 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
3728   return temp;
3729 }
unsafe_arena_release_plan()3730 inline ::google::internal::federatedcompute::v1::Resource* TaskAssignment::unsafe_arena_release_plan() {
3731   // @@protoc_insertion_point(field_release:google.internal.federatedcompute.v1.TaskAssignment.plan)
3732 
3733   ::google::internal::federatedcompute::v1::Resource* temp = _impl_.plan_;
3734   _impl_.plan_ = nullptr;
3735   return temp;
3736 }
_internal_mutable_plan()3737 inline ::google::internal::federatedcompute::v1::Resource* TaskAssignment::_internal_mutable_plan() {
3738 
3739   if (_impl_.plan_ == nullptr) {
3740     auto* p = CreateMaybeMessage<::google::internal::federatedcompute::v1::Resource>(GetArenaForAllocation());
3741     _impl_.plan_ = p;
3742   }
3743   return _impl_.plan_;
3744 }
mutable_plan()3745 inline ::google::internal::federatedcompute::v1::Resource* TaskAssignment::mutable_plan() {
3746   ::google::internal::federatedcompute::v1::Resource* _msg = _internal_mutable_plan();
3747   // @@protoc_insertion_point(field_mutable:google.internal.federatedcompute.v1.TaskAssignment.plan)
3748   return _msg;
3749 }
set_allocated_plan(::google::internal::federatedcompute::v1::Resource * plan)3750 inline void TaskAssignment::set_allocated_plan(::google::internal::federatedcompute::v1::Resource* plan) {
3751   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
3752   if (message_arena == nullptr) {
3753     delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.plan_);
3754   }
3755   if (plan) {
3756     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
3757         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
3758                 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(plan));
3759     if (message_arena != submessage_arena) {
3760       plan = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
3761           message_arena, plan, submessage_arena);
3762     }
3763 
3764   } else {
3765 
3766   }
3767   _impl_.plan_ = plan;
3768   // @@protoc_insertion_point(field_set_allocated:google.internal.federatedcompute.v1.TaskAssignment.plan)
3769 }
3770 
3771 // .google.internal.federatedcompute.v1.FederatedSelectUriInfo federated_select_uri_info = 8;
_internal_has_federated_select_uri_info()3772 inline bool TaskAssignment::_internal_has_federated_select_uri_info() const {
3773   return this != internal_default_instance() && _impl_.federated_select_uri_info_ != nullptr;
3774 }
has_federated_select_uri_info()3775 inline bool TaskAssignment::has_federated_select_uri_info() const {
3776   return _internal_has_federated_select_uri_info();
3777 }
clear_federated_select_uri_info()3778 inline void TaskAssignment::clear_federated_select_uri_info() {
3779   if (GetArenaForAllocation() == nullptr && _impl_.federated_select_uri_info_ != nullptr) {
3780     delete _impl_.federated_select_uri_info_;
3781   }
3782   _impl_.federated_select_uri_info_ = nullptr;
3783 }
_internal_federated_select_uri_info()3784 inline const ::google::internal::federatedcompute::v1::FederatedSelectUriInfo& TaskAssignment::_internal_federated_select_uri_info() const {
3785   const ::google::internal::federatedcompute::v1::FederatedSelectUriInfo* p = _impl_.federated_select_uri_info_;
3786   return p != nullptr ? *p : reinterpret_cast<const ::google::internal::federatedcompute::v1::FederatedSelectUriInfo&>(
3787       ::google::internal::federatedcompute::v1::_FederatedSelectUriInfo_default_instance_);
3788 }
federated_select_uri_info()3789 inline const ::google::internal::federatedcompute::v1::FederatedSelectUriInfo& TaskAssignment::federated_select_uri_info() const {
3790   // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.TaskAssignment.federated_select_uri_info)
3791   return _internal_federated_select_uri_info();
3792 }
unsafe_arena_set_allocated_federated_select_uri_info(::google::internal::federatedcompute::v1::FederatedSelectUriInfo * federated_select_uri_info)3793 inline void TaskAssignment::unsafe_arena_set_allocated_federated_select_uri_info(
3794     ::google::internal::federatedcompute::v1::FederatedSelectUriInfo* federated_select_uri_info) {
3795   if (GetArenaForAllocation() == nullptr) {
3796     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.federated_select_uri_info_);
3797   }
3798   _impl_.federated_select_uri_info_ = federated_select_uri_info;
3799   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.internal.federatedcompute.v1.TaskAssignment.federated_select_uri_info)
3800 }
release_federated_select_uri_info()3801 inline ::google::internal::federatedcompute::v1::FederatedSelectUriInfo* TaskAssignment::release_federated_select_uri_info() {
3802 
3803   ::google::internal::federatedcompute::v1::FederatedSelectUriInfo* temp = _impl_.federated_select_uri_info_;
3804   _impl_.federated_select_uri_info_ = nullptr;
3805 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
3806   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
3807   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
3808   if (GetArenaForAllocation() == nullptr) { delete old; }
3809 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
3810   if (GetArenaForAllocation() != nullptr) {
3811     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
3812   }
3813 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
3814   return temp;
3815 }
unsafe_arena_release_federated_select_uri_info()3816 inline ::google::internal::federatedcompute::v1::FederatedSelectUriInfo* TaskAssignment::unsafe_arena_release_federated_select_uri_info() {
3817   // @@protoc_insertion_point(field_release:google.internal.federatedcompute.v1.TaskAssignment.federated_select_uri_info)
3818 
3819   ::google::internal::federatedcompute::v1::FederatedSelectUriInfo* temp = _impl_.federated_select_uri_info_;
3820   _impl_.federated_select_uri_info_ = nullptr;
3821   return temp;
3822 }
_internal_mutable_federated_select_uri_info()3823 inline ::google::internal::federatedcompute::v1::FederatedSelectUriInfo* TaskAssignment::_internal_mutable_federated_select_uri_info() {
3824 
3825   if (_impl_.federated_select_uri_info_ == nullptr) {
3826     auto* p = CreateMaybeMessage<::google::internal::federatedcompute::v1::FederatedSelectUriInfo>(GetArenaForAllocation());
3827     _impl_.federated_select_uri_info_ = p;
3828   }
3829   return _impl_.federated_select_uri_info_;
3830 }
mutable_federated_select_uri_info()3831 inline ::google::internal::federatedcompute::v1::FederatedSelectUriInfo* TaskAssignment::mutable_federated_select_uri_info() {
3832   ::google::internal::federatedcompute::v1::FederatedSelectUriInfo* _msg = _internal_mutable_federated_select_uri_info();
3833   // @@protoc_insertion_point(field_mutable:google.internal.federatedcompute.v1.TaskAssignment.federated_select_uri_info)
3834   return _msg;
3835 }
set_allocated_federated_select_uri_info(::google::internal::federatedcompute::v1::FederatedSelectUriInfo * federated_select_uri_info)3836 inline void TaskAssignment::set_allocated_federated_select_uri_info(::google::internal::federatedcompute::v1::FederatedSelectUriInfo* federated_select_uri_info) {
3837   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
3838   if (message_arena == nullptr) {
3839     delete _impl_.federated_select_uri_info_;
3840   }
3841   if (federated_select_uri_info) {
3842     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
3843         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(federated_select_uri_info);
3844     if (message_arena != submessage_arena) {
3845       federated_select_uri_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
3846           message_arena, federated_select_uri_info, submessage_arena);
3847     }
3848 
3849   } else {
3850 
3851   }
3852   _impl_.federated_select_uri_info_ = federated_select_uri_info;
3853   // @@protoc_insertion_point(field_set_allocated:google.internal.federatedcompute.v1.TaskAssignment.federated_select_uri_info)
3854 }
3855 
has_aggregation_type()3856 inline bool TaskAssignment::has_aggregation_type() const {
3857   return aggregation_type_case() != AGGREGATION_TYPE_NOT_SET;
3858 }
clear_has_aggregation_type()3859 inline void TaskAssignment::clear_has_aggregation_type() {
3860   _impl_._oneof_case_[0] = AGGREGATION_TYPE_NOT_SET;
3861 }
aggregation_type_case()3862 inline TaskAssignment::AggregationTypeCase TaskAssignment::aggregation_type_case() const {
3863   return TaskAssignment::AggregationTypeCase(_impl_._oneof_case_[0]);
3864 }
3865 // -------------------------------------------------------------------
3866 
3867 // FederatedSelectUriInfo
3868 
3869 // string uri_template = 1;
clear_uri_template()3870 inline void FederatedSelectUriInfo::clear_uri_template() {
3871   _impl_.uri_template_.ClearToEmpty();
3872 }
uri_template()3873 inline const std::string& FederatedSelectUriInfo::uri_template() const {
3874   // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.FederatedSelectUriInfo.uri_template)
3875   return _internal_uri_template();
3876 }
3877 template <typename ArgT0, typename... ArgT>
3878 inline PROTOBUF_ALWAYS_INLINE
set_uri_template(ArgT0 && arg0,ArgT...args)3879 void FederatedSelectUriInfo::set_uri_template(ArgT0&& arg0, ArgT... args) {
3880 
3881  _impl_.uri_template_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
3882   // @@protoc_insertion_point(field_set:google.internal.federatedcompute.v1.FederatedSelectUriInfo.uri_template)
3883 }
mutable_uri_template()3884 inline std::string* FederatedSelectUriInfo::mutable_uri_template() {
3885   std::string* _s = _internal_mutable_uri_template();
3886   // @@protoc_insertion_point(field_mutable:google.internal.federatedcompute.v1.FederatedSelectUriInfo.uri_template)
3887   return _s;
3888 }
_internal_uri_template()3889 inline const std::string& FederatedSelectUriInfo::_internal_uri_template() const {
3890   return _impl_.uri_template_.Get();
3891 }
_internal_set_uri_template(const std::string & value)3892 inline void FederatedSelectUriInfo::_internal_set_uri_template(const std::string& value) {
3893 
3894   _impl_.uri_template_.Set(value, GetArenaForAllocation());
3895 }
_internal_mutable_uri_template()3896 inline std::string* FederatedSelectUriInfo::_internal_mutable_uri_template() {
3897 
3898   return _impl_.uri_template_.Mutable(GetArenaForAllocation());
3899 }
release_uri_template()3900 inline std::string* FederatedSelectUriInfo::release_uri_template() {
3901   // @@protoc_insertion_point(field_release:google.internal.federatedcompute.v1.FederatedSelectUriInfo.uri_template)
3902   return _impl_.uri_template_.Release();
3903 }
set_allocated_uri_template(std::string * uri_template)3904 inline void FederatedSelectUriInfo::set_allocated_uri_template(std::string* uri_template) {
3905   _impl_.uri_template_.SetAllocated(uri_template, GetArenaForAllocation());
3906 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3907   if (_impl_.uri_template_.IsDefault()) {
3908     _impl_.uri_template_.Set("", GetArenaForAllocation());
3909   }
3910 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
3911   // @@protoc_insertion_point(field_set_allocated:google.internal.federatedcompute.v1.FederatedSelectUriInfo.uri_template)
3912 }
3913 
3914 // -------------------------------------------------------------------
3915 
3916 // ReportTaskResultRequest
3917 
3918 // string population_name = 1;
clear_population_name()3919 inline void ReportTaskResultRequest::clear_population_name() {
3920   _impl_.population_name_.ClearToEmpty();
3921 }
population_name()3922 inline const std::string& ReportTaskResultRequest::population_name() const {
3923   // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.ReportTaskResultRequest.population_name)
3924   return _internal_population_name();
3925 }
3926 template <typename ArgT0, typename... ArgT>
3927 inline PROTOBUF_ALWAYS_INLINE
set_population_name(ArgT0 && arg0,ArgT...args)3928 void ReportTaskResultRequest::set_population_name(ArgT0&& arg0, ArgT... args) {
3929 
3930  _impl_.population_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
3931   // @@protoc_insertion_point(field_set:google.internal.federatedcompute.v1.ReportTaskResultRequest.population_name)
3932 }
mutable_population_name()3933 inline std::string* ReportTaskResultRequest::mutable_population_name() {
3934   std::string* _s = _internal_mutable_population_name();
3935   // @@protoc_insertion_point(field_mutable:google.internal.federatedcompute.v1.ReportTaskResultRequest.population_name)
3936   return _s;
3937 }
_internal_population_name()3938 inline const std::string& ReportTaskResultRequest::_internal_population_name() const {
3939   return _impl_.population_name_.Get();
3940 }
_internal_set_population_name(const std::string & value)3941 inline void ReportTaskResultRequest::_internal_set_population_name(const std::string& value) {
3942 
3943   _impl_.population_name_.Set(value, GetArenaForAllocation());
3944 }
_internal_mutable_population_name()3945 inline std::string* ReportTaskResultRequest::_internal_mutable_population_name() {
3946 
3947   return _impl_.population_name_.Mutable(GetArenaForAllocation());
3948 }
release_population_name()3949 inline std::string* ReportTaskResultRequest::release_population_name() {
3950   // @@protoc_insertion_point(field_release:google.internal.federatedcompute.v1.ReportTaskResultRequest.population_name)
3951   return _impl_.population_name_.Release();
3952 }
set_allocated_population_name(std::string * population_name)3953 inline void ReportTaskResultRequest::set_allocated_population_name(std::string* population_name) {
3954   _impl_.population_name_.SetAllocated(population_name, GetArenaForAllocation());
3955 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3956   if (_impl_.population_name_.IsDefault()) {
3957     _impl_.population_name_.Set("", GetArenaForAllocation());
3958   }
3959 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
3960   // @@protoc_insertion_point(field_set_allocated:google.internal.federatedcompute.v1.ReportTaskResultRequest.population_name)
3961 }
3962 
3963 // string session_id = 2;
clear_session_id()3964 inline void ReportTaskResultRequest::clear_session_id() {
3965   _impl_.session_id_.ClearToEmpty();
3966 }
session_id()3967 inline const std::string& ReportTaskResultRequest::session_id() const {
3968   // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.ReportTaskResultRequest.session_id)
3969   return _internal_session_id();
3970 }
3971 template <typename ArgT0, typename... ArgT>
3972 inline PROTOBUF_ALWAYS_INLINE
set_session_id(ArgT0 && arg0,ArgT...args)3973 void ReportTaskResultRequest::set_session_id(ArgT0&& arg0, ArgT... args) {
3974 
3975  _impl_.session_id_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
3976   // @@protoc_insertion_point(field_set:google.internal.federatedcompute.v1.ReportTaskResultRequest.session_id)
3977 }
mutable_session_id()3978 inline std::string* ReportTaskResultRequest::mutable_session_id() {
3979   std::string* _s = _internal_mutable_session_id();
3980   // @@protoc_insertion_point(field_mutable:google.internal.federatedcompute.v1.ReportTaskResultRequest.session_id)
3981   return _s;
3982 }
_internal_session_id()3983 inline const std::string& ReportTaskResultRequest::_internal_session_id() const {
3984   return _impl_.session_id_.Get();
3985 }
_internal_set_session_id(const std::string & value)3986 inline void ReportTaskResultRequest::_internal_set_session_id(const std::string& value) {
3987 
3988   _impl_.session_id_.Set(value, GetArenaForAllocation());
3989 }
_internal_mutable_session_id()3990 inline std::string* ReportTaskResultRequest::_internal_mutable_session_id() {
3991 
3992   return _impl_.session_id_.Mutable(GetArenaForAllocation());
3993 }
release_session_id()3994 inline std::string* ReportTaskResultRequest::release_session_id() {
3995   // @@protoc_insertion_point(field_release:google.internal.federatedcompute.v1.ReportTaskResultRequest.session_id)
3996   return _impl_.session_id_.Release();
3997 }
set_allocated_session_id(std::string * session_id)3998 inline void ReportTaskResultRequest::set_allocated_session_id(std::string* session_id) {
3999   _impl_.session_id_.SetAllocated(session_id, GetArenaForAllocation());
4000 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4001   if (_impl_.session_id_.IsDefault()) {
4002     _impl_.session_id_.Set("", GetArenaForAllocation());
4003   }
4004 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4005   // @@protoc_insertion_point(field_set_allocated:google.internal.federatedcompute.v1.ReportTaskResultRequest.session_id)
4006 }
4007 
4008 // string aggregation_id = 5;
clear_aggregation_id()4009 inline void ReportTaskResultRequest::clear_aggregation_id() {
4010   _impl_.aggregation_id_.ClearToEmpty();
4011 }
aggregation_id()4012 inline const std::string& ReportTaskResultRequest::aggregation_id() const {
4013   // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.ReportTaskResultRequest.aggregation_id)
4014   return _internal_aggregation_id();
4015 }
4016 template <typename ArgT0, typename... ArgT>
4017 inline PROTOBUF_ALWAYS_INLINE
set_aggregation_id(ArgT0 && arg0,ArgT...args)4018 void ReportTaskResultRequest::set_aggregation_id(ArgT0&& arg0, ArgT... args) {
4019 
4020  _impl_.aggregation_id_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
4021   // @@protoc_insertion_point(field_set:google.internal.federatedcompute.v1.ReportTaskResultRequest.aggregation_id)
4022 }
mutable_aggregation_id()4023 inline std::string* ReportTaskResultRequest::mutable_aggregation_id() {
4024   std::string* _s = _internal_mutable_aggregation_id();
4025   // @@protoc_insertion_point(field_mutable:google.internal.federatedcompute.v1.ReportTaskResultRequest.aggregation_id)
4026   return _s;
4027 }
_internal_aggregation_id()4028 inline const std::string& ReportTaskResultRequest::_internal_aggregation_id() const {
4029   return _impl_.aggregation_id_.Get();
4030 }
_internal_set_aggregation_id(const std::string & value)4031 inline void ReportTaskResultRequest::_internal_set_aggregation_id(const std::string& value) {
4032 
4033   _impl_.aggregation_id_.Set(value, GetArenaForAllocation());
4034 }
_internal_mutable_aggregation_id()4035 inline std::string* ReportTaskResultRequest::_internal_mutable_aggregation_id() {
4036 
4037   return _impl_.aggregation_id_.Mutable(GetArenaForAllocation());
4038 }
release_aggregation_id()4039 inline std::string* ReportTaskResultRequest::release_aggregation_id() {
4040   // @@protoc_insertion_point(field_release:google.internal.federatedcompute.v1.ReportTaskResultRequest.aggregation_id)
4041   return _impl_.aggregation_id_.Release();
4042 }
set_allocated_aggregation_id(std::string * aggregation_id)4043 inline void ReportTaskResultRequest::set_allocated_aggregation_id(std::string* aggregation_id) {
4044   _impl_.aggregation_id_.SetAllocated(aggregation_id, GetArenaForAllocation());
4045 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4046   if (_impl_.aggregation_id_.IsDefault()) {
4047     _impl_.aggregation_id_.Set("", GetArenaForAllocation());
4048   }
4049 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4050   // @@protoc_insertion_point(field_set_allocated:google.internal.federatedcompute.v1.ReportTaskResultRequest.aggregation_id)
4051 }
4052 
4053 // string task_name = 6;
clear_task_name()4054 inline void ReportTaskResultRequest::clear_task_name() {
4055   _impl_.task_name_.ClearToEmpty();
4056 }
task_name()4057 inline const std::string& ReportTaskResultRequest::task_name() const {
4058   // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.ReportTaskResultRequest.task_name)
4059   return _internal_task_name();
4060 }
4061 template <typename ArgT0, typename... ArgT>
4062 inline PROTOBUF_ALWAYS_INLINE
set_task_name(ArgT0 && arg0,ArgT...args)4063 void ReportTaskResultRequest::set_task_name(ArgT0&& arg0, ArgT... args) {
4064 
4065  _impl_.task_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
4066   // @@protoc_insertion_point(field_set:google.internal.federatedcompute.v1.ReportTaskResultRequest.task_name)
4067 }
mutable_task_name()4068 inline std::string* ReportTaskResultRequest::mutable_task_name() {
4069   std::string* _s = _internal_mutable_task_name();
4070   // @@protoc_insertion_point(field_mutable:google.internal.federatedcompute.v1.ReportTaskResultRequest.task_name)
4071   return _s;
4072 }
_internal_task_name()4073 inline const std::string& ReportTaskResultRequest::_internal_task_name() const {
4074   return _impl_.task_name_.Get();
4075 }
_internal_set_task_name(const std::string & value)4076 inline void ReportTaskResultRequest::_internal_set_task_name(const std::string& value) {
4077 
4078   _impl_.task_name_.Set(value, GetArenaForAllocation());
4079 }
_internal_mutable_task_name()4080 inline std::string* ReportTaskResultRequest::_internal_mutable_task_name() {
4081 
4082   return _impl_.task_name_.Mutable(GetArenaForAllocation());
4083 }
release_task_name()4084 inline std::string* ReportTaskResultRequest::release_task_name() {
4085   // @@protoc_insertion_point(field_release:google.internal.federatedcompute.v1.ReportTaskResultRequest.task_name)
4086   return _impl_.task_name_.Release();
4087 }
set_allocated_task_name(std::string * task_name)4088 inline void ReportTaskResultRequest::set_allocated_task_name(std::string* task_name) {
4089   _impl_.task_name_.SetAllocated(task_name, GetArenaForAllocation());
4090 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4091   if (_impl_.task_name_.IsDefault()) {
4092     _impl_.task_name_.Set("", GetArenaForAllocation());
4093   }
4094 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4095   // @@protoc_insertion_point(field_set_allocated:google.internal.federatedcompute.v1.ReportTaskResultRequest.task_name)
4096 }
4097 
4098 // int32 computation_status_code = 3;
clear_computation_status_code()4099 inline void ReportTaskResultRequest::clear_computation_status_code() {
4100   _impl_.computation_status_code_ = 0;
4101 }
_internal_computation_status_code()4102 inline ::int32_t ReportTaskResultRequest::_internal_computation_status_code() const {
4103   return _impl_.computation_status_code_;
4104 }
computation_status_code()4105 inline ::int32_t ReportTaskResultRequest::computation_status_code() const {
4106   // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.ReportTaskResultRequest.computation_status_code)
4107   return _internal_computation_status_code();
4108 }
_internal_set_computation_status_code(::int32_t value)4109 inline void ReportTaskResultRequest::_internal_set_computation_status_code(::int32_t value) {
4110 
4111   _impl_.computation_status_code_ = value;
4112 }
set_computation_status_code(::int32_t value)4113 inline void ReportTaskResultRequest::set_computation_status_code(::int32_t value) {
4114   _internal_set_computation_status_code(value);
4115   // @@protoc_insertion_point(field_set:google.internal.federatedcompute.v1.ReportTaskResultRequest.computation_status_code)
4116 }
4117 
4118 // .google.internal.federatedcompute.v1.ClientStats client_stats = 4;
_internal_has_client_stats()4119 inline bool ReportTaskResultRequest::_internal_has_client_stats() const {
4120   return this != internal_default_instance() && _impl_.client_stats_ != nullptr;
4121 }
has_client_stats()4122 inline bool ReportTaskResultRequest::has_client_stats() const {
4123   return _internal_has_client_stats();
4124 }
clear_client_stats()4125 inline void ReportTaskResultRequest::clear_client_stats() {
4126   if (GetArenaForAllocation() == nullptr && _impl_.client_stats_ != nullptr) {
4127     delete _impl_.client_stats_;
4128   }
4129   _impl_.client_stats_ = nullptr;
4130 }
_internal_client_stats()4131 inline const ::google::internal::federatedcompute::v1::ClientStats& ReportTaskResultRequest::_internal_client_stats() const {
4132   const ::google::internal::federatedcompute::v1::ClientStats* p = _impl_.client_stats_;
4133   return p != nullptr ? *p : reinterpret_cast<const ::google::internal::federatedcompute::v1::ClientStats&>(
4134       ::google::internal::federatedcompute::v1::_ClientStats_default_instance_);
4135 }
client_stats()4136 inline const ::google::internal::federatedcompute::v1::ClientStats& ReportTaskResultRequest::client_stats() const {
4137   // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.ReportTaskResultRequest.client_stats)
4138   return _internal_client_stats();
4139 }
unsafe_arena_set_allocated_client_stats(::google::internal::federatedcompute::v1::ClientStats * client_stats)4140 inline void ReportTaskResultRequest::unsafe_arena_set_allocated_client_stats(
4141     ::google::internal::federatedcompute::v1::ClientStats* client_stats) {
4142   if (GetArenaForAllocation() == nullptr) {
4143     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.client_stats_);
4144   }
4145   _impl_.client_stats_ = client_stats;
4146   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.internal.federatedcompute.v1.ReportTaskResultRequest.client_stats)
4147 }
release_client_stats()4148 inline ::google::internal::federatedcompute::v1::ClientStats* ReportTaskResultRequest::release_client_stats() {
4149 
4150   ::google::internal::federatedcompute::v1::ClientStats* temp = _impl_.client_stats_;
4151   _impl_.client_stats_ = nullptr;
4152 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
4153   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
4154   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
4155   if (GetArenaForAllocation() == nullptr) { delete old; }
4156 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
4157   if (GetArenaForAllocation() != nullptr) {
4158     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
4159   }
4160 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
4161   return temp;
4162 }
unsafe_arena_release_client_stats()4163 inline ::google::internal::federatedcompute::v1::ClientStats* ReportTaskResultRequest::unsafe_arena_release_client_stats() {
4164   // @@protoc_insertion_point(field_release:google.internal.federatedcompute.v1.ReportTaskResultRequest.client_stats)
4165 
4166   ::google::internal::federatedcompute::v1::ClientStats* temp = _impl_.client_stats_;
4167   _impl_.client_stats_ = nullptr;
4168   return temp;
4169 }
_internal_mutable_client_stats()4170 inline ::google::internal::federatedcompute::v1::ClientStats* ReportTaskResultRequest::_internal_mutable_client_stats() {
4171 
4172   if (_impl_.client_stats_ == nullptr) {
4173     auto* p = CreateMaybeMessage<::google::internal::federatedcompute::v1::ClientStats>(GetArenaForAllocation());
4174     _impl_.client_stats_ = p;
4175   }
4176   return _impl_.client_stats_;
4177 }
mutable_client_stats()4178 inline ::google::internal::federatedcompute::v1::ClientStats* ReportTaskResultRequest::mutable_client_stats() {
4179   ::google::internal::federatedcompute::v1::ClientStats* _msg = _internal_mutable_client_stats();
4180   // @@protoc_insertion_point(field_mutable:google.internal.federatedcompute.v1.ReportTaskResultRequest.client_stats)
4181   return _msg;
4182 }
set_allocated_client_stats(::google::internal::federatedcompute::v1::ClientStats * client_stats)4183 inline void ReportTaskResultRequest::set_allocated_client_stats(::google::internal::federatedcompute::v1::ClientStats* client_stats) {
4184   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
4185   if (message_arena == nullptr) {
4186     delete _impl_.client_stats_;
4187   }
4188   if (client_stats) {
4189     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
4190         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(client_stats);
4191     if (message_arena != submessage_arena) {
4192       client_stats = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
4193           message_arena, client_stats, submessage_arena);
4194     }
4195 
4196   } else {
4197 
4198   }
4199   _impl_.client_stats_ = client_stats;
4200   // @@protoc_insertion_point(field_set_allocated:google.internal.federatedcompute.v1.ReportTaskResultRequest.client_stats)
4201 }
4202 
4203 // -------------------------------------------------------------------
4204 
4205 // ClientStats
4206 
4207 // .google.protobuf.Duration computation_execution_duration = 1;
_internal_has_computation_execution_duration()4208 inline bool ClientStats::_internal_has_computation_execution_duration() const {
4209   return this != internal_default_instance() && _impl_.computation_execution_duration_ != nullptr;
4210 }
has_computation_execution_duration()4211 inline bool ClientStats::has_computation_execution_duration() const {
4212   return _internal_has_computation_execution_duration();
4213 }
_internal_computation_execution_duration()4214 inline const ::PROTOBUF_NAMESPACE_ID::Duration& ClientStats::_internal_computation_execution_duration() const {
4215   const ::PROTOBUF_NAMESPACE_ID::Duration* p = _impl_.computation_execution_duration_;
4216   return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Duration&>(
4217       ::PROTOBUF_NAMESPACE_ID::_Duration_default_instance_);
4218 }
computation_execution_duration()4219 inline const ::PROTOBUF_NAMESPACE_ID::Duration& ClientStats::computation_execution_duration() const {
4220   // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.ClientStats.computation_execution_duration)
4221   return _internal_computation_execution_duration();
4222 }
unsafe_arena_set_allocated_computation_execution_duration(::PROTOBUF_NAMESPACE_ID::Duration * computation_execution_duration)4223 inline void ClientStats::unsafe_arena_set_allocated_computation_execution_duration(
4224     ::PROTOBUF_NAMESPACE_ID::Duration* computation_execution_duration) {
4225   if (GetArenaForAllocation() == nullptr) {
4226     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.computation_execution_duration_);
4227   }
4228   _impl_.computation_execution_duration_ = computation_execution_duration;
4229   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.internal.federatedcompute.v1.ClientStats.computation_execution_duration)
4230 }
release_computation_execution_duration()4231 inline ::PROTOBUF_NAMESPACE_ID::Duration* ClientStats::release_computation_execution_duration() {
4232 
4233   ::PROTOBUF_NAMESPACE_ID::Duration* temp = _impl_.computation_execution_duration_;
4234   _impl_.computation_execution_duration_ = nullptr;
4235 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
4236   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
4237   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
4238   if (GetArenaForAllocation() == nullptr) { delete old; }
4239 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
4240   if (GetArenaForAllocation() != nullptr) {
4241     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
4242   }
4243 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
4244   return temp;
4245 }
unsafe_arena_release_computation_execution_duration()4246 inline ::PROTOBUF_NAMESPACE_ID::Duration* ClientStats::unsafe_arena_release_computation_execution_duration() {
4247   // @@protoc_insertion_point(field_release:google.internal.federatedcompute.v1.ClientStats.computation_execution_duration)
4248 
4249   ::PROTOBUF_NAMESPACE_ID::Duration* temp = _impl_.computation_execution_duration_;
4250   _impl_.computation_execution_duration_ = nullptr;
4251   return temp;
4252 }
_internal_mutable_computation_execution_duration()4253 inline ::PROTOBUF_NAMESPACE_ID::Duration* ClientStats::_internal_mutable_computation_execution_duration() {
4254 
4255   if (_impl_.computation_execution_duration_ == nullptr) {
4256     auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::Duration>(GetArenaForAllocation());
4257     _impl_.computation_execution_duration_ = p;
4258   }
4259   return _impl_.computation_execution_duration_;
4260 }
mutable_computation_execution_duration()4261 inline ::PROTOBUF_NAMESPACE_ID::Duration* ClientStats::mutable_computation_execution_duration() {
4262   ::PROTOBUF_NAMESPACE_ID::Duration* _msg = _internal_mutable_computation_execution_duration();
4263   // @@protoc_insertion_point(field_mutable:google.internal.federatedcompute.v1.ClientStats.computation_execution_duration)
4264   return _msg;
4265 }
set_allocated_computation_execution_duration(::PROTOBUF_NAMESPACE_ID::Duration * computation_execution_duration)4266 inline void ClientStats::set_allocated_computation_execution_duration(::PROTOBUF_NAMESPACE_ID::Duration* computation_execution_duration) {
4267   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
4268   if (message_arena == nullptr) {
4269     delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.computation_execution_duration_);
4270   }
4271   if (computation_execution_duration) {
4272     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
4273         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
4274                 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(computation_execution_duration));
4275     if (message_arena != submessage_arena) {
4276       computation_execution_duration = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
4277           message_arena, computation_execution_duration, submessage_arena);
4278     }
4279 
4280   } else {
4281 
4282   }
4283   _impl_.computation_execution_duration_ = computation_execution_duration;
4284   // @@protoc_insertion_point(field_set_allocated:google.internal.federatedcompute.v1.ClientStats.computation_execution_duration)
4285 }
4286 
4287 // -------------------------------------------------------------------
4288 
4289 // ReportTaskResultResponse
4290 
4291 #ifdef __GNUC__
4292   #pragma GCC diagnostic pop
4293 #endif  // __GNUC__
4294 // -------------------------------------------------------------------
4295 
4296 // -------------------------------------------------------------------
4297 
4298 // -------------------------------------------------------------------
4299 
4300 // -------------------------------------------------------------------
4301 
4302 // -------------------------------------------------------------------
4303 
4304 // -------------------------------------------------------------------
4305 
4306 // -------------------------------------------------------------------
4307 
4308 // -------------------------------------------------------------------
4309 
4310 // -------------------------------------------------------------------
4311 
4312 // -------------------------------------------------------------------
4313 
4314 // -------------------------------------------------------------------
4315 
4316 
4317 // @@protoc_insertion_point(namespace_scope)
4318 
4319 }  // namespace v1
4320 }  // namespace federatedcompute
4321 }  // namespace internal
4322 }  // namespace google
4323 
4324 // @@protoc_insertion_point(global_scope)
4325 
4326 #include <google/protobuf/port_undef.inc>
4327 #endif  // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_fcp_2fprotos_2ffederatedcompute_2ftask_5fassignments_2eproto
4328