1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: fcp/protos/federatedcompute/eligibility_eval_tasks.proto
3
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_fcp_2fprotos_2ffederatedcompute_2feligibility_5feval_5ftasks_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_fcp_2fprotos_2ffederatedcompute_2feligibility_5feval_5ftasks_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/generated_enum_util.h>
33 #include "fcp/protos/federatedcompute/common.pb.h"
34 // @@protoc_insertion_point(includes)
35 #include <google/protobuf/port_def.inc>
36 #define PROTOBUF_INTERNAL_EXPORT_fcp_2fprotos_2ffederatedcompute_2feligibility_5feval_5ftasks_2eproto
37 PROTOBUF_NAMESPACE_OPEN
38 namespace internal {
39 class AnyMetadata;
40 } // namespace internal
41 PROTOBUF_NAMESPACE_CLOSE
42
43 // Internal implementation detail -- do not use these members.
44 struct TableStruct_fcp_2fprotos_2ffederatedcompute_2feligibility_5feval_5ftasks_2eproto {
45 static const ::uint32_t offsets[];
46 };
47 namespace google {
48 namespace internal {
49 namespace federatedcompute {
50 namespace v1 {
51 class EligibilityEvalTask;
52 struct EligibilityEvalTaskDefaultTypeInternal;
53 extern EligibilityEvalTaskDefaultTypeInternal _EligibilityEvalTask_default_instance_;
54 class EligibilityEvalTaskCapabilities;
55 struct EligibilityEvalTaskCapabilitiesDefaultTypeInternal;
56 extern EligibilityEvalTaskCapabilitiesDefaultTypeInternal _EligibilityEvalTaskCapabilities_default_instance_;
57 class EligibilityEvalTaskRequest;
58 struct EligibilityEvalTaskRequestDefaultTypeInternal;
59 extern EligibilityEvalTaskRequestDefaultTypeInternal _EligibilityEvalTaskRequest_default_instance_;
60 class EligibilityEvalTaskResponse;
61 struct EligibilityEvalTaskResponseDefaultTypeInternal;
62 extern EligibilityEvalTaskResponseDefaultTypeInternal _EligibilityEvalTaskResponse_default_instance_;
63 class NoEligibilityEvalConfigured;
64 struct NoEligibilityEvalConfiguredDefaultTypeInternal;
65 extern NoEligibilityEvalConfiguredDefaultTypeInternal _NoEligibilityEvalConfigured_default_instance_;
66 class PopulationEligibilitySpec;
67 struct PopulationEligibilitySpecDefaultTypeInternal;
68 extern PopulationEligibilitySpecDefaultTypeInternal _PopulationEligibilitySpec_default_instance_;
69 class PopulationEligibilitySpec_TaskInfo;
70 struct PopulationEligibilitySpec_TaskInfoDefaultTypeInternal;
71 extern PopulationEligibilitySpec_TaskInfoDefaultTypeInternal _PopulationEligibilitySpec_TaskInfo_default_instance_;
72 class ReportEligibilityEvalTaskResultRequest;
73 struct ReportEligibilityEvalTaskResultRequestDefaultTypeInternal;
74 extern ReportEligibilityEvalTaskResultRequestDefaultTypeInternal _ReportEligibilityEvalTaskResultRequest_default_instance_;
75 class ReportEligibilityEvalTaskResultResponse;
76 struct ReportEligibilityEvalTaskResultResponseDefaultTypeInternal;
77 extern ReportEligibilityEvalTaskResultResponseDefaultTypeInternal _ReportEligibilityEvalTaskResultResponse_default_instance_;
78 } // namespace v1
79 } // namespace federatedcompute
80 } // namespace internal
81 } // namespace google
82 PROTOBUF_NAMESPACE_OPEN
83 template<> ::google::internal::federatedcompute::v1::EligibilityEvalTask* Arena::CreateMaybeMessage<::google::internal::federatedcompute::v1::EligibilityEvalTask>(Arena*);
84 template<> ::google::internal::federatedcompute::v1::EligibilityEvalTaskCapabilities* Arena::CreateMaybeMessage<::google::internal::federatedcompute::v1::EligibilityEvalTaskCapabilities>(Arena*);
85 template<> ::google::internal::federatedcompute::v1::EligibilityEvalTaskRequest* Arena::CreateMaybeMessage<::google::internal::federatedcompute::v1::EligibilityEvalTaskRequest>(Arena*);
86 template<> ::google::internal::federatedcompute::v1::EligibilityEvalTaskResponse* Arena::CreateMaybeMessage<::google::internal::federatedcompute::v1::EligibilityEvalTaskResponse>(Arena*);
87 template<> ::google::internal::federatedcompute::v1::NoEligibilityEvalConfigured* Arena::CreateMaybeMessage<::google::internal::federatedcompute::v1::NoEligibilityEvalConfigured>(Arena*);
88 template<> ::google::internal::federatedcompute::v1::PopulationEligibilitySpec* Arena::CreateMaybeMessage<::google::internal::federatedcompute::v1::PopulationEligibilitySpec>(Arena*);
89 template<> ::google::internal::federatedcompute::v1::PopulationEligibilitySpec_TaskInfo* Arena::CreateMaybeMessage<::google::internal::federatedcompute::v1::PopulationEligibilitySpec_TaskInfo>(Arena*);
90 template<> ::google::internal::federatedcompute::v1::ReportEligibilityEvalTaskResultRequest* Arena::CreateMaybeMessage<::google::internal::federatedcompute::v1::ReportEligibilityEvalTaskResultRequest>(Arena*);
91 template<> ::google::internal::federatedcompute::v1::ReportEligibilityEvalTaskResultResponse* Arena::CreateMaybeMessage<::google::internal::federatedcompute::v1::ReportEligibilityEvalTaskResultResponse>(Arena*);
92 PROTOBUF_NAMESPACE_CLOSE
93 namespace google {
94 namespace internal {
95 namespace federatedcompute {
96 namespace v1 {
97
98 enum PopulationEligibilitySpec_TaskInfo_TaskAssignmentMode : int {
99 PopulationEligibilitySpec_TaskInfo_TaskAssignmentMode_TASK_ASSIGNMENT_MODE_UNSPECIFIED = 0,
100 PopulationEligibilitySpec_TaskInfo_TaskAssignmentMode_TASK_ASSIGNMENT_MODE_SINGLE = 1,
101 PopulationEligibilitySpec_TaskInfo_TaskAssignmentMode_TASK_ASSIGNMENT_MODE_MULTIPLE = 2,
102 PopulationEligibilitySpec_TaskInfo_TaskAssignmentMode_PopulationEligibilitySpec_TaskInfo_TaskAssignmentMode_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::int32_t>::min(),
103 PopulationEligibilitySpec_TaskInfo_TaskAssignmentMode_PopulationEligibilitySpec_TaskInfo_TaskAssignmentMode_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::int32_t>::max()
104 };
105 bool PopulationEligibilitySpec_TaskInfo_TaskAssignmentMode_IsValid(int value);
106 constexpr PopulationEligibilitySpec_TaskInfo_TaskAssignmentMode PopulationEligibilitySpec_TaskInfo_TaskAssignmentMode_TaskAssignmentMode_MIN = PopulationEligibilitySpec_TaskInfo_TaskAssignmentMode_TASK_ASSIGNMENT_MODE_UNSPECIFIED;
107 constexpr PopulationEligibilitySpec_TaskInfo_TaskAssignmentMode PopulationEligibilitySpec_TaskInfo_TaskAssignmentMode_TaskAssignmentMode_MAX = PopulationEligibilitySpec_TaskInfo_TaskAssignmentMode_TASK_ASSIGNMENT_MODE_MULTIPLE;
108 constexpr int PopulationEligibilitySpec_TaskInfo_TaskAssignmentMode_TaskAssignmentMode_ARRAYSIZE = PopulationEligibilitySpec_TaskInfo_TaskAssignmentMode_TaskAssignmentMode_MAX + 1;
109
110 const std::string& PopulationEligibilitySpec_TaskInfo_TaskAssignmentMode_Name(PopulationEligibilitySpec_TaskInfo_TaskAssignmentMode value);
111 template<typename T>
PopulationEligibilitySpec_TaskInfo_TaskAssignmentMode_Name(T enum_t_value)112 inline const std::string& PopulationEligibilitySpec_TaskInfo_TaskAssignmentMode_Name(T enum_t_value) {
113 static_assert(::std::is_same<T, PopulationEligibilitySpec_TaskInfo_TaskAssignmentMode>::value ||
114 ::std::is_integral<T>::value,
115 "Incorrect type passed to function PopulationEligibilitySpec_TaskInfo_TaskAssignmentMode_Name.");
116 return PopulationEligibilitySpec_TaskInfo_TaskAssignmentMode_Name(static_cast<PopulationEligibilitySpec_TaskInfo_TaskAssignmentMode>(enum_t_value));
117 }
118 bool PopulationEligibilitySpec_TaskInfo_TaskAssignmentMode_Parse(
119 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PopulationEligibilitySpec_TaskInfo_TaskAssignmentMode* value);
120 // ===================================================================
121
122 class EligibilityEvalTaskRequest final :
123 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedcompute.v1.EligibilityEvalTaskRequest) */ {
124 public:
EligibilityEvalTaskRequest()125 inline EligibilityEvalTaskRequest() : EligibilityEvalTaskRequest(nullptr) {}
126 ~EligibilityEvalTaskRequest() override;
127 explicit PROTOBUF_CONSTEXPR EligibilityEvalTaskRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
128
129 EligibilityEvalTaskRequest(const EligibilityEvalTaskRequest& from);
EligibilityEvalTaskRequest(EligibilityEvalTaskRequest && from)130 EligibilityEvalTaskRequest(EligibilityEvalTaskRequest&& from) noexcept
131 : EligibilityEvalTaskRequest() {
132 *this = ::std::move(from);
133 }
134
135 inline EligibilityEvalTaskRequest& operator=(const EligibilityEvalTaskRequest& from) {
136 if (this == &from) return *this;
137 CopyFrom(from);
138 return *this;
139 }
140 inline EligibilityEvalTaskRequest& operator=(EligibilityEvalTaskRequest&& from) noexcept {
141 if (this == &from) return *this;
142 if (GetOwningArena() == from.GetOwningArena()
143 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
144 && GetOwningArena() != nullptr
145 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
146 ) {
147 InternalSwap(&from);
148 } else {
149 CopyFrom(from);
150 }
151 return *this;
152 }
153
default_instance()154 static const EligibilityEvalTaskRequest& default_instance() {
155 return *internal_default_instance();
156 }
internal_default_instance()157 static inline const EligibilityEvalTaskRequest* internal_default_instance() {
158 return reinterpret_cast<const EligibilityEvalTaskRequest*>(
159 &_EligibilityEvalTaskRequest_default_instance_);
160 }
161 static constexpr int kIndexInFileMessages =
162 0;
163
swap(EligibilityEvalTaskRequest & a,EligibilityEvalTaskRequest & b)164 friend void swap(EligibilityEvalTaskRequest& a, EligibilityEvalTaskRequest& b) {
165 a.Swap(&b);
166 }
Swap(EligibilityEvalTaskRequest * other)167 inline void Swap(EligibilityEvalTaskRequest* other) {
168 if (other == this) return;
169 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
170 if (GetOwningArena() != nullptr &&
171 GetOwningArena() == other->GetOwningArena()) {
172 #else // PROTOBUF_FORCE_COPY_IN_SWAP
173 if (GetOwningArena() == other->GetOwningArena()) {
174 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
175 InternalSwap(other);
176 } else {
177 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
178 }
179 }
180 void UnsafeArenaSwap(EligibilityEvalTaskRequest* other) {
181 if (other == this) return;
182 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
183 InternalSwap(other);
184 }
185
186 // implements Message ----------------------------------------------
187
188 EligibilityEvalTaskRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
189 return CreateMaybeMessage<EligibilityEvalTaskRequest>(arena);
190 }
191 EligibilityEvalTaskRequest* New() const {
192 return New(nullptr);
193 }
194 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
195 void CopyFrom(const EligibilityEvalTaskRequest& from);
196 void MergeFrom(const EligibilityEvalTaskRequest& from);
197 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
198 bool IsInitialized() const final;
199
200 size_t ByteSizeLong() const final;
201 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
202 ::uint8_t* _InternalSerialize(
203 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
204 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
205
206 private:
207 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
208 void SharedDtor();
209 void SetCachedSize(int size) const;
210 void InternalSwap(EligibilityEvalTaskRequest* other);
211
212 private:
213 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
214 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
215 return "google.internal.federatedcompute.v1.EligibilityEvalTaskRequest";
216 }
217 protected:
218 explicit EligibilityEvalTaskRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena,
219 bool is_message_owned = false);
220 public:
221
222 std::string GetTypeName() const final;
223
224 // nested types ----------------------------------------------------
225
226 // accessors -------------------------------------------------------
227
228 enum : int {
229 kPopulationNameFieldNumber = 1,
230 kAttestationMeasurementFieldNumber = 2,
231 kClientVersionFieldNumber = 3,
232 kResourceCapabilitiesFieldNumber = 4,
233 kEligibilityEvalTaskCapabilitiesFieldNumber = 5,
234 };
235 // string population_name = 1;
236 void clear_population_name();
237 const std::string& population_name() const;
238 template <typename ArgT0 = const std::string&, typename... ArgT>
239 void set_population_name(ArgT0&& arg0, ArgT... args);
240 std::string* mutable_population_name();
241 PROTOBUF_NODISCARD std::string* release_population_name();
242 void set_allocated_population_name(std::string* population_name);
243 private:
244 const std::string& _internal_population_name() const;
245 inline PROTOBUF_ALWAYS_INLINE void _internal_set_population_name(const std::string& value);
246 std::string* _internal_mutable_population_name();
247 public:
248
249 // .google.internal.federatedcompute.v1.AttestationMeasurement attestation_measurement = 2;
250 bool has_attestation_measurement() const;
251 private:
252 bool _internal_has_attestation_measurement() const;
253 public:
254 void clear_attestation_measurement();
255 const ::google::internal::federatedcompute::v1::AttestationMeasurement& attestation_measurement() const;
256 PROTOBUF_NODISCARD ::google::internal::federatedcompute::v1::AttestationMeasurement* release_attestation_measurement();
257 ::google::internal::federatedcompute::v1::AttestationMeasurement* mutable_attestation_measurement();
258 void set_allocated_attestation_measurement(::google::internal::federatedcompute::v1::AttestationMeasurement* attestation_measurement);
259 private:
260 const ::google::internal::federatedcompute::v1::AttestationMeasurement& _internal_attestation_measurement() const;
261 ::google::internal::federatedcompute::v1::AttestationMeasurement* _internal_mutable_attestation_measurement();
262 public:
263 void unsafe_arena_set_allocated_attestation_measurement(
264 ::google::internal::federatedcompute::v1::AttestationMeasurement* attestation_measurement);
265 ::google::internal::federatedcompute::v1::AttestationMeasurement* unsafe_arena_release_attestation_measurement();
266
267 // .google.internal.federatedcompute.v1.ClientVersion client_version = 3;
268 bool has_client_version() const;
269 private:
270 bool _internal_has_client_version() const;
271 public:
272 void clear_client_version();
273 const ::google::internal::federatedcompute::v1::ClientVersion& client_version() const;
274 PROTOBUF_NODISCARD ::google::internal::federatedcompute::v1::ClientVersion* release_client_version();
275 ::google::internal::federatedcompute::v1::ClientVersion* mutable_client_version();
276 void set_allocated_client_version(::google::internal::federatedcompute::v1::ClientVersion* client_version);
277 private:
278 const ::google::internal::federatedcompute::v1::ClientVersion& _internal_client_version() const;
279 ::google::internal::federatedcompute::v1::ClientVersion* _internal_mutable_client_version();
280 public:
281 void unsafe_arena_set_allocated_client_version(
282 ::google::internal::federatedcompute::v1::ClientVersion* client_version);
283 ::google::internal::federatedcompute::v1::ClientVersion* unsafe_arena_release_client_version();
284
285 // .google.internal.federatedcompute.v1.ResourceCapabilities resource_capabilities = 4;
286 bool has_resource_capabilities() const;
287 private:
288 bool _internal_has_resource_capabilities() const;
289 public:
290 void clear_resource_capabilities();
291 const ::google::internal::federatedcompute::v1::ResourceCapabilities& resource_capabilities() const;
292 PROTOBUF_NODISCARD ::google::internal::federatedcompute::v1::ResourceCapabilities* release_resource_capabilities();
293 ::google::internal::federatedcompute::v1::ResourceCapabilities* mutable_resource_capabilities();
294 void set_allocated_resource_capabilities(::google::internal::federatedcompute::v1::ResourceCapabilities* resource_capabilities);
295 private:
296 const ::google::internal::federatedcompute::v1::ResourceCapabilities& _internal_resource_capabilities() const;
297 ::google::internal::federatedcompute::v1::ResourceCapabilities* _internal_mutable_resource_capabilities();
298 public:
299 void unsafe_arena_set_allocated_resource_capabilities(
300 ::google::internal::federatedcompute::v1::ResourceCapabilities* resource_capabilities);
301 ::google::internal::federatedcompute::v1::ResourceCapabilities* unsafe_arena_release_resource_capabilities();
302
303 // .google.internal.federatedcompute.v1.EligibilityEvalTaskCapabilities eligibility_eval_task_capabilities = 5;
304 bool has_eligibility_eval_task_capabilities() const;
305 private:
306 bool _internal_has_eligibility_eval_task_capabilities() const;
307 public:
308 void clear_eligibility_eval_task_capabilities();
309 const ::google::internal::federatedcompute::v1::EligibilityEvalTaskCapabilities& eligibility_eval_task_capabilities() const;
310 PROTOBUF_NODISCARD ::google::internal::federatedcompute::v1::EligibilityEvalTaskCapabilities* release_eligibility_eval_task_capabilities();
311 ::google::internal::federatedcompute::v1::EligibilityEvalTaskCapabilities* mutable_eligibility_eval_task_capabilities();
312 void set_allocated_eligibility_eval_task_capabilities(::google::internal::federatedcompute::v1::EligibilityEvalTaskCapabilities* eligibility_eval_task_capabilities);
313 private:
314 const ::google::internal::federatedcompute::v1::EligibilityEvalTaskCapabilities& _internal_eligibility_eval_task_capabilities() const;
315 ::google::internal::federatedcompute::v1::EligibilityEvalTaskCapabilities* _internal_mutable_eligibility_eval_task_capabilities();
316 public:
317 void unsafe_arena_set_allocated_eligibility_eval_task_capabilities(
318 ::google::internal::federatedcompute::v1::EligibilityEvalTaskCapabilities* eligibility_eval_task_capabilities);
319 ::google::internal::federatedcompute::v1::EligibilityEvalTaskCapabilities* unsafe_arena_release_eligibility_eval_task_capabilities();
320
321 // @@protoc_insertion_point(class_scope:google.internal.federatedcompute.v1.EligibilityEvalTaskRequest)
322 private:
323 class _Internal;
324
325 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
326 typedef void InternalArenaConstructable_;
327 typedef void DestructorSkippable_;
328 struct Impl_ {
329 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr population_name_;
330 ::google::internal::federatedcompute::v1::AttestationMeasurement* attestation_measurement_;
331 ::google::internal::federatedcompute::v1::ClientVersion* client_version_;
332 ::google::internal::federatedcompute::v1::ResourceCapabilities* resource_capabilities_;
333 ::google::internal::federatedcompute::v1::EligibilityEvalTaskCapabilities* eligibility_eval_task_capabilities_;
334 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
335 };
336 union { Impl_ _impl_; };
337 friend struct ::TableStruct_fcp_2fprotos_2ffederatedcompute_2feligibility_5feval_5ftasks_2eproto;
338 };
339 // -------------------------------------------------------------------
340
341 class EligibilityEvalTaskCapabilities final :
342 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedcompute.v1.EligibilityEvalTaskCapabilities) */ {
343 public:
EligibilityEvalTaskCapabilities()344 inline EligibilityEvalTaskCapabilities() : EligibilityEvalTaskCapabilities(nullptr) {}
345 ~EligibilityEvalTaskCapabilities() override;
346 explicit PROTOBUF_CONSTEXPR EligibilityEvalTaskCapabilities(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
347
348 EligibilityEvalTaskCapabilities(const EligibilityEvalTaskCapabilities& from);
EligibilityEvalTaskCapabilities(EligibilityEvalTaskCapabilities && from)349 EligibilityEvalTaskCapabilities(EligibilityEvalTaskCapabilities&& from) noexcept
350 : EligibilityEvalTaskCapabilities() {
351 *this = ::std::move(from);
352 }
353
354 inline EligibilityEvalTaskCapabilities& operator=(const EligibilityEvalTaskCapabilities& from) {
355 if (this == &from) return *this;
356 CopyFrom(from);
357 return *this;
358 }
359 inline EligibilityEvalTaskCapabilities& operator=(EligibilityEvalTaskCapabilities&& from) noexcept {
360 if (this == &from) return *this;
361 if (GetOwningArena() == from.GetOwningArena()
362 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
363 && GetOwningArena() != nullptr
364 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
365 ) {
366 InternalSwap(&from);
367 } else {
368 CopyFrom(from);
369 }
370 return *this;
371 }
372
default_instance()373 static const EligibilityEvalTaskCapabilities& default_instance() {
374 return *internal_default_instance();
375 }
internal_default_instance()376 static inline const EligibilityEvalTaskCapabilities* internal_default_instance() {
377 return reinterpret_cast<const EligibilityEvalTaskCapabilities*>(
378 &_EligibilityEvalTaskCapabilities_default_instance_);
379 }
380 static constexpr int kIndexInFileMessages =
381 1;
382
swap(EligibilityEvalTaskCapabilities & a,EligibilityEvalTaskCapabilities & b)383 friend void swap(EligibilityEvalTaskCapabilities& a, EligibilityEvalTaskCapabilities& b) {
384 a.Swap(&b);
385 }
Swap(EligibilityEvalTaskCapabilities * other)386 inline void Swap(EligibilityEvalTaskCapabilities* other) {
387 if (other == this) return;
388 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
389 if (GetOwningArena() != nullptr &&
390 GetOwningArena() == other->GetOwningArena()) {
391 #else // PROTOBUF_FORCE_COPY_IN_SWAP
392 if (GetOwningArena() == other->GetOwningArena()) {
393 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
394 InternalSwap(other);
395 } else {
396 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
397 }
398 }
399 void UnsafeArenaSwap(EligibilityEvalTaskCapabilities* other) {
400 if (other == this) return;
401 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
402 InternalSwap(other);
403 }
404
405 // implements Message ----------------------------------------------
406
407 EligibilityEvalTaskCapabilities* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
408 return CreateMaybeMessage<EligibilityEvalTaskCapabilities>(arena);
409 }
410 EligibilityEvalTaskCapabilities* New() const {
411 return New(nullptr);
412 }
413 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
414 void CopyFrom(const EligibilityEvalTaskCapabilities& from);
415 void MergeFrom(const EligibilityEvalTaskCapabilities& from);
416 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
417 bool IsInitialized() const final;
418
419 size_t ByteSizeLong() const final;
420 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
421 ::uint8_t* _InternalSerialize(
422 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
423 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
424
425 private:
426 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
427 void SharedDtor();
428 void SetCachedSize(int size) const;
429 void InternalSwap(EligibilityEvalTaskCapabilities* other);
430
431 private:
432 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
433 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
434 return "google.internal.federatedcompute.v1.EligibilityEvalTaskCapabilities";
435 }
436 protected:
437 explicit EligibilityEvalTaskCapabilities(::PROTOBUF_NAMESPACE_ID::Arena* arena,
438 bool is_message_owned = false);
439 public:
440
441 std::string GetTypeName() const final;
442
443 // nested types ----------------------------------------------------
444
445 // accessors -------------------------------------------------------
446
447 enum : int {
448 kSupportsMultipleTaskAssignmentFieldNumber = 1,
449 };
450 // bool supports_multiple_task_assignment = 1;
451 void clear_supports_multiple_task_assignment();
452 bool supports_multiple_task_assignment() const;
453 void set_supports_multiple_task_assignment(bool value);
454 private:
455 bool _internal_supports_multiple_task_assignment() const;
456 void _internal_set_supports_multiple_task_assignment(bool value);
457 public:
458
459 // @@protoc_insertion_point(class_scope:google.internal.federatedcompute.v1.EligibilityEvalTaskCapabilities)
460 private:
461 class _Internal;
462
463 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
464 typedef void InternalArenaConstructable_;
465 typedef void DestructorSkippable_;
466 struct Impl_ {
467 bool supports_multiple_task_assignment_;
468 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
469 };
470 union { Impl_ _impl_; };
471 friend struct ::TableStruct_fcp_2fprotos_2ffederatedcompute_2feligibility_5feval_5ftasks_2eproto;
472 };
473 // -------------------------------------------------------------------
474
475 class EligibilityEvalTaskResponse final :
476 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedcompute.v1.EligibilityEvalTaskResponse) */ {
477 public:
EligibilityEvalTaskResponse()478 inline EligibilityEvalTaskResponse() : EligibilityEvalTaskResponse(nullptr) {}
479 ~EligibilityEvalTaskResponse() override;
480 explicit PROTOBUF_CONSTEXPR EligibilityEvalTaskResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
481
482 EligibilityEvalTaskResponse(const EligibilityEvalTaskResponse& from);
EligibilityEvalTaskResponse(EligibilityEvalTaskResponse && from)483 EligibilityEvalTaskResponse(EligibilityEvalTaskResponse&& from) noexcept
484 : EligibilityEvalTaskResponse() {
485 *this = ::std::move(from);
486 }
487
488 inline EligibilityEvalTaskResponse& operator=(const EligibilityEvalTaskResponse& from) {
489 if (this == &from) return *this;
490 CopyFrom(from);
491 return *this;
492 }
493 inline EligibilityEvalTaskResponse& operator=(EligibilityEvalTaskResponse&& from) noexcept {
494 if (this == &from) return *this;
495 if (GetOwningArena() == from.GetOwningArena()
496 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
497 && GetOwningArena() != nullptr
498 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
499 ) {
500 InternalSwap(&from);
501 } else {
502 CopyFrom(from);
503 }
504 return *this;
505 }
506
default_instance()507 static const EligibilityEvalTaskResponse& default_instance() {
508 return *internal_default_instance();
509 }
510 enum ResultCase {
511 kEligibilityEvalTask = 3,
512 kNoEligibilityEvalConfigured = 4,
513 kRejectionInfo = 5,
514 RESULT_NOT_SET = 0,
515 };
516
internal_default_instance()517 static inline const EligibilityEvalTaskResponse* internal_default_instance() {
518 return reinterpret_cast<const EligibilityEvalTaskResponse*>(
519 &_EligibilityEvalTaskResponse_default_instance_);
520 }
521 static constexpr int kIndexInFileMessages =
522 2;
523
swap(EligibilityEvalTaskResponse & a,EligibilityEvalTaskResponse & b)524 friend void swap(EligibilityEvalTaskResponse& a, EligibilityEvalTaskResponse& b) {
525 a.Swap(&b);
526 }
Swap(EligibilityEvalTaskResponse * other)527 inline void Swap(EligibilityEvalTaskResponse* other) {
528 if (other == this) return;
529 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
530 if (GetOwningArena() != nullptr &&
531 GetOwningArena() == other->GetOwningArena()) {
532 #else // PROTOBUF_FORCE_COPY_IN_SWAP
533 if (GetOwningArena() == other->GetOwningArena()) {
534 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
535 InternalSwap(other);
536 } else {
537 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
538 }
539 }
540 void UnsafeArenaSwap(EligibilityEvalTaskResponse* other) {
541 if (other == this) return;
542 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
543 InternalSwap(other);
544 }
545
546 // implements Message ----------------------------------------------
547
548 EligibilityEvalTaskResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
549 return CreateMaybeMessage<EligibilityEvalTaskResponse>(arena);
550 }
551 EligibilityEvalTaskResponse* New() const {
552 return New(nullptr);
553 }
554 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
555 void CopyFrom(const EligibilityEvalTaskResponse& from);
556 void MergeFrom(const EligibilityEvalTaskResponse& from);
557 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
558 bool IsInitialized() const final;
559
560 size_t ByteSizeLong() const final;
561 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
562 ::uint8_t* _InternalSerialize(
563 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
564 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
565
566 private:
567 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
568 void SharedDtor();
569 void SetCachedSize(int size) const;
570 void InternalSwap(EligibilityEvalTaskResponse* other);
571
572 private:
573 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
574 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
575 return "google.internal.federatedcompute.v1.EligibilityEvalTaskResponse";
576 }
577 protected:
578 explicit EligibilityEvalTaskResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena,
579 bool is_message_owned = false);
580 public:
581
582 std::string GetTypeName() const final;
583
584 // nested types ----------------------------------------------------
585
586 // accessors -------------------------------------------------------
587
588 enum : int {
589 kSessionIdFieldNumber = 2,
590 kTaskAssignmentForwardingInfoFieldNumber = 1,
591 kRetryWindowIfAcceptedFieldNumber = 6,
592 kRetryWindowIfRejectedFieldNumber = 7,
593 kEligibilityEvalTaskFieldNumber = 3,
594 kNoEligibilityEvalConfiguredFieldNumber = 4,
595 kRejectionInfoFieldNumber = 5,
596 };
597 // string session_id = 2;
598 void clear_session_id();
599 const std::string& session_id() const;
600 template <typename ArgT0 = const std::string&, typename... ArgT>
601 void set_session_id(ArgT0&& arg0, ArgT... args);
602 std::string* mutable_session_id();
603 PROTOBUF_NODISCARD std::string* release_session_id();
604 void set_allocated_session_id(std::string* session_id);
605 private:
606 const std::string& _internal_session_id() const;
607 inline PROTOBUF_ALWAYS_INLINE void _internal_set_session_id(const std::string& value);
608 std::string* _internal_mutable_session_id();
609 public:
610
611 // .google.internal.federatedcompute.v1.ForwardingInfo task_assignment_forwarding_info = 1;
612 bool has_task_assignment_forwarding_info() const;
613 private:
614 bool _internal_has_task_assignment_forwarding_info() const;
615 public:
616 void clear_task_assignment_forwarding_info();
617 const ::google::internal::federatedcompute::v1::ForwardingInfo& task_assignment_forwarding_info() const;
618 PROTOBUF_NODISCARD ::google::internal::federatedcompute::v1::ForwardingInfo* release_task_assignment_forwarding_info();
619 ::google::internal::federatedcompute::v1::ForwardingInfo* mutable_task_assignment_forwarding_info();
620 void set_allocated_task_assignment_forwarding_info(::google::internal::federatedcompute::v1::ForwardingInfo* task_assignment_forwarding_info);
621 private:
622 const ::google::internal::federatedcompute::v1::ForwardingInfo& _internal_task_assignment_forwarding_info() const;
623 ::google::internal::federatedcompute::v1::ForwardingInfo* _internal_mutable_task_assignment_forwarding_info();
624 public:
625 void unsafe_arena_set_allocated_task_assignment_forwarding_info(
626 ::google::internal::federatedcompute::v1::ForwardingInfo* task_assignment_forwarding_info);
627 ::google::internal::federatedcompute::v1::ForwardingInfo* unsafe_arena_release_task_assignment_forwarding_info();
628
629 // .google.internal.federatedcompute.v1.RetryWindow retry_window_if_accepted = 6;
630 bool has_retry_window_if_accepted() const;
631 private:
632 bool _internal_has_retry_window_if_accepted() const;
633 public:
634 void clear_retry_window_if_accepted();
635 const ::google::internal::federatedcompute::v1::RetryWindow& retry_window_if_accepted() const;
636 PROTOBUF_NODISCARD ::google::internal::federatedcompute::v1::RetryWindow* release_retry_window_if_accepted();
637 ::google::internal::federatedcompute::v1::RetryWindow* mutable_retry_window_if_accepted();
638 void set_allocated_retry_window_if_accepted(::google::internal::federatedcompute::v1::RetryWindow* retry_window_if_accepted);
639 private:
640 const ::google::internal::federatedcompute::v1::RetryWindow& _internal_retry_window_if_accepted() const;
641 ::google::internal::federatedcompute::v1::RetryWindow* _internal_mutable_retry_window_if_accepted();
642 public:
643 void unsafe_arena_set_allocated_retry_window_if_accepted(
644 ::google::internal::federatedcompute::v1::RetryWindow* retry_window_if_accepted);
645 ::google::internal::federatedcompute::v1::RetryWindow* unsafe_arena_release_retry_window_if_accepted();
646
647 // .google.internal.federatedcompute.v1.RetryWindow retry_window_if_rejected = 7;
648 bool has_retry_window_if_rejected() const;
649 private:
650 bool _internal_has_retry_window_if_rejected() const;
651 public:
652 void clear_retry_window_if_rejected();
653 const ::google::internal::federatedcompute::v1::RetryWindow& retry_window_if_rejected() const;
654 PROTOBUF_NODISCARD ::google::internal::federatedcompute::v1::RetryWindow* release_retry_window_if_rejected();
655 ::google::internal::federatedcompute::v1::RetryWindow* mutable_retry_window_if_rejected();
656 void set_allocated_retry_window_if_rejected(::google::internal::federatedcompute::v1::RetryWindow* retry_window_if_rejected);
657 private:
658 const ::google::internal::federatedcompute::v1::RetryWindow& _internal_retry_window_if_rejected() const;
659 ::google::internal::federatedcompute::v1::RetryWindow* _internal_mutable_retry_window_if_rejected();
660 public:
661 void unsafe_arena_set_allocated_retry_window_if_rejected(
662 ::google::internal::federatedcompute::v1::RetryWindow* retry_window_if_rejected);
663 ::google::internal::federatedcompute::v1::RetryWindow* unsafe_arena_release_retry_window_if_rejected();
664
665 // .google.internal.federatedcompute.v1.EligibilityEvalTask eligibility_eval_task = 3;
666 bool has_eligibility_eval_task() const;
667 private:
668 bool _internal_has_eligibility_eval_task() const;
669 public:
670 void clear_eligibility_eval_task();
671 const ::google::internal::federatedcompute::v1::EligibilityEvalTask& eligibility_eval_task() const;
672 PROTOBUF_NODISCARD ::google::internal::federatedcompute::v1::EligibilityEvalTask* release_eligibility_eval_task();
673 ::google::internal::federatedcompute::v1::EligibilityEvalTask* mutable_eligibility_eval_task();
674 void set_allocated_eligibility_eval_task(::google::internal::federatedcompute::v1::EligibilityEvalTask* eligibility_eval_task);
675 private:
676 const ::google::internal::federatedcompute::v1::EligibilityEvalTask& _internal_eligibility_eval_task() const;
677 ::google::internal::federatedcompute::v1::EligibilityEvalTask* _internal_mutable_eligibility_eval_task();
678 public:
679 void unsafe_arena_set_allocated_eligibility_eval_task(
680 ::google::internal::federatedcompute::v1::EligibilityEvalTask* eligibility_eval_task);
681 ::google::internal::federatedcompute::v1::EligibilityEvalTask* unsafe_arena_release_eligibility_eval_task();
682
683 // .google.internal.federatedcompute.v1.NoEligibilityEvalConfigured no_eligibility_eval_configured = 4;
684 bool has_no_eligibility_eval_configured() const;
685 private:
686 bool _internal_has_no_eligibility_eval_configured() const;
687 public:
688 void clear_no_eligibility_eval_configured();
689 const ::google::internal::federatedcompute::v1::NoEligibilityEvalConfigured& no_eligibility_eval_configured() const;
690 PROTOBUF_NODISCARD ::google::internal::federatedcompute::v1::NoEligibilityEvalConfigured* release_no_eligibility_eval_configured();
691 ::google::internal::federatedcompute::v1::NoEligibilityEvalConfigured* mutable_no_eligibility_eval_configured();
692 void set_allocated_no_eligibility_eval_configured(::google::internal::federatedcompute::v1::NoEligibilityEvalConfigured* no_eligibility_eval_configured);
693 private:
694 const ::google::internal::federatedcompute::v1::NoEligibilityEvalConfigured& _internal_no_eligibility_eval_configured() const;
695 ::google::internal::federatedcompute::v1::NoEligibilityEvalConfigured* _internal_mutable_no_eligibility_eval_configured();
696 public:
697 void unsafe_arena_set_allocated_no_eligibility_eval_configured(
698 ::google::internal::federatedcompute::v1::NoEligibilityEvalConfigured* no_eligibility_eval_configured);
699 ::google::internal::federatedcompute::v1::NoEligibilityEvalConfigured* unsafe_arena_release_no_eligibility_eval_configured();
700
701 // .google.internal.federatedcompute.v1.RejectionInfo rejection_info = 5;
702 bool has_rejection_info() const;
703 private:
704 bool _internal_has_rejection_info() const;
705 public:
706 void clear_rejection_info();
707 const ::google::internal::federatedcompute::v1::RejectionInfo& rejection_info() const;
708 PROTOBUF_NODISCARD ::google::internal::federatedcompute::v1::RejectionInfo* release_rejection_info();
709 ::google::internal::federatedcompute::v1::RejectionInfo* mutable_rejection_info();
710 void set_allocated_rejection_info(::google::internal::federatedcompute::v1::RejectionInfo* rejection_info);
711 private:
712 const ::google::internal::federatedcompute::v1::RejectionInfo& _internal_rejection_info() const;
713 ::google::internal::federatedcompute::v1::RejectionInfo* _internal_mutable_rejection_info();
714 public:
715 void unsafe_arena_set_allocated_rejection_info(
716 ::google::internal::federatedcompute::v1::RejectionInfo* rejection_info);
717 ::google::internal::federatedcompute::v1::RejectionInfo* unsafe_arena_release_rejection_info();
718
719 void clear_result();
720 ResultCase result_case() const;
721 // @@protoc_insertion_point(class_scope:google.internal.federatedcompute.v1.EligibilityEvalTaskResponse)
722 private:
723 class _Internal;
724 void set_has_eligibility_eval_task();
725 void set_has_no_eligibility_eval_configured();
726 void set_has_rejection_info();
727
728 inline bool has_result() const;
729 inline void clear_has_result();
730
731 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
732 typedef void InternalArenaConstructable_;
733 typedef void DestructorSkippable_;
734 struct Impl_ {
735 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr session_id_;
736 ::google::internal::federatedcompute::v1::ForwardingInfo* task_assignment_forwarding_info_;
737 ::google::internal::federatedcompute::v1::RetryWindow* retry_window_if_accepted_;
738 ::google::internal::federatedcompute::v1::RetryWindow* retry_window_if_rejected_;
739 union ResultUnion {
740 constexpr ResultUnion() : _constinit_{} {}
741 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
742 ::google::internal::federatedcompute::v1::EligibilityEvalTask* eligibility_eval_task_;
743 ::google::internal::federatedcompute::v1::NoEligibilityEvalConfigured* no_eligibility_eval_configured_;
744 ::google::internal::federatedcompute::v1::RejectionInfo* rejection_info_;
745 } result_;
746 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
747 ::uint32_t _oneof_case_[1];
748
749 };
750 union { Impl_ _impl_; };
751 friend struct ::TableStruct_fcp_2fprotos_2ffederatedcompute_2feligibility_5feval_5ftasks_2eproto;
752 };
753 // -------------------------------------------------------------------
754
755 class EligibilityEvalTask final :
756 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedcompute.v1.EligibilityEvalTask) */ {
757 public:
EligibilityEvalTask()758 inline EligibilityEvalTask() : EligibilityEvalTask(nullptr) {}
759 ~EligibilityEvalTask() override;
760 explicit PROTOBUF_CONSTEXPR EligibilityEvalTask(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
761
762 EligibilityEvalTask(const EligibilityEvalTask& from);
EligibilityEvalTask(EligibilityEvalTask && from)763 EligibilityEvalTask(EligibilityEvalTask&& from) noexcept
764 : EligibilityEvalTask() {
765 *this = ::std::move(from);
766 }
767
768 inline EligibilityEvalTask& operator=(const EligibilityEvalTask& from) {
769 if (this == &from) return *this;
770 CopyFrom(from);
771 return *this;
772 }
773 inline EligibilityEvalTask& operator=(EligibilityEvalTask&& from) noexcept {
774 if (this == &from) return *this;
775 if (GetOwningArena() == from.GetOwningArena()
776 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
777 && GetOwningArena() != nullptr
778 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
779 ) {
780 InternalSwap(&from);
781 } else {
782 CopyFrom(from);
783 }
784 return *this;
785 }
786
default_instance()787 static const EligibilityEvalTask& default_instance() {
788 return *internal_default_instance();
789 }
internal_default_instance()790 static inline const EligibilityEvalTask* internal_default_instance() {
791 return reinterpret_cast<const EligibilityEvalTask*>(
792 &_EligibilityEvalTask_default_instance_);
793 }
794 static constexpr int kIndexInFileMessages =
795 3;
796
swap(EligibilityEvalTask & a,EligibilityEvalTask & b)797 friend void swap(EligibilityEvalTask& a, EligibilityEvalTask& b) {
798 a.Swap(&b);
799 }
Swap(EligibilityEvalTask * other)800 inline void Swap(EligibilityEvalTask* other) {
801 if (other == this) return;
802 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
803 if (GetOwningArena() != nullptr &&
804 GetOwningArena() == other->GetOwningArena()) {
805 #else // PROTOBUF_FORCE_COPY_IN_SWAP
806 if (GetOwningArena() == other->GetOwningArena()) {
807 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
808 InternalSwap(other);
809 } else {
810 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
811 }
812 }
813 void UnsafeArenaSwap(EligibilityEvalTask* other) {
814 if (other == this) return;
815 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
816 InternalSwap(other);
817 }
818
819 // implements Message ----------------------------------------------
820
821 EligibilityEvalTask* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
822 return CreateMaybeMessage<EligibilityEvalTask>(arena);
823 }
824 EligibilityEvalTask* New() const {
825 return New(nullptr);
826 }
827 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
828 void CopyFrom(const EligibilityEvalTask& from);
829 void MergeFrom(const EligibilityEvalTask& from);
830 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
831 bool IsInitialized() const final;
832
833 size_t ByteSizeLong() const final;
834 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
835 ::uint8_t* _InternalSerialize(
836 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
837 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
838
839 private:
840 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
841 void SharedDtor();
842 void SetCachedSize(int size) const;
843 void InternalSwap(EligibilityEvalTask* other);
844
845 private:
846 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
847 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
848 return "google.internal.federatedcompute.v1.EligibilityEvalTask";
849 }
850 protected:
851 explicit EligibilityEvalTask(::PROTOBUF_NAMESPACE_ID::Arena* arena,
852 bool is_message_owned = false);
853 public:
854
855 std::string GetTypeName() const final;
856
857 // nested types ----------------------------------------------------
858
859 // accessors -------------------------------------------------------
860
861 enum : int {
862 kExecutionIdFieldNumber = 3,
863 kInitCheckpointFieldNumber = 1,
864 kPlanFieldNumber = 2,
865 kPopulationEligibilitySpecFieldNumber = 4,
866 };
867 // string execution_id = 3;
868 void clear_execution_id();
869 const std::string& execution_id() const;
870 template <typename ArgT0 = const std::string&, typename... ArgT>
871 void set_execution_id(ArgT0&& arg0, ArgT... args);
872 std::string* mutable_execution_id();
873 PROTOBUF_NODISCARD std::string* release_execution_id();
874 void set_allocated_execution_id(std::string* execution_id);
875 private:
876 const std::string& _internal_execution_id() const;
877 inline PROTOBUF_ALWAYS_INLINE void _internal_set_execution_id(const std::string& value);
878 std::string* _internal_mutable_execution_id();
879 public:
880
881 // .google.internal.federatedcompute.v1.Resource init_checkpoint = 1;
882 bool has_init_checkpoint() const;
883 private:
884 bool _internal_has_init_checkpoint() const;
885 public:
886 void clear_init_checkpoint();
887 const ::google::internal::federatedcompute::v1::Resource& init_checkpoint() const;
888 PROTOBUF_NODISCARD ::google::internal::federatedcompute::v1::Resource* release_init_checkpoint();
889 ::google::internal::federatedcompute::v1::Resource* mutable_init_checkpoint();
890 void set_allocated_init_checkpoint(::google::internal::federatedcompute::v1::Resource* init_checkpoint);
891 private:
892 const ::google::internal::federatedcompute::v1::Resource& _internal_init_checkpoint() const;
893 ::google::internal::federatedcompute::v1::Resource* _internal_mutable_init_checkpoint();
894 public:
895 void unsafe_arena_set_allocated_init_checkpoint(
896 ::google::internal::federatedcompute::v1::Resource* init_checkpoint);
897 ::google::internal::federatedcompute::v1::Resource* unsafe_arena_release_init_checkpoint();
898
899 // .google.internal.federatedcompute.v1.Resource plan = 2;
900 bool has_plan() const;
901 private:
902 bool _internal_has_plan() const;
903 public:
904 void clear_plan();
905 const ::google::internal::federatedcompute::v1::Resource& plan() const;
906 PROTOBUF_NODISCARD ::google::internal::federatedcompute::v1::Resource* release_plan();
907 ::google::internal::federatedcompute::v1::Resource* mutable_plan();
908 void set_allocated_plan(::google::internal::federatedcompute::v1::Resource* plan);
909 private:
910 const ::google::internal::federatedcompute::v1::Resource& _internal_plan() const;
911 ::google::internal::federatedcompute::v1::Resource* _internal_mutable_plan();
912 public:
913 void unsafe_arena_set_allocated_plan(
914 ::google::internal::federatedcompute::v1::Resource* plan);
915 ::google::internal::federatedcompute::v1::Resource* unsafe_arena_release_plan();
916
917 // .google.internal.federatedcompute.v1.Resource population_eligibility_spec = 4;
918 bool has_population_eligibility_spec() const;
919 private:
920 bool _internal_has_population_eligibility_spec() const;
921 public:
922 void clear_population_eligibility_spec();
923 const ::google::internal::federatedcompute::v1::Resource& population_eligibility_spec() const;
924 PROTOBUF_NODISCARD ::google::internal::federatedcompute::v1::Resource* release_population_eligibility_spec();
925 ::google::internal::federatedcompute::v1::Resource* mutable_population_eligibility_spec();
926 void set_allocated_population_eligibility_spec(::google::internal::federatedcompute::v1::Resource* population_eligibility_spec);
927 private:
928 const ::google::internal::federatedcompute::v1::Resource& _internal_population_eligibility_spec() const;
929 ::google::internal::federatedcompute::v1::Resource* _internal_mutable_population_eligibility_spec();
930 public:
931 void unsafe_arena_set_allocated_population_eligibility_spec(
932 ::google::internal::federatedcompute::v1::Resource* population_eligibility_spec);
933 ::google::internal::federatedcompute::v1::Resource* unsafe_arena_release_population_eligibility_spec();
934
935 // @@protoc_insertion_point(class_scope:google.internal.federatedcompute.v1.EligibilityEvalTask)
936 private:
937 class _Internal;
938
939 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
940 typedef void InternalArenaConstructable_;
941 typedef void DestructorSkippable_;
942 struct Impl_ {
943 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr execution_id_;
944 ::google::internal::federatedcompute::v1::Resource* init_checkpoint_;
945 ::google::internal::federatedcompute::v1::Resource* plan_;
946 ::google::internal::federatedcompute::v1::Resource* population_eligibility_spec_;
947 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
948 };
949 union { Impl_ _impl_; };
950 friend struct ::TableStruct_fcp_2fprotos_2ffederatedcompute_2feligibility_5feval_5ftasks_2eproto;
951 };
952 // -------------------------------------------------------------------
953
954 class NoEligibilityEvalConfigured final :
955 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedcompute.v1.NoEligibilityEvalConfigured) */ {
956 public:
NoEligibilityEvalConfigured()957 inline NoEligibilityEvalConfigured() : NoEligibilityEvalConfigured(nullptr) {}
958 ~NoEligibilityEvalConfigured() override;
959 explicit PROTOBUF_CONSTEXPR NoEligibilityEvalConfigured(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
960
961 NoEligibilityEvalConfigured(const NoEligibilityEvalConfigured& from);
NoEligibilityEvalConfigured(NoEligibilityEvalConfigured && from)962 NoEligibilityEvalConfigured(NoEligibilityEvalConfigured&& from) noexcept
963 : NoEligibilityEvalConfigured() {
964 *this = ::std::move(from);
965 }
966
967 inline NoEligibilityEvalConfigured& operator=(const NoEligibilityEvalConfigured& from) {
968 if (this == &from) return *this;
969 CopyFrom(from);
970 return *this;
971 }
972 inline NoEligibilityEvalConfigured& operator=(NoEligibilityEvalConfigured&& from) noexcept {
973 if (this == &from) return *this;
974 if (GetOwningArena() == from.GetOwningArena()
975 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
976 && GetOwningArena() != nullptr
977 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
978 ) {
979 InternalSwap(&from);
980 } else {
981 CopyFrom(from);
982 }
983 return *this;
984 }
985
default_instance()986 static const NoEligibilityEvalConfigured& default_instance() {
987 return *internal_default_instance();
988 }
internal_default_instance()989 static inline const NoEligibilityEvalConfigured* internal_default_instance() {
990 return reinterpret_cast<const NoEligibilityEvalConfigured*>(
991 &_NoEligibilityEvalConfigured_default_instance_);
992 }
993 static constexpr int kIndexInFileMessages =
994 4;
995
swap(NoEligibilityEvalConfigured & a,NoEligibilityEvalConfigured & b)996 friend void swap(NoEligibilityEvalConfigured& a, NoEligibilityEvalConfigured& b) {
997 a.Swap(&b);
998 }
Swap(NoEligibilityEvalConfigured * other)999 inline void Swap(NoEligibilityEvalConfigured* other) {
1000 if (other == this) return;
1001 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1002 if (GetOwningArena() != nullptr &&
1003 GetOwningArena() == other->GetOwningArena()) {
1004 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1005 if (GetOwningArena() == other->GetOwningArena()) {
1006 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1007 InternalSwap(other);
1008 } else {
1009 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1010 }
1011 }
1012 void UnsafeArenaSwap(NoEligibilityEvalConfigured* other) {
1013 if (other == this) return;
1014 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1015 InternalSwap(other);
1016 }
1017
1018 // implements Message ----------------------------------------------
1019
1020 NoEligibilityEvalConfigured* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1021 return CreateMaybeMessage<NoEligibilityEvalConfigured>(arena);
1022 }
1023 NoEligibilityEvalConfigured* New() const {
1024 return New(nullptr);
1025 }
1026 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
1027 void CopyFrom(const NoEligibilityEvalConfigured& from);
1028 void MergeFrom(const NoEligibilityEvalConfigured& from);
1029 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1030 bool IsInitialized() const final;
1031
1032 size_t ByteSizeLong() const final;
1033 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1034 ::uint8_t* _InternalSerialize(
1035 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1036 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1037
1038 private:
1039 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1040 void SharedDtor();
1041 void SetCachedSize(int size) const;
1042 void InternalSwap(NoEligibilityEvalConfigured* other);
1043
1044 private:
1045 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1046 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1047 return "google.internal.federatedcompute.v1.NoEligibilityEvalConfigured";
1048 }
1049 protected:
1050 explicit NoEligibilityEvalConfigured(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1051 bool is_message_owned = false);
1052 public:
1053
1054 std::string GetTypeName() const final;
1055
1056 // nested types ----------------------------------------------------
1057
1058 // accessors -------------------------------------------------------
1059
1060 // @@protoc_insertion_point(class_scope:google.internal.federatedcompute.v1.NoEligibilityEvalConfigured)
1061 private:
1062 class _Internal;
1063
1064 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1065 typedef void InternalArenaConstructable_;
1066 typedef void DestructorSkippable_;
1067 struct Impl_ {
1068 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1069 };
1070 union { Impl_ _impl_; };
1071 friend struct ::TableStruct_fcp_2fprotos_2ffederatedcompute_2feligibility_5feval_5ftasks_2eproto;
1072 };
1073 // -------------------------------------------------------------------
1074
1075 class PopulationEligibilitySpec_TaskInfo final :
1076 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedcompute.v1.PopulationEligibilitySpec.TaskInfo) */ {
1077 public:
PopulationEligibilitySpec_TaskInfo()1078 inline PopulationEligibilitySpec_TaskInfo() : PopulationEligibilitySpec_TaskInfo(nullptr) {}
1079 ~PopulationEligibilitySpec_TaskInfo() override;
1080 explicit PROTOBUF_CONSTEXPR PopulationEligibilitySpec_TaskInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1081
1082 PopulationEligibilitySpec_TaskInfo(const PopulationEligibilitySpec_TaskInfo& from);
PopulationEligibilitySpec_TaskInfo(PopulationEligibilitySpec_TaskInfo && from)1083 PopulationEligibilitySpec_TaskInfo(PopulationEligibilitySpec_TaskInfo&& from) noexcept
1084 : PopulationEligibilitySpec_TaskInfo() {
1085 *this = ::std::move(from);
1086 }
1087
1088 inline PopulationEligibilitySpec_TaskInfo& operator=(const PopulationEligibilitySpec_TaskInfo& from) {
1089 if (this == &from) return *this;
1090 CopyFrom(from);
1091 return *this;
1092 }
1093 inline PopulationEligibilitySpec_TaskInfo& operator=(PopulationEligibilitySpec_TaskInfo&& from) noexcept {
1094 if (this == &from) return *this;
1095 if (GetOwningArena() == from.GetOwningArena()
1096 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1097 && GetOwningArena() != nullptr
1098 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1099 ) {
1100 InternalSwap(&from);
1101 } else {
1102 CopyFrom(from);
1103 }
1104 return *this;
1105 }
1106
default_instance()1107 static const PopulationEligibilitySpec_TaskInfo& default_instance() {
1108 return *internal_default_instance();
1109 }
internal_default_instance()1110 static inline const PopulationEligibilitySpec_TaskInfo* internal_default_instance() {
1111 return reinterpret_cast<const PopulationEligibilitySpec_TaskInfo*>(
1112 &_PopulationEligibilitySpec_TaskInfo_default_instance_);
1113 }
1114 static constexpr int kIndexInFileMessages =
1115 5;
1116
swap(PopulationEligibilitySpec_TaskInfo & a,PopulationEligibilitySpec_TaskInfo & b)1117 friend void swap(PopulationEligibilitySpec_TaskInfo& a, PopulationEligibilitySpec_TaskInfo& b) {
1118 a.Swap(&b);
1119 }
Swap(PopulationEligibilitySpec_TaskInfo * other)1120 inline void Swap(PopulationEligibilitySpec_TaskInfo* other) {
1121 if (other == this) return;
1122 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1123 if (GetOwningArena() != nullptr &&
1124 GetOwningArena() == other->GetOwningArena()) {
1125 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1126 if (GetOwningArena() == other->GetOwningArena()) {
1127 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1128 InternalSwap(other);
1129 } else {
1130 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1131 }
1132 }
1133 void UnsafeArenaSwap(PopulationEligibilitySpec_TaskInfo* other) {
1134 if (other == this) return;
1135 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1136 InternalSwap(other);
1137 }
1138
1139 // implements Message ----------------------------------------------
1140
1141 PopulationEligibilitySpec_TaskInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1142 return CreateMaybeMessage<PopulationEligibilitySpec_TaskInfo>(arena);
1143 }
1144 PopulationEligibilitySpec_TaskInfo* New() const {
1145 return New(nullptr);
1146 }
1147 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
1148 void CopyFrom(const PopulationEligibilitySpec_TaskInfo& from);
1149 void MergeFrom(const PopulationEligibilitySpec_TaskInfo& from);
1150 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1151 bool IsInitialized() const final;
1152
1153 size_t ByteSizeLong() const final;
1154 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1155 ::uint8_t* _InternalSerialize(
1156 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1157 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1158
1159 private:
1160 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1161 void SharedDtor();
1162 void SetCachedSize(int size) const;
1163 void InternalSwap(PopulationEligibilitySpec_TaskInfo* other);
1164
1165 private:
1166 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1167 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1168 return "google.internal.federatedcompute.v1.PopulationEligibilitySpec.TaskInfo";
1169 }
1170 protected:
1171 explicit PopulationEligibilitySpec_TaskInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1172 bool is_message_owned = false);
1173 public:
1174
1175 std::string GetTypeName() const final;
1176
1177 // nested types ----------------------------------------------------
1178
1179 typedef PopulationEligibilitySpec_TaskInfo_TaskAssignmentMode TaskAssignmentMode;
1180 static constexpr TaskAssignmentMode TASK_ASSIGNMENT_MODE_UNSPECIFIED =
1181 PopulationEligibilitySpec_TaskInfo_TaskAssignmentMode_TASK_ASSIGNMENT_MODE_UNSPECIFIED;
1182 static constexpr TaskAssignmentMode TASK_ASSIGNMENT_MODE_SINGLE =
1183 PopulationEligibilitySpec_TaskInfo_TaskAssignmentMode_TASK_ASSIGNMENT_MODE_SINGLE;
1184 static constexpr TaskAssignmentMode TASK_ASSIGNMENT_MODE_MULTIPLE =
1185 PopulationEligibilitySpec_TaskInfo_TaskAssignmentMode_TASK_ASSIGNMENT_MODE_MULTIPLE;
1186 static inline bool TaskAssignmentMode_IsValid(int value) {
1187 return PopulationEligibilitySpec_TaskInfo_TaskAssignmentMode_IsValid(value);
1188 }
1189 static constexpr TaskAssignmentMode TaskAssignmentMode_MIN =
1190 PopulationEligibilitySpec_TaskInfo_TaskAssignmentMode_TaskAssignmentMode_MIN;
1191 static constexpr TaskAssignmentMode TaskAssignmentMode_MAX =
1192 PopulationEligibilitySpec_TaskInfo_TaskAssignmentMode_TaskAssignmentMode_MAX;
1193 static constexpr int TaskAssignmentMode_ARRAYSIZE =
1194 PopulationEligibilitySpec_TaskInfo_TaskAssignmentMode_TaskAssignmentMode_ARRAYSIZE;
1195 template<typename T>
1196 static inline const std::string& TaskAssignmentMode_Name(T enum_t_value) {
1197 static_assert(::std::is_same<T, TaskAssignmentMode>::value ||
1198 ::std::is_integral<T>::value,
1199 "Incorrect type passed to function TaskAssignmentMode_Name.");
1200 return PopulationEligibilitySpec_TaskInfo_TaskAssignmentMode_Name(enum_t_value);
1201 }
1202 static inline bool TaskAssignmentMode_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
1203 TaskAssignmentMode* value) {
1204 return PopulationEligibilitySpec_TaskInfo_TaskAssignmentMode_Parse(name, value);
1205 }
1206
1207 // accessors -------------------------------------------------------
1208
1209 enum : int {
1210 kTaskNameFieldNumber = 1,
1211 kTaskAssignmentModeFieldNumber = 2,
1212 };
1213 // string task_name = 1;
1214 void clear_task_name();
1215 const std::string& task_name() const;
1216 template <typename ArgT0 = const std::string&, typename... ArgT>
1217 void set_task_name(ArgT0&& arg0, ArgT... args);
1218 std::string* mutable_task_name();
1219 PROTOBUF_NODISCARD std::string* release_task_name();
1220 void set_allocated_task_name(std::string* task_name);
1221 private:
1222 const std::string& _internal_task_name() const;
1223 inline PROTOBUF_ALWAYS_INLINE void _internal_set_task_name(const std::string& value);
1224 std::string* _internal_mutable_task_name();
1225 public:
1226
1227 // .google.internal.federatedcompute.v1.PopulationEligibilitySpec.TaskInfo.TaskAssignmentMode task_assignment_mode = 2;
1228 void clear_task_assignment_mode();
1229 ::google::internal::federatedcompute::v1::PopulationEligibilitySpec_TaskInfo_TaskAssignmentMode task_assignment_mode() const;
1230 void set_task_assignment_mode(::google::internal::federatedcompute::v1::PopulationEligibilitySpec_TaskInfo_TaskAssignmentMode value);
1231 private:
1232 ::google::internal::federatedcompute::v1::PopulationEligibilitySpec_TaskInfo_TaskAssignmentMode _internal_task_assignment_mode() const;
1233 void _internal_set_task_assignment_mode(::google::internal::federatedcompute::v1::PopulationEligibilitySpec_TaskInfo_TaskAssignmentMode value);
1234 public:
1235
1236 // @@protoc_insertion_point(class_scope:google.internal.federatedcompute.v1.PopulationEligibilitySpec.TaskInfo)
1237 private:
1238 class _Internal;
1239
1240 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1241 typedef void InternalArenaConstructable_;
1242 typedef void DestructorSkippable_;
1243 struct Impl_ {
1244 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr task_name_;
1245 int task_assignment_mode_;
1246 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1247 };
1248 union { Impl_ _impl_; };
1249 friend struct ::TableStruct_fcp_2fprotos_2ffederatedcompute_2feligibility_5feval_5ftasks_2eproto;
1250 };
1251 // -------------------------------------------------------------------
1252
1253 class PopulationEligibilitySpec final :
1254 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedcompute.v1.PopulationEligibilitySpec) */ {
1255 public:
PopulationEligibilitySpec()1256 inline PopulationEligibilitySpec() : PopulationEligibilitySpec(nullptr) {}
1257 ~PopulationEligibilitySpec() override;
1258 explicit PROTOBUF_CONSTEXPR PopulationEligibilitySpec(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1259
1260 PopulationEligibilitySpec(const PopulationEligibilitySpec& from);
PopulationEligibilitySpec(PopulationEligibilitySpec && from)1261 PopulationEligibilitySpec(PopulationEligibilitySpec&& from) noexcept
1262 : PopulationEligibilitySpec() {
1263 *this = ::std::move(from);
1264 }
1265
1266 inline PopulationEligibilitySpec& operator=(const PopulationEligibilitySpec& from) {
1267 if (this == &from) return *this;
1268 CopyFrom(from);
1269 return *this;
1270 }
1271 inline PopulationEligibilitySpec& operator=(PopulationEligibilitySpec&& from) noexcept {
1272 if (this == &from) return *this;
1273 if (GetOwningArena() == from.GetOwningArena()
1274 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1275 && GetOwningArena() != nullptr
1276 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1277 ) {
1278 InternalSwap(&from);
1279 } else {
1280 CopyFrom(from);
1281 }
1282 return *this;
1283 }
1284
default_instance()1285 static const PopulationEligibilitySpec& default_instance() {
1286 return *internal_default_instance();
1287 }
internal_default_instance()1288 static inline const PopulationEligibilitySpec* internal_default_instance() {
1289 return reinterpret_cast<const PopulationEligibilitySpec*>(
1290 &_PopulationEligibilitySpec_default_instance_);
1291 }
1292 static constexpr int kIndexInFileMessages =
1293 6;
1294
swap(PopulationEligibilitySpec & a,PopulationEligibilitySpec & b)1295 friend void swap(PopulationEligibilitySpec& a, PopulationEligibilitySpec& b) {
1296 a.Swap(&b);
1297 }
Swap(PopulationEligibilitySpec * other)1298 inline void Swap(PopulationEligibilitySpec* other) {
1299 if (other == this) return;
1300 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1301 if (GetOwningArena() != nullptr &&
1302 GetOwningArena() == other->GetOwningArena()) {
1303 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1304 if (GetOwningArena() == other->GetOwningArena()) {
1305 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1306 InternalSwap(other);
1307 } else {
1308 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1309 }
1310 }
1311 void UnsafeArenaSwap(PopulationEligibilitySpec* other) {
1312 if (other == this) return;
1313 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1314 InternalSwap(other);
1315 }
1316
1317 // implements Message ----------------------------------------------
1318
1319 PopulationEligibilitySpec* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1320 return CreateMaybeMessage<PopulationEligibilitySpec>(arena);
1321 }
1322 PopulationEligibilitySpec* New() const {
1323 return New(nullptr);
1324 }
1325 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
1326 void CopyFrom(const PopulationEligibilitySpec& from);
1327 void MergeFrom(const PopulationEligibilitySpec& from);
1328 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1329 bool IsInitialized() const final;
1330
1331 size_t ByteSizeLong() const final;
1332 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1333 ::uint8_t* _InternalSerialize(
1334 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1335 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1336
1337 private:
1338 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1339 void SharedDtor();
1340 void SetCachedSize(int size) const;
1341 void InternalSwap(PopulationEligibilitySpec* other);
1342
1343 private:
1344 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1345 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1346 return "google.internal.federatedcompute.v1.PopulationEligibilitySpec";
1347 }
1348 protected:
1349 explicit PopulationEligibilitySpec(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1350 bool is_message_owned = false);
1351 public:
1352
1353 std::string GetTypeName() const final;
1354
1355 // nested types ----------------------------------------------------
1356
1357 typedef PopulationEligibilitySpec_TaskInfo TaskInfo;
1358
1359 // accessors -------------------------------------------------------
1360
1361 enum : int {
1362 kTaskInfoFieldNumber = 1,
1363 };
1364 // repeated .google.internal.federatedcompute.v1.PopulationEligibilitySpec.TaskInfo task_info = 1;
1365 int task_info_size() const;
1366 private:
1367 int _internal_task_info_size() const;
1368 public:
1369 void clear_task_info();
1370 ::google::internal::federatedcompute::v1::PopulationEligibilitySpec_TaskInfo* mutable_task_info(int index);
1371 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::google::internal::federatedcompute::v1::PopulationEligibilitySpec_TaskInfo >*
1372 mutable_task_info();
1373 private:
1374 const ::google::internal::federatedcompute::v1::PopulationEligibilitySpec_TaskInfo& _internal_task_info(int index) const;
1375 ::google::internal::federatedcompute::v1::PopulationEligibilitySpec_TaskInfo* _internal_add_task_info();
1376 public:
1377 const ::google::internal::federatedcompute::v1::PopulationEligibilitySpec_TaskInfo& task_info(int index) const;
1378 ::google::internal::federatedcompute::v1::PopulationEligibilitySpec_TaskInfo* add_task_info();
1379 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::google::internal::federatedcompute::v1::PopulationEligibilitySpec_TaskInfo >&
1380 task_info() const;
1381
1382 // @@protoc_insertion_point(class_scope:google.internal.federatedcompute.v1.PopulationEligibilitySpec)
1383 private:
1384 class _Internal;
1385
1386 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1387 typedef void InternalArenaConstructable_;
1388 typedef void DestructorSkippable_;
1389 struct Impl_ {
1390 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::google::internal::federatedcompute::v1::PopulationEligibilitySpec_TaskInfo > task_info_;
1391 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1392 };
1393 union { Impl_ _impl_; };
1394 friend struct ::TableStruct_fcp_2fprotos_2ffederatedcompute_2feligibility_5feval_5ftasks_2eproto;
1395 };
1396 // -------------------------------------------------------------------
1397
1398 class ReportEligibilityEvalTaskResultRequest final :
1399 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedcompute.v1.ReportEligibilityEvalTaskResultRequest) */ {
1400 public:
ReportEligibilityEvalTaskResultRequest()1401 inline ReportEligibilityEvalTaskResultRequest() : ReportEligibilityEvalTaskResultRequest(nullptr) {}
1402 ~ReportEligibilityEvalTaskResultRequest() override;
1403 explicit PROTOBUF_CONSTEXPR ReportEligibilityEvalTaskResultRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1404
1405 ReportEligibilityEvalTaskResultRequest(const ReportEligibilityEvalTaskResultRequest& from);
ReportEligibilityEvalTaskResultRequest(ReportEligibilityEvalTaskResultRequest && from)1406 ReportEligibilityEvalTaskResultRequest(ReportEligibilityEvalTaskResultRequest&& from) noexcept
1407 : ReportEligibilityEvalTaskResultRequest() {
1408 *this = ::std::move(from);
1409 }
1410
1411 inline ReportEligibilityEvalTaskResultRequest& operator=(const ReportEligibilityEvalTaskResultRequest& from) {
1412 if (this == &from) return *this;
1413 CopyFrom(from);
1414 return *this;
1415 }
1416 inline ReportEligibilityEvalTaskResultRequest& operator=(ReportEligibilityEvalTaskResultRequest&& from) noexcept {
1417 if (this == &from) return *this;
1418 if (GetOwningArena() == from.GetOwningArena()
1419 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1420 && GetOwningArena() != nullptr
1421 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1422 ) {
1423 InternalSwap(&from);
1424 } else {
1425 CopyFrom(from);
1426 }
1427 return *this;
1428 }
1429
default_instance()1430 static const ReportEligibilityEvalTaskResultRequest& default_instance() {
1431 return *internal_default_instance();
1432 }
internal_default_instance()1433 static inline const ReportEligibilityEvalTaskResultRequest* internal_default_instance() {
1434 return reinterpret_cast<const ReportEligibilityEvalTaskResultRequest*>(
1435 &_ReportEligibilityEvalTaskResultRequest_default_instance_);
1436 }
1437 static constexpr int kIndexInFileMessages =
1438 7;
1439
swap(ReportEligibilityEvalTaskResultRequest & a,ReportEligibilityEvalTaskResultRequest & b)1440 friend void swap(ReportEligibilityEvalTaskResultRequest& a, ReportEligibilityEvalTaskResultRequest& b) {
1441 a.Swap(&b);
1442 }
Swap(ReportEligibilityEvalTaskResultRequest * other)1443 inline void Swap(ReportEligibilityEvalTaskResultRequest* other) {
1444 if (other == this) return;
1445 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1446 if (GetOwningArena() != nullptr &&
1447 GetOwningArena() == other->GetOwningArena()) {
1448 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1449 if (GetOwningArena() == other->GetOwningArena()) {
1450 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1451 InternalSwap(other);
1452 } else {
1453 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1454 }
1455 }
1456 void UnsafeArenaSwap(ReportEligibilityEvalTaskResultRequest* other) {
1457 if (other == this) return;
1458 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1459 InternalSwap(other);
1460 }
1461
1462 // implements Message ----------------------------------------------
1463
1464 ReportEligibilityEvalTaskResultRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1465 return CreateMaybeMessage<ReportEligibilityEvalTaskResultRequest>(arena);
1466 }
1467 ReportEligibilityEvalTaskResultRequest* New() const {
1468 return New(nullptr);
1469 }
1470 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
1471 void CopyFrom(const ReportEligibilityEvalTaskResultRequest& from);
1472 void MergeFrom(const ReportEligibilityEvalTaskResultRequest& from);
1473 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1474 bool IsInitialized() const final;
1475
1476 size_t ByteSizeLong() const final;
1477 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1478 ::uint8_t* _InternalSerialize(
1479 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1480 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1481
1482 private:
1483 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1484 void SharedDtor();
1485 void SetCachedSize(int size) const;
1486 void InternalSwap(ReportEligibilityEvalTaskResultRequest* other);
1487
1488 private:
1489 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1490 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1491 return "google.internal.federatedcompute.v1.ReportEligibilityEvalTaskResultRequest";
1492 }
1493 protected:
1494 explicit ReportEligibilityEvalTaskResultRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1495 bool is_message_owned = false);
1496 public:
1497
1498 std::string GetTypeName() const final;
1499
1500 // nested types ----------------------------------------------------
1501
1502 // accessors -------------------------------------------------------
1503
1504 enum : int {
1505 kPopulationNameFieldNumber = 1,
1506 kSessionIdFieldNumber = 2,
1507 kStatusCodeFieldNumber = 3,
1508 };
1509 // string population_name = 1;
1510 void clear_population_name();
1511 const std::string& population_name() const;
1512 template <typename ArgT0 = const std::string&, typename... ArgT>
1513 void set_population_name(ArgT0&& arg0, ArgT... args);
1514 std::string* mutable_population_name();
1515 PROTOBUF_NODISCARD std::string* release_population_name();
1516 void set_allocated_population_name(std::string* population_name);
1517 private:
1518 const std::string& _internal_population_name() const;
1519 inline PROTOBUF_ALWAYS_INLINE void _internal_set_population_name(const std::string& value);
1520 std::string* _internal_mutable_population_name();
1521 public:
1522
1523 // string session_id = 2;
1524 void clear_session_id();
1525 const std::string& session_id() const;
1526 template <typename ArgT0 = const std::string&, typename... ArgT>
1527 void set_session_id(ArgT0&& arg0, ArgT... args);
1528 std::string* mutable_session_id();
1529 PROTOBUF_NODISCARD std::string* release_session_id();
1530 void set_allocated_session_id(std::string* session_id);
1531 private:
1532 const std::string& _internal_session_id() const;
1533 inline PROTOBUF_ALWAYS_INLINE void _internal_set_session_id(const std::string& value);
1534 std::string* _internal_mutable_session_id();
1535 public:
1536
1537 // int32 status_code = 3;
1538 void clear_status_code();
1539 ::int32_t status_code() const;
1540 void set_status_code(::int32_t value);
1541 private:
1542 ::int32_t _internal_status_code() const;
1543 void _internal_set_status_code(::int32_t value);
1544 public:
1545
1546 // @@protoc_insertion_point(class_scope:google.internal.federatedcompute.v1.ReportEligibilityEvalTaskResultRequest)
1547 private:
1548 class _Internal;
1549
1550 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1551 typedef void InternalArenaConstructable_;
1552 typedef void DestructorSkippable_;
1553 struct Impl_ {
1554 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr population_name_;
1555 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr session_id_;
1556 ::int32_t status_code_;
1557 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1558 };
1559 union { Impl_ _impl_; };
1560 friend struct ::TableStruct_fcp_2fprotos_2ffederatedcompute_2feligibility_5feval_5ftasks_2eproto;
1561 };
1562 // -------------------------------------------------------------------
1563
1564 class ReportEligibilityEvalTaskResultResponse final :
1565 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedcompute.v1.ReportEligibilityEvalTaskResultResponse) */ {
1566 public:
ReportEligibilityEvalTaskResultResponse()1567 inline ReportEligibilityEvalTaskResultResponse() : ReportEligibilityEvalTaskResultResponse(nullptr) {}
1568 ~ReportEligibilityEvalTaskResultResponse() override;
1569 explicit PROTOBUF_CONSTEXPR ReportEligibilityEvalTaskResultResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1570
1571 ReportEligibilityEvalTaskResultResponse(const ReportEligibilityEvalTaskResultResponse& from);
ReportEligibilityEvalTaskResultResponse(ReportEligibilityEvalTaskResultResponse && from)1572 ReportEligibilityEvalTaskResultResponse(ReportEligibilityEvalTaskResultResponse&& from) noexcept
1573 : ReportEligibilityEvalTaskResultResponse() {
1574 *this = ::std::move(from);
1575 }
1576
1577 inline ReportEligibilityEvalTaskResultResponse& operator=(const ReportEligibilityEvalTaskResultResponse& from) {
1578 if (this == &from) return *this;
1579 CopyFrom(from);
1580 return *this;
1581 }
1582 inline ReportEligibilityEvalTaskResultResponse& operator=(ReportEligibilityEvalTaskResultResponse&& from) noexcept {
1583 if (this == &from) return *this;
1584 if (GetOwningArena() == from.GetOwningArena()
1585 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1586 && GetOwningArena() != nullptr
1587 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1588 ) {
1589 InternalSwap(&from);
1590 } else {
1591 CopyFrom(from);
1592 }
1593 return *this;
1594 }
1595
default_instance()1596 static const ReportEligibilityEvalTaskResultResponse& default_instance() {
1597 return *internal_default_instance();
1598 }
internal_default_instance()1599 static inline const ReportEligibilityEvalTaskResultResponse* internal_default_instance() {
1600 return reinterpret_cast<const ReportEligibilityEvalTaskResultResponse*>(
1601 &_ReportEligibilityEvalTaskResultResponse_default_instance_);
1602 }
1603 static constexpr int kIndexInFileMessages =
1604 8;
1605
swap(ReportEligibilityEvalTaskResultResponse & a,ReportEligibilityEvalTaskResultResponse & b)1606 friend void swap(ReportEligibilityEvalTaskResultResponse& a, ReportEligibilityEvalTaskResultResponse& b) {
1607 a.Swap(&b);
1608 }
Swap(ReportEligibilityEvalTaskResultResponse * other)1609 inline void Swap(ReportEligibilityEvalTaskResultResponse* other) {
1610 if (other == this) return;
1611 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1612 if (GetOwningArena() != nullptr &&
1613 GetOwningArena() == other->GetOwningArena()) {
1614 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1615 if (GetOwningArena() == other->GetOwningArena()) {
1616 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1617 InternalSwap(other);
1618 } else {
1619 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1620 }
1621 }
1622 void UnsafeArenaSwap(ReportEligibilityEvalTaskResultResponse* other) {
1623 if (other == this) return;
1624 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1625 InternalSwap(other);
1626 }
1627
1628 // implements Message ----------------------------------------------
1629
1630 ReportEligibilityEvalTaskResultResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1631 return CreateMaybeMessage<ReportEligibilityEvalTaskResultResponse>(arena);
1632 }
1633 ReportEligibilityEvalTaskResultResponse* New() const {
1634 return New(nullptr);
1635 }
1636 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
1637 void CopyFrom(const ReportEligibilityEvalTaskResultResponse& from);
1638 void MergeFrom(const ReportEligibilityEvalTaskResultResponse& from);
1639 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1640 bool IsInitialized() const final;
1641
1642 size_t ByteSizeLong() const final;
1643 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1644 ::uint8_t* _InternalSerialize(
1645 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1646 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1647
1648 private:
1649 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1650 void SharedDtor();
1651 void SetCachedSize(int size) const;
1652 void InternalSwap(ReportEligibilityEvalTaskResultResponse* other);
1653
1654 private:
1655 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1656 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1657 return "google.internal.federatedcompute.v1.ReportEligibilityEvalTaskResultResponse";
1658 }
1659 protected:
1660 explicit ReportEligibilityEvalTaskResultResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1661 bool is_message_owned = false);
1662 public:
1663
1664 std::string GetTypeName() const final;
1665
1666 // nested types ----------------------------------------------------
1667
1668 // accessors -------------------------------------------------------
1669
1670 // @@protoc_insertion_point(class_scope:google.internal.federatedcompute.v1.ReportEligibilityEvalTaskResultResponse)
1671 private:
1672 class _Internal;
1673
1674 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1675 typedef void InternalArenaConstructable_;
1676 typedef void DestructorSkippable_;
1677 struct Impl_ {
1678 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1679 };
1680 union { Impl_ _impl_; };
1681 friend struct ::TableStruct_fcp_2fprotos_2ffederatedcompute_2feligibility_5feval_5ftasks_2eproto;
1682 };
1683 // ===================================================================
1684
1685
1686 // ===================================================================
1687
1688 #ifdef __GNUC__
1689 #pragma GCC diagnostic push
1690 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1691 #endif // __GNUC__
1692 // EligibilityEvalTaskRequest
1693
1694 // string population_name = 1;
clear_population_name()1695 inline void EligibilityEvalTaskRequest::clear_population_name() {
1696 _impl_.population_name_.ClearToEmpty();
1697 }
population_name()1698 inline const std::string& EligibilityEvalTaskRequest::population_name() const {
1699 // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.EligibilityEvalTaskRequest.population_name)
1700 return _internal_population_name();
1701 }
1702 template <typename ArgT0, typename... ArgT>
1703 inline PROTOBUF_ALWAYS_INLINE
set_population_name(ArgT0 && arg0,ArgT...args)1704 void EligibilityEvalTaskRequest::set_population_name(ArgT0&& arg0, ArgT... args) {
1705
1706 _impl_.population_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1707 // @@protoc_insertion_point(field_set:google.internal.federatedcompute.v1.EligibilityEvalTaskRequest.population_name)
1708 }
mutable_population_name()1709 inline std::string* EligibilityEvalTaskRequest::mutable_population_name() {
1710 std::string* _s = _internal_mutable_population_name();
1711 // @@protoc_insertion_point(field_mutable:google.internal.federatedcompute.v1.EligibilityEvalTaskRequest.population_name)
1712 return _s;
1713 }
_internal_population_name()1714 inline const std::string& EligibilityEvalTaskRequest::_internal_population_name() const {
1715 return _impl_.population_name_.Get();
1716 }
_internal_set_population_name(const std::string & value)1717 inline void EligibilityEvalTaskRequest::_internal_set_population_name(const std::string& value) {
1718
1719 _impl_.population_name_.Set(value, GetArenaForAllocation());
1720 }
_internal_mutable_population_name()1721 inline std::string* EligibilityEvalTaskRequest::_internal_mutable_population_name() {
1722
1723 return _impl_.population_name_.Mutable(GetArenaForAllocation());
1724 }
release_population_name()1725 inline std::string* EligibilityEvalTaskRequest::release_population_name() {
1726 // @@protoc_insertion_point(field_release:google.internal.federatedcompute.v1.EligibilityEvalTaskRequest.population_name)
1727 return _impl_.population_name_.Release();
1728 }
set_allocated_population_name(std::string * population_name)1729 inline void EligibilityEvalTaskRequest::set_allocated_population_name(std::string* population_name) {
1730 _impl_.population_name_.SetAllocated(population_name, GetArenaForAllocation());
1731 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1732 if (_impl_.population_name_.IsDefault()) {
1733 _impl_.population_name_.Set("", GetArenaForAllocation());
1734 }
1735 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1736 // @@protoc_insertion_point(field_set_allocated:google.internal.federatedcompute.v1.EligibilityEvalTaskRequest.population_name)
1737 }
1738
1739 // .google.internal.federatedcompute.v1.AttestationMeasurement attestation_measurement = 2;
_internal_has_attestation_measurement()1740 inline bool EligibilityEvalTaskRequest::_internal_has_attestation_measurement() const {
1741 return this != internal_default_instance() && _impl_.attestation_measurement_ != nullptr;
1742 }
has_attestation_measurement()1743 inline bool EligibilityEvalTaskRequest::has_attestation_measurement() const {
1744 return _internal_has_attestation_measurement();
1745 }
_internal_attestation_measurement()1746 inline const ::google::internal::federatedcompute::v1::AttestationMeasurement& EligibilityEvalTaskRequest::_internal_attestation_measurement() const {
1747 const ::google::internal::federatedcompute::v1::AttestationMeasurement* p = _impl_.attestation_measurement_;
1748 return p != nullptr ? *p : reinterpret_cast<const ::google::internal::federatedcompute::v1::AttestationMeasurement&>(
1749 ::google::internal::federatedcompute::v1::_AttestationMeasurement_default_instance_);
1750 }
attestation_measurement()1751 inline const ::google::internal::federatedcompute::v1::AttestationMeasurement& EligibilityEvalTaskRequest::attestation_measurement() const {
1752 // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.EligibilityEvalTaskRequest.attestation_measurement)
1753 return _internal_attestation_measurement();
1754 }
unsafe_arena_set_allocated_attestation_measurement(::google::internal::federatedcompute::v1::AttestationMeasurement * attestation_measurement)1755 inline void EligibilityEvalTaskRequest::unsafe_arena_set_allocated_attestation_measurement(
1756 ::google::internal::federatedcompute::v1::AttestationMeasurement* attestation_measurement) {
1757 if (GetArenaForAllocation() == nullptr) {
1758 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.attestation_measurement_);
1759 }
1760 _impl_.attestation_measurement_ = attestation_measurement;
1761 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.internal.federatedcompute.v1.EligibilityEvalTaskRequest.attestation_measurement)
1762 }
release_attestation_measurement()1763 inline ::google::internal::federatedcompute::v1::AttestationMeasurement* EligibilityEvalTaskRequest::release_attestation_measurement() {
1764
1765 ::google::internal::federatedcompute::v1::AttestationMeasurement* temp = _impl_.attestation_measurement_;
1766 _impl_.attestation_measurement_ = nullptr;
1767 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1768 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1769 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1770 if (GetArenaForAllocation() == nullptr) { delete old; }
1771 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
1772 if (GetArenaForAllocation() != nullptr) {
1773 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1774 }
1775 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1776 return temp;
1777 }
unsafe_arena_release_attestation_measurement()1778 inline ::google::internal::federatedcompute::v1::AttestationMeasurement* EligibilityEvalTaskRequest::unsafe_arena_release_attestation_measurement() {
1779 // @@protoc_insertion_point(field_release:google.internal.federatedcompute.v1.EligibilityEvalTaskRequest.attestation_measurement)
1780
1781 ::google::internal::federatedcompute::v1::AttestationMeasurement* temp = _impl_.attestation_measurement_;
1782 _impl_.attestation_measurement_ = nullptr;
1783 return temp;
1784 }
_internal_mutable_attestation_measurement()1785 inline ::google::internal::federatedcompute::v1::AttestationMeasurement* EligibilityEvalTaskRequest::_internal_mutable_attestation_measurement() {
1786
1787 if (_impl_.attestation_measurement_ == nullptr) {
1788 auto* p = CreateMaybeMessage<::google::internal::federatedcompute::v1::AttestationMeasurement>(GetArenaForAllocation());
1789 _impl_.attestation_measurement_ = p;
1790 }
1791 return _impl_.attestation_measurement_;
1792 }
mutable_attestation_measurement()1793 inline ::google::internal::federatedcompute::v1::AttestationMeasurement* EligibilityEvalTaskRequest::mutable_attestation_measurement() {
1794 ::google::internal::federatedcompute::v1::AttestationMeasurement* _msg = _internal_mutable_attestation_measurement();
1795 // @@protoc_insertion_point(field_mutable:google.internal.federatedcompute.v1.EligibilityEvalTaskRequest.attestation_measurement)
1796 return _msg;
1797 }
set_allocated_attestation_measurement(::google::internal::federatedcompute::v1::AttestationMeasurement * attestation_measurement)1798 inline void EligibilityEvalTaskRequest::set_allocated_attestation_measurement(::google::internal::federatedcompute::v1::AttestationMeasurement* attestation_measurement) {
1799 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1800 if (message_arena == nullptr) {
1801 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.attestation_measurement_);
1802 }
1803 if (attestation_measurement) {
1804 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1805 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1806 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(attestation_measurement));
1807 if (message_arena != submessage_arena) {
1808 attestation_measurement = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1809 message_arena, attestation_measurement, submessage_arena);
1810 }
1811
1812 } else {
1813
1814 }
1815 _impl_.attestation_measurement_ = attestation_measurement;
1816 // @@protoc_insertion_point(field_set_allocated:google.internal.federatedcompute.v1.EligibilityEvalTaskRequest.attestation_measurement)
1817 }
1818
1819 // .google.internal.federatedcompute.v1.ClientVersion client_version = 3;
_internal_has_client_version()1820 inline bool EligibilityEvalTaskRequest::_internal_has_client_version() const {
1821 return this != internal_default_instance() && _impl_.client_version_ != nullptr;
1822 }
has_client_version()1823 inline bool EligibilityEvalTaskRequest::has_client_version() const {
1824 return _internal_has_client_version();
1825 }
_internal_client_version()1826 inline const ::google::internal::federatedcompute::v1::ClientVersion& EligibilityEvalTaskRequest::_internal_client_version() const {
1827 const ::google::internal::federatedcompute::v1::ClientVersion* p = _impl_.client_version_;
1828 return p != nullptr ? *p : reinterpret_cast<const ::google::internal::federatedcompute::v1::ClientVersion&>(
1829 ::google::internal::federatedcompute::v1::_ClientVersion_default_instance_);
1830 }
client_version()1831 inline const ::google::internal::federatedcompute::v1::ClientVersion& EligibilityEvalTaskRequest::client_version() const {
1832 // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.EligibilityEvalTaskRequest.client_version)
1833 return _internal_client_version();
1834 }
unsafe_arena_set_allocated_client_version(::google::internal::federatedcompute::v1::ClientVersion * client_version)1835 inline void EligibilityEvalTaskRequest::unsafe_arena_set_allocated_client_version(
1836 ::google::internal::federatedcompute::v1::ClientVersion* client_version) {
1837 if (GetArenaForAllocation() == nullptr) {
1838 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.client_version_);
1839 }
1840 _impl_.client_version_ = client_version;
1841 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.internal.federatedcompute.v1.EligibilityEvalTaskRequest.client_version)
1842 }
release_client_version()1843 inline ::google::internal::federatedcompute::v1::ClientVersion* EligibilityEvalTaskRequest::release_client_version() {
1844
1845 ::google::internal::federatedcompute::v1::ClientVersion* temp = _impl_.client_version_;
1846 _impl_.client_version_ = nullptr;
1847 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1848 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1849 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1850 if (GetArenaForAllocation() == nullptr) { delete old; }
1851 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
1852 if (GetArenaForAllocation() != nullptr) {
1853 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1854 }
1855 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1856 return temp;
1857 }
unsafe_arena_release_client_version()1858 inline ::google::internal::federatedcompute::v1::ClientVersion* EligibilityEvalTaskRequest::unsafe_arena_release_client_version() {
1859 // @@protoc_insertion_point(field_release:google.internal.federatedcompute.v1.EligibilityEvalTaskRequest.client_version)
1860
1861 ::google::internal::federatedcompute::v1::ClientVersion* temp = _impl_.client_version_;
1862 _impl_.client_version_ = nullptr;
1863 return temp;
1864 }
_internal_mutable_client_version()1865 inline ::google::internal::federatedcompute::v1::ClientVersion* EligibilityEvalTaskRequest::_internal_mutable_client_version() {
1866
1867 if (_impl_.client_version_ == nullptr) {
1868 auto* p = CreateMaybeMessage<::google::internal::federatedcompute::v1::ClientVersion>(GetArenaForAllocation());
1869 _impl_.client_version_ = p;
1870 }
1871 return _impl_.client_version_;
1872 }
mutable_client_version()1873 inline ::google::internal::federatedcompute::v1::ClientVersion* EligibilityEvalTaskRequest::mutable_client_version() {
1874 ::google::internal::federatedcompute::v1::ClientVersion* _msg = _internal_mutable_client_version();
1875 // @@protoc_insertion_point(field_mutable:google.internal.federatedcompute.v1.EligibilityEvalTaskRequest.client_version)
1876 return _msg;
1877 }
set_allocated_client_version(::google::internal::federatedcompute::v1::ClientVersion * client_version)1878 inline void EligibilityEvalTaskRequest::set_allocated_client_version(::google::internal::federatedcompute::v1::ClientVersion* client_version) {
1879 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1880 if (message_arena == nullptr) {
1881 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.client_version_);
1882 }
1883 if (client_version) {
1884 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1885 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1886 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(client_version));
1887 if (message_arena != submessage_arena) {
1888 client_version = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1889 message_arena, client_version, submessage_arena);
1890 }
1891
1892 } else {
1893
1894 }
1895 _impl_.client_version_ = client_version;
1896 // @@protoc_insertion_point(field_set_allocated:google.internal.federatedcompute.v1.EligibilityEvalTaskRequest.client_version)
1897 }
1898
1899 // .google.internal.federatedcompute.v1.ResourceCapabilities resource_capabilities = 4;
_internal_has_resource_capabilities()1900 inline bool EligibilityEvalTaskRequest::_internal_has_resource_capabilities() const {
1901 return this != internal_default_instance() && _impl_.resource_capabilities_ != nullptr;
1902 }
has_resource_capabilities()1903 inline bool EligibilityEvalTaskRequest::has_resource_capabilities() const {
1904 return _internal_has_resource_capabilities();
1905 }
_internal_resource_capabilities()1906 inline const ::google::internal::federatedcompute::v1::ResourceCapabilities& EligibilityEvalTaskRequest::_internal_resource_capabilities() const {
1907 const ::google::internal::federatedcompute::v1::ResourceCapabilities* p = _impl_.resource_capabilities_;
1908 return p != nullptr ? *p : reinterpret_cast<const ::google::internal::federatedcompute::v1::ResourceCapabilities&>(
1909 ::google::internal::federatedcompute::v1::_ResourceCapabilities_default_instance_);
1910 }
resource_capabilities()1911 inline const ::google::internal::federatedcompute::v1::ResourceCapabilities& EligibilityEvalTaskRequest::resource_capabilities() const {
1912 // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.EligibilityEvalTaskRequest.resource_capabilities)
1913 return _internal_resource_capabilities();
1914 }
unsafe_arena_set_allocated_resource_capabilities(::google::internal::federatedcompute::v1::ResourceCapabilities * resource_capabilities)1915 inline void EligibilityEvalTaskRequest::unsafe_arena_set_allocated_resource_capabilities(
1916 ::google::internal::federatedcompute::v1::ResourceCapabilities* resource_capabilities) {
1917 if (GetArenaForAllocation() == nullptr) {
1918 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.resource_capabilities_);
1919 }
1920 _impl_.resource_capabilities_ = resource_capabilities;
1921 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.internal.federatedcompute.v1.EligibilityEvalTaskRequest.resource_capabilities)
1922 }
release_resource_capabilities()1923 inline ::google::internal::federatedcompute::v1::ResourceCapabilities* EligibilityEvalTaskRequest::release_resource_capabilities() {
1924
1925 ::google::internal::federatedcompute::v1::ResourceCapabilities* temp = _impl_.resource_capabilities_;
1926 _impl_.resource_capabilities_ = nullptr;
1927 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1928 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1929 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1930 if (GetArenaForAllocation() == nullptr) { delete old; }
1931 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
1932 if (GetArenaForAllocation() != nullptr) {
1933 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1934 }
1935 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1936 return temp;
1937 }
unsafe_arena_release_resource_capabilities()1938 inline ::google::internal::federatedcompute::v1::ResourceCapabilities* EligibilityEvalTaskRequest::unsafe_arena_release_resource_capabilities() {
1939 // @@protoc_insertion_point(field_release:google.internal.federatedcompute.v1.EligibilityEvalTaskRequest.resource_capabilities)
1940
1941 ::google::internal::federatedcompute::v1::ResourceCapabilities* temp = _impl_.resource_capabilities_;
1942 _impl_.resource_capabilities_ = nullptr;
1943 return temp;
1944 }
_internal_mutable_resource_capabilities()1945 inline ::google::internal::federatedcompute::v1::ResourceCapabilities* EligibilityEvalTaskRequest::_internal_mutable_resource_capabilities() {
1946
1947 if (_impl_.resource_capabilities_ == nullptr) {
1948 auto* p = CreateMaybeMessage<::google::internal::federatedcompute::v1::ResourceCapabilities>(GetArenaForAllocation());
1949 _impl_.resource_capabilities_ = p;
1950 }
1951 return _impl_.resource_capabilities_;
1952 }
mutable_resource_capabilities()1953 inline ::google::internal::federatedcompute::v1::ResourceCapabilities* EligibilityEvalTaskRequest::mutable_resource_capabilities() {
1954 ::google::internal::federatedcompute::v1::ResourceCapabilities* _msg = _internal_mutable_resource_capabilities();
1955 // @@protoc_insertion_point(field_mutable:google.internal.federatedcompute.v1.EligibilityEvalTaskRequest.resource_capabilities)
1956 return _msg;
1957 }
set_allocated_resource_capabilities(::google::internal::federatedcompute::v1::ResourceCapabilities * resource_capabilities)1958 inline void EligibilityEvalTaskRequest::set_allocated_resource_capabilities(::google::internal::federatedcompute::v1::ResourceCapabilities* resource_capabilities) {
1959 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1960 if (message_arena == nullptr) {
1961 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.resource_capabilities_);
1962 }
1963 if (resource_capabilities) {
1964 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1965 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1966 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(resource_capabilities));
1967 if (message_arena != submessage_arena) {
1968 resource_capabilities = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1969 message_arena, resource_capabilities, submessage_arena);
1970 }
1971
1972 } else {
1973
1974 }
1975 _impl_.resource_capabilities_ = resource_capabilities;
1976 // @@protoc_insertion_point(field_set_allocated:google.internal.federatedcompute.v1.EligibilityEvalTaskRequest.resource_capabilities)
1977 }
1978
1979 // .google.internal.federatedcompute.v1.EligibilityEvalTaskCapabilities eligibility_eval_task_capabilities = 5;
_internal_has_eligibility_eval_task_capabilities()1980 inline bool EligibilityEvalTaskRequest::_internal_has_eligibility_eval_task_capabilities() const {
1981 return this != internal_default_instance() && _impl_.eligibility_eval_task_capabilities_ != nullptr;
1982 }
has_eligibility_eval_task_capabilities()1983 inline bool EligibilityEvalTaskRequest::has_eligibility_eval_task_capabilities() const {
1984 return _internal_has_eligibility_eval_task_capabilities();
1985 }
clear_eligibility_eval_task_capabilities()1986 inline void EligibilityEvalTaskRequest::clear_eligibility_eval_task_capabilities() {
1987 if (GetArenaForAllocation() == nullptr && _impl_.eligibility_eval_task_capabilities_ != nullptr) {
1988 delete _impl_.eligibility_eval_task_capabilities_;
1989 }
1990 _impl_.eligibility_eval_task_capabilities_ = nullptr;
1991 }
_internal_eligibility_eval_task_capabilities()1992 inline const ::google::internal::federatedcompute::v1::EligibilityEvalTaskCapabilities& EligibilityEvalTaskRequest::_internal_eligibility_eval_task_capabilities() const {
1993 const ::google::internal::federatedcompute::v1::EligibilityEvalTaskCapabilities* p = _impl_.eligibility_eval_task_capabilities_;
1994 return p != nullptr ? *p : reinterpret_cast<const ::google::internal::federatedcompute::v1::EligibilityEvalTaskCapabilities&>(
1995 ::google::internal::federatedcompute::v1::_EligibilityEvalTaskCapabilities_default_instance_);
1996 }
eligibility_eval_task_capabilities()1997 inline const ::google::internal::federatedcompute::v1::EligibilityEvalTaskCapabilities& EligibilityEvalTaskRequest::eligibility_eval_task_capabilities() const {
1998 // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.EligibilityEvalTaskRequest.eligibility_eval_task_capabilities)
1999 return _internal_eligibility_eval_task_capabilities();
2000 }
unsafe_arena_set_allocated_eligibility_eval_task_capabilities(::google::internal::federatedcompute::v1::EligibilityEvalTaskCapabilities * eligibility_eval_task_capabilities)2001 inline void EligibilityEvalTaskRequest::unsafe_arena_set_allocated_eligibility_eval_task_capabilities(
2002 ::google::internal::federatedcompute::v1::EligibilityEvalTaskCapabilities* eligibility_eval_task_capabilities) {
2003 if (GetArenaForAllocation() == nullptr) {
2004 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.eligibility_eval_task_capabilities_);
2005 }
2006 _impl_.eligibility_eval_task_capabilities_ = eligibility_eval_task_capabilities;
2007 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.internal.federatedcompute.v1.EligibilityEvalTaskRequest.eligibility_eval_task_capabilities)
2008 }
release_eligibility_eval_task_capabilities()2009 inline ::google::internal::federatedcompute::v1::EligibilityEvalTaskCapabilities* EligibilityEvalTaskRequest::release_eligibility_eval_task_capabilities() {
2010
2011 ::google::internal::federatedcompute::v1::EligibilityEvalTaskCapabilities* temp = _impl_.eligibility_eval_task_capabilities_;
2012 _impl_.eligibility_eval_task_capabilities_ = nullptr;
2013 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2014 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
2015 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2016 if (GetArenaForAllocation() == nullptr) { delete old; }
2017 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
2018 if (GetArenaForAllocation() != nullptr) {
2019 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2020 }
2021 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
2022 return temp;
2023 }
unsafe_arena_release_eligibility_eval_task_capabilities()2024 inline ::google::internal::federatedcompute::v1::EligibilityEvalTaskCapabilities* EligibilityEvalTaskRequest::unsafe_arena_release_eligibility_eval_task_capabilities() {
2025 // @@protoc_insertion_point(field_release:google.internal.federatedcompute.v1.EligibilityEvalTaskRequest.eligibility_eval_task_capabilities)
2026
2027 ::google::internal::federatedcompute::v1::EligibilityEvalTaskCapabilities* temp = _impl_.eligibility_eval_task_capabilities_;
2028 _impl_.eligibility_eval_task_capabilities_ = nullptr;
2029 return temp;
2030 }
_internal_mutable_eligibility_eval_task_capabilities()2031 inline ::google::internal::federatedcompute::v1::EligibilityEvalTaskCapabilities* EligibilityEvalTaskRequest::_internal_mutable_eligibility_eval_task_capabilities() {
2032
2033 if (_impl_.eligibility_eval_task_capabilities_ == nullptr) {
2034 auto* p = CreateMaybeMessage<::google::internal::federatedcompute::v1::EligibilityEvalTaskCapabilities>(GetArenaForAllocation());
2035 _impl_.eligibility_eval_task_capabilities_ = p;
2036 }
2037 return _impl_.eligibility_eval_task_capabilities_;
2038 }
mutable_eligibility_eval_task_capabilities()2039 inline ::google::internal::federatedcompute::v1::EligibilityEvalTaskCapabilities* EligibilityEvalTaskRequest::mutable_eligibility_eval_task_capabilities() {
2040 ::google::internal::federatedcompute::v1::EligibilityEvalTaskCapabilities* _msg = _internal_mutable_eligibility_eval_task_capabilities();
2041 // @@protoc_insertion_point(field_mutable:google.internal.federatedcompute.v1.EligibilityEvalTaskRequest.eligibility_eval_task_capabilities)
2042 return _msg;
2043 }
set_allocated_eligibility_eval_task_capabilities(::google::internal::federatedcompute::v1::EligibilityEvalTaskCapabilities * eligibility_eval_task_capabilities)2044 inline void EligibilityEvalTaskRequest::set_allocated_eligibility_eval_task_capabilities(::google::internal::federatedcompute::v1::EligibilityEvalTaskCapabilities* eligibility_eval_task_capabilities) {
2045 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2046 if (message_arena == nullptr) {
2047 delete _impl_.eligibility_eval_task_capabilities_;
2048 }
2049 if (eligibility_eval_task_capabilities) {
2050 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2051 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(eligibility_eval_task_capabilities);
2052 if (message_arena != submessage_arena) {
2053 eligibility_eval_task_capabilities = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2054 message_arena, eligibility_eval_task_capabilities, submessage_arena);
2055 }
2056
2057 } else {
2058
2059 }
2060 _impl_.eligibility_eval_task_capabilities_ = eligibility_eval_task_capabilities;
2061 // @@protoc_insertion_point(field_set_allocated:google.internal.federatedcompute.v1.EligibilityEvalTaskRequest.eligibility_eval_task_capabilities)
2062 }
2063
2064 // -------------------------------------------------------------------
2065
2066 // EligibilityEvalTaskCapabilities
2067
2068 // bool supports_multiple_task_assignment = 1;
clear_supports_multiple_task_assignment()2069 inline void EligibilityEvalTaskCapabilities::clear_supports_multiple_task_assignment() {
2070 _impl_.supports_multiple_task_assignment_ = false;
2071 }
_internal_supports_multiple_task_assignment()2072 inline bool EligibilityEvalTaskCapabilities::_internal_supports_multiple_task_assignment() const {
2073 return _impl_.supports_multiple_task_assignment_;
2074 }
supports_multiple_task_assignment()2075 inline bool EligibilityEvalTaskCapabilities::supports_multiple_task_assignment() const {
2076 // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.EligibilityEvalTaskCapabilities.supports_multiple_task_assignment)
2077 return _internal_supports_multiple_task_assignment();
2078 }
_internal_set_supports_multiple_task_assignment(bool value)2079 inline void EligibilityEvalTaskCapabilities::_internal_set_supports_multiple_task_assignment(bool value) {
2080
2081 _impl_.supports_multiple_task_assignment_ = value;
2082 }
set_supports_multiple_task_assignment(bool value)2083 inline void EligibilityEvalTaskCapabilities::set_supports_multiple_task_assignment(bool value) {
2084 _internal_set_supports_multiple_task_assignment(value);
2085 // @@protoc_insertion_point(field_set:google.internal.federatedcompute.v1.EligibilityEvalTaskCapabilities.supports_multiple_task_assignment)
2086 }
2087
2088 // -------------------------------------------------------------------
2089
2090 // EligibilityEvalTaskResponse
2091
2092 // .google.internal.federatedcompute.v1.ForwardingInfo task_assignment_forwarding_info = 1;
_internal_has_task_assignment_forwarding_info()2093 inline bool EligibilityEvalTaskResponse::_internal_has_task_assignment_forwarding_info() const {
2094 return this != internal_default_instance() && _impl_.task_assignment_forwarding_info_ != nullptr;
2095 }
has_task_assignment_forwarding_info()2096 inline bool EligibilityEvalTaskResponse::has_task_assignment_forwarding_info() const {
2097 return _internal_has_task_assignment_forwarding_info();
2098 }
_internal_task_assignment_forwarding_info()2099 inline const ::google::internal::federatedcompute::v1::ForwardingInfo& EligibilityEvalTaskResponse::_internal_task_assignment_forwarding_info() const {
2100 const ::google::internal::federatedcompute::v1::ForwardingInfo* p = _impl_.task_assignment_forwarding_info_;
2101 return p != nullptr ? *p : reinterpret_cast<const ::google::internal::federatedcompute::v1::ForwardingInfo&>(
2102 ::google::internal::federatedcompute::v1::_ForwardingInfo_default_instance_);
2103 }
task_assignment_forwarding_info()2104 inline const ::google::internal::federatedcompute::v1::ForwardingInfo& EligibilityEvalTaskResponse::task_assignment_forwarding_info() const {
2105 // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.EligibilityEvalTaskResponse.task_assignment_forwarding_info)
2106 return _internal_task_assignment_forwarding_info();
2107 }
unsafe_arena_set_allocated_task_assignment_forwarding_info(::google::internal::federatedcompute::v1::ForwardingInfo * task_assignment_forwarding_info)2108 inline void EligibilityEvalTaskResponse::unsafe_arena_set_allocated_task_assignment_forwarding_info(
2109 ::google::internal::federatedcompute::v1::ForwardingInfo* task_assignment_forwarding_info) {
2110 if (GetArenaForAllocation() == nullptr) {
2111 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.task_assignment_forwarding_info_);
2112 }
2113 _impl_.task_assignment_forwarding_info_ = task_assignment_forwarding_info;
2114 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.internal.federatedcompute.v1.EligibilityEvalTaskResponse.task_assignment_forwarding_info)
2115 }
release_task_assignment_forwarding_info()2116 inline ::google::internal::federatedcompute::v1::ForwardingInfo* EligibilityEvalTaskResponse::release_task_assignment_forwarding_info() {
2117
2118 ::google::internal::federatedcompute::v1::ForwardingInfo* temp = _impl_.task_assignment_forwarding_info_;
2119 _impl_.task_assignment_forwarding_info_ = nullptr;
2120 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2121 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
2122 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2123 if (GetArenaForAllocation() == nullptr) { delete old; }
2124 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
2125 if (GetArenaForAllocation() != nullptr) {
2126 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2127 }
2128 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
2129 return temp;
2130 }
unsafe_arena_release_task_assignment_forwarding_info()2131 inline ::google::internal::federatedcompute::v1::ForwardingInfo* EligibilityEvalTaskResponse::unsafe_arena_release_task_assignment_forwarding_info() {
2132 // @@protoc_insertion_point(field_release:google.internal.federatedcompute.v1.EligibilityEvalTaskResponse.task_assignment_forwarding_info)
2133
2134 ::google::internal::federatedcompute::v1::ForwardingInfo* temp = _impl_.task_assignment_forwarding_info_;
2135 _impl_.task_assignment_forwarding_info_ = nullptr;
2136 return temp;
2137 }
_internal_mutable_task_assignment_forwarding_info()2138 inline ::google::internal::federatedcompute::v1::ForwardingInfo* EligibilityEvalTaskResponse::_internal_mutable_task_assignment_forwarding_info() {
2139
2140 if (_impl_.task_assignment_forwarding_info_ == nullptr) {
2141 auto* p = CreateMaybeMessage<::google::internal::federatedcompute::v1::ForwardingInfo>(GetArenaForAllocation());
2142 _impl_.task_assignment_forwarding_info_ = p;
2143 }
2144 return _impl_.task_assignment_forwarding_info_;
2145 }
mutable_task_assignment_forwarding_info()2146 inline ::google::internal::federatedcompute::v1::ForwardingInfo* EligibilityEvalTaskResponse::mutable_task_assignment_forwarding_info() {
2147 ::google::internal::federatedcompute::v1::ForwardingInfo* _msg = _internal_mutable_task_assignment_forwarding_info();
2148 // @@protoc_insertion_point(field_mutable:google.internal.federatedcompute.v1.EligibilityEvalTaskResponse.task_assignment_forwarding_info)
2149 return _msg;
2150 }
set_allocated_task_assignment_forwarding_info(::google::internal::federatedcompute::v1::ForwardingInfo * task_assignment_forwarding_info)2151 inline void EligibilityEvalTaskResponse::set_allocated_task_assignment_forwarding_info(::google::internal::federatedcompute::v1::ForwardingInfo* task_assignment_forwarding_info) {
2152 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2153 if (message_arena == nullptr) {
2154 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.task_assignment_forwarding_info_);
2155 }
2156 if (task_assignment_forwarding_info) {
2157 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2158 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
2159 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(task_assignment_forwarding_info));
2160 if (message_arena != submessage_arena) {
2161 task_assignment_forwarding_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2162 message_arena, task_assignment_forwarding_info, submessage_arena);
2163 }
2164
2165 } else {
2166
2167 }
2168 _impl_.task_assignment_forwarding_info_ = task_assignment_forwarding_info;
2169 // @@protoc_insertion_point(field_set_allocated:google.internal.federatedcompute.v1.EligibilityEvalTaskResponse.task_assignment_forwarding_info)
2170 }
2171
2172 // string session_id = 2;
clear_session_id()2173 inline void EligibilityEvalTaskResponse::clear_session_id() {
2174 _impl_.session_id_.ClearToEmpty();
2175 }
session_id()2176 inline const std::string& EligibilityEvalTaskResponse::session_id() const {
2177 // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.EligibilityEvalTaskResponse.session_id)
2178 return _internal_session_id();
2179 }
2180 template <typename ArgT0, typename... ArgT>
2181 inline PROTOBUF_ALWAYS_INLINE
set_session_id(ArgT0 && arg0,ArgT...args)2182 void EligibilityEvalTaskResponse::set_session_id(ArgT0&& arg0, ArgT... args) {
2183
2184 _impl_.session_id_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
2185 // @@protoc_insertion_point(field_set:google.internal.federatedcompute.v1.EligibilityEvalTaskResponse.session_id)
2186 }
mutable_session_id()2187 inline std::string* EligibilityEvalTaskResponse::mutable_session_id() {
2188 std::string* _s = _internal_mutable_session_id();
2189 // @@protoc_insertion_point(field_mutable:google.internal.federatedcompute.v1.EligibilityEvalTaskResponse.session_id)
2190 return _s;
2191 }
_internal_session_id()2192 inline const std::string& EligibilityEvalTaskResponse::_internal_session_id() const {
2193 return _impl_.session_id_.Get();
2194 }
_internal_set_session_id(const std::string & value)2195 inline void EligibilityEvalTaskResponse::_internal_set_session_id(const std::string& value) {
2196
2197 _impl_.session_id_.Set(value, GetArenaForAllocation());
2198 }
_internal_mutable_session_id()2199 inline std::string* EligibilityEvalTaskResponse::_internal_mutable_session_id() {
2200
2201 return _impl_.session_id_.Mutable(GetArenaForAllocation());
2202 }
release_session_id()2203 inline std::string* EligibilityEvalTaskResponse::release_session_id() {
2204 // @@protoc_insertion_point(field_release:google.internal.federatedcompute.v1.EligibilityEvalTaskResponse.session_id)
2205 return _impl_.session_id_.Release();
2206 }
set_allocated_session_id(std::string * session_id)2207 inline void EligibilityEvalTaskResponse::set_allocated_session_id(std::string* session_id) {
2208 _impl_.session_id_.SetAllocated(session_id, GetArenaForAllocation());
2209 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2210 if (_impl_.session_id_.IsDefault()) {
2211 _impl_.session_id_.Set("", GetArenaForAllocation());
2212 }
2213 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2214 // @@protoc_insertion_point(field_set_allocated:google.internal.federatedcompute.v1.EligibilityEvalTaskResponse.session_id)
2215 }
2216
2217 // .google.internal.federatedcompute.v1.EligibilityEvalTask eligibility_eval_task = 3;
_internal_has_eligibility_eval_task()2218 inline bool EligibilityEvalTaskResponse::_internal_has_eligibility_eval_task() const {
2219 return result_case() == kEligibilityEvalTask;
2220 }
has_eligibility_eval_task()2221 inline bool EligibilityEvalTaskResponse::has_eligibility_eval_task() const {
2222 return _internal_has_eligibility_eval_task();
2223 }
set_has_eligibility_eval_task()2224 inline void EligibilityEvalTaskResponse::set_has_eligibility_eval_task() {
2225 _impl_._oneof_case_[0] = kEligibilityEvalTask;
2226 }
clear_eligibility_eval_task()2227 inline void EligibilityEvalTaskResponse::clear_eligibility_eval_task() {
2228 if (_internal_has_eligibility_eval_task()) {
2229 if (GetArenaForAllocation() == nullptr) {
2230 delete _impl_.result_.eligibility_eval_task_;
2231 }
2232 clear_has_result();
2233 }
2234 }
release_eligibility_eval_task()2235 inline ::google::internal::federatedcompute::v1::EligibilityEvalTask* EligibilityEvalTaskResponse::release_eligibility_eval_task() {
2236 // @@protoc_insertion_point(field_release:google.internal.federatedcompute.v1.EligibilityEvalTaskResponse.eligibility_eval_task)
2237 if (_internal_has_eligibility_eval_task()) {
2238 clear_has_result();
2239 ::google::internal::federatedcompute::v1::EligibilityEvalTask* temp = _impl_.result_.eligibility_eval_task_;
2240 if (GetArenaForAllocation() != nullptr) {
2241 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2242 }
2243 _impl_.result_.eligibility_eval_task_ = nullptr;
2244 return temp;
2245 } else {
2246 return nullptr;
2247 }
2248 }
_internal_eligibility_eval_task()2249 inline const ::google::internal::federatedcompute::v1::EligibilityEvalTask& EligibilityEvalTaskResponse::_internal_eligibility_eval_task() const {
2250 return _internal_has_eligibility_eval_task()
2251 ? *_impl_.result_.eligibility_eval_task_
2252 : reinterpret_cast< ::google::internal::federatedcompute::v1::EligibilityEvalTask&>(::google::internal::federatedcompute::v1::_EligibilityEvalTask_default_instance_);
2253 }
eligibility_eval_task()2254 inline const ::google::internal::federatedcompute::v1::EligibilityEvalTask& EligibilityEvalTaskResponse::eligibility_eval_task() const {
2255 // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.EligibilityEvalTaskResponse.eligibility_eval_task)
2256 return _internal_eligibility_eval_task();
2257 }
unsafe_arena_release_eligibility_eval_task()2258 inline ::google::internal::federatedcompute::v1::EligibilityEvalTask* EligibilityEvalTaskResponse::unsafe_arena_release_eligibility_eval_task() {
2259 // @@protoc_insertion_point(field_unsafe_arena_release:google.internal.federatedcompute.v1.EligibilityEvalTaskResponse.eligibility_eval_task)
2260 if (_internal_has_eligibility_eval_task()) {
2261 clear_has_result();
2262 ::google::internal::federatedcompute::v1::EligibilityEvalTask* temp = _impl_.result_.eligibility_eval_task_;
2263 _impl_.result_.eligibility_eval_task_ = nullptr;
2264 return temp;
2265 } else {
2266 return nullptr;
2267 }
2268 }
unsafe_arena_set_allocated_eligibility_eval_task(::google::internal::federatedcompute::v1::EligibilityEvalTask * eligibility_eval_task)2269 inline void EligibilityEvalTaskResponse::unsafe_arena_set_allocated_eligibility_eval_task(::google::internal::federatedcompute::v1::EligibilityEvalTask* eligibility_eval_task) {
2270 clear_result();
2271 if (eligibility_eval_task) {
2272 set_has_eligibility_eval_task();
2273 _impl_.result_.eligibility_eval_task_ = eligibility_eval_task;
2274 }
2275 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.internal.federatedcompute.v1.EligibilityEvalTaskResponse.eligibility_eval_task)
2276 }
_internal_mutable_eligibility_eval_task()2277 inline ::google::internal::federatedcompute::v1::EligibilityEvalTask* EligibilityEvalTaskResponse::_internal_mutable_eligibility_eval_task() {
2278 if (!_internal_has_eligibility_eval_task()) {
2279 clear_result();
2280 set_has_eligibility_eval_task();
2281 _impl_.result_.eligibility_eval_task_ = CreateMaybeMessage< ::google::internal::federatedcompute::v1::EligibilityEvalTask >(GetArenaForAllocation());
2282 }
2283 return _impl_.result_.eligibility_eval_task_;
2284 }
mutable_eligibility_eval_task()2285 inline ::google::internal::federatedcompute::v1::EligibilityEvalTask* EligibilityEvalTaskResponse::mutable_eligibility_eval_task() {
2286 ::google::internal::federatedcompute::v1::EligibilityEvalTask* _msg = _internal_mutable_eligibility_eval_task();
2287 // @@protoc_insertion_point(field_mutable:google.internal.federatedcompute.v1.EligibilityEvalTaskResponse.eligibility_eval_task)
2288 return _msg;
2289 }
2290
2291 // .google.internal.federatedcompute.v1.NoEligibilityEvalConfigured no_eligibility_eval_configured = 4;
_internal_has_no_eligibility_eval_configured()2292 inline bool EligibilityEvalTaskResponse::_internal_has_no_eligibility_eval_configured() const {
2293 return result_case() == kNoEligibilityEvalConfigured;
2294 }
has_no_eligibility_eval_configured()2295 inline bool EligibilityEvalTaskResponse::has_no_eligibility_eval_configured() const {
2296 return _internal_has_no_eligibility_eval_configured();
2297 }
set_has_no_eligibility_eval_configured()2298 inline void EligibilityEvalTaskResponse::set_has_no_eligibility_eval_configured() {
2299 _impl_._oneof_case_[0] = kNoEligibilityEvalConfigured;
2300 }
clear_no_eligibility_eval_configured()2301 inline void EligibilityEvalTaskResponse::clear_no_eligibility_eval_configured() {
2302 if (_internal_has_no_eligibility_eval_configured()) {
2303 if (GetArenaForAllocation() == nullptr) {
2304 delete _impl_.result_.no_eligibility_eval_configured_;
2305 }
2306 clear_has_result();
2307 }
2308 }
release_no_eligibility_eval_configured()2309 inline ::google::internal::federatedcompute::v1::NoEligibilityEvalConfigured* EligibilityEvalTaskResponse::release_no_eligibility_eval_configured() {
2310 // @@protoc_insertion_point(field_release:google.internal.federatedcompute.v1.EligibilityEvalTaskResponse.no_eligibility_eval_configured)
2311 if (_internal_has_no_eligibility_eval_configured()) {
2312 clear_has_result();
2313 ::google::internal::federatedcompute::v1::NoEligibilityEvalConfigured* temp = _impl_.result_.no_eligibility_eval_configured_;
2314 if (GetArenaForAllocation() != nullptr) {
2315 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2316 }
2317 _impl_.result_.no_eligibility_eval_configured_ = nullptr;
2318 return temp;
2319 } else {
2320 return nullptr;
2321 }
2322 }
_internal_no_eligibility_eval_configured()2323 inline const ::google::internal::federatedcompute::v1::NoEligibilityEvalConfigured& EligibilityEvalTaskResponse::_internal_no_eligibility_eval_configured() const {
2324 return _internal_has_no_eligibility_eval_configured()
2325 ? *_impl_.result_.no_eligibility_eval_configured_
2326 : reinterpret_cast< ::google::internal::federatedcompute::v1::NoEligibilityEvalConfigured&>(::google::internal::federatedcompute::v1::_NoEligibilityEvalConfigured_default_instance_);
2327 }
no_eligibility_eval_configured()2328 inline const ::google::internal::federatedcompute::v1::NoEligibilityEvalConfigured& EligibilityEvalTaskResponse::no_eligibility_eval_configured() const {
2329 // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.EligibilityEvalTaskResponse.no_eligibility_eval_configured)
2330 return _internal_no_eligibility_eval_configured();
2331 }
unsafe_arena_release_no_eligibility_eval_configured()2332 inline ::google::internal::federatedcompute::v1::NoEligibilityEvalConfigured* EligibilityEvalTaskResponse::unsafe_arena_release_no_eligibility_eval_configured() {
2333 // @@protoc_insertion_point(field_unsafe_arena_release:google.internal.federatedcompute.v1.EligibilityEvalTaskResponse.no_eligibility_eval_configured)
2334 if (_internal_has_no_eligibility_eval_configured()) {
2335 clear_has_result();
2336 ::google::internal::federatedcompute::v1::NoEligibilityEvalConfigured* temp = _impl_.result_.no_eligibility_eval_configured_;
2337 _impl_.result_.no_eligibility_eval_configured_ = nullptr;
2338 return temp;
2339 } else {
2340 return nullptr;
2341 }
2342 }
unsafe_arena_set_allocated_no_eligibility_eval_configured(::google::internal::federatedcompute::v1::NoEligibilityEvalConfigured * no_eligibility_eval_configured)2343 inline void EligibilityEvalTaskResponse::unsafe_arena_set_allocated_no_eligibility_eval_configured(::google::internal::federatedcompute::v1::NoEligibilityEvalConfigured* no_eligibility_eval_configured) {
2344 clear_result();
2345 if (no_eligibility_eval_configured) {
2346 set_has_no_eligibility_eval_configured();
2347 _impl_.result_.no_eligibility_eval_configured_ = no_eligibility_eval_configured;
2348 }
2349 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.internal.federatedcompute.v1.EligibilityEvalTaskResponse.no_eligibility_eval_configured)
2350 }
_internal_mutable_no_eligibility_eval_configured()2351 inline ::google::internal::federatedcompute::v1::NoEligibilityEvalConfigured* EligibilityEvalTaskResponse::_internal_mutable_no_eligibility_eval_configured() {
2352 if (!_internal_has_no_eligibility_eval_configured()) {
2353 clear_result();
2354 set_has_no_eligibility_eval_configured();
2355 _impl_.result_.no_eligibility_eval_configured_ = CreateMaybeMessage< ::google::internal::federatedcompute::v1::NoEligibilityEvalConfigured >(GetArenaForAllocation());
2356 }
2357 return _impl_.result_.no_eligibility_eval_configured_;
2358 }
mutable_no_eligibility_eval_configured()2359 inline ::google::internal::federatedcompute::v1::NoEligibilityEvalConfigured* EligibilityEvalTaskResponse::mutable_no_eligibility_eval_configured() {
2360 ::google::internal::federatedcompute::v1::NoEligibilityEvalConfigured* _msg = _internal_mutable_no_eligibility_eval_configured();
2361 // @@protoc_insertion_point(field_mutable:google.internal.federatedcompute.v1.EligibilityEvalTaskResponse.no_eligibility_eval_configured)
2362 return _msg;
2363 }
2364
2365 // .google.internal.federatedcompute.v1.RejectionInfo rejection_info = 5;
_internal_has_rejection_info()2366 inline bool EligibilityEvalTaskResponse::_internal_has_rejection_info() const {
2367 return result_case() == kRejectionInfo;
2368 }
has_rejection_info()2369 inline bool EligibilityEvalTaskResponse::has_rejection_info() const {
2370 return _internal_has_rejection_info();
2371 }
set_has_rejection_info()2372 inline void EligibilityEvalTaskResponse::set_has_rejection_info() {
2373 _impl_._oneof_case_[0] = kRejectionInfo;
2374 }
release_rejection_info()2375 inline ::google::internal::federatedcompute::v1::RejectionInfo* EligibilityEvalTaskResponse::release_rejection_info() {
2376 // @@protoc_insertion_point(field_release:google.internal.federatedcompute.v1.EligibilityEvalTaskResponse.rejection_info)
2377 if (_internal_has_rejection_info()) {
2378 clear_has_result();
2379 ::google::internal::federatedcompute::v1::RejectionInfo* temp = _impl_.result_.rejection_info_;
2380 if (GetArenaForAllocation() != nullptr) {
2381 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2382 }
2383 _impl_.result_.rejection_info_ = nullptr;
2384 return temp;
2385 } else {
2386 return nullptr;
2387 }
2388 }
_internal_rejection_info()2389 inline const ::google::internal::federatedcompute::v1::RejectionInfo& EligibilityEvalTaskResponse::_internal_rejection_info() const {
2390 return _internal_has_rejection_info()
2391 ? *_impl_.result_.rejection_info_
2392 : reinterpret_cast< ::google::internal::federatedcompute::v1::RejectionInfo&>(::google::internal::federatedcompute::v1::_RejectionInfo_default_instance_);
2393 }
rejection_info()2394 inline const ::google::internal::federatedcompute::v1::RejectionInfo& EligibilityEvalTaskResponse::rejection_info() const {
2395 // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.EligibilityEvalTaskResponse.rejection_info)
2396 return _internal_rejection_info();
2397 }
unsafe_arena_release_rejection_info()2398 inline ::google::internal::federatedcompute::v1::RejectionInfo* EligibilityEvalTaskResponse::unsafe_arena_release_rejection_info() {
2399 // @@protoc_insertion_point(field_unsafe_arena_release:google.internal.federatedcompute.v1.EligibilityEvalTaskResponse.rejection_info)
2400 if (_internal_has_rejection_info()) {
2401 clear_has_result();
2402 ::google::internal::federatedcompute::v1::RejectionInfo* temp = _impl_.result_.rejection_info_;
2403 _impl_.result_.rejection_info_ = nullptr;
2404 return temp;
2405 } else {
2406 return nullptr;
2407 }
2408 }
unsafe_arena_set_allocated_rejection_info(::google::internal::federatedcompute::v1::RejectionInfo * rejection_info)2409 inline void EligibilityEvalTaskResponse::unsafe_arena_set_allocated_rejection_info(::google::internal::federatedcompute::v1::RejectionInfo* rejection_info) {
2410 clear_result();
2411 if (rejection_info) {
2412 set_has_rejection_info();
2413 _impl_.result_.rejection_info_ = rejection_info;
2414 }
2415 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.internal.federatedcompute.v1.EligibilityEvalTaskResponse.rejection_info)
2416 }
_internal_mutable_rejection_info()2417 inline ::google::internal::federatedcompute::v1::RejectionInfo* EligibilityEvalTaskResponse::_internal_mutable_rejection_info() {
2418 if (!_internal_has_rejection_info()) {
2419 clear_result();
2420 set_has_rejection_info();
2421 _impl_.result_.rejection_info_ = CreateMaybeMessage< ::google::internal::federatedcompute::v1::RejectionInfo >(GetArenaForAllocation());
2422 }
2423 return _impl_.result_.rejection_info_;
2424 }
mutable_rejection_info()2425 inline ::google::internal::federatedcompute::v1::RejectionInfo* EligibilityEvalTaskResponse::mutable_rejection_info() {
2426 ::google::internal::federatedcompute::v1::RejectionInfo* _msg = _internal_mutable_rejection_info();
2427 // @@protoc_insertion_point(field_mutable:google.internal.federatedcompute.v1.EligibilityEvalTaskResponse.rejection_info)
2428 return _msg;
2429 }
2430
2431 // .google.internal.federatedcompute.v1.RetryWindow retry_window_if_accepted = 6;
_internal_has_retry_window_if_accepted()2432 inline bool EligibilityEvalTaskResponse::_internal_has_retry_window_if_accepted() const {
2433 return this != internal_default_instance() && _impl_.retry_window_if_accepted_ != nullptr;
2434 }
has_retry_window_if_accepted()2435 inline bool EligibilityEvalTaskResponse::has_retry_window_if_accepted() const {
2436 return _internal_has_retry_window_if_accepted();
2437 }
_internal_retry_window_if_accepted()2438 inline const ::google::internal::federatedcompute::v1::RetryWindow& EligibilityEvalTaskResponse::_internal_retry_window_if_accepted() const {
2439 const ::google::internal::federatedcompute::v1::RetryWindow* p = _impl_.retry_window_if_accepted_;
2440 return p != nullptr ? *p : reinterpret_cast<const ::google::internal::federatedcompute::v1::RetryWindow&>(
2441 ::google::internal::federatedcompute::v1::_RetryWindow_default_instance_);
2442 }
retry_window_if_accepted()2443 inline const ::google::internal::federatedcompute::v1::RetryWindow& EligibilityEvalTaskResponse::retry_window_if_accepted() const {
2444 // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.EligibilityEvalTaskResponse.retry_window_if_accepted)
2445 return _internal_retry_window_if_accepted();
2446 }
unsafe_arena_set_allocated_retry_window_if_accepted(::google::internal::federatedcompute::v1::RetryWindow * retry_window_if_accepted)2447 inline void EligibilityEvalTaskResponse::unsafe_arena_set_allocated_retry_window_if_accepted(
2448 ::google::internal::federatedcompute::v1::RetryWindow* retry_window_if_accepted) {
2449 if (GetArenaForAllocation() == nullptr) {
2450 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.retry_window_if_accepted_);
2451 }
2452 _impl_.retry_window_if_accepted_ = retry_window_if_accepted;
2453 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.internal.federatedcompute.v1.EligibilityEvalTaskResponse.retry_window_if_accepted)
2454 }
release_retry_window_if_accepted()2455 inline ::google::internal::federatedcompute::v1::RetryWindow* EligibilityEvalTaskResponse::release_retry_window_if_accepted() {
2456
2457 ::google::internal::federatedcompute::v1::RetryWindow* temp = _impl_.retry_window_if_accepted_;
2458 _impl_.retry_window_if_accepted_ = nullptr;
2459 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2460 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
2461 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2462 if (GetArenaForAllocation() == nullptr) { delete old; }
2463 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
2464 if (GetArenaForAllocation() != nullptr) {
2465 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2466 }
2467 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
2468 return temp;
2469 }
unsafe_arena_release_retry_window_if_accepted()2470 inline ::google::internal::federatedcompute::v1::RetryWindow* EligibilityEvalTaskResponse::unsafe_arena_release_retry_window_if_accepted() {
2471 // @@protoc_insertion_point(field_release:google.internal.federatedcompute.v1.EligibilityEvalTaskResponse.retry_window_if_accepted)
2472
2473 ::google::internal::federatedcompute::v1::RetryWindow* temp = _impl_.retry_window_if_accepted_;
2474 _impl_.retry_window_if_accepted_ = nullptr;
2475 return temp;
2476 }
_internal_mutable_retry_window_if_accepted()2477 inline ::google::internal::federatedcompute::v1::RetryWindow* EligibilityEvalTaskResponse::_internal_mutable_retry_window_if_accepted() {
2478
2479 if (_impl_.retry_window_if_accepted_ == nullptr) {
2480 auto* p = CreateMaybeMessage<::google::internal::federatedcompute::v1::RetryWindow>(GetArenaForAllocation());
2481 _impl_.retry_window_if_accepted_ = p;
2482 }
2483 return _impl_.retry_window_if_accepted_;
2484 }
mutable_retry_window_if_accepted()2485 inline ::google::internal::federatedcompute::v1::RetryWindow* EligibilityEvalTaskResponse::mutable_retry_window_if_accepted() {
2486 ::google::internal::federatedcompute::v1::RetryWindow* _msg = _internal_mutable_retry_window_if_accepted();
2487 // @@protoc_insertion_point(field_mutable:google.internal.federatedcompute.v1.EligibilityEvalTaskResponse.retry_window_if_accepted)
2488 return _msg;
2489 }
set_allocated_retry_window_if_accepted(::google::internal::federatedcompute::v1::RetryWindow * retry_window_if_accepted)2490 inline void EligibilityEvalTaskResponse::set_allocated_retry_window_if_accepted(::google::internal::federatedcompute::v1::RetryWindow* retry_window_if_accepted) {
2491 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2492 if (message_arena == nullptr) {
2493 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.retry_window_if_accepted_);
2494 }
2495 if (retry_window_if_accepted) {
2496 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2497 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
2498 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(retry_window_if_accepted));
2499 if (message_arena != submessage_arena) {
2500 retry_window_if_accepted = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2501 message_arena, retry_window_if_accepted, submessage_arena);
2502 }
2503
2504 } else {
2505
2506 }
2507 _impl_.retry_window_if_accepted_ = retry_window_if_accepted;
2508 // @@protoc_insertion_point(field_set_allocated:google.internal.federatedcompute.v1.EligibilityEvalTaskResponse.retry_window_if_accepted)
2509 }
2510
2511 // .google.internal.federatedcompute.v1.RetryWindow retry_window_if_rejected = 7;
_internal_has_retry_window_if_rejected()2512 inline bool EligibilityEvalTaskResponse::_internal_has_retry_window_if_rejected() const {
2513 return this != internal_default_instance() && _impl_.retry_window_if_rejected_ != nullptr;
2514 }
has_retry_window_if_rejected()2515 inline bool EligibilityEvalTaskResponse::has_retry_window_if_rejected() const {
2516 return _internal_has_retry_window_if_rejected();
2517 }
_internal_retry_window_if_rejected()2518 inline const ::google::internal::federatedcompute::v1::RetryWindow& EligibilityEvalTaskResponse::_internal_retry_window_if_rejected() const {
2519 const ::google::internal::federatedcompute::v1::RetryWindow* p = _impl_.retry_window_if_rejected_;
2520 return p != nullptr ? *p : reinterpret_cast<const ::google::internal::federatedcompute::v1::RetryWindow&>(
2521 ::google::internal::federatedcompute::v1::_RetryWindow_default_instance_);
2522 }
retry_window_if_rejected()2523 inline const ::google::internal::federatedcompute::v1::RetryWindow& EligibilityEvalTaskResponse::retry_window_if_rejected() const {
2524 // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.EligibilityEvalTaskResponse.retry_window_if_rejected)
2525 return _internal_retry_window_if_rejected();
2526 }
unsafe_arena_set_allocated_retry_window_if_rejected(::google::internal::federatedcompute::v1::RetryWindow * retry_window_if_rejected)2527 inline void EligibilityEvalTaskResponse::unsafe_arena_set_allocated_retry_window_if_rejected(
2528 ::google::internal::federatedcompute::v1::RetryWindow* retry_window_if_rejected) {
2529 if (GetArenaForAllocation() == nullptr) {
2530 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.retry_window_if_rejected_);
2531 }
2532 _impl_.retry_window_if_rejected_ = retry_window_if_rejected;
2533 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.internal.federatedcompute.v1.EligibilityEvalTaskResponse.retry_window_if_rejected)
2534 }
release_retry_window_if_rejected()2535 inline ::google::internal::federatedcompute::v1::RetryWindow* EligibilityEvalTaskResponse::release_retry_window_if_rejected() {
2536
2537 ::google::internal::federatedcompute::v1::RetryWindow* temp = _impl_.retry_window_if_rejected_;
2538 _impl_.retry_window_if_rejected_ = nullptr;
2539 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2540 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
2541 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2542 if (GetArenaForAllocation() == nullptr) { delete old; }
2543 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
2544 if (GetArenaForAllocation() != nullptr) {
2545 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2546 }
2547 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
2548 return temp;
2549 }
unsafe_arena_release_retry_window_if_rejected()2550 inline ::google::internal::federatedcompute::v1::RetryWindow* EligibilityEvalTaskResponse::unsafe_arena_release_retry_window_if_rejected() {
2551 // @@protoc_insertion_point(field_release:google.internal.federatedcompute.v1.EligibilityEvalTaskResponse.retry_window_if_rejected)
2552
2553 ::google::internal::federatedcompute::v1::RetryWindow* temp = _impl_.retry_window_if_rejected_;
2554 _impl_.retry_window_if_rejected_ = nullptr;
2555 return temp;
2556 }
_internal_mutable_retry_window_if_rejected()2557 inline ::google::internal::federatedcompute::v1::RetryWindow* EligibilityEvalTaskResponse::_internal_mutable_retry_window_if_rejected() {
2558
2559 if (_impl_.retry_window_if_rejected_ == nullptr) {
2560 auto* p = CreateMaybeMessage<::google::internal::federatedcompute::v1::RetryWindow>(GetArenaForAllocation());
2561 _impl_.retry_window_if_rejected_ = p;
2562 }
2563 return _impl_.retry_window_if_rejected_;
2564 }
mutable_retry_window_if_rejected()2565 inline ::google::internal::federatedcompute::v1::RetryWindow* EligibilityEvalTaskResponse::mutable_retry_window_if_rejected() {
2566 ::google::internal::federatedcompute::v1::RetryWindow* _msg = _internal_mutable_retry_window_if_rejected();
2567 // @@protoc_insertion_point(field_mutable:google.internal.federatedcompute.v1.EligibilityEvalTaskResponse.retry_window_if_rejected)
2568 return _msg;
2569 }
set_allocated_retry_window_if_rejected(::google::internal::federatedcompute::v1::RetryWindow * retry_window_if_rejected)2570 inline void EligibilityEvalTaskResponse::set_allocated_retry_window_if_rejected(::google::internal::federatedcompute::v1::RetryWindow* retry_window_if_rejected) {
2571 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2572 if (message_arena == nullptr) {
2573 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.retry_window_if_rejected_);
2574 }
2575 if (retry_window_if_rejected) {
2576 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2577 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
2578 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(retry_window_if_rejected));
2579 if (message_arena != submessage_arena) {
2580 retry_window_if_rejected = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2581 message_arena, retry_window_if_rejected, submessage_arena);
2582 }
2583
2584 } else {
2585
2586 }
2587 _impl_.retry_window_if_rejected_ = retry_window_if_rejected;
2588 // @@protoc_insertion_point(field_set_allocated:google.internal.federatedcompute.v1.EligibilityEvalTaskResponse.retry_window_if_rejected)
2589 }
2590
has_result()2591 inline bool EligibilityEvalTaskResponse::has_result() const {
2592 return result_case() != RESULT_NOT_SET;
2593 }
clear_has_result()2594 inline void EligibilityEvalTaskResponse::clear_has_result() {
2595 _impl_._oneof_case_[0] = RESULT_NOT_SET;
2596 }
result_case()2597 inline EligibilityEvalTaskResponse::ResultCase EligibilityEvalTaskResponse::result_case() const {
2598 return EligibilityEvalTaskResponse::ResultCase(_impl_._oneof_case_[0]);
2599 }
2600 // -------------------------------------------------------------------
2601
2602 // EligibilityEvalTask
2603
2604 // .google.internal.federatedcompute.v1.Resource init_checkpoint = 1;
_internal_has_init_checkpoint()2605 inline bool EligibilityEvalTask::_internal_has_init_checkpoint() const {
2606 return this != internal_default_instance() && _impl_.init_checkpoint_ != nullptr;
2607 }
has_init_checkpoint()2608 inline bool EligibilityEvalTask::has_init_checkpoint() const {
2609 return _internal_has_init_checkpoint();
2610 }
_internal_init_checkpoint()2611 inline const ::google::internal::federatedcompute::v1::Resource& EligibilityEvalTask::_internal_init_checkpoint() const {
2612 const ::google::internal::federatedcompute::v1::Resource* p = _impl_.init_checkpoint_;
2613 return p != nullptr ? *p : reinterpret_cast<const ::google::internal::federatedcompute::v1::Resource&>(
2614 ::google::internal::federatedcompute::v1::_Resource_default_instance_);
2615 }
init_checkpoint()2616 inline const ::google::internal::federatedcompute::v1::Resource& EligibilityEvalTask::init_checkpoint() const {
2617 // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.EligibilityEvalTask.init_checkpoint)
2618 return _internal_init_checkpoint();
2619 }
unsafe_arena_set_allocated_init_checkpoint(::google::internal::federatedcompute::v1::Resource * init_checkpoint)2620 inline void EligibilityEvalTask::unsafe_arena_set_allocated_init_checkpoint(
2621 ::google::internal::federatedcompute::v1::Resource* init_checkpoint) {
2622 if (GetArenaForAllocation() == nullptr) {
2623 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.init_checkpoint_);
2624 }
2625 _impl_.init_checkpoint_ = init_checkpoint;
2626 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.internal.federatedcompute.v1.EligibilityEvalTask.init_checkpoint)
2627 }
release_init_checkpoint()2628 inline ::google::internal::federatedcompute::v1::Resource* EligibilityEvalTask::release_init_checkpoint() {
2629
2630 ::google::internal::federatedcompute::v1::Resource* temp = _impl_.init_checkpoint_;
2631 _impl_.init_checkpoint_ = nullptr;
2632 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2633 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
2634 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2635 if (GetArenaForAllocation() == nullptr) { delete old; }
2636 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
2637 if (GetArenaForAllocation() != nullptr) {
2638 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2639 }
2640 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
2641 return temp;
2642 }
unsafe_arena_release_init_checkpoint()2643 inline ::google::internal::federatedcompute::v1::Resource* EligibilityEvalTask::unsafe_arena_release_init_checkpoint() {
2644 // @@protoc_insertion_point(field_release:google.internal.federatedcompute.v1.EligibilityEvalTask.init_checkpoint)
2645
2646 ::google::internal::federatedcompute::v1::Resource* temp = _impl_.init_checkpoint_;
2647 _impl_.init_checkpoint_ = nullptr;
2648 return temp;
2649 }
_internal_mutable_init_checkpoint()2650 inline ::google::internal::federatedcompute::v1::Resource* EligibilityEvalTask::_internal_mutable_init_checkpoint() {
2651
2652 if (_impl_.init_checkpoint_ == nullptr) {
2653 auto* p = CreateMaybeMessage<::google::internal::federatedcompute::v1::Resource>(GetArenaForAllocation());
2654 _impl_.init_checkpoint_ = p;
2655 }
2656 return _impl_.init_checkpoint_;
2657 }
mutable_init_checkpoint()2658 inline ::google::internal::federatedcompute::v1::Resource* EligibilityEvalTask::mutable_init_checkpoint() {
2659 ::google::internal::federatedcompute::v1::Resource* _msg = _internal_mutable_init_checkpoint();
2660 // @@protoc_insertion_point(field_mutable:google.internal.federatedcompute.v1.EligibilityEvalTask.init_checkpoint)
2661 return _msg;
2662 }
set_allocated_init_checkpoint(::google::internal::federatedcompute::v1::Resource * init_checkpoint)2663 inline void EligibilityEvalTask::set_allocated_init_checkpoint(::google::internal::federatedcompute::v1::Resource* init_checkpoint) {
2664 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2665 if (message_arena == nullptr) {
2666 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.init_checkpoint_);
2667 }
2668 if (init_checkpoint) {
2669 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2670 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
2671 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(init_checkpoint));
2672 if (message_arena != submessage_arena) {
2673 init_checkpoint = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2674 message_arena, init_checkpoint, submessage_arena);
2675 }
2676
2677 } else {
2678
2679 }
2680 _impl_.init_checkpoint_ = init_checkpoint;
2681 // @@protoc_insertion_point(field_set_allocated:google.internal.federatedcompute.v1.EligibilityEvalTask.init_checkpoint)
2682 }
2683
2684 // .google.internal.federatedcompute.v1.Resource plan = 2;
_internal_has_plan()2685 inline bool EligibilityEvalTask::_internal_has_plan() const {
2686 return this != internal_default_instance() && _impl_.plan_ != nullptr;
2687 }
has_plan()2688 inline bool EligibilityEvalTask::has_plan() const {
2689 return _internal_has_plan();
2690 }
_internal_plan()2691 inline const ::google::internal::federatedcompute::v1::Resource& EligibilityEvalTask::_internal_plan() const {
2692 const ::google::internal::federatedcompute::v1::Resource* p = _impl_.plan_;
2693 return p != nullptr ? *p : reinterpret_cast<const ::google::internal::federatedcompute::v1::Resource&>(
2694 ::google::internal::federatedcompute::v1::_Resource_default_instance_);
2695 }
plan()2696 inline const ::google::internal::federatedcompute::v1::Resource& EligibilityEvalTask::plan() const {
2697 // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.EligibilityEvalTask.plan)
2698 return _internal_plan();
2699 }
unsafe_arena_set_allocated_plan(::google::internal::federatedcompute::v1::Resource * plan)2700 inline void EligibilityEvalTask::unsafe_arena_set_allocated_plan(
2701 ::google::internal::federatedcompute::v1::Resource* plan) {
2702 if (GetArenaForAllocation() == nullptr) {
2703 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.plan_);
2704 }
2705 _impl_.plan_ = plan;
2706 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.internal.federatedcompute.v1.EligibilityEvalTask.plan)
2707 }
release_plan()2708 inline ::google::internal::federatedcompute::v1::Resource* EligibilityEvalTask::release_plan() {
2709
2710 ::google::internal::federatedcompute::v1::Resource* temp = _impl_.plan_;
2711 _impl_.plan_ = nullptr;
2712 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2713 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
2714 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2715 if (GetArenaForAllocation() == nullptr) { delete old; }
2716 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
2717 if (GetArenaForAllocation() != nullptr) {
2718 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2719 }
2720 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
2721 return temp;
2722 }
unsafe_arena_release_plan()2723 inline ::google::internal::federatedcompute::v1::Resource* EligibilityEvalTask::unsafe_arena_release_plan() {
2724 // @@protoc_insertion_point(field_release:google.internal.federatedcompute.v1.EligibilityEvalTask.plan)
2725
2726 ::google::internal::federatedcompute::v1::Resource* temp = _impl_.plan_;
2727 _impl_.plan_ = nullptr;
2728 return temp;
2729 }
_internal_mutable_plan()2730 inline ::google::internal::federatedcompute::v1::Resource* EligibilityEvalTask::_internal_mutable_plan() {
2731
2732 if (_impl_.plan_ == nullptr) {
2733 auto* p = CreateMaybeMessage<::google::internal::federatedcompute::v1::Resource>(GetArenaForAllocation());
2734 _impl_.plan_ = p;
2735 }
2736 return _impl_.plan_;
2737 }
mutable_plan()2738 inline ::google::internal::federatedcompute::v1::Resource* EligibilityEvalTask::mutable_plan() {
2739 ::google::internal::federatedcompute::v1::Resource* _msg = _internal_mutable_plan();
2740 // @@protoc_insertion_point(field_mutable:google.internal.federatedcompute.v1.EligibilityEvalTask.plan)
2741 return _msg;
2742 }
set_allocated_plan(::google::internal::federatedcompute::v1::Resource * plan)2743 inline void EligibilityEvalTask::set_allocated_plan(::google::internal::federatedcompute::v1::Resource* plan) {
2744 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2745 if (message_arena == nullptr) {
2746 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.plan_);
2747 }
2748 if (plan) {
2749 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2750 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
2751 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(plan));
2752 if (message_arena != submessage_arena) {
2753 plan = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2754 message_arena, plan, submessage_arena);
2755 }
2756
2757 } else {
2758
2759 }
2760 _impl_.plan_ = plan;
2761 // @@protoc_insertion_point(field_set_allocated:google.internal.federatedcompute.v1.EligibilityEvalTask.plan)
2762 }
2763
2764 // .google.internal.federatedcompute.v1.Resource population_eligibility_spec = 4;
_internal_has_population_eligibility_spec()2765 inline bool EligibilityEvalTask::_internal_has_population_eligibility_spec() const {
2766 return this != internal_default_instance() && _impl_.population_eligibility_spec_ != nullptr;
2767 }
has_population_eligibility_spec()2768 inline bool EligibilityEvalTask::has_population_eligibility_spec() const {
2769 return _internal_has_population_eligibility_spec();
2770 }
_internal_population_eligibility_spec()2771 inline const ::google::internal::federatedcompute::v1::Resource& EligibilityEvalTask::_internal_population_eligibility_spec() const {
2772 const ::google::internal::federatedcompute::v1::Resource* p = _impl_.population_eligibility_spec_;
2773 return p != nullptr ? *p : reinterpret_cast<const ::google::internal::federatedcompute::v1::Resource&>(
2774 ::google::internal::federatedcompute::v1::_Resource_default_instance_);
2775 }
population_eligibility_spec()2776 inline const ::google::internal::federatedcompute::v1::Resource& EligibilityEvalTask::population_eligibility_spec() const {
2777 // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.EligibilityEvalTask.population_eligibility_spec)
2778 return _internal_population_eligibility_spec();
2779 }
unsafe_arena_set_allocated_population_eligibility_spec(::google::internal::federatedcompute::v1::Resource * population_eligibility_spec)2780 inline void EligibilityEvalTask::unsafe_arena_set_allocated_population_eligibility_spec(
2781 ::google::internal::federatedcompute::v1::Resource* population_eligibility_spec) {
2782 if (GetArenaForAllocation() == nullptr) {
2783 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.population_eligibility_spec_);
2784 }
2785 _impl_.population_eligibility_spec_ = population_eligibility_spec;
2786 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.internal.federatedcompute.v1.EligibilityEvalTask.population_eligibility_spec)
2787 }
release_population_eligibility_spec()2788 inline ::google::internal::federatedcompute::v1::Resource* EligibilityEvalTask::release_population_eligibility_spec() {
2789
2790 ::google::internal::federatedcompute::v1::Resource* temp = _impl_.population_eligibility_spec_;
2791 _impl_.population_eligibility_spec_ = nullptr;
2792 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2793 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
2794 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2795 if (GetArenaForAllocation() == nullptr) { delete old; }
2796 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
2797 if (GetArenaForAllocation() != nullptr) {
2798 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2799 }
2800 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
2801 return temp;
2802 }
unsafe_arena_release_population_eligibility_spec()2803 inline ::google::internal::federatedcompute::v1::Resource* EligibilityEvalTask::unsafe_arena_release_population_eligibility_spec() {
2804 // @@protoc_insertion_point(field_release:google.internal.federatedcompute.v1.EligibilityEvalTask.population_eligibility_spec)
2805
2806 ::google::internal::federatedcompute::v1::Resource* temp = _impl_.population_eligibility_spec_;
2807 _impl_.population_eligibility_spec_ = nullptr;
2808 return temp;
2809 }
_internal_mutable_population_eligibility_spec()2810 inline ::google::internal::federatedcompute::v1::Resource* EligibilityEvalTask::_internal_mutable_population_eligibility_spec() {
2811
2812 if (_impl_.population_eligibility_spec_ == nullptr) {
2813 auto* p = CreateMaybeMessage<::google::internal::federatedcompute::v1::Resource>(GetArenaForAllocation());
2814 _impl_.population_eligibility_spec_ = p;
2815 }
2816 return _impl_.population_eligibility_spec_;
2817 }
mutable_population_eligibility_spec()2818 inline ::google::internal::federatedcompute::v1::Resource* EligibilityEvalTask::mutable_population_eligibility_spec() {
2819 ::google::internal::federatedcompute::v1::Resource* _msg = _internal_mutable_population_eligibility_spec();
2820 // @@protoc_insertion_point(field_mutable:google.internal.federatedcompute.v1.EligibilityEvalTask.population_eligibility_spec)
2821 return _msg;
2822 }
set_allocated_population_eligibility_spec(::google::internal::federatedcompute::v1::Resource * population_eligibility_spec)2823 inline void EligibilityEvalTask::set_allocated_population_eligibility_spec(::google::internal::federatedcompute::v1::Resource* population_eligibility_spec) {
2824 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2825 if (message_arena == nullptr) {
2826 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.population_eligibility_spec_);
2827 }
2828 if (population_eligibility_spec) {
2829 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2830 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
2831 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(population_eligibility_spec));
2832 if (message_arena != submessage_arena) {
2833 population_eligibility_spec = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2834 message_arena, population_eligibility_spec, submessage_arena);
2835 }
2836
2837 } else {
2838
2839 }
2840 _impl_.population_eligibility_spec_ = population_eligibility_spec;
2841 // @@protoc_insertion_point(field_set_allocated:google.internal.federatedcompute.v1.EligibilityEvalTask.population_eligibility_spec)
2842 }
2843
2844 // string execution_id = 3;
clear_execution_id()2845 inline void EligibilityEvalTask::clear_execution_id() {
2846 _impl_.execution_id_.ClearToEmpty();
2847 }
execution_id()2848 inline const std::string& EligibilityEvalTask::execution_id() const {
2849 // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.EligibilityEvalTask.execution_id)
2850 return _internal_execution_id();
2851 }
2852 template <typename ArgT0, typename... ArgT>
2853 inline PROTOBUF_ALWAYS_INLINE
set_execution_id(ArgT0 && arg0,ArgT...args)2854 void EligibilityEvalTask::set_execution_id(ArgT0&& arg0, ArgT... args) {
2855
2856 _impl_.execution_id_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
2857 // @@protoc_insertion_point(field_set:google.internal.federatedcompute.v1.EligibilityEvalTask.execution_id)
2858 }
mutable_execution_id()2859 inline std::string* EligibilityEvalTask::mutable_execution_id() {
2860 std::string* _s = _internal_mutable_execution_id();
2861 // @@protoc_insertion_point(field_mutable:google.internal.federatedcompute.v1.EligibilityEvalTask.execution_id)
2862 return _s;
2863 }
_internal_execution_id()2864 inline const std::string& EligibilityEvalTask::_internal_execution_id() const {
2865 return _impl_.execution_id_.Get();
2866 }
_internal_set_execution_id(const std::string & value)2867 inline void EligibilityEvalTask::_internal_set_execution_id(const std::string& value) {
2868
2869 _impl_.execution_id_.Set(value, GetArenaForAllocation());
2870 }
_internal_mutable_execution_id()2871 inline std::string* EligibilityEvalTask::_internal_mutable_execution_id() {
2872
2873 return _impl_.execution_id_.Mutable(GetArenaForAllocation());
2874 }
release_execution_id()2875 inline std::string* EligibilityEvalTask::release_execution_id() {
2876 // @@protoc_insertion_point(field_release:google.internal.federatedcompute.v1.EligibilityEvalTask.execution_id)
2877 return _impl_.execution_id_.Release();
2878 }
set_allocated_execution_id(std::string * execution_id)2879 inline void EligibilityEvalTask::set_allocated_execution_id(std::string* execution_id) {
2880 _impl_.execution_id_.SetAllocated(execution_id, GetArenaForAllocation());
2881 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2882 if (_impl_.execution_id_.IsDefault()) {
2883 _impl_.execution_id_.Set("", GetArenaForAllocation());
2884 }
2885 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2886 // @@protoc_insertion_point(field_set_allocated:google.internal.federatedcompute.v1.EligibilityEvalTask.execution_id)
2887 }
2888
2889 // -------------------------------------------------------------------
2890
2891 // NoEligibilityEvalConfigured
2892
2893 // -------------------------------------------------------------------
2894
2895 // PopulationEligibilitySpec_TaskInfo
2896
2897 // string task_name = 1;
clear_task_name()2898 inline void PopulationEligibilitySpec_TaskInfo::clear_task_name() {
2899 _impl_.task_name_.ClearToEmpty();
2900 }
task_name()2901 inline const std::string& PopulationEligibilitySpec_TaskInfo::task_name() const {
2902 // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.PopulationEligibilitySpec.TaskInfo.task_name)
2903 return _internal_task_name();
2904 }
2905 template <typename ArgT0, typename... ArgT>
2906 inline PROTOBUF_ALWAYS_INLINE
set_task_name(ArgT0 && arg0,ArgT...args)2907 void PopulationEligibilitySpec_TaskInfo::set_task_name(ArgT0&& arg0, ArgT... args) {
2908
2909 _impl_.task_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
2910 // @@protoc_insertion_point(field_set:google.internal.federatedcompute.v1.PopulationEligibilitySpec.TaskInfo.task_name)
2911 }
mutable_task_name()2912 inline std::string* PopulationEligibilitySpec_TaskInfo::mutable_task_name() {
2913 std::string* _s = _internal_mutable_task_name();
2914 // @@protoc_insertion_point(field_mutable:google.internal.federatedcompute.v1.PopulationEligibilitySpec.TaskInfo.task_name)
2915 return _s;
2916 }
_internal_task_name()2917 inline const std::string& PopulationEligibilitySpec_TaskInfo::_internal_task_name() const {
2918 return _impl_.task_name_.Get();
2919 }
_internal_set_task_name(const std::string & value)2920 inline void PopulationEligibilitySpec_TaskInfo::_internal_set_task_name(const std::string& value) {
2921
2922 _impl_.task_name_.Set(value, GetArenaForAllocation());
2923 }
_internal_mutable_task_name()2924 inline std::string* PopulationEligibilitySpec_TaskInfo::_internal_mutable_task_name() {
2925
2926 return _impl_.task_name_.Mutable(GetArenaForAllocation());
2927 }
release_task_name()2928 inline std::string* PopulationEligibilitySpec_TaskInfo::release_task_name() {
2929 // @@protoc_insertion_point(field_release:google.internal.federatedcompute.v1.PopulationEligibilitySpec.TaskInfo.task_name)
2930 return _impl_.task_name_.Release();
2931 }
set_allocated_task_name(std::string * task_name)2932 inline void PopulationEligibilitySpec_TaskInfo::set_allocated_task_name(std::string* task_name) {
2933 _impl_.task_name_.SetAllocated(task_name, GetArenaForAllocation());
2934 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2935 if (_impl_.task_name_.IsDefault()) {
2936 _impl_.task_name_.Set("", GetArenaForAllocation());
2937 }
2938 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2939 // @@protoc_insertion_point(field_set_allocated:google.internal.federatedcompute.v1.PopulationEligibilitySpec.TaskInfo.task_name)
2940 }
2941
2942 // .google.internal.federatedcompute.v1.PopulationEligibilitySpec.TaskInfo.TaskAssignmentMode task_assignment_mode = 2;
clear_task_assignment_mode()2943 inline void PopulationEligibilitySpec_TaskInfo::clear_task_assignment_mode() {
2944 _impl_.task_assignment_mode_ = 0;
2945 }
_internal_task_assignment_mode()2946 inline ::google::internal::federatedcompute::v1::PopulationEligibilitySpec_TaskInfo_TaskAssignmentMode PopulationEligibilitySpec_TaskInfo::_internal_task_assignment_mode() const {
2947 return static_cast< ::google::internal::federatedcompute::v1::PopulationEligibilitySpec_TaskInfo_TaskAssignmentMode >(_impl_.task_assignment_mode_);
2948 }
task_assignment_mode()2949 inline ::google::internal::federatedcompute::v1::PopulationEligibilitySpec_TaskInfo_TaskAssignmentMode PopulationEligibilitySpec_TaskInfo::task_assignment_mode() const {
2950 // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.PopulationEligibilitySpec.TaskInfo.task_assignment_mode)
2951 return _internal_task_assignment_mode();
2952 }
_internal_set_task_assignment_mode(::google::internal::federatedcompute::v1::PopulationEligibilitySpec_TaskInfo_TaskAssignmentMode value)2953 inline void PopulationEligibilitySpec_TaskInfo::_internal_set_task_assignment_mode(::google::internal::federatedcompute::v1::PopulationEligibilitySpec_TaskInfo_TaskAssignmentMode value) {
2954
2955 _impl_.task_assignment_mode_ = value;
2956 }
set_task_assignment_mode(::google::internal::federatedcompute::v1::PopulationEligibilitySpec_TaskInfo_TaskAssignmentMode value)2957 inline void PopulationEligibilitySpec_TaskInfo::set_task_assignment_mode(::google::internal::federatedcompute::v1::PopulationEligibilitySpec_TaskInfo_TaskAssignmentMode value) {
2958 _internal_set_task_assignment_mode(value);
2959 // @@protoc_insertion_point(field_set:google.internal.federatedcompute.v1.PopulationEligibilitySpec.TaskInfo.task_assignment_mode)
2960 }
2961
2962 // -------------------------------------------------------------------
2963
2964 // PopulationEligibilitySpec
2965
2966 // repeated .google.internal.federatedcompute.v1.PopulationEligibilitySpec.TaskInfo task_info = 1;
_internal_task_info_size()2967 inline int PopulationEligibilitySpec::_internal_task_info_size() const {
2968 return _impl_.task_info_.size();
2969 }
task_info_size()2970 inline int PopulationEligibilitySpec::task_info_size() const {
2971 return _internal_task_info_size();
2972 }
clear_task_info()2973 inline void PopulationEligibilitySpec::clear_task_info() {
2974 _impl_.task_info_.Clear();
2975 }
mutable_task_info(int index)2976 inline ::google::internal::federatedcompute::v1::PopulationEligibilitySpec_TaskInfo* PopulationEligibilitySpec::mutable_task_info(int index) {
2977 // @@protoc_insertion_point(field_mutable:google.internal.federatedcompute.v1.PopulationEligibilitySpec.task_info)
2978 return _impl_.task_info_.Mutable(index);
2979 }
2980 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::google::internal::federatedcompute::v1::PopulationEligibilitySpec_TaskInfo >*
mutable_task_info()2981 PopulationEligibilitySpec::mutable_task_info() {
2982 // @@protoc_insertion_point(field_mutable_list:google.internal.federatedcompute.v1.PopulationEligibilitySpec.task_info)
2983 return &_impl_.task_info_;
2984 }
_internal_task_info(int index)2985 inline const ::google::internal::federatedcompute::v1::PopulationEligibilitySpec_TaskInfo& PopulationEligibilitySpec::_internal_task_info(int index) const {
2986 return _impl_.task_info_.Get(index);
2987 }
task_info(int index)2988 inline const ::google::internal::federatedcompute::v1::PopulationEligibilitySpec_TaskInfo& PopulationEligibilitySpec::task_info(int index) const {
2989 // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.PopulationEligibilitySpec.task_info)
2990 return _internal_task_info(index);
2991 }
_internal_add_task_info()2992 inline ::google::internal::federatedcompute::v1::PopulationEligibilitySpec_TaskInfo* PopulationEligibilitySpec::_internal_add_task_info() {
2993 return _impl_.task_info_.Add();
2994 }
add_task_info()2995 inline ::google::internal::federatedcompute::v1::PopulationEligibilitySpec_TaskInfo* PopulationEligibilitySpec::add_task_info() {
2996 ::google::internal::federatedcompute::v1::PopulationEligibilitySpec_TaskInfo* _add = _internal_add_task_info();
2997 // @@protoc_insertion_point(field_add:google.internal.federatedcompute.v1.PopulationEligibilitySpec.task_info)
2998 return _add;
2999 }
3000 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::google::internal::federatedcompute::v1::PopulationEligibilitySpec_TaskInfo >&
task_info()3001 PopulationEligibilitySpec::task_info() const {
3002 // @@protoc_insertion_point(field_list:google.internal.federatedcompute.v1.PopulationEligibilitySpec.task_info)
3003 return _impl_.task_info_;
3004 }
3005
3006 // -------------------------------------------------------------------
3007
3008 // ReportEligibilityEvalTaskResultRequest
3009
3010 // string population_name = 1;
clear_population_name()3011 inline void ReportEligibilityEvalTaskResultRequest::clear_population_name() {
3012 _impl_.population_name_.ClearToEmpty();
3013 }
population_name()3014 inline const std::string& ReportEligibilityEvalTaskResultRequest::population_name() const {
3015 // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.ReportEligibilityEvalTaskResultRequest.population_name)
3016 return _internal_population_name();
3017 }
3018 template <typename ArgT0, typename... ArgT>
3019 inline PROTOBUF_ALWAYS_INLINE
set_population_name(ArgT0 && arg0,ArgT...args)3020 void ReportEligibilityEvalTaskResultRequest::set_population_name(ArgT0&& arg0, ArgT... args) {
3021
3022 _impl_.population_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
3023 // @@protoc_insertion_point(field_set:google.internal.federatedcompute.v1.ReportEligibilityEvalTaskResultRequest.population_name)
3024 }
mutable_population_name()3025 inline std::string* ReportEligibilityEvalTaskResultRequest::mutable_population_name() {
3026 std::string* _s = _internal_mutable_population_name();
3027 // @@protoc_insertion_point(field_mutable:google.internal.federatedcompute.v1.ReportEligibilityEvalTaskResultRequest.population_name)
3028 return _s;
3029 }
_internal_population_name()3030 inline const std::string& ReportEligibilityEvalTaskResultRequest::_internal_population_name() const {
3031 return _impl_.population_name_.Get();
3032 }
_internal_set_population_name(const std::string & value)3033 inline void ReportEligibilityEvalTaskResultRequest::_internal_set_population_name(const std::string& value) {
3034
3035 _impl_.population_name_.Set(value, GetArenaForAllocation());
3036 }
_internal_mutable_population_name()3037 inline std::string* ReportEligibilityEvalTaskResultRequest::_internal_mutable_population_name() {
3038
3039 return _impl_.population_name_.Mutable(GetArenaForAllocation());
3040 }
release_population_name()3041 inline std::string* ReportEligibilityEvalTaskResultRequest::release_population_name() {
3042 // @@protoc_insertion_point(field_release:google.internal.federatedcompute.v1.ReportEligibilityEvalTaskResultRequest.population_name)
3043 return _impl_.population_name_.Release();
3044 }
set_allocated_population_name(std::string * population_name)3045 inline void ReportEligibilityEvalTaskResultRequest::set_allocated_population_name(std::string* population_name) {
3046 _impl_.population_name_.SetAllocated(population_name, GetArenaForAllocation());
3047 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3048 if (_impl_.population_name_.IsDefault()) {
3049 _impl_.population_name_.Set("", GetArenaForAllocation());
3050 }
3051 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
3052 // @@protoc_insertion_point(field_set_allocated:google.internal.federatedcompute.v1.ReportEligibilityEvalTaskResultRequest.population_name)
3053 }
3054
3055 // string session_id = 2;
clear_session_id()3056 inline void ReportEligibilityEvalTaskResultRequest::clear_session_id() {
3057 _impl_.session_id_.ClearToEmpty();
3058 }
session_id()3059 inline const std::string& ReportEligibilityEvalTaskResultRequest::session_id() const {
3060 // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.ReportEligibilityEvalTaskResultRequest.session_id)
3061 return _internal_session_id();
3062 }
3063 template <typename ArgT0, typename... ArgT>
3064 inline PROTOBUF_ALWAYS_INLINE
set_session_id(ArgT0 && arg0,ArgT...args)3065 void ReportEligibilityEvalTaskResultRequest::set_session_id(ArgT0&& arg0, ArgT... args) {
3066
3067 _impl_.session_id_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
3068 // @@protoc_insertion_point(field_set:google.internal.federatedcompute.v1.ReportEligibilityEvalTaskResultRequest.session_id)
3069 }
mutable_session_id()3070 inline std::string* ReportEligibilityEvalTaskResultRequest::mutable_session_id() {
3071 std::string* _s = _internal_mutable_session_id();
3072 // @@protoc_insertion_point(field_mutable:google.internal.federatedcompute.v1.ReportEligibilityEvalTaskResultRequest.session_id)
3073 return _s;
3074 }
_internal_session_id()3075 inline const std::string& ReportEligibilityEvalTaskResultRequest::_internal_session_id() const {
3076 return _impl_.session_id_.Get();
3077 }
_internal_set_session_id(const std::string & value)3078 inline void ReportEligibilityEvalTaskResultRequest::_internal_set_session_id(const std::string& value) {
3079
3080 _impl_.session_id_.Set(value, GetArenaForAllocation());
3081 }
_internal_mutable_session_id()3082 inline std::string* ReportEligibilityEvalTaskResultRequest::_internal_mutable_session_id() {
3083
3084 return _impl_.session_id_.Mutable(GetArenaForAllocation());
3085 }
release_session_id()3086 inline std::string* ReportEligibilityEvalTaskResultRequest::release_session_id() {
3087 // @@protoc_insertion_point(field_release:google.internal.federatedcompute.v1.ReportEligibilityEvalTaskResultRequest.session_id)
3088 return _impl_.session_id_.Release();
3089 }
set_allocated_session_id(std::string * session_id)3090 inline void ReportEligibilityEvalTaskResultRequest::set_allocated_session_id(std::string* session_id) {
3091 _impl_.session_id_.SetAllocated(session_id, GetArenaForAllocation());
3092 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3093 if (_impl_.session_id_.IsDefault()) {
3094 _impl_.session_id_.Set("", GetArenaForAllocation());
3095 }
3096 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
3097 // @@protoc_insertion_point(field_set_allocated:google.internal.federatedcompute.v1.ReportEligibilityEvalTaskResultRequest.session_id)
3098 }
3099
3100 // int32 status_code = 3;
clear_status_code()3101 inline void ReportEligibilityEvalTaskResultRequest::clear_status_code() {
3102 _impl_.status_code_ = 0;
3103 }
_internal_status_code()3104 inline ::int32_t ReportEligibilityEvalTaskResultRequest::_internal_status_code() const {
3105 return _impl_.status_code_;
3106 }
status_code()3107 inline ::int32_t ReportEligibilityEvalTaskResultRequest::status_code() const {
3108 // @@protoc_insertion_point(field_get:google.internal.federatedcompute.v1.ReportEligibilityEvalTaskResultRequest.status_code)
3109 return _internal_status_code();
3110 }
_internal_set_status_code(::int32_t value)3111 inline void ReportEligibilityEvalTaskResultRequest::_internal_set_status_code(::int32_t value) {
3112
3113 _impl_.status_code_ = value;
3114 }
set_status_code(::int32_t value)3115 inline void ReportEligibilityEvalTaskResultRequest::set_status_code(::int32_t value) {
3116 _internal_set_status_code(value);
3117 // @@protoc_insertion_point(field_set:google.internal.federatedcompute.v1.ReportEligibilityEvalTaskResultRequest.status_code)
3118 }
3119
3120 // -------------------------------------------------------------------
3121
3122 // ReportEligibilityEvalTaskResultResponse
3123
3124 #ifdef __GNUC__
3125 #pragma GCC diagnostic pop
3126 #endif // __GNUC__
3127 // -------------------------------------------------------------------
3128
3129 // -------------------------------------------------------------------
3130
3131 // -------------------------------------------------------------------
3132
3133 // -------------------------------------------------------------------
3134
3135 // -------------------------------------------------------------------
3136
3137 // -------------------------------------------------------------------
3138
3139 // -------------------------------------------------------------------
3140
3141 // -------------------------------------------------------------------
3142
3143
3144 // @@protoc_insertion_point(namespace_scope)
3145
3146 } // namespace v1
3147 } // namespace federatedcompute
3148 } // namespace internal
3149 } // namespace google
3150
3151 PROTOBUF_NAMESPACE_OPEN
3152
3153 template <> struct is_proto_enum< ::google::internal::federatedcompute::v1::PopulationEligibilitySpec_TaskInfo_TaskAssignmentMode> : ::std::true_type {};
3154
3155 PROTOBUF_NAMESPACE_CLOSE
3156
3157 // @@protoc_insertion_point(global_scope)
3158
3159 #include <google/protobuf/port_undef.inc>
3160 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_fcp_2fprotos_2ffederatedcompute_2feligibility_5feval_5ftasks_2eproto
3161